checkInDyldRebase
Creates a new check checking specifically dyld rebase opcodes contents parsed and dumped from the object file. This check is target-dependent and applicable to MachO only.
Function parameters
Parameters
- check_object:*CheckObject
Functions in this namespace
Functions
- checkExact
- Adds an exact match phrase to the latest created Check.
- checkExactPath
- Like `checkExact()` but takes an additional argument `LazyPath` which will be
- checkContains
- Adds a fuzzy match phrase to the latest created Check.
- checkContainsPath
- Like `checkContains()` but takes an additional argument `lazy_path` which will be
- checkExtract
- Adds an exact match phrase with variable extractor to the latest created Check.
- checkExtractLazyPath
- Like `checkExtract()` but takes an additional argument `LazyPath` which will be
- checkNotPresent
- Adds another searched phrase to the latest created Check
- checkNotPresentLazyPath
- Like `checkExtract()` but takes an additional argument `LazyPath` which will be
- checkInHeaders
- Creates a new check checking in the file headers (section, program headers, etc.).
- checkInSymtab
- Creates a new check checking specifically symbol table parsed and dumped from the object
- checkInDyldRebase
- Creates a new check checking specifically dyld rebase opcodes contents parsed and dumped
- checkInDyldBind
- Creates a new check checking specifically dyld bind opcodes contents parsed and dumped
- checkInDyldWeakBind
- Creates a new check checking specifically dyld weak bind opcodes contents parsed and dumped
- checkInDyldLazyBind
- Creates a new check checking specifically dyld lazy bind opcodes contents parsed and dumped
- checkInExports
- Creates a new check checking specifically exports info contents parsed and dumped
- checkInIndirectSymtab
- Creates a new check checking specifically indirect symbol table parsed and dumped
- checkInDynamicSymtab
- Creates a new check checking specifically dynamic symbol table parsed and dumped from the object
- checkInDynamicSection
- Creates a new check checking specifically dynamic section parsed and dumped from the object
- checkInArchiveSymtab
- Creates a new check checking specifically symbol table parsed and dumped from the archive
- checkComputeCompare
- Creates a new standalone, singular check which allows running simple binary operations
= .check_object
Values
- base_id
- = .check_object
Source
Implementation
pub fn checkInDyldRebase(check_object: *CheckObject) void {
const label = switch (check_object.obj_format) {
.macho => MachODumper.dyld_rebase_label,
else => @panic("Unsupported target platform"),
};
check_object.checkStart(.dyld_rebase);
check_object.checkExact(label);
}