Heersin / codeql_packer

Scripts to pack codeql

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

codeql_packer

Scripts to pack codeql, there is also a module to generate report (with example), see reporter

Dependencies

Python Requirements

argparse

Codeql binaries

codeql-cli

query-libs

find them in codeql example : cpp related suites is set in codeql/cpp/

Usage

usage: main.py [-h] -l {cpp,javascript} [-c COMPILE_CMD] -m {scan-only,all} path

Pack Codeql Command

positional arguments:
  path                  A codeql database or source path

optional arguments:
  -h, --help            show this help message and exit
  -l {cpp,javascript}, --language {cpp,javascript}
                        choose language of target project
  -c COMPILE_CMD, --compile-cmd COMPILE_CMD
                        compile command for project, for {all} mode only
  -m {scan-only,all}, --mode {scan-only,all}
                        scan-only, the path should be a codeql database, else a source
                        code path

example

python main.py -l cpp -m all -c 'make' ~/blackhole/fuzz/socat

About

Scripts to pack codeql

License:MIT License


Languages

Language:JavaScript 57.3%Language:Python 41.3%Language:HTML 1.4%