[Lldb-commits] [PATCH] D62764: Detect x86 mid-function epilogues that end in a jump

Slava Gurevich via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Aug 1 15:18:22 PDT 2022


fixathon added a comment.
Herald added subscribers: JDevlieghere, pengfei.
Herald added a project: All.

flagging suspicious duplicate code



================
Comment at: lldb/trunk/source/Plugins/UnwindAssembly/x86/x86AssemblyInspectionEngine.cpp:707-713
+  if (second_byte_sans_reg == 0x24)
+    return true;
+
+  // use SIB byte
+  // ff 24 fe  jmpq   *(%rsi,%rdi,8)
+  if (second_byte_sans_reg == 0x24)
+    return true;
----------------
This looks like duplicate code


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D62764/new/

https://reviews.llvm.org/D62764



More information about the lldb-commits mailing list