Andrea Fioraldi
40b73d4b1b
Book refactoring and update ( #280 )
...
* llmp docs skeleton
* llmp documentation
* more llmp docu
* llmp
* some core concepts
* start working on tutorial
* adapted rng_core to lain
* fix tutorial build
* warnings, format
* add explanation
* No need to own the types
* metadata
* writing
* fmt
* tutorial folder
* lain needs nightly
* added mdbook test to ci
* fix ci, add linkcheck
* more book
* baby
* tutorial target
* fix mdbook build
* fix mdbook test
* more book
* fixed typo
* fixed build
* spawn instances'
* 'finish' book
* added sugar crate information
Co-authored-by: Dominik Maier <domenukk@gmail.com>
2021-09-27 09:39:32 +02:00
Andrea Fioraldi
2f2634db02
Python basic bindings for sugar and qemu ( #302 )
...
* InMemoryBytesCoverageSugar python binding
* InMemoryBytesCoverageSugar python binding
* python mod for qemu in libafl_sugar
* libafl_qemu python
* fix
* clippy fixes
* clippy
* added pyo3-build-config for MacOS builds
* gitignor
* python is not default
Co-authored-by: Dominik Maier <domenukk@gmail.com>
2021-09-27 09:39:21 +02:00
Dominik Maier
01a98bf8fd
Example how to build baby-fuzzer as push instead of pull, using Klo-routines ( #227 )
...
* iyielding fuzzer
* fixed klo example
* docu, naming
* more readme
2021-09-25 22:54:46 +02:00
bitwave
e17f4b846f
Added documentation for no_std build and fuzzing ( #282 )
...
* added unfinished no_std docs
* docs: added missing example
* Update no_std.md
Co-authored-by: Dominik Maier <domenukk@gmail.com>
2021-09-24 20:26:45 +02:00
Andrea Fioraldi
1fde608145
Qemu as lib ( #301 )
...
* linking problems
* use shared lib
* ci
* clippy, ci fixegit pushs
* ingoring distclean result
* clippy
* clippy
Co-authored-by: Dominik Maier <domenukk@gmail.com>
2021-09-24 13:22:33 +02:00
Andrea Fioraldi
8f5df699fe
fuzzbench_gsoc: set swarm num to 5
2021-09-24 13:20:50 +02:00
Andrea Fioraldi
fd39938ac7
Add fuzzbench gsoc to fuzzers/
2021-09-24 11:23:26 +02:00
Dominik Maier
3fe8c2c044
cbz, tbz, tbnz support for aarch64 cmplog ( #298 )
...
* add support for cbz/tbz
* remove unecessary print
* implemented support for tbz
* add support for tbnz
* fix an error in the emitted code for both tbz/tbnz
Co-authored-by: Omree <Omree10@gmail.com>
2021-09-17 03:03:27 +02:00
Lukas Seidel
f0d5c2f708
armv7 support: add ucontext struct definition ( #297 )
...
* add uncontext and mcontext struct defs for armv7
* formatting
* merge import lines
2021-09-14 13:58:03 +02:00
Dominik Maier
55c4b0c778
added write_file_atomic against ondisk corpus races ( #294 )
...
* fix ondisk corpus race condition
* move metadata name to be a dotfile
* note ExitKind for crashes and timeouts in inprocess executor
* potential fix for windows
* added write_file_atomic
* no_std fixes
* no_std testcase fix
* typo fix, windows
* clippy
* more no_std testing
2021-09-13 15:38:28 +02:00
Toka
b9edb29d8b
PowerSchedule::COE fix ( #295 )
2021-09-13 14:24:31 +02:00
Dominik Maier
9eba674467
implement Debug for EventManagerId
2021-09-12 12:26:08 +02:00
s1341
b4aa22458d
Add core_id to launcher run_client
closure signature ( #290 )
...
* Add core_id to launcher run_client closure signature
* Format
* Attempt to fix windows build
* windows
* Sleep for index seconds instead of id seconds when launching cores (#292 )
2021-09-12 09:49:36 +02:00
Dominik Maier
b71704b14d
ShMem server race-condition fix for #276 ( #278 )
...
* This fixes a potential race condition when the parent dies before the child connects after a fork (#276 )
* fix docs
* trying to fix shmem server forking
* removed bug where decreasing map count to 0 would not be reallocatable
* ignored clippy warning, refactoring
2021-09-07 00:03:37 +02:00
bitwave
e7ed5be9a2
Use external, custom time function for no_std environments ( #281 )
...
* Use external, custom time function for no_std environments
* fixup! Use external, custom time function for no_std environments
* fixup! Use external, custom time function for no_std environments
2021-09-06 19:13:45 +02:00
Dominik Maier
d8ef1dd90a
fix Android build on MacOS
2021-09-06 12:53:58 +02:00
Dominik Maier
9cd34865a8
removed unused import
2021-09-06 12:07:21 +02:00
Andrea Fioraldi
42d213737d
Build id configuration in std ( #286 )
...
* Build id configuration in std
* uuid only on std
2021-09-06 10:25:32 +02:00
Andrea Fioraldi
231caf0797
reset() method for FeedbackState
2021-09-06 10:00:26 +02:00
Toka
d136ee7427
Fix _LLMP_BIND_ADDR for Windows ( #285 )
...
* ipv6
* client connects to localhost
* v4 when v6 not available
* remove v6 addr
2021-09-03 12:36:49 +02:00
David CARLIER
774cfb685e
openbsd port ( #279 )
...
with libc update, ucontext data is finally available on this platform too.
2021-08-27 11:41:06 +02:00
Andrea Fioraldi
14d1f63e56
Token level fuzzing ( #274 )
...
* EncodedInput
* some encoded mutations
* Encoded parse using comments and strings regexes
* working js example
* better mutator
* clippy
2021-08-27 09:32:22 +02:00
Dominik Maier
45dd940532
autocomplete...
2021-08-26 20:48:33 +02:00
Dominik Maier
c9642ec275
ignored warnings
2021-08-26 20:30:11 +02:00
Dominik Maier
985af28c58
less clippy
2021-08-26 19:55:38 +02:00
Dominik Maier
3db1765537
cleanup
2021-08-26 19:25:48 +02:00
Andrea Fioraldi
6ae36ce658
Refactor configurations with EventConfig ( #277 )
...
* switch to EventConfig
* adapt fuzzers
* fix tests
* fix sugar
* clippy
* ahash
2021-08-26 13:25:03 +02:00
Andrea Fioraldi
7d249dd306
Update libafl-qemu-bridge commit && libafl_qemu
2021-08-24 16:03:33 +02:00
Dominik Maier
7c086f1877
Build LibAFL Android in CI ( #275 )
...
* trying to fix android ci
* fix?
* still trying to fix android ci
* we don't produce a cdylib, so let's not output the target
2021-08-24 11:39:57 +02:00
Andrea Fioraldi
2301335bf7
Bump symcc_runtime to 0.1.2
2021-08-23 11:32:03 +02:00
Andrea Fioraldi
951b6fef36
Bump 0.6.1
2021-08-23 10:01:22 +02:00
julihoh
bdd1412fc4
Symcc runtime docsrs fix ( #270 )
...
* add symcc as submodule
* make build script docs.rs aware
* bump version of symcc_runtime
2021-08-23 09:55:13 +02:00
s1341
fccb9a1c55
Fix shmem on android ( #272 )
...
* Fix shmem on android
* Switch back to ulong
2021-08-23 09:46:54 +02:00
Dominik Maier
5caeb46b67
renamed target_os macos to target_vendor apple ( #273 )
...
* renamed target_os macos to target_vendor apple
* fix yaml
2021-08-23 09:45:25 +02:00
julihoh
d1021c7a9a
initial book entry for concolic ( #257 )
...
* initial book entry for concolic
* update links to still work with fixed version of symcc_runtime
* spelling
2021-08-23 09:28:10 +02:00
David CARLIER
8f03d20200
process crash handler, dump registers on apple arm64 ( #271 )
2021-08-21 14:47:55 +02:00
Andrea Fioraldi
65b5051c7c
Update libafl_sugar Cargo.toml for publication
0.6.0
2021-08-20 09:47:01 +02:00
Andrea Fioraldi
753d1e5381
Fix publish.sh
2021-08-20 09:39:57 +02:00
Toka
b6d22a2fbb
Drop for TimeoutExecutor on win10 ( #269 )
...
* small fixes
* update .gitignore
2021-08-19 09:11:16 +02:00
Andrea Fioraldi
7ca7b3c9f6
Update publish script
2021-08-18 11:34:44 +02:00
julihoh
dcf107a30a
symcc_runtime dependency fix for next libafl version & bump to 0.6.0 ( #268 )
...
* symcc_runtime dependency fix for next libafl version
* bump to 0.6.0
Co-authored-by: Andrea Fioraldi <andreafioraldi@gmail.com>
2021-08-18 10:57:55 +02:00
Andrea Fioraldi
83f413f8b1
Default weak fns impl on MSVC
2021-08-18 10:45:50 +02:00
Andrea Fioraldi
cc52e20256
Weak libafl_main in libfuzzer_compatibility.c
2021-08-18 10:36:54 +02:00
Toka
688182fd1e
Timeout for Inprocess Executor on Windows ( #267 )
...
* start working on windows timeout
* salvage Input in timeout handler
* this time inproc_timeout_handler (need clean up later)
* cleaup
* more in inproc_timeout_handler
* fix for linux build
* more fixes for unix, fmt
* revert timeoutexecutor api
* revert baby_fuzzer/src/main.rs
* various fixes
* no unsafe
* remove timer in crash_handler
2021-08-18 09:11:34 +02:00
Toka
d7ec395010
Forkserver Shared Memory Testcase ( #265 )
...
* working on shmem testcase fuzzing
* fmt & clippy
* write_to_testcase
* write input size
* max os fixes
* RcShMemProvider?
* ServedShMemProvider?
* revert changes
* RcShMem<ServedShMemProvider<MmapShMemProvider>>?
* ShMem change for android? (not tested at all)
* harness
* shmem testcase fuzzing for timeoutforkserver
* update harness
* remove .o
* pselect instead of select
* clippy
2021-08-17 01:44:17 +02:00
Fabian Freyer
15c6e6b73b
libafl_frida: remove non-gnu hooks on macos ( #262 )
...
The following functions are GNU extensions and therefore
not available on superior systems:
- explicit_bzero
- malloc_usable_size
- memalign
- mempcpy
- memrchr
2021-08-15 08:51:47 +02:00
Fabian Freyer
6435af3419
bolts::cpu: fix docs link ( #264 )
2021-08-15 07:08:37 +02:00
Toka
511237ce9e
Windows dependency update ( #261 )
...
* win018
* fuzzer fmt
* reorder
* comment
* does
2021-08-14 23:04:13 +02:00
David CARLIER
1418e836a0
shmem code simplification using more libc crate which fixes couple of wrong C fn signatures ( #259 )
2021-08-12 09:49:26 +02:00
Dominik Maier
cb8efd3abf
shmem service speedup env ( #256 )
...
* shmem service speedup env
* typos, cleanup
* fmt
2021-08-09 09:23:12 +02:00