summaryrefslogtreecommitdiff
path: root/code-manager.h
blob: 784ea16a239d803f829123436a39d3a55ce93748 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "array.h"

typedef struct code_manager_t code_manager_t;

code_manager_t *
code_manager_new (const char *prefix);

void
code_manager_free (code_manager_t *manager);

bool_t
code_manager_alloc (code_manager_t *manager,
		    const char *name, size_t n_bytes,
		    size_t align_bits, size_t align_mask,
		    uint8_t **writable, uint8_t **executable);