Skip to content

Commit 6b2cdbb

Browse files
authored
Added basic support for bare-metal ARM by adding pattern for finding binutils. (#1921)
* Added basic support for bare-metal ARM by adding the pattern to find arm-none-eabi in which_binutils() * Updated CHANGELOG.md
1 parent 90930e2 commit 6b2cdbb

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,24 +65,26 @@ The table below shows which release corresponds to each branch, and what date th
6565
- [#1733][1733] Update libc headers -> more syscalls available!
6666
- [#1876][1876] add `self.message` and change `sys.exc_type` to `sys.exec_info()` in PwnlibException
6767
- [#1877][1877] encoders error message handles when `avoid` is bytes in python3
68+
- [#1891][1891] Keep ROP gadgets when setting registers via setattr/call
6869
- [#1892][1892] Silence SIGPIPE error for "pwn phd"
6970
- [#1893][1893] Fix bytes warning in "pwn cyclic"
7071
- [#1897][1897] Add basic support for RISC-V
7172
- [#1903][1903] Add zsh completion script
7273
- [#1904][1904] Add bash completion script
7374
- [#1906][1906] Defer import of several modules to save on startup time
74-
- [#1891][1891] Keep ROP gadgets when setting registers via setattr/call
75+
- [#1921][1921] Add basic support for the bare-metal ARM specific toolchain
7576

7677
[1733]: https://github.com/Gallopsled/pwntools/pull/1733
7778
[1876]: https://github.com/Gallopsled/pwntools/pull/1876
7879
[1877]: https://github.com/Gallopsled/pwntools/pull/1877
80+
[1891]: https://github.com/Gallopsled/pwntools/pull/1891
7981
[1892]: https://github.com/Gallopsled/pwntools/pull/1892
8082
[1893]: https://github.com/Gallopsled/pwntools/pull/1893
8183
[1897]: https://github.com/Gallopsled/pwntools/pull/1897
8284
[1903]: https://github.com/Gallopsled/pwntools/pull/1903
8385
[1904]: https://github.com/Gallopsled/pwntools/pull/1904
8486
[1906]: https://github.com/Gallopsled/pwntools/pull/1906
85-
[1891]: https://github.com/Gallopsled/pwntools/pull/1891
87+
[1921]: https://github.com/Gallopsled/pwntools/pull/1921
8688

8789
## 4.6.0 (`beta`)
8890

pwnlib/asm.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@ def which_binutils(util):
199199
else:
200200
patterns = ['%s*linux*-%s' % (arch, gutil),
201201
'%s*-elf-%s' % (arch, gutil),
202+
'%s-none*-%s' % (arch, gutil),
202203
'%s-%s' % (arch, gutil)]
203204

204205
for pattern in patterns:

0 commit comments

Comments
 (0)