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
However, although I have activated the code after removing the annotations, fn set_bytes() still failed to change the input data.
I was wondering whether it is possible to let me ask for any suggestions?
Does the set_bytes in ABI work well?
The concrete example is shown here. The below code is inserted into the entry of fn evaluate_input_events in ityfuzz/src/fuzzer.rs. However, the two print commands output the sample.
tx_bytes = [0,0,0,0]// example data
let mut cu_input = input.clone();println!("got it: {:02x?}", cu_input.get_data_abi());
cu_input
.get_data_abi_mut().as_mut().unwrap().set_bytes(tx_bytes.to_vec());println!("got it: {:02x?}", cu_input.get_data_abi());
The text was updated successfully, but these errors were encountered:
Kenun99
changed the title
Is there any possible to change set the txn data from bytes to args (i.e., BoxedABI)?
[Need Fix]Is there any possible to change set the txn data from bytes to args (i.e., BoxedABI)?
Jul 8, 2023
I failed to update the txn data (
ABI
) in theEVMInput
using the methodset_bytes
.ityfuzz/src/evm/abi.rs
Line 220 in e5826df
It seems that the concolic engine also needs to update the abi data of the current input.
ityfuzz/src/evm/concolic/concolic_host.rs
Line 1017 in e5826df
However, although I have activated the code after removing the annotations,
fn set_bytes()
still failed to change the input data.I was wondering whether it is possible to let me ask for any suggestions?
Does the
set_bytes
inABI
work well?The concrete example is shown here. The below code is inserted into the entry of
fn evaluate_input_events
inityfuzz/src/fuzzer.rs
. However, the two print commands output the sample.The text was updated successfully, but these errors were encountered: