Commit Graph

191 Commits

Author SHA1 Message Date
Julius Pfrommer 0b586eff10 feat(tests): Add a fuzzing test for the XML de/encoding 2025-03-02 13:38:18 +00:00
Julius Pfrommer 8414614764 fix(core): Ensure that decode->encode->decode yields the identical result 2025-01-02 23:41:14 +01:00
Julius Pfrommer 83ad60c103 refactor(core): Update RelativePath browsing for the new QualifiedName format 2025-01-02 23:41:14 +01:00
Julius Pfrommer 28554978c1 feat(core): Extend the binary encoding to take encoding options 2024-12-07 23:03:22 +01:00
Julius Pfrommer df489994ac feat(test): Add fuzz test for parsing UA_AttributeOperand 2024-10-27 22:00:08 +01:00
Julius Pfrommer b96432e411 refactor(server): Relative include paths to simplify the include-folder logic 2024-09-09 23:20:32 +02:00
Florian La Roche 711b032384 refactor(examples,tests): avoid spaces for mDNS records
Avoid spaces in mdnsServerName as this is used for mDNS records.

Signed-off-by: Florian La Roche <Florian.LaRoche@gmail.com>
2024-07-09 11:23:00 +02:00
Julius Pfrommer 5bba2ba794 refactor(core): Fold the <type>_generated_handling.h into <type>_generated.h 2024-05-29 06:14:56 +02:00
Julius Pfrommer 58099d814c refactor(plugin): Move the EventLoop to the plugins folder 2023-12-10 11:38:53 +01:00
Julius Pfrommer 09317bcc00 Merge remote-tracking branch 'origin/1.4' 2023-11-14 17:39:04 +01:00
Julius Pfrommer 0271f50579 refactor(server): Only use logging-pointer instead of inline structure
We could not adjust all pointers when moving the config "into" the
server.
2023-11-10 08:38:53 +01:00
Julius Pfrommer dd300f3eff refactor(tests): Set a custom "fake" clock in the EventLoop for unit tests 2023-10-04 10:56:26 +02:00
Julius Pfrommer 7547a8a9dc refactor(build): Simplify architecture-based build config 2023-08-01 19:28:19 +02:00
Julius Pfrommer 928931ec36 refactor(core): Move architecture-specific definition out of the public headers 2023-07-28 21:42:56 +02:00
Noel Graf 5ec95180c8 feat(server): Add Aes256-Sha256-RsaPss security policy 2023-07-14 17:15:28 +02:00
Julius Pfrommer 6b90a71bad refactor(core): Remove unused architecture_functions.h 2023-06-22 01:06:21 +02:00
Julius Pfrommer dc9521f23b refactor(pubsub): Switch PubSub to EventLoop model 2023-06-13 16:58:55 +02:00
Julius Pfrommer bf199466c9 refactor(server): Move all binary protocol definitions inside ua_server_binary.c 2023-04-29 22:25:30 +02:00
Julius Pfrommer d37724e6dc fix(fuzz): Correctly initialize ctx value in fuzz_binary_message.cc 2023-04-28 01:03:42 +02:00
Julius Pfrommer 55b0a6df39 refactor(client): Remove duplicate UA_Client_sendAsyncRequest (use __UA_Client_AsyncService instead) 2023-01-26 23:38:28 +01:00
Julius Pfrommer 703a5f710c fix(test): Include eventloop_common.c in fuzzing build 2022-12-19 16:53:04 +01:00
Jan Hermes 87798df129 feat: add new keyvaluemap structure + utilities 2022-10-31 13:21:21 +01:00
Andreas Eckerstorfer 5dab29487e fix(plugin): Check for successful file creation (#5348)
fclose should only be called on valid FILE pointers, as fclose(0) is
undefined.
2022-09-26 22:28:39 +02:00
Julius Pfrommer 8a1d7580c5 refactor(core): Remove the old network layer code 2022-08-20 14:34:38 +02:00
Julius Pfrommer 5ef11b11ff refactor(core): Remove the old connection code 2022-08-05 09:13:05 +02:00
Julius Pfrommer d70f80d1e1 refactor(test): Remove unused UA_comboSleep 2022-07-25 23:37:06 +02:00
Andreas Eckerstorfer 13af9b8688 refactor(core): Remove trailing spaces in code (#5221) 2022-06-24 11:03:25 +02:00
Julius Pfrommer e84b2d1803 fix(test): Allow overflow protection errors in JSON fuzzing 2022-05-25 00:19:01 +02:00
Noel Graf d952f76fa3 refactor(core): remove needless x${VAR} tricks (#5129)
Co-authored-by: Rolf Eike Beer <eb@emlix.com>
2022-05-16 16:03:34 +02:00
Julius Pfrommer d0b541bbf5 refactor(server): Make UA_Server_processBinaryMessage an internal API 2022-04-20 20:35:29 +02:00
Julius Pfrommer 3881cf17f9 refactor(server): Directly use the EventLoop for the server TCP sockets 2022-04-20 20:35:29 +02:00
Julius Pfrommer 09cf7c295b feat(core): Enable the EventLoop UDP support in the default build 2022-04-20 20:35:29 +02:00
Julius Pfrommer 5fc0405ea6 Merge pull request #5046 from open62541/1.3
Merge 1.3 to master
2022-04-01 10:21:29 +02:00
Julius Pfrommer 50705b1a84 fix(core): Allow out-of-memory during fuzzing (2nd try) 2022-03-31 22:08:55 +02:00
Julius Pfrommer db19f990d1 Merge pull request #5038 from open62541/1.3
Merge 1.3 to master
2022-03-27 19:31:37 +02:00
Julius Pfrommer 467e136407 fix(tests): Allow out-of-memory in fuzzing tests
Our own JSON encoding might require more tokens than the original input.
2022-03-27 10:56:27 +02:00
Julius Pfrommer be9fbf4f61 Merge pull request #4959 from open62541/1.3
Merge 1.3 to master
2022-03-06 22:04:00 +01:00
Julius Pfrommer 17c80b90b8 refactor(fuzz): Simplify debugging by cleaning up values at the end 2022-03-03 23:40:05 +01:00
Julius Pfrommer 0686baa10b fix(tests): Disable a JSON test that depends on Mantis #7750 to resolve 2022-03-03 20:17:27 +01:00
Julius Pfrommer c432b2fcbe feat(tests): JSON encoding must succeed when the value comes from decoding 2022-02-15 11:30:43 +01:00
Julius Pfrommer 9a1663bdb7 feat(tests): Decoding of JSON (we encoded) must succeed in fuzzing 2022-02-15 11:30:43 +01:00
Julius Pfrommer 0c1cc5aeb2 feat(el): Add InterruptManager API and a POSIX signal implementation 2022-01-03 13:13:39 +01:00
Mark Giraud 68520bb0d5 fix: Fuzzing didn't compile because of missing sources. 2021-12-11 14:30:04 +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 4d3422524c refactor(core): Don't generate headers with internal encoding functions 2021-08-16 10:21:51 +02:00
Julius Pfrommer e1f8fd3b18 fix(build): Fix building for oss-fuzz 2021-07-17 18:39:29 +02:00
Christian von Arnim b82ad4df1b build(plugin): Simplify encryption to single parameter.
Possible options for UA_ENABLE_ENCRYPTION are OFF, MBEDTLS, OPENSSL
2021-07-08 13:23:07 +02:00
Julius Pfrommer 4e60f4e5e8 fix(fuzz): Attempt to fix building for oss-fuzz 2021-06-05 13:24:30 +02:00
Julius Pfrommer 33e75fab85 refactor(ci): Small improvement to the fuzzing build script 2021-05-27 08:51:10 +02:00