Skip to content

Commit 0802674

Browse files
authored
TargetBytes Refactoring and Features (#3305)
* Add TargetBytesEncoder for EncodedInputs, cleanup fuzzer builder * BytesConverter * Still has both, InputConverter and ToTargetBytes * Input Converters auto implement * Better fuzzer builder * Fix * more fix * clippy * more fmt? * more things * update * Add encoded input option to command executor * typo * fix nyx? * clip * more fix * fix * simple build test for concolic * reset forkserver example * cleanup * more fix * fix intel pt * make command executor build on windows * more * winning * bring back none * fix nautilus * more * docs * hm * more win * clippy * more fix * fun * mas consistency * mas
1 parent 40a941b commit 0802674

File tree

57 files changed

+1153
-708
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+1153
-708
lines changed

.github/workflows/build_and_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ jobs:
333333
# - inprocess/libfuzzer_windows_asan
334334
- inprocess/libfuzzer_stb_image_sugar
335335
- inprocess/libfuzzer_stb_image
336-
# - structure_aware/libfuzzer_stb_image_concolic
336+
- structure_aware/libfuzzer_stb_image_concolic
337337
# - inprocess/sqlite_centralized_multi_machine
338338
# - inprocess/libafl_libfuzzer_windows
339339

crates/libafl/src/events/llmp/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ where
254254
event: Event<DI>,
255255
) -> Result<(), Error>
256256
where
257-
ICB: InputConverter<To = I, From = DI>,
257+
ICB: InputConverter<From = DI, To = I>,
258258
Z: EvaluatorObservers<E, EM, I, S>,
259259
{
260260
match event {
@@ -322,7 +322,7 @@ where
322322
manager: &mut EM,
323323
) -> Result<usize, Error>
324324
where
325-
ICB: InputConverter<To = I, From = DI>,
325+
ICB: InputConverter<From = DI, To = I>,
326326
DI: DeserializeOwned + Input,
327327
S: HasCurrentTestcase<I> + HasSolutions<I>,
328328
Z: EvaluatorObservers<E, EM, I, S>,

0 commit comments

Comments
 (0)