Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Classes | |
struct | rz_bin_pemixed_obj_t |
Macros | |
#define | SUB_BIN_DOS 0 |
#define | SUB_BIN_NATIVE 1 |
#define | SUB_BIN_NET 2 |
#define | _INCLUDE_RZ_BIN_PEMIXED_H_ |
Functions | |
RzBinPEObj * | rz_bin_pemixed_init_dos (RzBinPEObj *pe_bin) |
RzBinPEObj * | rz_bin_pemixed_init_native (RzBinPEObj *pe_bin) |
RzBinPEObj * | rz_bin_pemixed_extract (struct rz_bin_pemixed_obj_t *bin, int sub_bin) |
void * | rz_bin_pemixed_free (struct rz_bin_pemixed_obj_t *bin) |
struct rz_bin_pemixed_obj_t * | rz_bin_pemixed_from_bytes_new (const ut8 *buf, ut64 size) |
RzBinPEObj* rz_bin_pemixed_extract | ( | struct rz_bin_pemixed_obj_t * | bin, |
int | sub_bin | ||
) |
Definition at line 115 of file pemixed.c.
References NULL, SUB_BIN_DOS, SUB_BIN_NATIVE, and SUB_BIN_NET.
Referenced by oneshot().
void* rz_bin_pemixed_free | ( | struct rz_bin_pemixed_obj_t * | bin | ) |
Definition at line 137 of file pemixed.c.
References free(), NULL, PE_, rz_bin_pe_free(), rz_buf_free(), and RZ_FREE.
Referenced by free_xtr(), and rz_bin_pemixed_from_bytes_new().
struct rz_bin_pemixed_obj_t* rz_bin_pemixed_from_bytes_new | ( | const ut8 * | buf, |
ut64 | size | ||
) |
Definition at line 159 of file pemixed.c.
References check_il_only(), PE_, rz_bin_pe_free(), rz_bin_pe_new_buf(), rz_bin_pemixed_free(), rz_bin_pemixed_init(), rz_buf_new_with_bytes(), RZ_NEW0, and RzBinPEObj.
Referenced by oneshot().
RzBinPEObj* rz_bin_pemixed_init_dos | ( | RzBinPEObj * | pe_bin | ) |
Definition at line 30 of file pemixed.c.
References free(), malloc(), NULL, PE_, rz_bin_pe_free(), rz_buf_new_with_bytes(), rz_buf_read_at(), RZ_LOG_ERROR, RZ_NEW0, RzBinPEObj, and ut64().
Referenced by rz_bin_pemixed_init().
RzBinPEObj* rz_bin_pemixed_init_native | ( | RzBinPEObj * | pe_bin | ) |
Definition at line 60 of file pemixed.c.
References calloc(), free(), memcpy(), NULL, PE_, rz_buf_free(), rz_buf_new_with_buf(), rz_buf_write_at(), RZ_LOG_ERROR, RZ_NEW0, and RzBinPEObj.
Referenced by rz_bin_pemixed_init().