• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Gallopsled / pwntools / 11306887291
74%
dev: 19%

Build:
Build:
LAST BUILD BRANCH: master
DEFAULT BRANCH: dev
Ran 12 Oct 2024 03:56PM UTC
Jobs 1
Files 150
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

12 Oct 2024 03:48PM UTC coverage: 74.245% (-0.09%) from 74.334%
11306887291

push

github

web-flow
Test Python version >= 3.10 in CI and fix tests on Python 3.12 (#2486)

* Bump tested python version to >= 3.10

Some workflows were using 3.8 still. Start testing on 3.12 too.

* Fix installing rpyc in CI on ubuntu 24.04

`ubuntu-latest` now points to 24.04 which requires the --break-system-packages dance.

* Test Python 2 on Ubuntu 22.04

Ubuntu 24.04 dropped the python2.7 packages.

* Test on android-34

* Fix ARM binutils disassembly output test expectation

It used to print "; 0x4" but changed to "@ 0x4" in some version.

* Skip QEMU LD_PREFIX path test

Ubuntu 24.04 seemed to have switched the qemu-user --help output to show `/usr/gnemul/qemu-$ARCH` instead of `/etc/qemu-binfmt`. Ignore the actual path in the test.

* Fix x86 ascii shellcode encoder test

The alphabet was using `\` escape sequences badly.

<stdin>:1: SyntaxWarning: invalid escape sequence '\]'

* Fix mips xor encoder unaligned memory access

qemu throws a SIGBUS error when the shellcode tries to access unaligned memory since some version. Align the "stack" properly.

* Fix util.lists.partition test output on Python 3.12

The __repr__ output of OrderedDict was changed to look like ordinary {} dicts.

* Fix safeeval test on Python 3.12

There is a 151 RESUME opcode in Python 3.12 now.

* Fix registering commandline subparsers multiple times for Python 3.11

Python 3.11 added a sanity check to argparse to prevent registering the same subparser multiple times.

argparse.ArgumentError: argument command: conflicting subparser: cyclic

Avoid importing the command twice.
`python -m pwnlib.commandline.cyclic` failed on Python 3.11 triggered in CI when running the commandline tools while collecting coverage.

* Fix pip cache in CI

3678 of 6140 branches covered (59.9%)

20 of 34 new or added lines in 22 files covered. (58.82%)

36 existing lines in 4 files now uncovered.

12972 of 17472 relevant lines covered (74.24%)

0.74 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
33.33
0.0% pwnlib/commandline/debug.py
1
64.29
0.0% pwnlib/commandline/disablenx.py
1
43.9
0.0% pwnlib/commandline/elfdiff.py
1
59.09
0.0% pwnlib/commandline/elfpatch.py
1
92.86
1.43% pwnlib/commandline/main.py
1
40.54
0.0% pwnlib/commandline/pwnstrip.py
1
43.18
0.0% pwnlib/commandline/scramble.py
1
28.38
0.0% pwnlib/commandline/template.py
1
75.0
0.0% pwnlib/commandline/update.py
1
57.89
0.0% pwnlib/commandline/version.py
4
88.57
-11.43% pwnlib/commandline/common.py

Uncovered Existing Lines

Lines Coverage ∆ File
6
77.75
-1.08% pwnlib/tubes/tube.py
6
91.75
-0.88% pwnlib/elf/plt.py
10
77.23
0.23% pwnlib/update.py
14
50.0
-31.82% pwnlib/qemu.py
Jobs
ID Job ID Ran Files Coverage
1 11306887291.1 12 Oct 2024 03:56PM UTC 150
74.24
GitHub Action Run
Source Files on build 11306887291
  • Tree
  • List 150
  • Changed 10
  • Source Changed 0
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • f28d3ebb on github
  • Prev Build on stable (#10549534825)
  • Next Build on stable (#11630238955)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc