• 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/checksec.py
1
#!/usr/bin/env python2
UNCOV
2
from __future__ import absolute_import
×
UNCOV
3
from __future__ import division
×
4

UNCOV
5
import argparse
×
UNCOV
6
import sys
×
7

UNCOV
8
from pwn import *
×
UNCOV
9
from pwnlib.commandline import common
×
10

UNCOV
11
parser = common.parser_commands.add_parser(
×
12
    'checksec',
13
    help = 'Check binary security settings',
14
    description = 'Check binary security settings',
15
)
UNCOV
16
parser.add_argument(
×
17
    'elf',
18
    nargs='*',
19
    type=argparse.FileType('rb'),
20
    help='Files to check'
21
)
UNCOV
22
parser.add_argument(
×
23
    '--file',
24
    nargs='*',
25
    dest='elf2',
26
    metavar='elf',
27
    type=argparse.FileType('rb'),
28
    help='File to check (for compatibility with checksec.sh)'
29
)
30

UNCOV
31
def main(args):
×
32
    files  = args.elf or args.elf2 or []
×
33

UNCOV
34
    if not files:
×
UNCOV
35
        parser.print_usage()
×
UNCOV
36
        return
×
37

38
    for f in files:
×
39
        e = ELF(f.name)
×
40

UNCOV
41
if __name__ == '__main__':
×
UNCOV
42
    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