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

Gallopsled / pwntools / 2826
74%

Build:
DEFAULT BRANCH: dev
Ran 12 Oct 2017 12:15AM UTC
Jobs 1
Files 130
Run time 9s
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
2826

push

travis-ci

web-flow
Add cyclic default args to context (#1049)

* Add cyclic default args to context

Specifically, this adds context.cyclic_alphabet and context.cyclic_size

This helps cut down on writing "n=8" all the time for users who use 8-byte
subsequences on 64-bit architectures.

Exposing the default alphabet means that users can avoid "bad bytes" in
cyclic patterns which are generated by pwntools internally (e.g. ROP padding)

Some pwnlib.util.packing docstrings were changed to clarify that word_size is
in bits.

The doctests in pwnlib.util.cyclic were updated and extended to have more
and better doctests, as well as better exaples.

* Add an example showing an alphabet with NUL bytes

This is important because old code would use pack(..., "all") when an integer
value was provided, instead of using the correct width.

2251 of 5211 branches covered (43.2%)

28 of 28 new or added lines in 2 files covered. (100.0%)

7831 of 13531 relevant lines covered (57.87%)

0.58 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
5
100.0
pwnlib/context/__init__.py
Jobs
ID Job ID Ran Files Coverage
1 2826.1 12 Oct 2017 12:15AM UTC 0
57.87
Travis Job 2826.1
Source Files on build 2826
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2826
  • 8f3839d6 on github
  • Prev Build on dev (#2818)
  • Next Build on dev (#2827)
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

© 2026 Coveralls, Inc