Actions
Bug #1548
closeddis crashes disassembling anything kernel-ish
Start date:
2011-09-21
Due date:
% Done:
80%
Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:
Description
While disassembling practically anything kernel-like, I'm seeing dis crash.
core 'core.29245' of 29245: dis /kernel/genunix 0805288b construct_symtab (8066b20, 80524bc, 804794c, 80660d4) + 1f7 08052be5 dis_tgt_create (8047b88, 100, 0, fefa0990) + 18d 08054129 dis_file (8047b88, 8047aa4, 805532c, 805433c) + 11 08054621 main (2, 8047aa4, 8047ab0, 80523cf) + 2fd 0805242d _start (2, 8047b84, 8047b88, 0, 8047b98, 8047ba7) + 7d
I'm seeing the same with /platform/i86pc/kernel/unix, /kernel/drv/amd64/bge, and it appears pretty much any kernel objects.
Updated by Jason King almost 11 years ago
This is triggered by symbols in special sections (such as COMMON or ABS). Since they are relocated at run-time by the linker, we can ignore these symbols (and in fact when disassembling the code on-disk, since they are relocations, there are no direct references to the symbol).
Updated by Jason King almost 11 years ago
- Category set to cmd - userland programs
- Assignee set to Jason King
- % Done changed from 0 to 80
Updated by Gordon Ross almost 11 years ago
- Status changed from New to Resolved
changeset: 13508:bf0e4028ac3a tag: tip user: Jason King <jason.brian.king@gmail.com> date: Fri Nov 04 09:47:33 2011 -0500 description: 1548 dis crashes disassembling anything kernel-ish Reviewed by: Richard Lowe <richlowe@richlowe.net> Reviewed by: Eric Schrock <eric.schrock@delphix.com> Approved by: Gordon Ross <gwr@nexenta.com>
Actions