Closed liettua closed 3 years ago
The problem is that it isn't just an offsets change, it is effectively a names change, this is why relaxed calculations here doesn't help.
The problem is that it isn't just an offsets change, it is effectively a names change, this is why relaxed calculations here doesn't help.
oh so there is nothing i could do about this ?
Yes, there is: writing a script for it. You can write a script to be used with Diaphora that changes how are global variable names exported. Or you can add your own specific SQL heuristic. Or you can modify the way similarity ratios are calculated. Take a look to these 2 scripts:
https://github.com/joxeankoret/diaphora/blob/master/hooks/hooks_example1.py https://github.com/joxeankoret/diaphora/blob/master/hooks/hooks_example2.py
okay thank you
how can i ignore the offset changes, but keep other small changes.
so basically if a function contains offset changes, ignore it and treat it as same thing
circled in red here:
https://imgur.com/a/RmZagIw
the used relaxed calculations function ignores too much