Lucciefr
Lua code caving, injection and exploration framework
Functions
utils.h File Reference
#include "bool.h"
#include <stddef.h>
#include <stdint.h>

Go to the source code of this file.

Functions

void hexdump (const uint8_t *addr, size_t len)
 hex dump utility, prints len bytes from address addr
 
const char * get_dll_path (void)
 return the full path to the dynamic library (dir + filename + extension)
 
const char * get_dll_dir (void)
 return the DLL directory (without the filename, but including the trailing path separator)
 
void * get_dll_image_base (void)
 retrieve the image base (memory address) of the dynamic library
 
bool file_exists (const char *filename)
 test if a file (or directory) exists