5491 Commits

Author SHA1 Message Date
yihellen
4103ee43e2
Add automaton parser (#1426)
* have compilable program

* enable read in file

* add hashmap usage

* add build hashmap; WIP; test if constructed correctly tomorrow

* add testcase to test hashmap

* add sorted symbols list

* build symbols dictionary

* clean up DEBUG

* successfully find automaton path

* fix all memory leaks

* test if automaton same with example

* able to iterate through files in a folder

* finish testing on one random queue
wip
- change macro values
- add bound checking

* add bound checking to program length

* add bound checking to program walk length

* add boundary check to terminal number, terminal lengths and program length

* commit test makefile

* add makefile

* able to add seeds to gramatron

* remove useless argument in automaton_parser

* add automaton parser to gramfuzz

* change build

* revert test.c to original state

* add makefile to test.c for testing
2022-05-26 16:21:59 +02:00
vanhauser-thc
5ad760a77b update changelog 2022-05-23 10:53:37 +02:00
vanhauser-thc
6dfc9aaab0 disable LTO for llvm 15 :-( 2022-05-23 10:52:34 +02:00
van Hauser
ffdbe8a2fb
Merge pull request #1411 from glandium/implicit-int
Fix build failures with clang 15
2022-05-19 11:21:32 +02:00
vanhauser-thc
c5083f8982 todo 2022-05-19 11:21:09 +02:00
van Hauser
ca721404ef
Merge pull request #1415 from che30122/dev
afl->cmplog_binary memory leak problem
2022-05-18 10:32:35 +02:00
che30122
c563faa076 fix mem leak 2022-05-17 16:47:01 +08:00
van Hauser
c08eeb95ca
Merge pull request #1410 from WorksButNotTested/dynamic
A few updates
2022-05-16 11:15:21 +02:00
van Hauser
7c755a675f
Merge pull request #1412 from HexRabbit/fix_make_deps
Fix missing dependency
2022-05-16 10:24:20 +02:00
HexRabbit
4c0281adc8
Fix missing dependency
add `instrumentation/afl-llvm-common.o` to `SanitizerCoverageLTO.so`'s
dependency list
2022-05-16 16:10:07 +08:00
Mike Hommey
022f364661 Avoid implicit-int error in x86 test with clang 15
See 2cb2cd242c
2022-05-13 07:23:38 +09:00
Your Name
3dc72ffb6b Added test for prefetch validation 2022-05-12 16:54:40 +01:00
Your Name
ca361e1b6a Validate address space before prefetching 2022-05-12 16:54:40 +01:00
Your Name
b36d0adb46 Update version of FRIDA 2022-05-12 16:54:40 +01:00
Sergej Schumilo
2a4d77abc6
Update nyx submodules (#1408) 2022-05-12 13:29:30 +02:00
vanhauser-thc
dfe03a346a update unicorn 2022-05-12 09:11:25 +02:00
David CARLIER
1605291154
Docker image update to ubuntu jammy LTS (#1406)
which brings gcc 12 and the llvm 14 suite.
2022-05-11 14:40:14 +02:00
van Hauser
f180109d1a
Merge pull request #1405 from yuawn/fix_llvm_version
Fix LLVM version in Dockerfile comment
2022-05-11 11:29:01 +02:00
yuawn
927cb770f0 fix LLVM version 2022-05-11 09:17:21 +00:00
vanhauser-thc
82c6c8e563 update changelog 2022-05-10 12:18:34 +02:00
vanhauser-thc
79099a01f8 fix effector map calculation 2022-05-10 11:05:43 +02:00
vanhauser-thc
7c8246f18f fix 2022-05-09 14:30:40 +02:00
vanhauser-thc
51942b605d support post_process's own return buffer 2022-05-09 13:18:14 +02:00
van Hauser
47dae21f4a
Merge pull request #1401 from devnexen/fbsd_largepage
large shared segment optimisation (in TEST_MMAP mode)
2022-05-08 12:47:25 +02:00
van Hauser
ba12c7fc09
Merge pull request #1400 from devnexen/frida_android_bfix
frida module android build fix.
2022-05-08 12:46:33 +02:00
David CARLIER
229a45c6a6 large shared segment optimisation (in TEST_MMAP mode)
for FreeBSD supporting such feature.

Grabbing the first kind which fit the needed size otherwise
falling back to the classic shared segment allocation.
2022-05-06 19:02:21 +01:00
David Carlier
45219dee80 frida module android build fix. 2022-05-06 15:56:03 +01:00
vanhauser-thc
13e0fd3e1a pcguard fix for most current llvm 15 changes 2022-05-03 13:01:48 +02:00
vanhauser-thc
68e8467859 fix 2022-05-02 14:11:25 +02:00
vanhauser-thc
293e255734 fix mopt random selection 2022-05-02 13:09:34 +02:00
vanhauser-thc
0b228fb0f5 fix token usage in normal and MOpt mode 2022-05-02 08:17:06 +02:00
che30122
01594dc416
Properly null CmpLog map in deinit (#1395)
Co-authored-by: van Hauser <vh@thc.org>
2022-04-28 09:42:49 +02:00
che30122
46d5452c86 update afl-sharedmem.c 2022-04-28 15:35:25 +08:00
van Hauser
c7bb0a9638
Merge pull request #1392 from AFLplusplus/dev
push to stable
2022-04-25 10:14:19 +02:00
vanhauser-thc
ee409d18a6 code format 2022-04-25 10:14:04 +02:00
vanhauser-thc
5d5aa430d2 add changelog 2022-04-25 09:10:59 +02:00
van Hauser
5792d492ed
Merge pull request #1375 from wtdcode/fix_uc_static
Fix unicornafl static build
2022-04-25 09:09:18 +02:00
Dominik Maier
9ac3c53104 fix my name 2022-04-24 20:52:31 +02:00
lazymio
ee50f41d29
Merge origin/dev 2022-04-24 20:13:40 +02:00
lazymio
aeeca164b5
Bump unicornafl 2022-04-24 20:12:42 +02:00
vanhauser-thc
b2c96f66ee unicorn 2022-04-22 10:29:56 +02:00
vanhauser-thc
7f26d13345 try repeating write 2022-04-22 10:28:21 +02:00
van Hauser
5798c686b2
Merge pull request #1393 from jschwartzentruber/dev-wasm
instrumentation fixes for wasm
2022-04-21 10:16:41 +02:00
Jesse Schwartzentruber
f53e6a6cf2 fix instrumentation for -Werror,-Wunused-but-set-variable
`used` is so it isn't optimized out. `unused` is to avoid the warning.
2022-04-20 15:39:28 -04:00
Jesse Schwartzentruber
630eb943a5 use passthrough mode for wasm 2022-04-20 15:38:37 -04:00
vanhauser-thc
4f42ecd815 remove WIP code 2022-04-18 13:16:10 +02:00
vanhauser-thc
1d00bde6c5 code format 2022-04-18 13:14:20 +02:00
vanhauser-thc
b1da7500b2 fix msg 2022-04-18 13:14:20 +02:00
van Hauser
223c52827a
Merge pull request #1388 from mlichvar/cmin-args
afl-cmin: quote program arguments
2022-04-18 12:26:26 +02:00
van Hauser
e1c4a4ea7e
Merge pull request #1382 from AdaCore/pr/gcc_deny_list_fix
Fix GCC plugin crash when using deny/allow list
2022-04-18 10:44:42 +02:00