Commit Graph

14 Commits

Author SHA1 Message Date
Julius Pfrommer 28554978c1 feat(core): Extend the binary encoding to take encoding options 2024-12-07 23:03:22 +01:00
Julius Pfrommer 4a12b64f32 fix(tests): Update fuzzing tests to the public encoding functions 2021-10-06 18:49:48 +02:00
Julius Pfrommer a4b2d5b0d1 feat(core): Add UA_order to types testing 2021-09-27 17:17:13 +02:00
Julius Pfrommer 7c23332027 refactor(test): Use _clear instead of _deleteMembers 2020-10-18 15:21:40 +02:00
Stefan Profanter cdd7abc6a6 ci(fuzz): Add author to license header 2019-11-07 19:28:33 +01:00
Stefan Profanter 63f3653ff1 Additional header cleanup and consistent name of ns generated files 2019-03-21 20:16:31 +01:00
Stefan Profanter 33f185b41a Fuzz: Check for successful memory allocation
Credit to oss-fuzz

Fixes issues:
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11431
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11433
2018-11-20 07:22:39 +01: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
Julius Pfrommer 49e0a0bb1e Types: Add UA_DataTypeArray as a linked list for client/server 2018-09-28 17:09:22 +02:00
Stefan Profanter e110f93c36 Add fuzzing of extension object and variant 2017-11-10 22:49:48 +01:00
Stefan Profanter b57f97dac4 Add fuzzer test for UA_encodeBinary 2017-11-08 23:19:02 +01:00
Julius Pfrommer e0058770c9 rename /plugins/ua_config_standard.* to /plugins/ua_config_default.* 2017-09-21 17:46:30 +02:00
Stefan Profanter 56bfe1cfed Use bigger datatype for index > 255 2017-09-16 21:04:30 +02:00
Stefan Profanter e157330261 Add fuzz_binary_decode 2017-08-08 14:04:41 +02:00