Petteri Aimonen
bdfaeaa095
Fix problems running tests with newer SCons version (deprecated env.has_key())
2021-08-02 17:28:45 +03:00
Petteri Aimonen
918dc7eec1
Fuzztest: run whole corpus for non-embedded targets.
...
This is a tradeoff between test time and test coverage.
After consideration, I've decided it is better to catch
potential problems earlier even though it increases test
time by ~15 seconds.
2020-08-10 12:21:48 +03:00
Petteri Aimonen
66fcf11ef6
Always fuzz the whole set of past crashing cases
2020-08-09 17:50:23 +03:00
Petteri Aimonen
d528514e45
fuzztest: Fix build failure on Windows
2020-08-08 08:19:23 +03:00
Petteri Aimonen
06c751665f
Build separate fuzzer test cases.
2020-08-07 13:27:25 +03:00
Petteri Aimonen
367c9891e4
Reduce number of fuzztest iterations to speed up tests.
...
Through repeated runs, it will still get the same coverage.
And the OSSBuild fuzz infrastructure has much more CPU power anyway.
2020-06-03 11:26:47 +03:00
Petteri Aimonen
3d45294027
Fix build error in fuzztest
2020-02-02 11:13:21 +02:00
Petteri Aimonen
983f80f2fd
Speed up fuzztest corpus run on embedded targets
2020-02-02 11:06:09 +02:00
Petteri Aimonen
e26928d8a1
Try to fix fuzztest issue on Windows.
...
The buffer length was a bit small so most of the corpus
messages wouldn't fit in it, causing pipe write to hang
until the process exited.
2020-02-01 15:35:37 +02:00
Petteri Aimonen
34bfb2d85f
Try to troubleshoot fuzz test error on Windows
...
Seems to be somehow environment dependent, as it
only crashes with "Invalid argument" when run from
the Jenkins job.
2020-02-01 12:09:19 +02:00
Petteri Aimonen
0de644acc0
Fuzztest: reduce memory usage (for AVR)
2020-01-19 21:34:05 +02:00
Petteri Aimonen
dae4d51168
Run fuzz tester against corpus from ossfuzz
2020-01-17 08:05:53 +02:00
Petteri Aimonen
e8088bfad6
Fuzztest: include extension field in generate_message
2020-01-16 12:41:03 +02:00
Petteri Aimonen
de4d0f51f7
Fuzztest: include callback fields in test
2020-01-13 13:01:08 +02:00
Petteri Aimonen
892bfd417a
Test also stream input in fuzz test.
2020-01-13 12:15:21 +02:00
Petteri Aimonen
89c1fa2507
Refactor fuzztest
2020-01-13 11:32:24 +02:00
Petteri Aimonen
625e8a5881
Include proto3 messages in fuzztest.
2020-01-02 12:42:00 +02:00
Petteri Aimonen
8572963fa9
Update and clean up fuzztest/fuzzstub
2019-12-17 09:43:08 +02:00
Petteri Aimonen
4707fb9f79
Fuzztest: less iterations for embedded targets
2019-12-15 18:53:11 +02:00
Petteri Aimonen
ffb75545f4
Improve fuzztest checks
2019-12-15 18:05:04 +02:00
Petteri Aimonen
6448f5d40d
Add random message generator to help with fuzz testing
2015-10-05 15:36:24 +03:00
Petteri Aimonen
b03be4fa4d
Add syntax specification to .proto files (issue #167 )
...
Eliminates a warning on protoc 3.0.
2015-09-20 14:29:39 +03:00
Petteri Aimonen
0f3c0f79bc
Move malloc support to tests/common directory
2014-12-26 17:34:45 +02:00
Petteri Aimonen
8a28b70351
Move malloc_wrappers.c to tests/common
2014-12-26 17:08:17 +02:00
Petteri Aimonen
07e9ffb97b
Add a fuzz testing stub for ability to use external generators also
2014-09-11 19:22:57 +03:00
Petteri Aimonen
0dce9ef635
Add a better fuzz test.
...
Attempts to verify all the properties defined in the security model,
while also being portable and able to run on many platforms.
2014-09-11 19:22:57 +03:00