Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cwe_checker
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fact-depend
cwe_checker
Commits
4981dc94
Commit
4981dc94
authored
Jan 22, 2019
by
Thomas Barabosch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added test automation to make and updated README.
parent
e6937fe0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
Makefile
Makefile
+2
-3
README.md
README.md
+5
-3
No files found.
Makefile
View file @
4981dc94
.
phony
:
all
.
PHONY
:
all clean test uninst
all
all
:
cd
src
;
bapbuild
-r
-Is
checkers,utils
-pkgs
yojson,unix cwe_checker.plugin
;
bapbundle install cwe_checker.plugin
;
cd
..
test
:
bapbuild
-r
-Is
src,src/checkers,src/utils,test
-pkgs
yojson,unix,alcotest
test
/test_cwe_checker.byte
./test/test_cwe_checker.byte
pytest
-v
clean
:
bapbuild
-clean
...
...
README.md
View file @
4981dc94
...
...
@@ -41,10 +41,12 @@ The three way is to build it using the provided `Makefile`. In this case you mus
- Ocaml 4.05.0
- Opam 2.0.2
- BAP 1.5 (and its dependencies)
- yojson
<
= 1.4.1
- alcotest
<
= 0.8.3
- yojson
>
= 1.4.1
- alcotest
>
= 0.8.3
- Sark for IDA Pro annotations
Just run `
make all
` to compile and register the plugin with BAP.
- pytest >= 3.5.1
Just run `
make all
` to compile and register the plugin with BAP. You can run the test suite via `
make test
`.
## How to use cwe_checker? ##
The usage is straight forward: adjust the `
config.json
` (if needed) and call BAP with *cwe_checker* as a pass.
``` bash
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment