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

Gallopsled / pwntools / 10357739407
19%

Build:
DEFAULT BRANCH: dev
Ran 12 Aug 2024 07:08PM UTC
Jobs 1
Files 151
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 Aug 2024 06:59PM UTC coverage: 74.034% (+0.03%) from 74.0%
10357739407

push

github

web-flow
Cache output of `asm()` (#2358)

* Cache output of `asm()`

To speed up repeated runs of an exploit, cache the assembled output.

Use a sha1 hash of the shellcode as well as relevant context values
like `context.arch` and `context.bits` to see if the exact same
shellcode was assembled for the same context before.

Fixes #2312

* Return path to cache file if `not extract`

* Update CHANGELOG

* Create temporary copy of cached file

* Add debug log about using the cache

* Include full assembler and linker commandlines in hash

This should catch any changes across pwntools updates and system environment changes.

* Include pwntools version in hash

4548 of 7382 branches covered (61.61%)

28 of 28 new or added lines in 1 file covered. (100.0%)

5 existing lines in 2 files now uncovered.

13218 of 17854 relevant lines covered (74.03%)

0.74 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
91.8
-3.28% pwnlib/tubes/buffer.py
3
79.36
-0.64% pwnlib/tubes/tube.py
Jobs
ID Job ID Ran Files Coverage
1 10357739407.1 12 Aug 2024 07:08PM UTC 151
74.03
GitHub Action Run
Source Files on build 10357739407
  • Tree
  • List 151
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 67678c2e on github
  • Prev Build on dev (#10356752872)
  • Next Build on dev (#10369529469)
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