You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Transform the dummy body of an automatic_harness Kani intrinsic to be a proof harness for a given function.
265
265
#[derive(Debug)]
266
266
pubstructAutomaticHarnessPass{
267
-
/// The FnDef of KaniModel::Any
268
267
kani_any:FnDef,
269
268
init_contracts_hook:Instance,
270
-
/// All of the automatic harness Instances that we generated in the CodegenUnits constructor
271
-
automatic_harnesses:Vec<Instance>,
269
+
kani_autoharness_intrinsic:FnDef,
272
270
}
273
271
274
272
implAutomaticHarnessPass{
275
-
// FIXME: this is a bit clunky.
276
-
// Historically, in codegen_crate, we reset the BodyTransformation cache on a per-unit basis,
277
-
// so the BodyTransformation constructor only accepts a CodegenUnit and thus this constructor can only accept a unit.
278
-
// Later, we changed codegen to reset the cache on a per-harness basis (for uninitialized memory instrumentation).
279
-
// So BodyTransformation should really be changed to reflect that, so that this constructor can just save the one automatic harness it should transform
0 commit comments