Instance Methodnmggithub.kass 3.2.4Linking
get(symbol:atExpectedAddress:otherSymbol:otherSymbolExpectedAddress:)
Gets a symbol handle from the library at a specific address.
func get(symbol: String, atExpectedAddress expectedAddress: vm_address_t, otherSymbol: String, otherSymbolExpectedAddress: vm_address_t) -> Symbol?
Parameters
- symbol
The name of the symbol.
- expectedAddress
The address of the symbol.
- otherSymbol
The name of another symbol in the library to use as a reference.
- otherSymbolExpectedAddress
The expected address of the other symbol.
Returns
The symbol handle, or nil
if the symbol could not be found.