|
|
@ -2373,7 +2373,7 @@ static int internal_setAddress(lua_State *L)
|
|
|
|
|
|
|
|
|
|
|
|
// Print via printerr, so that it is definitely logged to stderr.log.
|
|
|
|
// Print via printerr, so that it is definitely logged to stderr.log.
|
|
|
|
uintptr_t iaddr = addr - Core::getInstance().vinfo->getRebaseDelta();
|
|
|
|
uintptr_t iaddr = addr - Core::getInstance().vinfo->getRebaseDelta();
|
|
|
|
fprintf(stderr, "Setting global '%s' to %x (%x)\n", name.c_str(), addr, iaddr);
|
|
|
|
fprintf(stderr, "Setting global '%s' to %p (%p)\n", name.c_str(), (void*)addr, (void*)iaddr);
|
|
|
|
fflush(stderr);
|
|
|
|
fflush(stderr);
|
|
|
|
|
|
|
|
|
|
|
|
return 1;
|
|
|
|
return 1;
|
|
|
|