Skip to content

Commit 5ffd375

Browse files
committed
Add --static-fuel flag
In the process the fuel encoding code was completely restructured
1 parent 68c1680 commit 5ffd375

File tree

7 files changed

+721
-358
lines changed

7 files changed

+721
-358
lines changed

src/main.rs

+6
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,11 @@ pub struct OptimizationOptions {
172172
/// when using `limited-functions`.
173173
#[arg(long)]
174174
pub lit_wrap: bool,
175+
176+
/// For each function f Generate multiple function f_n (f_2, f_1, f_0) that each respectively
177+
/// can only be instantiated n times. Requires `limited-functions`
178+
#[arg(long)]
179+
pub static_fuel: bool,
175180
}
176181

177182
#[derive(Debug, Default, Args)]
@@ -725,6 +730,7 @@ fn verify_files_main(
725730
SmtCtxOptions {
726731
use_limited_functions: options.opt_options.limited_functions,
727732
lit_wrap: options.opt_options.lit_wrap,
733+
static_fuel: options.opt_options.static_fuel,
728734
},
729735
);
730736
let mut translate = TranslateExprs::new(&smt_ctx);

0 commit comments

Comments
 (0)