From 9e3f3356c420bb4c47d2455cefee9f0840e2cb6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leon=20Wei=C3=9F?= <leon.weiss@rub.de> Date: Fri, 28 Apr 2023 16:58:39 +0200 Subject: [PATCH] Store actual disassembly in the comment Replacing RIP with insn->size() results in a loss of information --- irdb-libs/libIRDB-core/src/decode_csx86.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/irdb-libs/libIRDB-core/src/decode_csx86.cpp b/irdb-libs/libIRDB-core/src/decode_csx86.cpp index 34fe6a433..f2d714435 100644 --- a/irdb-libs/libIRDB-core/src/decode_csx86.cpp +++ b/irdb-libs/libIRDB-core/src/decode_csx86.cpp @@ -304,8 +304,6 @@ string DecodedInstructionCapstoneX86_t::getDisassembly() const myReplace(full_str," dword ", " "); } - myReplace(full_str, "rip", to_string(the_insn->size)); - return full_str; } -- GitLab