bytedance / memory-leak-detector

Other
1.09k stars 178 forks source link

commands.getstatusoutput在windows平台不支持 #17

Closed jinshiyi11 closed 3 years ago

jinshiyi11 commented 3 years ago

raphael.py中commands模块不支持windows平台,且在只Python 3中已被移除,建议改为subprocess
比如改为

output = subprocess.check_output('arm-linux-androideabi-addr2line -C -e %s -f %s' % (symbol_path, address))

另外addr2line 的-C参数支持demangle name,是否可以替换c++filt

shentianzhou commented 3 years ago

已优化