Rizin
unix-like reverse engineering framework and cli tools
psxexe.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: 2015 Dax <trogu.davide@gmail.com>
2 // SPDX-License-Identifier: LGPL-3.0-only
3 
4 #ifndef PSXEXE_H
5 #define PSXEXE_H
6 
7 #define PSXEXE_ID "PS-X EXE"
8 #define PSXEXE_ID_LEN 8
9 #define PSXEXE_TEXTSECTION_OFFSET 0x800
10 
11 #include <rz_types.h>
12 
13 typedef struct psxexe_header {
14  ut8 id[8];
33 
34 #endif // PSXEXE_H
uint32_t ut32
uint8_t ut8
Definition: lh5801.h:11
struct psxexe_header psxexe_header
ut32 text
Definition: psxexe.h:15
ut32 b_addr
Definition: psxexe.h:23
ut32 pc0
Definition: psxexe.h:17
ut32 d_size
Definition: psxexe.h:22
ut32 S_addr
Definition: psxexe.h:25
ut32 SavedFP
Definition: psxexe.h:28
ut32 b_size
Definition: psxexe.h:24
ut32 gp0
Definition: psxexe.h:18
ut32 data
Definition: psxexe.h:16
ut32 SavedGP
Definition: psxexe.h:29
ut32 t_addr
Definition: psxexe.h:19
ut32 SavedRA
Definition: psxexe.h:30
ut32 t_size
Definition: psxexe.h:20
ut32 SavedSP
Definition: psxexe.h:27
ut32 SavedS0
Definition: psxexe.h:31
ut32 S_size
Definition: psxexe.h:26
ut32 d_addr
Definition: psxexe.h:21