summaryrefslogtreecommitdiff
path: root/examples/workflows/objectivec/objectivec.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/workflows/objectivec/objectivec.cpp')
-rw-r--r--examples/workflows/objectivec/objectivec.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/workflows/objectivec/objectivec.cpp b/examples/workflows/objectivec/objectivec.cpp
index f6cc4e47..b3272f94 100644
--- a/examples/workflows/objectivec/objectivec.cpp
+++ b/examples/workflows/objectivec/objectivec.cpp
@@ -79,6 +79,8 @@ extern "C"
// auto cfStringSection = data->GetSectionByName("__cfstring");
// if (!cfStringSection)
// return;
+
+ gItr = g_classData.find(data->GetObject());
}
auto& classData = gItr->second;
@@ -131,6 +133,9 @@ extern "C"
analysisContext->Inform("directRefs", "insert", impPtr, i->GetArchitecture(), instr.address);
updated = true;
}
+ // else
+ // LogError("ObjectiveC Workflow: missing classData for __objc_methname entry: 0x%" PRIx64 " at: 0x%" PRIx64,
+ // ssa->GetSSARegisterValue(selSSAReg).value, instr.address);
}
// else
// LogError("Unhandled _objc_msgSend: 0x%" PRIx64, instr.address);