// JP opened flex table

Click to See Complete Forum and Search --> : [Question] Getting parameters number ?


yoni1993
June 25th, 2008, 02:12 PM
Hello,

I am examining a program, and i need to get a function, i am able to recognize it by its parameters !

Now, i know how to hook all functions of the program... (generally)

The problem is, i can't detour (hook) all functions in general because i don't know how many parameters does it have...

I just have all their address... (of the 1000~ functions)

Is there any function that return "how many parameters are in passed" if i pass the address of the function ???

Please don't tell me to disassemble the program since i'm talking about 1000~ functions !!!

Thank you.

yoni1993
June 26th, 2008, 07:06 AM
So ?
I very need it :(

Igor Vartanov
June 26th, 2008, 08:46 AM
Did'n you plead to not tell you to disassemble? You know, there is no "function that return "how many parameters are in passed" if i pass the address of the function", you may be sure of that.

yoni1993
June 26th, 2008, 10:26 AM
non, i meant to disassemble manually, i don't care to disassemble the functinos in the runtime...

Igor Vartanov
June 26th, 2008, 12:17 PM
Manually, at runtime, whatever: there is no function.

You may build pdb and peek into it with debug API, I guess. :)

//JP added flex table