summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/triage/exports.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/triage/exports.cpp b/examples/triage/exports.cpp
index 97bdcc75..6d7a3de7 100644
--- a/examples/triage/exports.cpp
+++ b/examples/triage/exports.cpp
@@ -14,12 +14,12 @@ GenericExportsModel::GenericExportsModel(BinaryViewRef data)
m_sortOrder = Qt::AscendingOrder;
for (auto& sym: data->GetSymbolsOfType(FunctionSymbol))
{
- if (sym->GetBinding() == GlobalBinding)
+ if ((sym->GetBinding() == GlobalBinding) || (sym->GetBinding() == WeakBinding))
m_allEntries.push_back(sym);
}
for (auto& sym: data->GetSymbolsOfType(DataSymbol))
{
- if (sym->GetBinding() == GlobalBinding)
+ if ((sym->GetBinding() == GlobalBinding) || (sym->GetBinding() == WeakBinding))
m_allEntries.push_back(sym);
}
if (data->GetTypeName() == "PE")