From 44a321b7dfdf382ec00dfe39850f9993376facbf Mon Sep 17 00:00:00 2001 From: antifallobst Date: Tue, 28 Feb 2023 22:07:29 +0100 Subject: [PATCH] docs: documented 'utils/symbol.h' --- .wiki/Kernel-documentation.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.wiki/Kernel-documentation.md b/.wiki/Kernel-documentation.md index f115dcf..caafb68 100644 --- a/.wiki/Kernel-documentation.md +++ b/.wiki/Kernel-documentation.md @@ -1222,4 +1222,18 @@ This string will be written into **_string_**. #### `string_bool_to_alpha(string, value`) - function (void) Converts the boolean in **_value_** to an alphanumeric string. The representation is `true` or `false`. -This string will be written into **_string_**. \ No newline at end of file +This string will be written into **_string_**. + +### symbol.h +#### `symbol_type_E` - enum + - **Function** + - **Variable** + - **Unknown** + +#### `symbol_T` - struct + +| Name | Type | Description | +|---------|---------------|-------------------------------------------------------------------------------------| +| name | string_t | The name of the symbol (e.g. the name of the kernels entry symbol would be `_start` | +| type | symbol_type_E | The symbols type (elf types like `File` are of type `Unknown`) | +| address | uint64_t | The symbols address |