-
Notifications
You must be signed in to change notification settings - Fork 274
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
split each library into a separate oasis section
* wrote automation that glues everything together * fixed bap-fsi-benchmark * brute-forced uninstallation Now, every feature that is provided by the bap repository is described in a separate file in the oasis folder. The configure scripts is responsible to glue them together based on the `--enable-<feature>` options. There is a `--enable-everything` flag, that is useful for testing and development. The default way of configuring from the source repository would be: ``` ./configure --enable-everything --prefix `opam config var prefix` ```
- Loading branch information
Showing
35 changed files
with
752 additions
and
680 deletions.
There are no files selected for viewing
This file contains 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 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 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,38 @@ | ||
Flag arm | ||
Description: Build ARM lifter | ||
Default: false | ||
|
||
Library "bap-arm" | ||
XMETADescription: arm lifting | ||
Path: lib/arm | ||
Build$: flag(everything) || flag(arm) | ||
BuildDepends: bap | ||
FindlibName: bap-arm | ||
Modules: | ||
ARM, | ||
Arm_bit, | ||
Arm_branch, | ||
Arm_cond, | ||
Arm_env, | ||
Arm_flags, | ||
Arm_helpers, | ||
Arm_insn, | ||
Arm_lifter, | ||
Arm_mem, | ||
Arm_mem_shift, | ||
Arm_mov, | ||
Arm_mul, | ||
Arm_op, | ||
Arm_reg, | ||
Arm_shift, | ||
Arm_types, | ||
Arm_utils | ||
|
||
|
||
Library arm_plugin | ||
Build$: flag(everything) || flag(arm) | ||
Path: plugins/arm | ||
FindlibName: bap-plugin-arm | ||
BuildDepends: bap, bap-arm | ||
InternalModules: Arm_main | ||
XMETADescription: provide ARM lifter |
This file contains 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 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,26 @@ | ||
########## Benchmarking ########################### | ||
Flag benchmarks | ||
Description: Build and run benchmarks | ||
Default: false | ||
|
||
Library benchmarks | ||
Path: benchmarks | ||
Build$: flag(tests) && flag(benchmarks) | ||
CompiledObject: best | ||
BuildDepends: bap, core, core_bench, threads | ||
Install: false | ||
Modules: Bench_dom, Bench_image | ||
|
||
|
||
Executable run_benchmarks | ||
Path: benchmarks | ||
MainIs: run_benchmarks.ml | ||
Install: false | ||
Build$: flag(tests) && flag(benchmarks) | ||
BuildDepends: bap, benchmarks | ||
CompiledObject: native | ||
|
||
Test benchmarks | ||
TestTools: run_benchmarks | ||
Run$: flag(tests) && flag(benchmarks) | ||
Command: $run_benchmarks |
This file contains 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,20 @@ | ||
Flag byteweight | ||
Description: Build byteweight library | ||
Default: false | ||
|
||
Library byteweight | ||
Path: lib/bap_byteweight | ||
FindLibName: bap-byteweight | ||
Build$: flag(everything) || flag(byteweight) | ||
CompiledObject: best | ||
Modules: Bap_byteweight, Bap_byteweight_signatures | ||
BuildDepends: bap, core_kernel, uri | ||
|
||
Library byteweight_plugin | ||
Path: plugins/byteweight | ||
FindlibName: bap-plugin-byteweight | ||
Build$: flag(everything) || flag(byteweight) | ||
CompiledObject: best | ||
BuildDepends: bap, bap-byteweight, cmdliner | ||
InternalModules: Byteweight_main | ||
XMETADescription: find function starts using Byteweight algorithm |
Oops, something went wrong.