Sridhar Bollam
Sridhar Bollam

Reputation: 1204

Runtime C function details

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

Upvotes: 1

Views: 503

Answers (1)

Roman Dmitrienko
Roman Dmitrienko

Reputation: 4215

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)

Upvotes: 1

Related Questions