docs: documented 'symbol_resolve_from_name'

This commit is contained in:
antifallobst 2023-03-02 13:37:27 +01:00
parent 437d7ba819
commit bde9d6d9e4
1 changed files with 3 additions and 0 deletions

View File

@ -1403,5 +1403,8 @@ This string will be written into **_string_**.
| type | symbol_type_E | The symbols type (elf types like `File` are of type `Unknown`) |
| address | uint64_t | The symbols address |
#### `symbol_resolve_from_name(symbols, num_symbols, name);` - function (symbol_T*)
This searches **_symbols_** for a symbol with a matching **_name_**.
#### `symbol_resolve_function_from_rip(symbols, num_symbols, rip);` - function (symbol_T*)
Give it a list of **_symbols_** and an instruction pointer (**_rip_**) and it will return the function, where **_rip_** lays in.