{"id":17796479,"url":"https://github.com/rvantonder/arg-finder-plugin","last_synced_at":"2025-10-07T23:18:17.620Z","repository":{"id":32063471,"uuid":"35635291","full_name":"rvantonder/arg-finder-plugin","owner":"rvantonder","description":null,"archived":false,"fork":false,"pushed_at":"2015-05-27T20:31:34.000Z","size":212,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-09-12T00:43:46.786Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"OCaml","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rvantonder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-05-14T20:30:25.000Z","updated_at":"2015-05-14T20:33:07.000Z","dependencies_parsed_at":"2022-09-10T23:12:37.071Z","dependency_job_id":null,"html_url":"https://github.com/rvantonder/arg-finder-plugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rvantonder/arg-finder-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rvantonder%2Farg-finder-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rvantonder%2Farg-finder-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rvantonder%2Farg-finder-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rvantonder%2Farg-finder-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rvantonder","download_url":"https://codeload.github.com/rvantonder/arg-finder-plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rvantonder%2Farg-finder-plugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278861087,"owners_count":26058641,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-27T11:45:51.501Z","updated_at":"2025-10-07T23:18:17.574Z","avatar_url":"https://github.com/rvantonder.png","language":"OCaml","funding_links":[],"categories":[],"sub_categories":[],"readme":"#### Arg finder plugin.\n\nThis is a plugin that can be used to infer arguments of functions. This\nparticular instance checks for arguments to \"fortified\" functions such as\n`__printf_chk`. See `custom_abi_arm.ml` for the complete list. When the verbose\noption is specified `--arg_finder-verbose`, it will output whether arguments\n(such as constant strings) are in the ELF `.rodata` section.\n\nUse `run.sh` to run the plugin on `bin/coreutils_O1_cat`. This also produces a\n`out.txt` file containing the addresses of the arguments to fortified\nfunctions. This file can be fed to the `data_dependency` plugin which will\ndetermine data dependencies of the arguments.\n\nAs an example, the following was run to check the number of fortified functions\nin the coreutils suite which had a constant string as an argument.\n\n```\n$ time ls ~/arm-binaries/coreutils/coreutils_O1_* | xargs -L 1 ./run.sh \u0026\u003e fortified.txt\n\nreal    3m56.215s\nuser    3m17.858s\n\n# number of functions\n$ grep \"_chk\" fort.txt | wc -l\n963\n\n# number of arguments which are in rodata (there's roughly one per unique function, but some sprintf functions may have two arguments in rodata)\n$ grep \"rodata\" fort.txt  | wc -l\n114\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frvantonder%2Farg-finder-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frvantonder%2Farg-finder-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frvantonder%2Farg-finder-plugin/lists"}