The following call gets executed many times and jumps to many subroutines.

call    [rbp+var_s38]

What do I need to write in the breakline condition to export all the locations it jumps to?

import idautils
f = open('C:\\Users\\vmware\\Desktop\\locations.txt', 'a+')

1 Answer 1


I don't know idapython very well, but an idc solution would be:

auto f = fopen("file.txt", "a+");
fprintf(f, "%016X\n", get_qword(rbp+<actual offset that is var_s38>));

I know that sometimes idapython will use the same function names as idc, so maybe try searching the docs for get_qword

  • Much appreciated. I'll give it a go in IDC. Commented Jul 21, 2019 at 12:41

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.