CutterDRcov icon indicating copy to clipboard operation
CutterDRcov copied to clipboard

DynamoRIO basic block size are not accurate

Open oddcoder opened this issue 5 years ago • 1 comments

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 avatar Mar 28 '19 23:03 oddcoder

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 avatar Mar 28 '19 23:03 oddcoder