OPCFoundation / UA-.NETStandard

OPC Unified Architecture .NET Standard
Other
1.94k stars 942 forks source link

More fuzz targets for binary and Xml decoders #2621

Closed mregen closed 1 month ago

mregen commented 4 months ago

Proposed changes

Related Issues

Types of changes

What types of changes does your code introduce? Put an x in the boxes that apply. You can also fill these out after creating the PR.

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

Further comments

If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...

codecov[bot] commented 4 months ago

Codecov Report

Attention: Patch coverage is 55.50351% with 190 lines in your changes missing coverage. Please review.

Project coverage is 54.58%. Comparing base (2aec785) to head (c352585). Report is 7 commits behind head on master.

Files Patch % Lines
Stack/Opc.Ua.Core/Types/Encoders/XmlDecoder.cs 48.94% 84 Missing and 13 partials :warning:
...ack/Opc.Ua.Core/Stack/State/NodeStateCollection.cs 0.00% 23 Missing :warning:
Stack/Opc.Ua.Core/Stack/State/NodeState.cs 0.00% 17 Missing :warning:
Stack/Opc.Ua.Core/Types/Encoders/BinaryEncoder.cs 56.75% 14 Missing and 2 partials :warning:
Stack/Opc.Ua.Core/Types/Encoders/JsonEncoder.cs 68.00% 6 Missing and 2 partials :warning:
Stack/Opc.Ua.Core/Types/Utils/DataComparer.cs 0.00% 6 Missing :warning:
Stack/Opc.Ua.Core/Schema/UANodeSetHelpers.cs 50.00% 5 Missing :warning:
Stack/Opc.Ua.Core/Types/BuiltIn/ExtensionObject.cs 54.54% 5 Missing :warning:
Stack/Opc.Ua.Core/Types/BuiltIn/Variant.cs 54.54% 5 Missing :warning:
...raries/Opc.Ua.Security.Certificates/Common/Oids.cs 0.00% 3 Missing :warning:
... and 2 more
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #2621 +/- ## ========================================== - Coverage 54.66% 54.58% -0.08% ========================================== Files 347 349 +2 Lines 65578 65791 +213 Branches 13442 13476 +34 ========================================== + Hits 35846 35910 +64 - Misses 25819 25963 +144 - Partials 3913 3918 +5 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.