Commit Graph

316 Commits

Author SHA1 Message Date
Sean Barrett
3152efaa97 Merge branch 'fuzzer_updates' of https://github.com/randy408/stb into working 2020-07-13 04:08:36 -07:00
Randy
3b14b5afa6
Update Makefile 2020-06-01 06:22:44 +02:00
Randy
c8303509fa make fuzz target compilable as c++ code 2020-06-01 06:18:13 +02:00
Randy
9cd6cdc0e5 add ossfuzz build script 2020-06-01 06:09:16 +02:00
Randy
a6b384358f Merge branch 'fuzzer_updates' of https://github.com/randy408/stb into fuzzer_updates 2020-06-01 06:03:50 +02:00
Randy
a7fed59fe4 add fuzz target to Makefile 2020-06-01 06:01:40 +02:00
Randy
d1d0e9fdb0 add fuzz target to Makefile 2020-05-11 08:59:07 +02:00
Randy
5a7af50fa5 remove stb_png_read_fuzzer.options 2020-05-11 08:47:45 +02:00
Randy
88062723ff rename fuzz target 2020-05-11 08:18:56 +02:00
Randy
b75413f8a4 do not define STBI_ONLY_PNG in fuzz target 2020-05-11 08:18:15 +02:00
Randy
4bafa56899 rename fuzz target, add entry point 2020-05-11 05:48:25 +02:00
Adam Korczynski
fdec118312 Added fuzzer for stb_c_lexer 2020-04-09 16:21:56 +01:00
Sean Barrett
828e6cfdf7 update test 2020-02-05 04:31:55 -08:00
Sean Barrett
2805fe39ab Merge branch 'fix_ub_shift' of https://github.com/wojdyr/stb into working 2020-02-05 03:15:56 -08:00
Sean Barrett
f06f586d18 sprintf warnings 2020-02-05 03:10:07 -08:00
Marcin Wojdyr
3366d1e797 stb_sprintf: avoid left shift of negative value
fix undefined behaviour reported by UBSan:
  runtime error: left shift of negative value -9223372036854775808
and add a test case.

fixes #800
2020-02-03 20:17:03 +01:00
Sean Barrett
50dc48013b test stb_include.h 2020-02-02 11:12:27 -08:00
Sean Barrett
c046a25fd7 Merge branch 'fuzz' of https://github.com/randy408/stb into work2 2020-02-02 08:00:39 -08:00
Sean Barrett
81b4fd7342 test_sprintf: clean up for MSVC6 & integration to codebase 2020-02-02 07:37:20 -08:00
Sean Barrett
3223673e86 Merge branch 'test_sprintf' of https://github.com/wojdyr/stb into work2 2020-02-02 07:21:45 -08:00
Sean Barrett
57de42c23f disable broken tilemap editor build 2020-02-02 07:06:27 -08:00
Sean Barrett
4a7a434c2d various tests and infrastructure fixes 2020-02-01 04:21:41 -08:00
Sean Barrett
c7343d4263 more Travis fixing 2019-08-11 16:45:14 -07:00
Sean Barrett
897c33133f more travis testing 2019-08-11 16:42:27 -07:00
Sean Barrett
5037e236ed try to work around Travis old GCC errors 2019-08-11 15:55:39 -07:00
Sean Barrett
787f1d646a Update version numbers 2019-08-11 05:38:37 -07:00
Sean Barrett
b26a31072d test.sbm: tweak tests so all pass 2019-08-11 05:17:42 -07:00
Sean Barrett
846d15c102 image_test: tweak testing to open image in more modes 2019-08-11 04:58:48 -07:00
Sean Barrett
bd8d9a88bc test.sbm: add clang compilation 2019-08-11 04:57:39 -07:00
Randy
0637408284 fuzz: fix error handling 2019-03-12 00:59:20 +01:00
Randy
af516b99ff fuzz: remove some chunk identifiers from stb_png.dict
these chunks are not parsed
2019-03-12 00:14:16 +01:00
Randy
cd797f8116 add fuzz target, dictionary, iphone png's 2019-03-11 23:56:45 +01:00
Sean Barrett
a0b521fcf2 no warnings when compiling /W3
compiling all test cases and compilers in test.sbm
   Compilers:
     32-bit:
       VS2015
       VS2013
       VS2008
       VC6 (1998)
       clang-cl 9.0.1
     64-bit
       VS2015
       clang-cl 9.0.1
2019-03-04 14:45:06 -08:00
Sean Barrett
96b4748d57 update test_ds.c 2019-03-03 21:40:18 -08:00
Sean Barrett
30496e22d7 add new test files 2019-03-03 21:39:46 -08:00
Sean Barrett
72990efc3e test updates for test_ds unit testing 2019-02-25 13:49:37 -08:00
Sean Barrett
e704ed0efb update tests and project files for stb_ds 2019-02-25 11:17:27 -08:00
Sean Barrett
477471d9a8 add stb_ds.h and tests 2019-02-25 11:16:35 -08:00
Sean Barrett
5715e6faaf Makefile: update how to build image_write_test 2019-02-24 04:37:37 -08:00
Sean Barrett
57c7029166 test_image_write.c: change from standalone to integrated with image_test.c 2019-02-24 04:22:47 -08:00
Fabian Giesen
e0ee0de26c tests: Add simple image_write_test smoke test 2019-02-23 05:18:14 -08:00
Sean Barrett
f11f1e801a stb_sprintf: credits 2019-02-07 09:23:01 -08:00
Sean Barrett
476c1f89a2 stb_image_write: fix the previous fix (incorrectly labelled as stb_image) 2019-02-07 07:01:23 -08:00
Sean Barrett
f82dbd638c windows unicode: don't malloc buffers, add explicit STBI_WINDOWS_UTF8 #define 2019-02-07 05:55:03 -08:00
Sean Barrett
3005bcfe87 Merge branch 'misc-typos' of https://github.com/luzpaz/stb into working 2019-02-07 05:00:12 -08:00
Sean Barrett
a28a6b126b tests: 64-bit fixes, fix typo in image tests 2019-02-07 04:42:32 -08:00
Marcin Wojdyr
e0a0328b43 add tests to tests/test_sprintf.c 2018-04-29 16:50:25 +01:00
Sean Barrett
e5254a7fde whoops, makefile for travis was no longer testing most libraries compiling 2018-04-27 04:47:03 -07:00
luz.paz
622b3adad3 Misc. comment typos
Found via `codespell -q 3`
2018-02-12 14:54:22 -05:00
Sean Barrett
aeb2b4b64d tweak handling of STBIWDEF 2018-02-11 11:19:45 -08:00