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

DynamoRIO basic block size are not accurate #3

Open
oddcoder opened this issue Mar 28, 2019 · 1 comment
Open

DynamoRIO basic block size are not accurate #3

oddcoder opened this issue Mar 28, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@oddcoder
Copy link
Collaborator

The problem is that there are some inaccuracies in dynamo block size, to my best knowledge the block in dynamo rio always terminated with jmp or return ... which isn't the case for r2 ... that isn't the problem the real problem is that DynamoRIO calculates the sizes of blocks in wrong way which leads to graphs as the following one:

image

@oddcoder
Copy link
Collaborator Author

a solution would be to let the user do 1 of 2 things:

A- trust DynamoRIO results and use them as is, this will lead to the problem above ..
B- use r2 sizes and keep covering blocks until you are met with ret, conditional jump or something that doesn't return.

@oddcoder oddcoder added the bug Something isn't working label Mar 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant