views:

89

answers:

1

Hi,

Is there any way to find particular C language function's input and output parameters from a framework (apple's ARM) during the runtime or from any method with out knowing the headers.

It is a framework and there are no header files for it.I decompile it with IDA Pro and it gives me the function names but not input and output parameters information.

I am able to load those private functions using dlsym.

Is it possible to find the parameters info in runtime (C language or Objective C) or from IDA Pro ?

Regards,

Raghu

+1  A: 

Almost impossible without debug information or something, i think. If there are some structs passed, or pointers, you won't be able to guess their meaning from disassembly, anyway (it could be possible to guess a few types, such as floats, but no more)

Roman D
How about knowing while executing the program by passing function name or something ?
Sridhar
No idea, because function signatures in C bear no info about the parameters. I don't see any way to learn the parameters of the debug info is unavailable.
Roman D