asm: implement object file reader
This commit is contained in:
18
asm/reader.h
Normal file
18
asm/reader.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#ifndef _ASM_READER_H_
|
||||
#define _ASM_READER_H_
|
||||
|
||||
#include <ivy/asm/reader.h>
|
||||
#include <stdio.h>
|
||||
|
||||
struct ivy_asm_reader {
|
||||
FILE *r_fp;
|
||||
struct ivy_asm_object_info r_info;
|
||||
struct ivy_asm_section_info *r_sections;
|
||||
};
|
||||
|
||||
struct ivy_asm_section_reader {
|
||||
struct ivy_asm_reader *r_parent;
|
||||
const struct ivy_asm_section_info *r_info;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user