Functions
fn checkComputeCompare(self: *CheckObject, program: []const u8, expected: ComputeCompareExpected) void
Creates a new standalone, singular check which allows running simple binary oper…
Creates a new standalone, singular check which allows running simple binary operations on the extracted variables. It will then compare the reduced program with the value of the expected variable.
fn checkContains(self: *CheckObject, phrase: []const u8) void
Adds a fuzzy match phrase to the latest created Check with `CheckObject.checkSta…
Adds a fuzzy match phrase to the latest created Check with
CheckObject.checkStart()
.fn checkContainsPath(self: *CheckObject, phrase: []const u8, file_source: std.Build.LazyPath) void
Like
checkContains()
but takes an additional argumentFileSource
which will …Like
checkContains()
but takes an additional argumentFileSource
which will be resolved to a full search query inmake()
.fn checkExact(self: *CheckObject, phrase: []const u8) void
Adds an exact match phrase to the latest created Check with `CheckObject.checkSt…
Adds an exact match phrase to the latest created Check with
CheckObject.checkStart()
.fn checkExactPath(self: *CheckObject, phrase: []const u8, file_source: std.Build.LazyPath) void
Like
checkExact()
but takes an additional argumentLazyPath
which will be r…Like
checkExact()
but takes an additional argumentLazyPath
which will be resolved to a full search query inmake()
.fn checkExtract(self: *CheckObject, phrase: []const u8) void
Adds an exact match phrase with variable extractor to the latest created Check …
Adds an exact match phrase with variable extractor to the latest created Check with
CheckObject.checkStart()
.fn checkExtractFileSource(self: *CheckObject, phrase: []const u8, file_source: std.Build.FileSource) void
Like
checkExtract()
but takes an additional argumentFileSource
which will b…Like
checkExtract()
but takes an additional argumentFileSource
which will be resolved to a full search query inmake()
.fn checkInDynamicSection(self: *CheckObject) void
Creates a new check checking specifically dynamic section parsed and dumped from…
Creates a new check checking specifically dynamic section parsed and dumped from the object file. This check is target-dependent and applicable to ELF only.
fn checkInDynamicSymtab(self: *CheckObject) void
Creates a new check checking specifically dynamic symbol table parsed and dumped…
Creates a new check checking specifically dynamic symbol table parsed and dumped from the object file. This check is target-dependent and applicable to ELF only.
fn checkInSymtab(self: *CheckObject) void
Creates a new check checking specifically symbol table parsed and dumped from th…
Creates a new check checking specifically symbol table parsed and dumped from the object file.
fn checkNotPresent(self: *CheckObject, phrase: []const u8) void
Adds another searched phrase to the latest created Check with `CheckObject.check…
Adds another searched phrase to the latest created Check with
CheckObject.checkStart(...)
however ensures there is no matching phrase in the output.fn checkNotPresentFileSource(self: *CheckObject, phrase: []const u8, file_source: std.Build.FileSource) void
Like
checkExtract()
but takes an additional argumentFileSource
which will b…Like
checkExtract()
but takes an additional argumentFileSource
which will be resolved to a full search query inmake()
.