aboutsummaryrefslogtreecommitdiff
path: root/test/ossfuzz.c
Commit message (Collapse)AuthorAge
* Fix a bug in the hard_heap_limit pragma so that it returns the new value ofdrh2019-11-14
| | | | | | the hard_heap_limit, not the soft_heap_limit. Change SQLITE_MAX_MEMORY so that it works by setting the default hard_heap_limit value. FossilOrigin-Name: 33fd0c3abcad5555a150990a22d9c1bab99e79be01143fccb9fafc9b52cf92c8
* Set a low limit on the length of strings and blobs in the OSSFuzz module,drh2019-01-29
| | | | | | in an effort to avoid timeouts when the fuzzer does things like "randomblob(1e12)". FossilOrigin-Name: 119d1609fa415894fdd0aa19440ca1c658bd01910838a4cfadbe0e304b033bfd
* Improvements to the ossfuzz.c fuzz-testing module so that it works withdrh2018-11-21
| | | | | -DSQLITE_OMIT_PROGRESS_CALLBACK and with -DSQLITE_OMIT_INIT. FossilOrigin-Name: d343f7d6b05865c282eb73a0e39dc396f2927982af45b3d045de03ef73715693
* Fix utility compilation issues with MSVC.mistachkin2018-03-07
| | | FossilOrigin-Name: 5bd5a79898790bef150b2bc7f275333444b1a723385e595931377ff4d32190bf
* Make the shell functional even if compiled with SQLITE_OMIT_COMPLETE.drh2018-01-24
| | | | | | Omit the sqlite3_complete() call from the fuzzing interface if it is compiled with SQLITE_OMIT_COMPLETE. FossilOrigin-Name: c3e816cca4ddf0967c4c790cdde2345101dde3f2d854e62589f1ac1d7f3c60b8
* Invoke the sqlite3_complete() interface from the fuzzer.drh2018-01-24
| | | FossilOrigin-Name: 332bf84625d2034c9e1c029aa8243aa34088217e52e34e1f5472217743a31af3
* Prevent OSSFuzz from using debugging pragmas that are disabled in default buildsdrh2017-07-31
| | | | | and which generate lots of excess output. FossilOrigin-Name: cdc6494c050d821908087e6fd9b1e44ba92d81f363494a80b54647f19e5675f7
* Add the --native-malloc option to fuzzcheck. Fix ossfuzz.c and fuzzcheck.cdrh2017-03-20
| | | | | so that they both deallocate the temp_store_directory before closing. FossilOrigin-Name: 0dd18ec882bb28a87629d6d8dfeb5ea5d82833634b3781a7d14b917272c4dfa0
* Set a reasonable limit on the number of opcodes in a prepared statementdrh2017-03-17
| | | | | | for ossfuzz.c. This should prevent timeouts in OSS-Fuzz when it generates totally unreasonable queries. FossilOrigin-Name: f74899ed2c78019abb406432a74dcd42a0ff8d9add005f8544dc4a8905f232eb
* Add the --show-errors and --show-max-delay command-line options to thedrh2017-03-17
| | | | | ossshell test program. FossilOrigin-Name: 626bdca98e0cd78ae873d97e75bb7d544ca18759c9f1e67f4adf03daca7fe5bf
* In the OSSFuzz test module, invoke the progress handler much more frequentlydrh2017-03-13
| | | | | | | so that timeouts are detected punctually even if the test script is running opcodes that individually take a long time (for example, an OP_Function opcode that invokes "randomblob(1.5e6)"). FossilOrigin-Name: f3b6959c04c4ef7b8ff03582b867012a869d52b4a90a0d7ab079ee4c21be5464
* Fix an error in the SQLITE_MAX_MEMORY implementation resulting from a baddrh2017-03-10
| | | | | | merge. Update the OSSFuzz interface so that it times out after running the byte-code engine for 10 seconds. FossilOrigin-Name: f8560c60d10c0365b33342ab05b5a953987b0471
* Enable ossfuzz.c to build even if SQLITE_OMIT_PROGRESS_CALLBACK is defined.drh2016-12-26
| | | FossilOrigin-Name: a37c00dcd192f9d610ecb91810ef57ef41d1f6a6
* Fix the ossfuzz.c test module so that it does not segfault after adrh2016-11-14
| | | | | | "PRAGMA empty_result_callbacks=1;". Add the ossshell.c program for simple command-line testing of ossfuzz.c. FossilOrigin-Name: 6f2d43eca68175ed28abae3afa792095af906af2
* Add the test/ossfuzz.c interface adaptor for OSS-FUZZ. Make previsions fordrh2016-11-11
testing the adaptor using fuzzcheck.c. FossilOrigin-Name: 119d6ef8478ea6ab07dfd0e974d2f5a8dcfce87e