From 79f0aab7694ae4dd7454780361294699fb8d5f7d Mon Sep 17 00:00:00 2001 From: Alwin Berger Date: Sun, 10 Nov 2024 10:31:03 +0100 Subject: [PATCH] config_stg_abbpath --- fuzzers/FRET/Cargo.toml | 5 +++-- fuzzers/FRET/benchmark/Snakefile | 8 ++++---- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/fuzzers/FRET/Cargo.toml b/fuzzers/FRET/Cargo.toml index 8eb609dc83..f3566f883e 100644 --- a/fuzzers/FRET/Cargo.toml +++ b/fuzzers/FRET/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Alwin Berger "] edition = "2021" [features] -default = ["std", "snapshot_fast", "restarting", "do_hash_notify_state", "config_stg_edge", "fuzz_int", "shortcut", "trace_job_response_times" ] +default = ["std", "snapshot_fast", "restarting", "do_hash_notify_state", "config_stg", "fuzz_int", "shortcut", "trace_job_response_times" ] std = [] # Exec environemnt basics snapshot_restore = [] @@ -50,7 +50,8 @@ config_genetic = ["gensize_100","feed_genetic","sched_genetic","trace_stg"] config_afl = ["feed_afl","sched_afl","observe_hitcounts","trace_stg"] config_frafl = ["feed_afl","sched_afl","feed_longest","trace_stg"] config_stg = ["feed_stg_aggregatehash","sched_stg_aggregatehash","mutate_stg"] -config_stg_aggregate = ["feed_stg_aggregatehash","sched_stg_aggregatehash","mutate_stg"] +# config_stg_aggregate = ["feed_stg_aggregatehash","sched_stg_aggregatehash","mutate_stg"] +config_stg_abbpath = ["feed_stg_abbhash","sched_stg_abbhash","mutate_stg"] config_stg_edge = ["feed_stg_edge","sched_stg_edge","mutate_stg"] [profile.release] diff --git a/fuzzers/FRET/benchmark/Snakefile b/fuzzers/FRET/benchmark/Snakefile index 6c576b084f..5b013b5239 100644 --- a/fuzzers/FRET/benchmark/Snakefile +++ b/fuzzers/FRET/benchmark/Snakefile @@ -54,13 +54,13 @@ rule build_stg: shell: "cp -r -a --reflink=auto {input} {output} && cargo build --target-dir {output} {def_flags},config_stg" -rule build_stg_path: +rule build_stg_abbpath: input: "bins/target_default" output: - directory("bins/target_stg_path") + directory("bins/target_stg_abbpath") shell: - "cp -r -a --reflink=auto {input} {output} && cargo build --target-dir {output} {def_flags},config_stg_aggregate" + "cp -r -a --reflink=auto {input} {output} && cargo build --target-dir {output} {def_flags},config_stg_abbpath" rule build_stg_edge: input: @@ -232,7 +232,7 @@ rule quicktest: rule stgcomp: input: - expand("timedump/{fuzzer}/{target}{variant}#{num}.time", fuzzer=['stg', 'stg_path', 'stg_edge'], target=['release', 'waters', 'copter'], variant=['_full'], num=range(0,7)), + expand("timedump/{fuzzer}/{target}{variant}#{num}.time", fuzzer=['stg', 'stg_abbpath', 'stg_edge'], target=['release', 'waters', 'copter'], variant=['_full'], num=range(0,7)), rule all_bins: input: