Skip to content

Commit 23656d8

Browse files
committed
wip
1 parent daeeaad commit 23656d8

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

view/sharedcache/ui/dsctriage.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,11 @@ DSCTriageView::DSCTriageView(QWidget* parent, BinaryViewRef data) : QWidget(pare
352352
m_layout->addWidget(m_triageTabs);
353353
setLayout(m_layout);
354354

355+
// In case we have already initialized the controller (user has opened this view type again)
356+
// we will call refresh data. If this is the first triage view constructed (i.e. before view init) then this
357+
// will do nothing.
358+
RefreshData();
359+
355360
m_triageTabs->selectWidget(defaultWidget);
356361
}
357362

view/sharedcache/workflow/ObjCActivity.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#include "ObjCActivity.h"
22
#include "lowlevelilinstruction.h"
33

4+
// TODO: Consolidate this with the Obj-C workflow at some point https://github.com/Vector35/workflow_objc
5+
46
using namespace BinaryNinja;
57

68
void ObjCActivity::Register(Workflow &workflow)

view/sharedcache/workflow/SharedCacheWorkflow.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ std::shared_ptr<GlobalWorkflowState> GetGlobalWorkflowState(Ref<BinaryView> view
3434
static std::unordered_map<uint64_t, std::shared_ptr<GlobalWorkflowState>> globalWorkflowState;
3535

3636
std::shared_lock<std::shared_mutex> readLock(globalWorkflowStateMutex);
37-
uint64_t viewId = view->GetFile()->GetSessionId();
37+
const uint64_t viewId = view->GetFile()->GetSessionId();
3838
auto foundState = globalWorkflowState.find(viewId);
3939
if (foundState != globalWorkflowState.end())
4040
return foundState->second;

0 commit comments

Comments
 (0)