mirror of
https://github.com/stefanberger/libtpms
synced 2025-08-25 01:41:06 +00:00
![]() Introduce the #define MAX_MARSHALLED_OBJECT_SIZE to be used for a size of a byte buffer that is supposed to hold a marshalled OBJECT. The number is not exact but provides for a 'safe' size of a buffer. Add a test case to check that MAX_MARSHALLED_OBJECT_SIZE is sufficient. The test case needs access to ANY_OBJECT_Marshal, which is only available when -static can be used for linking since otherwise the function is private to the library. Static linking the test case does not work when test-coverage is enabled, therefore disable statically linked test cases in when test-coverage is enabled and give control to the user to disable statically linked test cases in other cases as well. Signed-off-by: Stefan Berger <stefanb@linux.ibm.com> |
||
---|---|---|
.. | ||
corpus-execute-command | ||
base64decode.c | ||
base64decode.sh | ||
common | ||
freebl_sha1flattensize.c | ||
fuzz-main.c | ||
fuzz.cc | ||
fuzz.sh | ||
Makefile.am | ||
nvram_offsets.c | ||
object_size.c | ||
oss-fuzz.sh | ||
run-fuzzer.sh | ||
tpm2_createprimary.c | ||
tpm2_createprimary.sh | ||
tpm2_cve-2023-1017.c | ||
tpm2_cve-2023-1017.sh | ||
tpm2_cve-2023-1018.c | ||
tpm2_cve-2023-1018.sh | ||
tpm2_pcr_read.c | ||
tpm2_pcr_read.sh | ||
tpm2_run_test.sh | ||
tpm2_selftest.c | ||
tpm2_selftest.sh |