Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

alternative to fixed paths #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vanhauser-thc
Copy link

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
Copy link
Author

actually my question on OP_strex was answered here - if you are curious:
#DynamoRIO/dynamorio#2918

@toshipiazza
Copy link
Owner

Yes, unfortunately OP_strex is a known issue for DynamoRIO and Valgrind alike. DynamoRIO/dynamorio#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).

set(DrMemoryFramework_DIR /home/piazzt/install/exports32/drmf)
ENDIF()
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feel free to remove the hardcoded DynamoRIO_DIR and DrMemoryFramework_DIR paths completely. I don't need them, they were mainly helpful for me when I was just starting out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants