Rizin
unix-like reverse engineering framework and cli tools
fatmach0.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: 2010-2013 nibble <nibble.ds@gmail.com>
2 // SPDX-License-Identifier: LGPL-3.0-only
3 
4 #include <rz_types.h>
5 #include "mach0_specs.h"
6 
7 #ifndef _INCLUDE_RZ_BIN_FATMACH0_H_
8 #define _INCLUDE_RZ_BIN_FATMACH0_H_
9 
11  const char *file;
12  int size;
13  int nfat_arch;
14  struct fat_header hdr;
15  struct fat_arch *archs;
17 };
18 
20  int size;
21  int offset;
23  int last;
24 };
25 
31 #endif
struct rz_bin_fatmach0_arch_t * rz_bin_fatmach0_extract(struct rz_bin_fatmach0_obj_t *bin, int idx, int *narch)
Definition: fatmach0.c:53
struct rz_bin_fatmach0_obj_t * rz_bin_fatmach0_from_bytes_new(const ut8 *buf, ut64 size)
Definition: fatmach0.c:125
struct rz_bin_fatmach0_obj_t * rz_bin_fatmach0_from_buffer_new(RzBuffer *b)
Definition: fatmach0.c:112
struct rz_bin_fatmach0_obj_t * rz_bin_fatmach0_new(const char *file)
Definition: fatmach0.c:88
void * rz_bin_fatmach0_free(struct rz_bin_fatmach0_obj_t *bin)
Definition: fatmach0.c:78
voidpf void uLong size
Definition: ioapi.h:138
voidpf void * buf
Definition: ioapi.h:138
uint8_t ut8
Definition: lh5801.h:11
int idx
Definition: setup.py:197
#define b(i)
Definition: sha256.c:42
Definition: malloc.c:26
Definition: gzappend.c:170
const char * file
Definition: fatmach0.h:11
struct fat_header hdr
Definition: fatmach0.h:14
struct fat_arch * archs
Definition: fatmach0.h:15
ut64(WINAPI *w32_GetEnabledXStateFeatures)()