1

I'm have many functions that has a structure pointer as a function parameter (e.g. "VecInt *"). Ida knows that each function uses this type (because decompile window works fine). The same will happen if this function uses this type in a local variable.

Now I would like to see all functions that are using this particular structure (as parameter or local variable). I believe Ida maintains this information ("functions where this structure is used") as internal data.

Is possible to extract or have access to this data?.

The structures window don't show this information as "XREF: etc etc", even when I increase cross reference depth.

Thanks in advance!

1

Cross references to structures are only available when used directly in the disassembly view. For retrieving them when used exclusively in the pseudo-code or in the function's prototype, I'm afraid you have no other chance but walking the functions (for function in Functions()), getting the prototype (GetType(function)) and parsing it.

Your Answer

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

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