File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,15 @@ TypeInfo::TypeInfo(BinaryView *view, uint64_t address)
1717 base = reader.ReadPointer ();
1818 auto typeNameAddr = reader.ReadPointer ();
1919 reader.Seek (typeNameAddr);
20- type_name = reader.ReadCString (512 );
20+ // For the sake of my sanity we just do this...
21+ try
22+ {
23+ type_name = reader.ReadCString (512 );
24+ }
25+ catch (std::exception& e)
26+ {
27+ type_name = " " ;
28+ }
2129}
2230
2331
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ extern "C" {
5858 // TODO: 2. Identify if the function is unique to a class, renaming and retyping if true
5959 // TODO: 3. Identify functions which address a VFT and are probably a constructor (alloc use), retyping if true
6060 // TODO: 4. Identify functions which address a VFT and are probably a deconstructor (free use), retyping if true
61- Ref<Workflow> rttiMetaWorkflow = Workflow::Instance (" core.module.metaAnalysis" )->Clone (" core.module.metaAnalysis " );
61+ Ref<Workflow> rttiMetaWorkflow = Workflow::Instance (" core.module.metaAnalysis" )->Clone ();
6262
6363 // Add RTTI analysis.
6464 rttiMetaWorkflow->RegisterActivity (R"~( {
You can’t perform that action at this time.
0 commit comments