Documentation ¶
Index ¶
- func GenerateTestInputFile(seqLen uint8, outputSize uint) []byte
- func ValidateReadAtWrapperTransparency(t *testing.T, iterations uint, reference []byte, testee io.ReaderAt)
- func WriteSharedLibrary() (string, error)
- func WriteTestExecutable1() (string, error)
- func WriteTestExecutable2() (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateTestInputFile ¶
GenerateTestInputFile generates a test input file, repeating a number sequence over and over.
func ValidateReadAtWrapperTransparency ¶
func ValidateReadAtWrapperTransparency( t *testing.T, iterations uint, reference []byte, testee io.ReaderAt)
ValidateReadAtWrapperTransparency validates that a `ReadAt` implementation provides a transparent view into the given reference buffer.
func WriteSharedLibrary ¶
WriteSharedLibrary writes a shared library to disk and returns its path
func WriteTestExecutable1 ¶
WriteTestExecutable1 writes a position independent executable to disk and returns its path
func WriteTestExecutable2 ¶
WriteTestExecutable2 writes a non- position independent executable to disk and returns its path
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.