mirror of
https://github.com/stefanberger/libtpms
synced 2025-08-24 17:39:47 +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>
69 lines
1.0 KiB
Plaintext
69 lines
1.0 KiB
Plaintext
*.exe
|
|
*.exe.stackdump
|
|
*.gcda
|
|
*.gch
|
|
*.gcno
|
|
*.gcov
|
|
*.la
|
|
*.lo
|
|
*.log
|
|
*.o
|
|
*.trs
|
|
*~
|
|
.deps
|
|
.dirstamp
|
|
.libs
|
|
.pc/
|
|
configure
|
|
compile
|
|
depcomp
|
|
missing
|
|
Makefile.in
|
|
Makefile
|
|
/aclocal.m4
|
|
/autom4te.cache
|
|
/config.h
|
|
/config.h.in
|
|
/config.guess
|
|
/config.log
|
|
/config.status
|
|
/config.sub
|
|
/install-sh
|
|
/libtool
|
|
/libtpms.pc
|
|
/libtpms-*.tar.gz
|
|
/ltmain.sh
|
|
/stamp-h1
|
|
/test-driver
|
|
/m4/*
|
|
!m4/ax_check_define.m4
|
|
!m4/ax_check_linker_flag.m4
|
|
/man/man3/*.3
|
|
!man/man3/TPMLIB_GetState.3
|
|
!man/man3/TPMLIB_SetDebugLevel.3
|
|
!man/man3/TPMLIB_SetDebugPrefix.3
|
|
!man/man3/TPMLIB_Terminate.3
|
|
!man/man3/TPM_Free.3
|
|
!man/man3/TPM_IO_Hash_Data.3
|
|
!man/man3/TPM_IO_Hash_End.3
|
|
!man/man3/TPM_IO_TpmEstablished_Reset.3
|
|
!man/man3/TPM_Realloc.3
|
|
/tests/NVChip
|
|
/tests/base64decode
|
|
/tests/fuzz
|
|
/tests/freebl_sha1flattensize
|
|
/tests/nvram_offsets
|
|
/tests/object_size
|
|
/tests/tpm2_createprimary
|
|
/tests/tpm2_cve-2023-1017
|
|
/tests/tpm2_cve-2023-1018
|
|
/tests/tpm2_pcr_read
|
|
/tests/tpm2_selftest
|
|
/debian/*debhelper*
|
|
/debian/*substvars
|
|
/debian/autoreconf.*
|
|
/debian/files
|
|
/debian/libtpms-dev
|
|
/debian/libtpms0
|
|
/debian/tmp
|