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

Gallopsled / pwntools / 5501673411
19%

Build:
DEFAULT BRANCH: dev
Ran 09 Jul 2023 08:11PM UTC
Jobs 1
Files 149
Run time 2s
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

pending completion
5501673411

push

github-actions

web-flow
Shellcraft stackargs (#2219)

From: Peace-Maker <peace-maker@wcfan.de>

* Shellcraft: Fix spilling syscall args to the stack

There was a typo in the generated syscall template causing only the last
stack argument to be generated.

$ shellcraft -f asm mips.linux.sendto 3 0x123456 0x100 0 0xabcdefff 0x10
The 0xabcdefff argument was missing.

* Shellcraft: Generate 6 syscall arguments for unknown functions

There are syscalls with 6 arguments like mmap and sendto which couldn't
be called with all 6 arguments set.

$ shellcraft -f asm mips.linux.mmap2 0 0x1000
'PROT_READ | PROT_WRITE | PROT_EXEC' 'MAP_PRIVATE | MAP_ANONYMOUS' -1 0

* Shellcraft: Fix typo in error message

The `syscalls` variable is only present in the generate.py, not the
generated template.

* Regenerate syscall templates

* MIPS shellcraft: Push last two syscall arguments to the stack

The mips.linux.syscall template was only handling 4 syscall arguments
and silently discarded the remaining ones. Push the arguments to the stack
instead.

$ shellcraft -f asm mips.linux.syscall SYS_sendto 3 0x123456 0x100 0 0xabcdefff 0x10

Fixes #2153

* Fix mips syscall doctest

* Update CHANGELOG

Co-authored-by: Peace-Maker <peace-maker@wcfan.de>

3968 of 6659 branches covered (59.59%)

12136 of 16977 relevant lines covered (71.48%)

0.71 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
27.85
5.23% pwnlib/adb/adb.py
1
80.94
0.59% pwnlib/elf/elf.py
1
94.19
1.5% pwnlib/encoders/i386/ascii_shellcode.py
1
76.92
4.2% pwnlib/filesystem/path.py
1
91.09
-0.3% pwnlib/fmtstr.py
1
77.36
0.44% pwnlib/log.py
1
33.14
4.43% pwnlib/protocols/adb/__init__.py
1
87.67
0.06% pwnlib/rop/rop.py
1
86.92
0.6% pwnlib/rop/srop.py
1
93.44
-1.64% pwnlib/tubes/buffer.py
2
75.0
-2.78% pwnlib/atexit.py
2
24.24
-0.23% pwnlib/term/readline.py
2
67.08
0.76% pwnlib/term/term.py
2
62.5
-0.78% pwnlib/util/misc.py
2
77.94
1.96% pwnlib/util/packing.py
3
82.46
1.21% pwnlib/filesystem/ssh.py
4
80.54
1.32% pwnlib/context/__init__.py
4
78.73
1.42% pwnlib/tubes/tube.py
8
56.16
-8.54% pwnlib/encoders/encoder.py
8
75.66
-3.34% pwnlib/memleak.py
10
38.89
-55.56% pwnlib/encoders/arm/alphanumeric/random_funcs.py
10
76.19
-21.43% pwnlib/util/safeeval.py
16
55.56
-44.44% pwnlib/encoders/arm/alphanumeric/__init__.py
17
33.33
-63.22% pwnlib/encoders/arm/alphanumeric/alphanum_byte.py
64
22.11
-67.37% pwnlib/encoders/arm/alphanumeric/ARM_Instructions.py
65
76.81
1.04% pwnlib/elf/corefile.py
86
47.17
-18.09% pwnlib/dynelf.py
243
8.93
-83.51% pwnlib/encoders/arm/alphanumeric/builder.py
Jobs
ID Job ID Ran Files Coverage
1 5501673411.1 09 Jul 2023 08:11PM UTC 149
71.48
Source Files on build 5501673411
  • Tree
  • List 149
  • Changed 61
  • Source Changed 0
  • Coverage Changed 61
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 1399c7a9 on github
  • Prev Build on dev (#83E19216...)
  • Next Build on dev (#5501682914)
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