diff options
| author | Glenn Smith <glenn@vector35.com> | 2026-05-03 02:30:34 -0400 |
|---|---|---|
| committer | Glenn Smith <glenn@vector35.com> | 2026-05-20 17:10:35 -0400 |
| commit | 23f619a047ff754eafb84a6ec5f666bbe9e47711 (patch) | |
| tree | 9d128bc11c50c2a2bb9fbaa5ce291062afa9b979 /basicblock.cpp | |
| parent | 06611c17ae5ee5936889ff029cac042fdba8a0c5 (diff) | |
Sort switch blocks in graph view by case number
Diffstat (limited to 'basicblock.cpp')
| -rw-r--r-- | basicblock.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/basicblock.cpp b/basicblock.cpp index 8025a9fc..9a9f3b5b 100644 --- a/basicblock.cpp +++ b/basicblock.cpp @@ -593,6 +593,12 @@ vector<vector<InstructionTextToken>> BasicBlock::GetAnnotations() } +std::optional<int64_t> BasicBlock::GetSortHint() +{ + return GetFunction()->GetBlockSortHint(GetArchitecture(), GetStart()); +} + + vector<DisassemblyTextLine> BasicBlock::GetDisassemblyText(DisassemblySettings* settings) { size_t count; |
