Rizin
unix-like reverse engineering framework and cli tools
pemixed.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: 2018 JohnPeng47 <johnpeng47@gmail.com>
2 // SPDX-License-Identifier: LGPL-3.0-only
3 
4 #include <rz_types.h>
5 #include "pe.h"
6 
7 #define SUB_BIN_DOS 0
8 #define SUB_BIN_NATIVE 1
9 #define SUB_BIN_NET 2
10 
11 #ifndef _INCLUDE_RZ_BIN_PEMIXED_H_
12 #define _INCLUDE_RZ_BIN_PEMIXED_H_
13 
15  const char *file;
16  int size;
20 
22 };
23 
24 // static int rz_bin_pemixed_init(struct rz_bin_pemixed_obj_t* bin, RzBinPEObj* pe_bin);
28 // static bool check_il_only(ut32 flags);
31 
32 #endif
voidpf void uLong size
Definition: ioapi.h:138
voidpf void * buf
Definition: ioapi.h:138
uint8_t ut8
Definition: lh5801.h:11
#define RzBinPEObj
Definition: pe.h:126
struct rz_bin_pemixed_obj_t * rz_bin_pemixed_from_bytes_new(const ut8 *buf, ut64 size)
Definition: pemixed.c:159
RzBinPEObj * rz_bin_pemixed_extract(struct rz_bin_pemixed_obj_t *bin, int sub_bin)
Definition: pemixed.c:115
RzBinPEObj * rz_bin_pemixed_init_dos(RzBinPEObj *pe_bin)
Definition: pemixed.c:30
void * rz_bin_pemixed_free(struct rz_bin_pemixed_obj_t *bin)
Definition: pemixed.c:137
RzBinPEObj * rz_bin_pemixed_init_native(RzBinPEObj *pe_bin)
Definition: pemixed.c:60
Definition: malloc.c:26
RzBinPEObj * sub_bin_dos
Definition: pemixed.h:17
RzBinPEObj * sub_bin_net
Definition: pemixed.h:19
const char * file
Definition: pemixed.h:15
RzBinPEObj * sub_bin_native
Definition: pemixed.h:18
RzBuffer * b
Definition: pemixed.h:21
ut64(WINAPI *w32_GetEnabledXStateFeatures)()