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

Gallopsled / pwntools / 1

28 Jan 2022 10:58AM UTC coverage: 0.0% (-73.8%) from 73.823%
1

push

github

web-flow
Fix CI after Groovy Gorilla went away for libc unstrip test (#2025)

* Fix CI after Groovy Gorilla went away for libc unstrip test

Build elfutils 0.181 from source since we can't use builds
from a newer ubuntu version anymore.

* Install python wheels in CI

0 of 1 new or added line in 1 file covered. (0.0%)

13713 existing lines in 142 files now uncovered.

0 of 16559 relevant lines covered (0.0%)

0.0 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/pwnlib/commandline/update.py
1
#!/usr/bin/env python
UNCOV
2
from __future__ import absolute_import
×
UNCOV
3
from __future__ import division
×
4

UNCOV
5
import subprocess
×
6

UNCOV
7
import pwnlib.args
×
UNCOV
8
pwnlib.args.free_form = False
×
9

UNCOV
10
from pwn import *
×
UNCOV
11
from pwnlib.commandline import common
×
12

UNCOV
13
p = common.parser_commands.add_parser(
×
14
    'update',
15
    help = 'Check for pwntools updates',
16
    description = 'Check for pwntools updates'
17
)
18

UNCOV
19
p.add_argument('--install', action='store_true', help='''
×
20
    Install the update automatically.
21
''')
22

UNCOV
23
p.add_argument('--pre', action='store_true', help='''
×
24
    Check for pre-releases.
25
''')
26

UNCOV
27
def main(a):
×
28
    result = pwnlib.update.perform_check(prerelease=a.pre)
×
29
    if result and a.install:
×
30
        subprocess.check_call(result, shell=False)
×
31

UNCOV
32
if __name__ == '__main__':
×
33
    pwnlib.commandline.common.main(__file__)
×
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