{"id":16836986,"url":"https://github.com/vanhauser-thc/dyntainttracer","last_synced_at":"2025-07-18T17:03:26.473Z","repository":{"id":80304365,"uuid":"251261864","full_name":"vanhauser-thc/dynTaintTracer","owner":"vanhauser-thc","description":"a taint tracer based on DynamoRIO, currently ARM only","archived":false,"fork":false,"pushed_at":"2020-03-30T10:04:54.000Z","size":43,"stargazers_count":42,"open_issues_count":0,"forks_count":7,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-18T08:11:20.099Z","etag":null,"topics":["arm","dynamorio","dynamorio-client","reverse-engineering","taint","taint-analysis","taint-tracking","tainting"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vanhauser-thc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-30T09:40:22.000Z","updated_at":"2025-02-21T04:55:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"810c4c3c-f803-4aa2-815f-02f9b78d523f","html_url":"https://github.com/vanhauser-thc/dynTaintTracer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanhauser-thc%2FdynTaintTracer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanhauser-thc%2FdynTaintTracer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanhauser-thc%2FdynTaintTracer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanhauser-thc%2FdynTaintTracer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vanhauser-thc","download_url":"https://codeload.github.com/vanhauser-thc/dynTaintTracer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244907420,"owners_count":20529850,"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","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":["arm","dynamorio","dynamorio-client","reverse-engineering","taint","taint-analysis","taint-tracking","tainting"],"created_at":"2024-10-13T12:15:41.891Z","updated_at":"2025-03-22T04:30:57.824Z","avatar_url":"https://github.com/vanhauser-thc.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dynTaintTracer\n\na tain tracer based on DynamoRIO, currently ARM only (but might already work\nwith AARCH64 too).\nI wrote this in Summer 2018 for a few automotive pentest/reversing projects,\nbut what the heck, lets release this to the world as others might find it\nuseful too.\n\nNote the AGPL3 license.\n\n## Building dynTaintTracer\n\n1. set the environment variable `DYNAMORIO_HOME` to the build directory of DynamoRIO.\n2. type `make` and `sudo make install`\n\n*You must compile on ARM (not Intel!)*\n(and might work on AARCH64)\n\n## Running\n\nUse the helper script `dynTaintTracer.sh`.\nThe following options are supported:\n```\n--taint-accept\t taint accept() and recvfrom()\n--taint-connect\t taint connect() sendto()\n--taint-sslread\t taint SSL_read()\n--taint-stdin\t taint stdin\n--taint-file     taint reads from this file\n--workaround\t work around a bug in dynamorio concerning strex\n--report-debug\t debug output\n--report-unknown report unknown instructions\n--report-problem report problems\n--report-untaint report untainting instructions\n--trace-inst\t report all instructions when there is taint\n--trace-bb\t report all basic blocks when there is taint\n--trace-indirect report all indirect call/jmp when there is taint\n--outfile\t where to write the trace output to\n```\ne.g.\n```\n# dynTaintTracer.sh --taint-file /tmp/foo.txt --outfile /tmp/trace.log --report-untaint -- /target/program -f /tmp/foo.txt\n```\n\n## And then?\n\nYou can load the results into IDA with the included IDC script `dynTaintTracer.idc`.\nJust run the script which opens a file select window, select the trace and it\nis then applied to the loaded binary.\n\n## Caveats\n\nWorks fine, but neon instructions are not supported currently.\n\n## Future\n\nIt is easy to expand to AMD64, i686, etc. - \"just\" the instructions\nhave to be added to `ops_intel.c` and for AARCH64 to `ops_aarch.c`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvanhauser-thc%2Fdyntainttracer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvanhauser-thc%2Fdyntainttracer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvanhauser-thc%2Fdyntainttracer/lists"}