Skip to content

Commit

Permalink
PC mismatch should not be ignored
Browse files Browse the repository at this point in the history
  • Loading branch information
DMaroo authored and XVilka committed Jul 10, 2024
1 parent 3f9a268 commit 7e06371
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rz-tracetest/adapter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,10 @@ class X86TraceAdapter : public TraceAdapter {
return (machine && machine.value() == frame_mach_x86_64) ? 64 : 32;
}

bool IgnorePCMismatch(ut64 pc_actual, ut64 pc_expect) const override {
return false;
}

virtual std::string TraceRegToRizin(const std::string &tracereg) const override {
std::string r = tracereg;
std::transform(r.begin(), r.end(), r.begin(), ::tolower);
Expand Down

0 comments on commit 7e06371

Please sign in to comment.