Skip to content

Commit

Permalink
[scan_vrable] fix namespace mangler
Browse files Browse the repository at this point in the history
our vtable hack wants to see the original name, not the one used in structures
ab9rf committed May 24, 2023
1 parent 7cd57c5 commit 5d7c18d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scan_vtable.rb
Original file line number Diff line number Diff line change
@@ -129,7 +129,7 @@ def scanptrs(raw, hash, ptrsz=$ptrsz)

def demangle_str(s)
t = s[4, s.length-6]
t.gsub(/(\w+)@widgets/, 'widget_\1')
t.gsub(/(\w+)@widgets/, 'widgets::\1')
end

classname_offset = 0xc

0 comments on commit 5d7c18d

Please sign in to comment.