https://github.com/heersin/codeql_packer
Scripts to pack codeql
https://github.com/heersin/codeql_packer
codeql python
Last synced: 3 months ago
JSON representation
Scripts to pack codeql
- Host: GitHub
- URL: https://github.com/heersin/codeql_packer
- Owner: Heersin
- License: mit
- Created: 2021-04-12T01:09:23.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-04-16T01:57:17.000Z (almost 5 years ago)
- Last Synced: 2025-01-30T07:30:56.100Z (12 months ago)
- Topics: codeql, python
- Language: JavaScript
- Homepage:
- Size: 31.4 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# codeql_packer
Scripts to pack codeql, there is also a module to generate report (with example), see [reporter](https://github.com/Heersin/codeql_packer/blob/main/reporter/README.md)
## Dependencies
### Python Requirements
argparse
### Codeql binaries
[codeql-cli](https://github.com/github/codeql-cli-binaries)
### query-libs
find them in [codeql](https://github.com/github/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