12 Commits
Author SHA1 Message Date
Julius Pfrommer 3251f5850d Merge remote-tracking branch 'origin/1.5' 2026-06-17 20:05:36 +02:00
Julius Pfrommer 42f256c736 fix(tests): Fix an unaligned memory warning in custom_memory_manager.c 2026-06-16 23:57:58 +02:00
Julius Pfrommer 5f7ddbfae3 refactor(core): Use the singleton malloc method pointer only for fuzzing 2026-05-23 12:52:05 +02:00
Martin Lang b26c8d1998 fix(core): Remove double ";" at end of line (#3938) 2020-10-06 10:47:07 +02:00
Julius Pfrommer 7d1d21a88c refactor(core): Simplify the malloc singleton option 2020-07-01 10:21:17 +02:00
Stefan Profanter e1c93c17cd fix: Mute custom memory manager if address entry not found 2019-10-14 15:59:05 +02:00
Stefan Profanter 30740b06db fix(ci): Avoid asan complaining on misaligned memory 2019-10-09 20:26:57 +02:00
Stefan Profanter 6fe8453249 Untabify
Used command:
`find . \( -name '*.c' -o -name '*.h' \) -not \( -path "./deps/*" -prune \) ! -type d -exec bash -c 'expand -t 4 "$0" > /tmp/e && mv /tmp/e "$0"' {} \;`
2019-05-25 09:09:46 +02:00
Stefan Profanter 1f932c6eaf Tests: Correctly lock custom memory manager 2019-05-17 10:23:35 +02:00
Stefan Profanter cb345cdda5 Fuzzer: Remove some debug output 2019-05-10 19:05:48 +02:00
Julius Pfrommer 79c063752e Fuzz: Fix a casting warning 2019-04-23 00:41:32 +02:00
Stefan Profanter 8c87552a5b Fuzz: Add custom memory manager to simulate OOM
Adds custom memory manager to keep track of allocated and freed memory.
Based on the fuzzer input the maximum available RAM is set and if the
limit is reached no new allocation is allowed.

With this approach we can test OOM and memory allocation failure paths
in the source code.
2018-11-16 09:45:03 +01:00