Skip to content

Commit

Permalink
Fix a bug where bea would disassemble code only in 64b mode if passed…
Browse files Browse the repository at this point in the history
… Archi = 0 (thx @DimitriFourny!)
  • Loading branch information
0vercl0k committed Jan 19, 2022
1 parent 941fce0 commit 5fe693c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rp/intelbeaengine.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
class IntelBeaEngine : public DisassEngineWrapper {
public:
/*! The different architectures BeaRopGadgetFinder handles */
enum E_Arch { x86 = 0, x64 = 64 };
enum E_Arch { x86 = 32, x64 = 64 };

explicit IntelBeaEngine(const E_Arch arch) : m_arch(uint32_t(arch)) {
// those options are mostly display option for the disassembler engine
Expand Down

0 comments on commit 5fe693c

Please sign in to comment.