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
I want to use your wonderful tool - CENSUS/shadow to analysis coredump jemalloc layout. But when install all the tool include the pyrsistence, gdb for android and shadow. then load the coredump file with gdb. and parse the jemalloc with jeparse,but it always failed. can you kindly tell me why? does the shadow support the coredump local gdb mode? Thanks very much.
(gdb) source shadow-master/gdb_driver.py
[shadow]init
(gdb) jeparse -c shadow-master/cfg/android8_32.cfg
[shadow] configuration file found
[shadow] parsing configuration...
[shadow] parsing structures from memory...
[shadow] 2018-07-03 13:13:29
Python Exception <class 'gdb.error'> unable to handle request:
Error occurred in Python command: unable to handle request
The text was updated successfully, but these errors were encountered:
resolution: catch the exception,and then return an specific arch,for example: "Aarch64"
diff --git a/gdb_engine.py b/gdb_engine.py
index 66fc50d..2c2ede6 100644
--- a/gdb_engine.py
+++ b/gdb_engine.py
@@ -75,10 +75,13 @@ def get_xul_version():
def get_arch():
# get the start of text
text_addr = None
try:
for l in execute("info proc stat").split("\n"):
if l.startswith("Start of text:"):
text_addr = int(l.split(":")[1], 16)
break
except gdb.error:
return "Aarch64"
Hi Argp:
I want to use your wonderful tool - CENSUS/shadow to analysis coredump jemalloc layout. But when install all the tool include the pyrsistence, gdb for android and shadow. then load the coredump file with gdb. and parse the jemalloc with jeparse,but it always failed. can you kindly tell me why? does the shadow support the coredump local gdb mode? Thanks very much.
(gdb) source shadow-master/gdb_driver.py
[shadow]init
(gdb) jeparse -c shadow-master/cfg/android8_32.cfg
[shadow] configuration file found
[shadow] parsing configuration...
[shadow] parsing structures from memory...
[shadow] 2018-07-03 13:13:29
Python Exception <class 'gdb.error'> unable to handle request:
Error occurred in Python command: unable to handle request
The text was updated successfully, but these errors were encountered: