Ghidra is a software reverse engineering (SRE) framework
console mode fix
caheckmane7bd8a6dba88
diff --git a/Ghidra/Features/Decompiler/src/decompile/cpp/grammar.y b/Ghidra/Features/Decompiler/src/decompile/cpp/grammar.yindex 2d1f2ad967..70fc90a27a 100644--- a/Ghidra/Features/Decompiler/src/decompile/cpp/grammar.y+++ b/Ghidra/Features/Decompiler/src/decompile/cpp/grammar.y@@ -1037,7 +1037,7 @@ Datatype *CParse::newStruct(const string &ident,vector<TypeDeclarator *> *declissublist.back().offset = -1; // Let typegrp figure out offset}- if (!glb->types->setFields(sublist,res,-1)) {+ if (!glb->types->setFields(sublist,res,-1,0)) {setError("Bad structure definition");glb->types->destroyType(res);return (Datatype *)0;