Automatically find dupa() address, fix plo() command
This commit is contained in:
@@ -345,7 +345,9 @@ void dbg_js_splo(js_State *js)
|
||||
void dbg_js_plo(js_State *js)
|
||||
{
|
||||
Dbg *dbg = getdbg();
|
||||
js_pushnumber(js, dbg->program_load_offset);
|
||||
char buf[20];
|
||||
snprintf(buf, sizeof(buf), "0x%"PRIxPTR, dbg->program_load_offset);
|
||||
js_pushstring(js, buf);
|
||||
}
|
||||
|
||||
void dbg_js_lsbrk(js_State *js)
|
||||
|
||||
Reference in New Issue
Block a user