diff options
| author | kx <kx@radix-linux.su> | 2026-10-09 18:00:15 +0300 |
|---|---|---|
| committer | kx <kx@radix-linux.su> | 2026-10-09 18:00:15 +0300 |
| commit | 065da3509019b15dd0e678072e6be629e5330bef (patch) | |
| tree | 69c934c9e786ac048b4fbe8f4c4c5571661521f4 /utils/mcpu-object.h | |
| parent | d130fe27fa753be02ed76fd9b277aa3c3d928eb9 (diff) | |
| download | libmcpu-0.4.0.tar.xz | |
Version 0.4.00.4.0
Diffstat (limited to 'utils/mcpu-object.h')
| -rw-r--r-- | utils/mcpu-object.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/utils/mcpu-object.h b/utils/mcpu-object.h new file mode 100644 index 0000000..3af938a --- /dev/null +++ b/utils/mcpu-object.h @@ -0,0 +1,12 @@ +#ifndef __CPU_OBJECT_H +#define __CPU_OBJECT_H + +#include "mcpu-asm.h" + +/* MELF ET_REL reader/writer. */ +int cpu_object_write( const char *path, const cpu_asm_object *o, char *err, size_t errsz ); +int cpu_object_read( const char *path, cpu_asm_object *o, char *err, size_t errsz ); +int cpu_object_read_data( const void *data, size_t size, cpu_asm_object *o, + char *err, size_t errsz ); + +#endif |
