Skip to main content

Module runtime

Module runtime 

Source

Re-exportsΒ§

use super::abi::*; πŸ”’
use super::*; πŸ”’

ModulesΒ§

address πŸ”’
bool πŸ”’
bytes πŸ”’
calldata πŸ”’
cheatcodes πŸ”’
control πŸ”’
cx πŸ”’
evm πŸ”’
executor_view πŸ”’
expr πŸ”’
hashcons πŸ”’
memory πŸ”’
precompiles πŸ”’
solver πŸ”’
Solver orchestration, query scheduling, caching, and model validation.
state πŸ”’
symbols πŸ”’
word πŸ”’

StructsΒ§

AccessRecord πŸ”’
CallFrame πŸ”’
CallMock πŸ”’
CallMockOutcome πŸ”’
ExecutorView
Network-independent, read-only view of a concrete Foundry executor.
ExpectedCall πŸ”’
ExpectedCreate πŸ”’
ExpectedEmit πŸ”’
ExpectedEmitChecks πŸ”’
ExpectedRevert πŸ”’
ExpressionDigests πŸ”’
Structural digests that identify expressions in stable symbol names.
ExpressionFoldCache πŸ”’
Results from one deterministic bottom-up expression fold.
FunctionMock πŸ”’
ModelEvaluator πŸ”’
Evaluates hash-consed expressions once per model.
NoopModel πŸ”’
PathState πŸ”’
SmtLibSubprocessSolver πŸ”’
StorageMappingKey πŸ”’
StorageWrite πŸ”’
SymBoolExpr πŸ”’
SymBytes πŸ”’
SymCalldata πŸ”’
SymCode πŸ”’
SymCx πŸ”’
SymCxCache πŸ”’
SymExpr πŸ”’
SymMemory πŸ”’
SymReturnData πŸ”’
SymStack πŸ”’
Symbol πŸ”’
SymbolicBlock πŸ”’
SymbolicBranchTarget
One comparison site from a fuzz branch frontier to target during symbolic execution.
SymbolicLog πŸ”’
SymbolicMappingProvenance πŸ”’
SymbolicMemoryWrite πŸ”’
SymbolicPrank πŸ”’
SymbolicReplayStorageSlot πŸ”’
SymbolicRunInput
SymbolicStorageHook πŸ”’
SymbolicWorld πŸ”’
SymbolicWorldState πŸ”’
World data shared copy-on-write by branched paths and snapshots.
UnfoldedNodeCounter πŸ”’

EnumsΒ§

AssumeNoRevert πŸ”’
BoundedCopySize πŸ”’
BranchFeasibility πŸ”’
CallKind πŸ”’
CheatcodeOutcome πŸ”’
CreateKind πŸ”’
DigestNode πŸ”’
ExpectedRevertData πŸ”’
GuardedOpcode πŸ”’
StepOutcome πŸ”’
SymBinOp πŸ”’
SymBoolExprKind πŸ”’
SymBytesKind πŸ”’
SymCmpOp πŸ”’
SymExprKind πŸ”’
SymTernOp πŸ”’
SymbolicError
Error returned by the internal symbolic executor.

ConstantsΒ§

MAX_BITWISE_BOOL_WORD_VISITS πŸ”’
MAX_BOUND_ANALYSIS_VISITS πŸ”’
MAX_BRANCHLESS_REWRITE_NODES πŸ”’
MAX_BRANCHLESS_REWRITE_UNFOLDED_NODES πŸ”’
MAX_CONSTANT_DIFFERENCE_VISITS πŸ”’
MAX_CONSTANT_ITE_EQ_NODES πŸ”’
Bounds both the number of distinct word nodes inspected by constant-ITE equality expansion and the unfolded size of the Boolean expression it could produce.
MAX_CONSTANT_ITE_EQ_UNFOLDED_NODES πŸ”’

TraitsΒ§

SymbolicModelLookup πŸ”’

FunctionsΒ§

abi_bytes_return πŸ”’
abi_bytes_return_with_len πŸ”’
abi_concrete_bytes_return πŸ”’
abi_concrete_value_return πŸ”’
abi_static_input_size πŸ”’
accesses_return_data πŸ”’
active_precompiles πŸ”’
Returns the canonical precompiles active under spec_id.
address_word πŸ”’
artifact_code πŸ”’
artifact_json_fallback_paths πŸ”’
Returns fallback paths for symbolic artifact lookup.
artifact_json_path πŸ”’
byte_expr πŸ”’
Returns the byte extraction expression for a symbolic word.
byte_word πŸ”’
byte_word_dynamic πŸ”’
cheatcode_error_revert_condition πŸ”’
complete_cheatcode_call πŸ”’
compute_create2_address_word πŸ”’
compute_create_address_word πŸ”’
concrete_expr_bytes πŸ”’
concrete_precompile_word_at πŸ”’
context_forces_masked_expr πŸ”’
create2_address_word πŸ”’
decode_cheatcode_args πŸ”’
deployer_identity πŸ”’
Identifies a deployer in a stable address symbol name.
derive_private_key πŸ”’
derive_private_key_with_language πŸ”’
dyn_address πŸ”’
dyn_address_array πŸ”’
dyn_bool πŸ”’
dyn_bytes πŸ”’
dyn_bytes32_array πŸ”’
dyn_potential_revert πŸ”’
dyn_potential_reverts πŸ”’
dyn_string πŸ”’
dyn_string_array πŸ”’
error_string_return_data πŸ”’
eval_model_constraints πŸ”’
execute_precompile πŸ”’
Executes a canonical precompile on concrete input with effectively unlimited gas.
execute_symbolic_precompile πŸ”’
exp_expr_for_concrete_exponent πŸ”’
foundry_cheatcode_min_input_size πŸ”’
hex_nibble_ascii πŸ”’
is_assertion_revert πŸ”’
is_full_word_array_assertion πŸ”’
is_precompile_for_spec πŸ”’
Returns whether address is a canonical precompile active under spec_id.
is_revert_assertion_failure πŸ”’
keccak_word πŸ”’
keccak_word_with_len πŸ”’
low_masked_source πŸ”’
low_masked_source_any πŸ”’
mask_bits πŸ”’
mask_low_bits πŸ”’
masked_expr_matches πŸ”’
parse_env_address πŸ”’
parse_env_array πŸ”’
parse_env_bool πŸ”’
parse_env_bytes πŸ”’
parse_env_bytes32 πŸ”’
parse_env_int πŸ”’
parse_env_uint πŸ”’
parse_env_value πŸ”’
power_of_two_shift πŸ”’
precompile_number πŸ”’
precompile_number_for_spec πŸ”’
private_key_address πŸ”’
private_key_signer πŸ”’
push_ascii πŸ”’
push_hex_byte πŸ”’
push_hex_word πŸ”’
read_abi_address_arg πŸ”’
read_abi_address_or_symbolic_slot_arg πŸ”’
read_abi_address_word_or_symbolic_slot_arg πŸ”’
read_abi_bool_arg πŸ”’
read_abi_bytes4_words_arg πŸ”’
read_abi_concrete_word_arg πŸ”’
read_abi_constrained_address_arg πŸ”’
read_abi_constrained_word_arg πŸ”’
read_abi_dynamic_bytes_arg πŸ”’
read_abi_dynamic_return_data_arg πŸ”’
read_abi_string_arg πŸ”’
read_abi_symbolic_dynamic_byte_exprs_arg πŸ”’
read_abi_symbolic_dynamic_bytes_arg πŸ”’
read_abi_symbolic_dynamic_bytes_array_arg πŸ”’
read_abi_u32_arg πŸ”’
read_abi_u64_arg πŸ”’
read_abi_word_arg πŸ”’
recorded_logs_json_return_data πŸ”’
recorded_logs_return_data πŸ”’
register_expected_call πŸ”’
Registers an expected call using the concrete cheatcode’s keyed-additive semantics.
shift_left πŸ”’
sign_compact_hash_words πŸ”’
sign_hash_words πŸ”’
signextend πŸ”’
signextend_word πŸ”’
signextend_word_dynamic πŸ”’
stable_symbol πŸ”’
storage_mapping_key_eq πŸ”’
storage_slots_abi_array πŸ”’
symbolic_create2_address_word πŸ”’
symbolic_create_address_word πŸ”’
symbolic_fixed_len_precompile_output πŸ”’
symbolic_hash_word_with_len πŸ”’
symbolic_modexp_precompile πŸ”’
symbolic_storage_symbol πŸ”’
symbolic_vm_cheatcode_min_input_size πŸ”’
visit_unique πŸ”’
Visits reachable word nodes in depth-first, left-to-right order until the visitor breaks.
vm_params πŸ”’
Returns the parameter types of a Vm cheatcode from its generated ABI signature.
word_from_extracted_bytes πŸ”’
word_to_address πŸ”’
write_smt_wide_modular_arithmetic πŸ”’

Type AliasesΒ§

SymbolicModel πŸ”’
SymbolicVars πŸ”’