i am using BeaEngine as disassembler.
my ideas:
get start-address of thefunction :
analyse code for "call" commands. now get the function start address from the "call" command.
get end-address of the function :
a function usually ends with a "ret" command. but it can contain multiple "ret" commands.
so i need to detect if there is a jump over the "ret" command. if there is one, there must be a further "ret" command. if there is not jump over the "ret" command, the function ends here.
the aim is to code a simple bindiff library for assembler code (pe files), which compares the matched functions.
Maybe somebody has already expierence with this topic and can push me into the right direction?
Edited by diablo2oo2, 25 October 2011 - 11:07 AM.
























