Skip to content

Update README for dune-built CodeHawk #221

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 2, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,20 @@ development and thus somewhat experimental.
### Requirements

The command-line interface requires python3.5 or higher. The analyzer
requires a Java runtime environment.
requires a Java development kit (to provide the `jar` tool).

Build instructions for the CodeHawk Binary Analyzer are available
[here](https://github.com/static-analysis-engineering/codehawk/tree/master/CodeHawk).
Upon completion copy the analyzer, `chx86_analyze`, from the `CodeHawk/CHB/bchcmdline`
Upon completion copy the analyzer, `chx86_analyze`, from the `CodeHawk/_build/install/default/bin/`
directory to the appropriate directory in `chb/bin/binaries`, or point the Config.py
(or ConfigLocal.py) in `chb/util/` to its location. You can check the configuration
with
(or ConfigLocal.py) in `chb/util/` to its location.

You can check the configuration with
```
> chkx info
Analyzer configuration:
-----------------------
analyzer : /home/myname/codehawk/CodeHawk/CHB/bchcmdline/chx86_analyze (found)
analyzer : /home/myname/codehawk/CodeHawk/_build/install/default/bin/chx86_analyze (found)
summaries: /home/myname/codehawk/CodeHawk/CHB/bchsummaries/bchsummaries.jar (found)
```

Expand Down