Fixing merge conflict resolution

This commit is contained in:
2025-03-18 19:22:43 +02:00
parent d75dd85209
commit bf8c8f9dad
10 changed files with 123 additions and 27 deletions

14
src/memory.c Normal file
View File

@@ -0,0 +1,14 @@
#include "memory.h"
#include "logger.h"
#include "files.h"
#include "types.h"
str read_memory_maps_self() {
str memory_str = str_null;
HiloadResult res = read_file_to_str(&memory_str, "/proc/self/maps");
sc_log_debug("Memory Map (/proc/self/maps):\n%s\n", str_ptr(memory_str));
return memory_str;
}