Displaying 1 result from an estimated 1 matches for "arg_4".
Did you mean:
arg4
2012 Jul 05
0
[LLVMdev] clang optimizer does not remove unused/uneeded variables(and accesses) from global scope
...random;
dword = (dword_t)random;
dword_t result = 3*(byte+dword);
return result;
}
-------
compiled with "clang -O3 test.c"
produces this code for the main
.text:004012E0 sub_4012E0 proc near ; CODE XREF:
sub_401020+91
.text:004012E0
.text:004012E0 arg_4 = dword ptr 0Ch
.text:004012E0
.text:004012E0 push ebp
.text:004012E1 mov ebp, esp
.text:004012E3 call sub_4014C0
.text:004012E8 mov eax, [ebp+arg_4] ; dword_t random
= (dword_t)argv;
.text:004012EB...