toshipiazza / drtaint

Very WIP taint analysis for DynamoRIO (ARM)
BSD 3-Clause "New" or "Revised" License
18 stars 5 forks source link

alternative to fixed paths #7

Open vanhauser-thc opened 6 years ago

vanhauser-thc commented 6 years ago

small fix to provide an alternative to the hardcoded paths.

small question - on ARM32/AARCHXX dynamorio forever loops for me when I insert instrumentations around OP_strex. did you notice the same issue in drtaint? (this is not a bug I encountered in drtaint but in my own experiments)

vanhauser-thc commented 6 years ago

actually my question on OP_strex was answered here - if you are curious:

https://github.com/DynamoRIO/dynamorio/issues/2918

toshipiazza commented 6 years ago

Yes, unfortunately OP_strex is a known issue for DynamoRIO and Valgrind alike. https://github.com/DynamoRIO/dynamorio/issues/1698 describes the problem well. There is no clear-cut solution, though the problem is sometimes ameliorated by just deferring clean calls until after the strex instruction (I believe DrCachesim does something like this, but I don't quite remember).