Skip to content

Commit bd6b96c

Browse files
committed
asdasdasdasd
1 parent ade36df commit bd6b96c

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

plugins/rtti/itanium.cpp

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff 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

plugins/rtti/plugin.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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"~({

0 commit comments

Comments
 (0)