156 Commits

Author SHA1 Message Date
Alex Groce
a0bfead4cf verbose 2018-11-30 12:17:18 -07:00
Alex Groce
5c723e0f62 fix wrong name for HAS_FLAG 2018-11-29 13:31:46 -07:00
Alex Groce
a3ad1135e7 also use mod if replaying 2018-11-29 13:25:21 -07:00
Alex Groce
8051817526 simple fix for libFuzzer ranges 2018-11-20 12:16:55 -07:00
Peter Goodman
fd0acedf8b Minor fix for OneOf on std::vector. 2018-09-28 11:12:06 -07:00
Peter Goodman
400d826b0a Make sure DeepState_Setup is not inlined for default-provided main functions. 2018-09-27 17:14:19 -07:00
Peter Goodman
b3f20d9746 Minor tweak 2018-09-27 16:47:22 -07:00
Peter Goodman
b1da5d6d48 Improved the CMakeLists.txt just slightly. Provided a default, weak-attributed main function into libdeepstate so that tests don't need to define them. The weak attribute means that any main function defined by libfuzzer will be a strong symbol and take over, so there won't be a conflict. Adjusted examples accordingly to omit now redundant conditionally-compiled main functions, as that leaked out too many underlying details. 2018-09-27 16:45:08 -07:00
Peter Goodman
9a8e5cca23 Disable static builds on macOS 2018-09-26 11:44:04 -07:00
Alex Groce
d33caaf419 fix spacing 2018-09-01 17:23:50 -07:00
Alex Groce
69a84c7b68 fix C code according to pgoodman comments, annotate multi-byte reads 2018-09-01 17:22:40 -07:00
Alex Groce
4a003b944c signal OneOfs also 2018-09-01 11:36:09 -07:00
Alex Groce
91376842ba provide a mode where bytes read are made explicit 2018-09-01 11:27:22 -07:00
Alex Groce
0fbd80a0b1 less confusing output for assumes 2018-08-27 09:02:50 -07:00
Peter Goodman
6459bd93d0 Fixes Issue #96 to always log failures. 2018-08-08 12:42:48 -04:00
Alex Groce
6a9dadcf7a fix read of null 2018-07-30 22:09:39 -07:00
Alex Groce
0943f812a0 fix env read 2018-07-30 22:07:59 -07:00
Alex Groce
656ffa1b6d new way to specify which test 2018-07-30 22:05:56 -07:00
Alex Groce
eea3248bfc update readme, fix first/last test, change clang 2018-07-30 21:43:55 -07:00
Alex Groce
9d8889e3f2 change name to external, let python konw about new level 2018-07-28 18:06:07 -07:00
Alex Groce
3fe716fbf0 fix extra brace 2018-07-28 12:41:14 -07:00
Alex Groce
8fe58fe48e log as external 2018-07-28 12:40:25 -07:00
Alex Groce
d4e2225727 correct check for INFO to just look for INFO: 2018-07-28 12:36:54 -07:00
Alex Groce
1343cecfc2 correct check for INFO 2018-07-28 12:35:19 -07:00
Alex Groce
6418a5cd16 strnstr not available 2018-07-28 12:29:38 -07:00
Alex Groce
5e9c208c3b better logging 2018-07-28 12:27:07 -07:00
Alex Groce
78a99537c0 Also log fatals 2018-07-28 09:22:30 -07:00
Alex Groce
3a77882835 log only fuzzer info 2018-07-28 09:20:15 -07:00
Alex Groce
e4db876959 try logging as fuzzer 2018-07-28 09:18:14 -07:00
Alex Groce
e263f46696 fix logging level name 2018-07-28 09:14:38 -07:00
Alex Groce
af6c5d8eac different approach 2018-07-28 09:11:34 -07:00
Alex Groce
fcf53b25a5 try to silence logging 2018-07-28 08:58:45 -07:00
Alex Groce
a55402fe8b fix output problem 2018-07-28 04:48:09 -07:00
Alex Groce
dbc2adc360 try printf instead 2018-07-28 04:45:29 -07:00
Alex Groce
5529d560f3 fix stream 2018-07-28 04:41:59 -07:00
Alex Groce
7b2fec9b37 don't crash on failure/crash 2018-07-28 00:32:43 -07:00
Alex Groce
c4f533d003 abort on failure or crash 2018-07-27 22:52:36 -07:00
Alex Groce
21a2153eb3 just skip warning for now, silence later 2018-07-27 22:24:55 -07:00
Alex Groce
9fa8c4bcf7 silence deepstate output, print libFuzzer output without warning 2018-07-27 22:13:21 -07:00
Alex Groce
d95dcf65e3 change way memory is allocated 2018-07-27 21:27:28 -07:00
Alex Groce
519b61a7a9 Proper print format 2018-07-27 21:14:54 -07:00
Alex Groce
95cdb135fc proper return value for LLVM run 2018-07-27 21:11:11 -07:00
Alex Groce
fe3a417637 special version for libFuzzer that doesn't fork 2018-07-27 21:10:02 -07:00
Alex Groce
4066104189 debugging 2018-07-27 17:36:57 -07:00
Alex Groce
89ceafcea6 initialize options 2018-07-27 17:10:43 -07:00
Alex Groce
8c02b19371 move to .c 2018-07-27 16:58:58 -07:00
Alex Groce
4ab8a6c712 go back to extern 2018-07-27 16:54:48 -07:00
Alex Groce
68f413b7af fixing link 2018-07-27 16:51:54 -07:00
Alex Groce
e18a26896a just read the data and run, abort if too large 2018-07-27 16:46:18 -07:00
Alex Groce
5731fbc4e1 fix 2018-07-27 16:17:31 -07:00