fn select_random_address(
current: Address,
test_runner: &mut TestRunner,
state: &EvmFuzzState,
senders: Option<&SenderFilters>,
) -> Option<Address>Expand description
Selects a random address for mutation, respecting sender filters if provided.
Priority:
- If
sendershas targeted addresses, pick randomly from those - Otherwise, pick from the dictionary state values (excluding any in
senders.excluded) - Returns
Noneif no suitable address is found or if the selected address equalscurrent