|
BSL v1.1.1 - 39.g9f43410
AMMOS Bundle Protocol Security Library (BSL)
|
Fuzz the BPSec ASB decoding from CBOR. More...
#include "TestUtils.h"#include <bsl/dynamic/AbsSecBlock.h>#include <bsl/dynamic/CBOR.h>#include <bsl/mock_bpa/MockBPA.h>#include <cinttypes>
Include dependency graph for fuzz_dynamic_asb_cbor.cpp:Macros | |
| #define | EXPECT_EQ(expect, got) |
Functions | |
| int | LLVMFuzzerInitialize (int *argc, char ***argv) |
| int | LLVMFuzzerTestOneInput (const uint8_t *data, size_t size) |
Fuzz the BPSec ASB decoding from CBOR.
| #define EXPECT_EQ | ( | expect, | |
| got | |||
| ) |
| int LLVMFuzzerInitialize | ( | int * | argc, |
| char *** | argv | ||
| ) |
| int LLVMFuzzerTestOneInput | ( | const uint8_t * | data, |
| size_t | size | ||
| ) |
References BSL_AbsSecBlock_Decode(), BSL_AbsSecBlock_Deinit(), BSL_AbsSecBlock_Encode(), BSL_AbsSecBlock_Init(), BSL_AbsSecBlock_Sizeof(), BSL_CBOR_Decode(), BSL_CBOR_Encode_Twopass(), BSL_Data_Deinit(), BSL_Data_Init(), BSL_Data_InitView(), BSL_free(), BSL_malloc(), BSL_SUCCESS, BSL_Data_t::len, and BSL_Data_t::ptr.