2
Vote

Paramater Dbg Info Usage

description

It would be nice to have a reversed paramater check system.
following code is probably going to be mixed between assembly, c, c++, c#, and possibly others, sorry for any confusion (consider it pseudo code)
 
for(;ebp valid, ebp = ebp)
SymFromAddr(process, [ebp+4], 0, &SymInfo); //ebp+4 is return eip
OurFunction = FunctionList[SymInfo.Name];
DisplayFunction(OurFunction.Name);
for(int x = OurFunction.ParamCount-1;x >=0;x--)
{0
DisplayVariable(OurFunction.Param[x].Type , OurFunction.Param[x].Name, [ebp+8+4
x]); //ebp+8 is param 1
}
this is 32bit code only of course
 
would output the following
"
Function1(TCHAR* OurString, int OurLock)
Unicode String OurString, "This would be in memmory",0
Integer 32bit OurLock, 0x0000-0000
Function2(pOurStruct Data, ...)
pOurStruct Data+ (Expandable for more specific information)
? 0xFFFF-FFFA, -6, *=Invalid
? 0xC000-0000, +3221225472, *=00000000
"

comments