CptGibbon
636db8b25f
Add regression test for `find_fake_fast` command ( #1147 )
...
* Add a regression test for find_fake_fast
The test program creates a fake chunk size field in its .data section
with a set NON_MAIN_ARENA flag. The Python test runs the find_fake_fast
command on an address succeeding the fake chunk. A gdb.MemoryError
indicates regression - issue #1142
* Make linter happy
3 years ago
Gulshan Singh
ccc56b9a58
Remove unused imports ( #1139 )
3 years ago
Gulshan Singh
512db53edd
Split memory into lib/ and gdblib/ ( #1128 )
3 years ago
Gulshan Singh
77380eb63c
GDB Refactor [1/N]: Split arch.py and related files into lib/ and gdb/ ( #1114 )
...
* Split arch.py and related files into lib/ and gdb/
* Rename pwndbg.gdb to pwndbg.gdblib
3 years ago
Disconnect3d
b3a560eff0
black all da code ( #1103 )
3 years ago
disconnect3d
015888684b
Fix test_vis_heap_chunk_command on Ubuntu 18.04
3 years ago
disconnect3d
902d732816
add vis_heap_chunk testcase
3 years ago
Israel Alberto RV
bf49bf8356
Unit test fix ( #868 )
...
* Fixed the failed unit testing; Improved the Dockerfile, again.
* Fixed missing new line joiner in the Dockerfile.
* Fixed the default Python version from 2 to 3.
* Moved the installation of the nasm and golang packages to the setup script.
* Fixed the extra quotes which fails the sudo check.
* Added to the Git ignore file the output files assembled and linked in the test binaries.
* Removed the output files from test binaries.
* Added to the Git ignore file the virtual environment directory.
* Added sudo to the remove and link the Python3 binary.
* Added commands related to GO, to check why is failing.
* Fixed the installation of GO, only install if not exists in Ubuntu.
* Fixed the first test built in Assembler. Checks if it is working in GitHub.
* Fixed the problem with all the assembler tests; Extracted the asserts into methods, avoiding duplicates.
* Fixed some test, should be fail the Travis tests.
* Fixed one test for Travis.
* Fixed the asserts, now find all ecpected items into the output.
* Fixed the split message, joined again.
* Fixed the last error test for loads binary.
* Fixed one missing number in the comparison.
* Fixed the first Lint errors.
* Added comment in the Dockerfile.
The commented line about `git submodule`.
https://github.com/pwndbg/pwndbg/pull/868#discussion_r549075767
* Removed NASM and Go from the setup.
Created a new bash script to install them and added to the Dockerfile.
https://github.com/pwndbg/pwndbg/pull/868/files#r549075931
https://github.com/pwndbg/pwndbg/pull/868/files#r549076078
* Added the setup script in the GitHub test workflow.
https://github.com/pwndbg/pwndbg/pull/868/files#r549075931
https://github.com/pwndbg/pwndbg/pull/868/files#r549076078
* Testing the emulate cases.
It should be fail. I commented the emulation for the address 0x401000.
https://github.com/pwndbg/pwndbg/pull/868#discussion_r549111511
* Fixed the different start addresses in the assembler test.
https://github.com/pwndbg/pwndbg/pull/868#discussion_r549111511
https://github.com/pwndbg/pwndbg/pull/868#discussion_r549075485
* Experimenting with the python location.
Commented the remove python binary and added some logs.
https://github.com/pwndbg/pwndbg/pull/868#discussion_r549076170
* Removed the commands about delete Python and link the Python3.
https://github.com/pwndbg/pwndbg/pull/868#discussion_r549076170
5 years ago
Disconnect3d
301012abf2
Py3k ( #817 )
...
* Py3k
* Dont run py2 on CI
* Don't launch futurize on CI
* Move to latest isort options
* Modernize imports (isort>=5)
* Fix removed jump dir
5 years ago
Paweł Płatek
e3b910c5d5
Try heap ( #744 )
...
* start try_free_parser
* try_free_parser done, tests written
* add try_free to FEATURES.md
* rename current_heap to allocator
6 years ago