Skip to content

Commit

Permalink
Fix missing analysis updates after making changes to the binary view. F…
Browse files Browse the repository at this point in the history
  • Loading branch information
xusheng6 committed Jan 14, 2025
1 parent 6c0e346 commit 623606a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ui/ui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ static void MakeCodeHelper(BinaryView* view, BNAddressRange selection)
auto sym = view->GetSymbolByAddress(addr);
view->UndefineUserSymbol(sym);
view->CommitUndoActions(id);
view->UpdateAnalysis();
return;
}

Expand All @@ -185,6 +186,7 @@ static void MakeCodeHelper(BinaryView* view, BNAddressRange selection)
SymbolRef sym = new Symbol(DataSymbol, name, name, name, addr);
view->DefineUserSymbol(sym);
view->CommitUndoActions(id);
view->UpdateAnalysis();
}


Expand Down

0 comments on commit 623606a

Please sign in to comment.