mirror of https://github.com/pwndbg/pwndbg.git
fix NoneType access if emulator not available through import (#166)
This fixes a regression when the emulator support is disabled via setting it to None when the import fails. The access happens when checking if a particular architecture actually supports emulation. Ensure that emulate has the correct value depending on the availability of the import and deactivate it otherwise. The following core can safely rely on the boolean state of the emulate variable.pull/172/head
parent
eeaab5ec44
commit
8e12dacc81
Loading…
Reference in new issue