Rizin
unix-like reverse engineering framework and cli tools
nxo.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: 2018 rkx1209 <rkx1209dev@gmail.com>
2 // SPDX-License-Identifier: LGPL-3.0-only
3 
4 #ifndef _NXO_H
5 #define _NXO_H
6 
7 typedef struct {
11 } NXOStart;
12 
13 typedef struct {
21 } MODHeader;
22 
23 typedef struct {
47 } MODObject;
48 
49 typedef struct {
58 } MODMeta;
59 
60 typedef struct {
66  void *header;
67 } RzBinNXOObj;
68 
70 const char *fileType(const ut8 *buf);
71 
72 #endif
static ut64 baddr(RzBinFile *bf)
Definition: bin_any.c:58
uint32_t ut32
voidpf void * buf
Definition: ioapi.h:138
uint8_t ut8
Definition: lh5801.h:11
void parseMod(RzBuffer *buf, RzBinNXOObj *bin, ut32 mod0, ut64 baddr)
Definition: nxo.c:130
const char * fileType(const ut8 *buf)
Definition: nxo.c:24
#define RZ_NULLABLE
Definition: rz_types.h:65
Definition: nxo.h:13
ut32 magic
Definition: nxo.h:14
ut32 bss_end
Definition: nxo.h:17
ut32 bss_start
Definition: nxo.h:16
ut32 dynamic
Definition: nxo.h:15
ut32 unwind_start
Definition: nxo.h:18
ut32 mod_object
Definition: nxo.h:20
ut32 unwind_end
Definition: nxo.h:19
Definition: nxo.h:49
ut32 text_size
Definition: nxo.h:52
ut32 ro_size
Definition: nxo.h:54
ut32 bss_size
Definition: nxo.h:57
ut32 text_offset
Definition: nxo.h:51
ut32 data_offset
Definition: nxo.h:55
ut32 mod_offset
Definition: nxo.h:50
ut32 ro_offset
Definition: nxo.h:53
ut32 data_size
Definition: nxo.h:56
Definition: nxo.h:23
ut64 dynamic
Definition: nxo.h:29
ut64 prev
Definition: nxo.h:25
ut64 reldyn_size
Definition: nxo.h:41
ut64 relacount
Definition: nxo.h:43
ut64 fini
Definition: nxo.h:33
ut64 symtab
Definition: nxo.h:37
ut64 init
Definition: nxo.h:32
ut64 nbucket
Definition: nxo.h:45
ut64 got
Definition: nxo.h:39
ut64 next
Definition: nxo.h:24
ut64 relplt_size
Definition: nxo.h:31
ut64 reldyn
Definition: nxo.h:27
ut64 strtab_size
Definition: nxo.h:38
ut64 bucket
Definition: nxo.h:34
ut64 is_rela
Definition: nxo.h:30
ut64 base
Definition: nxo.h:28
ut64 relplt
Definition: nxo.h:26
ut64 got_value
Definition: nxo.h:46
ut64 chain
Definition: nxo.h:35
ut64 nchain
Definition: nxo.h:44
ut64 reladyn_size
Definition: nxo.h:40
ut64 strtab
Definition: nxo.h:36
ut64 relcount
Definition: nxo.h:42
Definition: nxo.h:7
ut32 mod_memoffset
Definition: nxo.h:9
ut64 padding
Definition: nxo.h:10
ut32 unused
Definition: nxo.h:8
RZ_NULLABLE RzBuffer * decompressed
Definition: nxo.h:65
RzList * imports_list
Definition: nxo.h:63
RzList * methods_list
Definition: nxo.h:62
void * header
nso-only
Definition: nxo.h:66
ut32 * strings
Definition: nxo.h:61
RzList * classes_list
Definition: nxo.h:64
Definition: malloc.c:26
ut64(WINAPI *w32_GetEnabledXStateFeatures)()