mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 09:00:22 +00:00
Profiler: Don't stop disassembly on invalid instructions
This commit is contained in:
parent
6b5e4cdfbc
commit
bf768ed215
Notes:
sideshowbarker
2024-07-17 04:02:05 +09:00
Author: https://github.com/skyrising Commit: https://github.com/SerenityOS/serenity/commit/bf768ed215 Pull-request: https://github.com/SerenityOS/serenity/pull/15465 Reviewed-by: https://github.com/ADKaster ✅ Reviewed-by: https://github.com/Hendiadyoin1
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ DisassemblyModel::DisassemblyModel(Profile& profile, ProfileNode& node)
|
|||
break;
|
||||
|
||||
auto insn = disassembler.next();
|
||||
if (!insn.has_value() || !insn.value().is_valid())
|
||||
if (!insn.has_value())
|
||||
break;
|
||||
FlatPtr address_in_profiled_program = node.address() + offset_into_symbol;
|
||||
|
||||
|
|
Loading…
Reference in a new issue