-
Notifications
You must be signed in to change notification settings - Fork 14
Builds the plugin using dune #378
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
Open
bmourad01
wants to merge
9
commits into
master
Choose a base branch
from
bmourad/dune-plugin
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 5 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
2e95681
Progress
5773a4b
Fixed
882146c
Clean the plugin before the library
97d70e6
.gitignore for plugin dir
e8cb735
Remove temporary fix to `test_plugin`
cfcff0e
Use `dune-project` to specify opam file
d006a14
Use `--force`
594390a
Uninstall plugin before lib
208e21b
Fix when remaking
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| (library | ||
| (name bap_wp) | ||
| (public_name bap_wp) | ||
| (libraries bap bap-x86-cpu bap-arm z3 ounit2 re str) | ||
| (libraries bap-main bap-x86-cpu bap-arm z3 ounit2 re str) | ||
| (preprocess (pps ppx_sexp_conv ppx_bin_prot))) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| (test | ||
| (name test) | ||
| (libraries bap z3 ounit2 bap_wp)) | ||
| (libraries z3 ounit2 bap_wp)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| (test | ||
| (name test) | ||
| (libraries bap z3 ounit2 bap_wp)) | ||
| (libraries z3 ounit2 bap_wp)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| *.install |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| (lang dune 3.6) | ||
| (using dune_site 0.1) | ||
| (name wp) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| (library | ||
| (name wp_plugin) | ||
| (public_name wp.plugin) | ||
| (libraries z3 bap_wp re str) | ||
| (preprocess (pps ppx_bin_prot))) | ||
|
|
||
| (plugin | ||
| (name wp) | ||
| (package wp) | ||
| (libraries wp.plugin) | ||
| (site (bap-common plugins))) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| (test | ||
| (name test) | ||
| (libraries wp.test)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| open OUnitTest | ||
| open Test_wp_utils | ||
| open Test_lib.Test_wp_utils | ||
|
|
||
| let integration_tests = List.append [ | ||
|
|
||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| (library | ||
| (name test_lib) | ||
| (public_name wp.test) | ||
| (libraries z3 ounit2 bap_wp re str core_unix)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| (test | ||
| (name test) | ||
| (libraries wp.test)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| open OUnitTest | ||
| open Test_wp_utils | ||
| open Test_lib.Test_wp_utils | ||
|
|
||
| let unit_tests = [ | ||
|
|
||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| opam-version: "2.0" | ||
bmourad01 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| name: "wp" | ||
| version: "0.1" | ||
| synopsis: "A weakest-precondition analysis plugin" | ||
| description: """ | ||
| A weakest-precondition analysis plugin for use with BAP. | ||
| """ | ||
| maintainer: "Draper Laboratory" | ||
| authors: [ | ||
| "Chloe Fortuna <[email protected]>" | ||
| "JT Paasch <[email protected]>" | ||
| "Philip Zucker <[email protected]>" | ||
| "Benjamin Mourad <[email protected]>" | ||
| ] | ||
| license: "MIT" | ||
| homepage: "https://github.com/draperlaboratory/cbat_tools" | ||
| bug-reports: "https://github.com/draperlaboratory/cbat_tools" | ||
| dev-repo: "git+https://github.com/draperlaboratory/cbat_tools" | ||
| depends: [ | ||
| "bap" {>= "2.4.0"} | ||
bmourad01 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| "core" {>= "v0.15.0"} | ||
| "z3" {>= "4.8.14"} | ||
| "ounit2" {>= "2.2.3"} | ||
| "re" {>= "1.9.0"} | ||
| ] | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.