mirror of https://github.com/pwndbg/pwndbg.git
Before this fix, when we compiled a 32-bit prgoram a 'Bad register' bug would show up on `fsbase` and `gsbase` commands. Also, those commands weren't protected to not be executed on another archs, which this commit fixes. Additionally, this commit introduces 4 tests: ``` test_commands_segments[gsbase-gosample.x64] PASSED test_commands_segments[gsbase-gosample.x86] PASSED test_commands_segments[fsbase-gosample.x64] PASSED test_commands_segments[fsbase-gosample.x86] PASSED ``` Two of those tests, the ones with x86 binaries, applied without other changes would fail.pull/1571/head^2
parent
3ee589062c
commit
e5fbefc444
Loading…
Reference in new issue