You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(See #1337 opened by @yangzao for the binary in question, program 4)
Original code:
char*str="global string";
printf("%s", str);
Decompile code:
word64 str = 0x006007A8;
printf("%s", *str);
str is a char * in the original code. But in the decompiled code, it is defined as a word64 (I assume it's int64_t). And printf tries to access it with deferencing.
The text was updated successfully, but these errors were encountered:
(See #1337 opened by @yangzao for the binary in question, program 4)
Original code:
Decompile code:
str
is achar *
in the original code. But in the decompiled code, it is defined as aword64
(I assume it'sint64_t
). Andprintf
tries to access it with deferencing.The text was updated successfully, but these errors were encountered: