552 Commits

Author SHA1 Message Date
c255c32828 fix build 2023-02-22 09:46:30 +01:00
7e7bdf2040 plotting: respect types 2023-02-22 09:05:34 +01:00
74892ec9d1 add plotting to snakefile 2023-02-22 09:05:34 +01:00
8b2439d124 change feedback order 2023-02-22 09:05:34 +01:00
c0102e81b4 fix build 2023-02-22 09:05:34 +01:00
7c67ca71ea fix feedbacks 2023-02-22 09:05:34 +01:00
c75360bbec benchmark using snakemake 2023-02-22 09:05:34 +01:00
c81d6dc9ed trace_abbs and dump path 2023-02-22 09:05:34 +01:00
ea546d15df add graph feedback 2023-02-22 09:05:34 +01:00
e3c624d5f2 update input sizes, dump worstcase, benchmarking 2023-02-22 09:05:34 +01:00
0ebd5ae509 remove address translations, extend plots 2023-02-22 09:05:34 +01:00
8a56073159 add hists to plot script 2023-02-22 09:05:34 +01:00
8896023682 speed up random generation 2023-02-22 09:05:34 +01:00
4c8537e341 write out times over time 2023-02-22 09:05:34 +01:00
dcd46674ae add sytemstate sceduler, fuzz until time 2023-02-22 09:05:34 +01:00
961b4a1ae1 re-add system state fuzzing 2023-02-22 09:05:34 +01:00
6a9635ef4d add virtual edge to longest runs 2023-02-22 09:05:33 +01:00
db60c75ff5 do not force generated inputs 2023-02-22 09:05:33 +01:00
80e2649746 debug stuff 2023-02-22 09:05:33 +01:00
3eb3744c5b random seeds, better plots 2023-02-22 09:05:33 +01:00
faf7873000 add more benchmarks 2023-02-22 09:05:33 +01:00
3d1282ea90 exectime increase feedback 2023-02-22 09:05:33 +01:00
bff7bd10ff rename bin, allow random fuzzing 2023-02-22 09:05:33 +01:00
07829c7f75 benchmark with duration 2023-02-22 09:05:33 +01:00
6ea9288952 add benchmark scripts 2023-02-22 09:05:33 +01:00
74341f6948 add systemstate feature and dump times 2023-02-22 09:05:33 +01:00
9cc1aef2a7 fix multicore build 2023-02-22 09:05:33 +01:00
19e07b027b ignore artifacts 2023-02-22 09:05:33 +01:00
54150c0ea3 minimal changes 2023-02-22 09:05:33 +01:00
0c370c5a1d add interrupt injection 2023-02-22 09:05:33 +01:00
a287ac210a input length and read input pointer 2023-02-22 09:05:33 +01:00
22ff608717 draft: add graph feedback 2023-02-22 09:05:33 +01:00
0d54ca8659 add TimeMaximizerCorpusScheduler 2023-02-22 09:05:33 +01:00
e8ece169a3 add last api callsite to system state 2023-02-22 09:05:33 +01:00
3b542be126 WIP: add systemstate tracking 2023-02-22 09:05:33 +01:00
17edc02d0d add arguments 2023-02-22 09:05:33 +01:00
9e482426db get time from ClockTimeFeedback 2023-02-22 09:05:33 +01:00
f7bdfcfcb5 fixup 2023-02-22 09:05:33 +01:00
854a8066a8 WIP: port fret 2023-02-22 09:05:33 +01:00
Andrea Fioraldi
fdf579bcd5
Bump to 0.9.0 (#946)
* bump to 0.9.0

* fix libafl_tinyinst

* fix

---------

Co-authored-by: Dominik Maier <domenukk@gmail.com>
2023-01-31 10:42:01 +01:00
Dominik Maier
ff9208f107
Fixing python example (#1016)
* Fixing python example

* Fix python baby fuzzer

---------

Co-authored-by: Andrea Fioraldi <andreafioraldi@gmail.com>
2023-01-30 20:03:07 +01:00
Dominik Maier
33ddce2cea
Introduce MutatorId, Tuneable fixes (#1022)
* Add simpler APIs for TunableStage

* Make API usable

* Add TunableScheduledMutator APIs

* Introduce MutatorId

* More API

* Cleanup

* add sampling-based mutation scheduling

* reduce precision for sampling

* clippy
2023-01-30 18:04:42 +01:00
Andrea Fioraldi
92c0c5eeab
Fix second Forkserver Broken Pipe (#1013)
* Truncate at MAX_FILE

* AFL_MAP_SIZE

* todo
2023-01-24 20:50:56 +01:00
Dongjia "toka" Zhang
fe51286586
TinyInst Update (#968)
* tmp

* more

* save

* TODO

* fix

* update to tinyinst on crates

* dep

* fmt

* shmem done

* cpp fmt

* clp

* fmt

* why??

* ver

* more makefile.toml

* windows test

* Update build_and_test.yml

* fix

* a

* install

* fmt

* fix

* only macos and win

* more

* The order matters

* remove

* fmt

* chg

* typo

Co-authored-by: Andrea Fioraldi <andreafioraldi@gmail.com>
2023-01-23 11:11:53 +01:00
Andrea Fioraldi
7fd9ac0952
SyncFromBrokerStage to sync from a broker with a different Input type (#997)
* ConverterLlmpEventManager

* docs

* SyncFromBrokerStage

* fix

* separate InputConverter

* nautilus

* nautilus_sync

* send testcases

* upd nautilus

* meta

* fix

* clippy

* fix

* Update build_and_test.yml

* fix

* fix

* Use find_libpython

* ci

* upd qemu
2023-01-20 17:16:29 +01:00
Dominik Maier
97e88af0c5
OnDiskCorpus: Write metadata by default, metadata gzip compression (#995)
* Write metadata by default

* fix fuzzers

* Cleanup, gzip feature

* Fix casing for ondisk corpus

* fix fmt, clippy

* clippy

* clippy for gdiplus fuzzer

* fmt
2023-01-13 01:07:36 +01:00
Addison Crump
28786c943a
Grimoire fixes (#993)
* fixup grimoire/generalisation, remove GeneralizedInput in favour of metadata

* additional cleanup

* transformable inputs to solve the grimoire problem

* explicit use of 'transforming' to keep typing compatible with normal usage

* clippy fix

* fixes for nautilus, python

* explicit inlining for reflexive impl

* fix for tutorial

Co-authored-by: Andrea Fioraldi <andreafioraldi@gmail.com>
2023-01-13 01:07:21 +01:00
Andrea Fioraldi
ec84c71eae
Corpus maps (#947)
* hashmap corpus for inmemory

* corpus_btreemap feature

* CorpusId

* queue

* MinimizerScheduler::remove

* fixes

* continue

* keys

* working corpus

* ok

* weighted left

* wip

* port weighted scheduler

* it compiles

* doc

* fix mutators

* fix queue

* fix iter

* tests

* fix

* fix

* fix

* py

* clippy

* clippy

* clippy

* cmin

* fix

* fix

* fix

* clippy

* remove Corpus::random_id
2023-01-09 14:15:07 +01:00
Dominik Maier
17cb317429
Fix early drop for frida transformer (#992)
* Fix early drop for frida transformer

* clippy
2023-01-08 18:19:30 +01:00
Dominik Maier
159e6ea480
Fix Launcher for M1, fix frida_libpng harness compilation, fix CI (#987)
* Fix harness compilation for frida_libpng

* M1: Always use fast cores

* always ignore result

* seeing if manualy installing libunistring fixes wget

* seeing if manualy installing wget fixes it, instead

* un-remove comment
2023-01-05 14:26:20 +01:00