local var: eg: esp = 0x12ff9c
#define switch 0
int main(int argc, char *argv[])
{
int var;
#if switch 1
var = 10;
#endif
return 0;
}
switch0: no var address
switch1: &var = esp - 4 = 0x12ff98; after return esp += 4; free var
[此贴子已经被作者于2021-8-9 20:43编辑过]