Rizin
unix-like reverse engineering framework and cli tools
le.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: 2019 GustavoLCR <gugulcr@gmail.com>
2 // SPDX-License-Identifier: LGPL-3.0-only
3 
4 #ifndef LE_H
5 #define LE_H
6 #include <rz_bin.h>
7 #include "le_specs.h"
8 
9 typedef struct rz_bin_le_obj_s {
11  bool is_le; /* Used for differences between LE and LX */
12  char *filename;
13  const char *type;
14  const char *cpu;
15  const char *os;
16  const char *arch;
17  ut32 headerOff; /* File offset to start of LE/LX header */
19  void *buf; /* Pointer to RzBuffer of file */
21 
30 #endif
uint32_t ut32
voidpf void * buf
Definition: ioapi.h:138
RzList * rz_bin_le_get_symbols(rz_bin_le_obj_t *bin)
Definition: le.c:191
RzList * rz_bin_le_get_imports(rz_bin_le_obj_t *bin)
Definition: le.c:205
void rz_bin_le_free(rz_bin_le_obj_t *bin)
Definition: le.c:795
RzList * rz_bin_le_get_libs(rz_bin_le_obj_t *bin)
Definition: le.c:245
RzList * rz_bin_le_get_entrypoints(rz_bin_le_obj_t *bin)
Definition: le.c:229
RzList * rz_bin_le_get_sections(rz_bin_le_obj_t *bin)
Definition: le.c:338
struct rz_bin_le_obj_s rz_bin_le_obj_t
RzList * rz_bin_le_get_relocs(rz_bin_le_obj_t *bin)
Definition: le.c:453
rz_bin_le_obj_t * rz_bin_le_new_buf(RzBuffer *buf)
Definition: le.c:803
Definition: le_specs.h:133
Definition: malloc.c:26
char * filename
Definition: le.h:12
const char * type
Definition: le.h:13
const char * arch
Definition: le.h:16
const char * os
Definition: le.h:15
void * buf
Definition: le.h:19
LE_image_header * header
Definition: le.h:10
LE_object_entry * objtbl
Definition: le.h:18
bool is_le
Definition: le.h:11
ut32 headerOff
Definition: le.h:17
const char * cpu
Definition: le.h:14