From ae78cca16d5d34d61912cbe6d9cb2f959cc36d21 Mon Sep 17 00:00:00 2001 From: Eric Kilmer Date: Wed, 27 Jul 2022 11:53:41 -0400 Subject: [PATCH] Initialize ID lookup tables to fix sleighexample --- Ghidra/Features/Decompiler/src/decompile/cpp/sleighexample.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Ghidra/Features/Decompiler/src/decompile/cpp/sleighexample.cc b/Ghidra/Features/Decompiler/src/decompile/cpp/sleighexample.cc index 3a61418e63..87a4d79802 100644 --- a/Ghidra/Features/Decompiler/src/decompile/cpp/sleighexample.cc +++ b/Ghidra/Features/Decompiler/src/decompile/cpp/sleighexample.cc @@ -294,6 +294,9 @@ int main(int argc,char **argv) } string action(argv[1]); + AttributeId::initialize(); + ElementId::initialize(); + // Set up the loadimage MyLoadImage loader(0x80483b4,myprog,408); // loader->open();