From 5d7c18ddef9b8a5fee4b51e1ac0ae7c266e68f93 Mon Sep 17 00:00:00 2001 From: Kelly Kinkade Date: Wed, 24 May 2023 12:57:33 -0500 Subject: [PATCH] [scan_vrable] fix namespace mangler our vtable hack wants to see the original name, not the one used in structures --- scan_vtable.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scan_vtable.rb b/scan_vtable.rb index affdd2c..260e785 100644 --- a/scan_vtable.rb +++ b/scan_vtable.rb @@ -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