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

Gallopsled / pwntools / 1

20 Aug 2023 06:49PM UTC coverage: 1.309% (-70.3%) from 71.623%
1

push

github

web-flow
plt: remove stale MIPS workaround (#2256)

Fixes #2042

2 of 5878 branches covered (0.03%)

221 of 16886 relevant lines covered (1.31%)

0.03 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
2
from __future__ import absolute_import
×
3
from __future__ import division
×
4

5
import subprocess
×
6

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

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

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

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

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

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

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