I'm trying to write a small application that can show for each line of the de-compiled psuedo code of a certain function the assembly instruction that responsible for it.

for example if we have a function invocation in the pseudo code - i want to show all the push to stack instructions + the call instruction:


//will be mapped to:

push b
push a
call sample_function

I've tried to scan the objects that are returned by the decompile method and gone through some examples: vds1, vds4, ... Haven't found a solution.

Is this mapping is saved somewhere? In IDA i can access the other direction when it shows in the assembly the pseudo code as comments.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.