Skip to content

Commit

Permalink
Update lldb helper for iseq disassembly to use correct var name
Browse files Browse the repository at this point in the history
  • Loading branch information
jemmaissroff authored and tenderlove committed May 4, 2022
1 parent bff31b3 commit 3a31b80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misc/lldb_disasm.py
Expand Up @@ -144,7 +144,7 @@ def iseq_extract_values(self, debugger, target, process, result, iseqs, n):
def insn_len(self, target, offset):
size_of_char = self.tChar.GetByteSize()

symbol = target.FindSymbols("insn_len.t")[0].GetSymbol()
symbol = target.FindSymbols("rb_vm_insn_len_info")[0].GetSymbol()
section = symbol.GetStartAddress().GetSection()
addr_of_table = symbol.GetStartAddress().GetOffset()

Expand Down

0 comments on commit 3a31b80

Please sign in to comment.