add logging

This commit is contained in:
2025-03-20 01:57:53 +02:00
parent f537aff9a0
commit 4eafc4e61f
5 changed files with 86 additions and 31 deletions

View File

@@ -1,6 +1,7 @@
#ifndef SYMBOLS_H_
#define SYMBOLS_H_
#include "memory.h"
#include <link.h>
#include <stddef.h>
#include <stdint.h>
@@ -15,8 +16,11 @@ typedef struct {
typedef enum { CREATE_SUCCESS = 0, CREATE_FAILED } CreateResult;
struct dl_phdr_info;
struct sc_array_memreg;
CreateResult hi_create_symbol_info(SymbolInfos *, struct dl_phdr_info *);
CreateResult hi_create_symbol_info(SymbolInfos *,
struct sc_array_memreg *const regions,
struct dl_phdr_info *);
void hi_free_symbol_info(SymbolInfos *);
#endif // SYMBOLS_H_