Is IDA (or some external plugin) capable of adding comments describing values contained in registers to every branch instruction ?


ADD.W           R8, R10, #0x78
MOVS            R5, #0
ADD.W           R1, R10, #0xE8
STR             R1, [SP,#0x1C+var_1C]
MOV             R0, R5
MOV             R1, R8
BL              sub_xxxxxxxx ; r0 = #0, r1 = R10 + #0x78

where the comment at BL sub_xxxxxxxx would be generated automatically

1 Answer 1


The open-source IDA Pro script funcap does 99% of what you want. I'd recommend using it as a foundation and making some minor tweaks to get it to do exactly what you want.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.