From bde9d6d9e4dac013edf810a2716e940657e3a60e Mon Sep 17 00:00:00 2001 From: antifallobst Date: Thu, 2 Mar 2023 13:37:27 +0100 Subject: [PATCH] docs: documented 'symbol_resolve_from_name' --- .wiki/Kernel-documentation.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.wiki/Kernel-documentation.md b/.wiki/Kernel-documentation.md index 453e1d2..4d1de1c 100644 --- a/.wiki/Kernel-documentation.md +++ b/.wiki/Kernel-documentation.md @@ -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. \ No newline at end of file