On 2024/01/30 17:08, 王天明 (Tianming Wang) wrote: > Hi > > I use crash8.0.4_arm64 to parse the ramdump of android15-k6.6, load the symbol of ko, > and disassemble the functions in ko through the "dis -lx" command. > I can get the assembly instructions, but I cannot get the corresponding assembly instructions. lines of source code. > The following error is reported when using the command > GNU_RESOLVE_TEXT_ADDR: returned via gdb_error_hook (1 buffer in use) > GNU_GET_FUNCTION_RANGE: returned via gdb_error_hook (1 buffer in use hmm, I've not seen this kind of errors with the "dis -l". It looks like the former cannot find the function or it's not a function: case GNU_RESOLVE_TEXT_ADDR: sym = find_pc_function(req->addr); if (!sym || TYPE_CODE(sym->type) != TYPE_CODE_FUNC) req->flags |= GNU_COMMAND_FAILED; break; what do you see with these after loading the module? crash> sym <function name> crash> whatis <function name> crash> gdb info line <function name> Thanks, Kazu -- Crash-utility mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxxxxxx https://${domain_name}/admin/lists/devel.lists.crash-utility.osci.io/ Contribution Guidelines: https://github.com/crash-utility/crash/wiki