Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

xbestruct.h File Reference

#include "global.h"
#include "tools.h"

Go to the source code of this file.

Classes

struct  XBE_CERTIFICATE
struct  XBE_IMAGE_HEADER
struct  XBE_LIBRARY_VERSION
struct  XBE_SECTION_HEADER
struct  XBE_TLS_DIRECTORY

Defines

#define XBE_MAGIC_LENGTH   4
#define XBE_MAGIC0   'X'
#define XBE_MAGIC1   'B'
#define XBE_MAGIC2   'E'
#define XBE_MAGIC3   'H'
#define XBE_SIZE_OF_SIGNATURE   256
#define XBE_TITLE_NAME_LENGTH   40
#define XBE_NUM_ALTERNATE   16
#define XBE_LAN_KEY_LENGTH   16
#define XBE_SIGNATURE_KEY_LENGTH   16
#define XBE_MEDIA_TYPE_HARD_DISK   0x00000001
#define XBE_MEDIA_TYPE_DVD_X2   0x00000002
#define XBE_MEDIA_TYPE_DVD_CD   0x00000004
#define XBE_MEDIA_TYPE_CD   0x00000008
#define XBE_MEDIA_TYPE_DVD_5_RO   0x00000010
#define XBE_MEDIA_TYPE_DVD_9_RO   0x00000020
#define XBE_MEDIA_TYPE_DVD_5_RW   0x00000040
#define XBE_MEDIA_TYPE_DVD_9_RW   0x00000080
#define XBE_MEDIA_TYPE_DONGLE   0x00000100
#define XBE_MEDIA_TYPE_MEDIA_BOARD   0x00000200
#define XBE_MEDIA_TYPE_NONSECURE_HARD_DISK   0x40000000
#define XBE_MEDIA_TYPE_NONSECURE_MODE   0x80000000
#define XBE_MEDIA_TYPE_MEDIA_MASK   0x00FFFFFF
#define XBE_GAME_REGION_NA   0x00000001
#define XBE_GAME_REGION_JAPAN   0x00000002
#define XBE_GAME_REGION_RESTOFWORLD   0x00000004
#define XBE_GAME_REGION_MANUFACTURING   0x80000000
#define XBE_SECTION_FLAGS_WRITABLE   1
#define XBE_SECTION_FLAGS_PRELOAD   2
#define XBE_SECTION_FLAGS_EXECUTABLE   4
#define XBE_SECTION_FLAGS_INSERTEDFILE   8
#define XBE_SECTION_FLAGS_HEADPAGE_RO   16
#define XBE_SECTION_FLAGS_TAILPAGE_RO   32
#define XBE_SECTION_DIGEST_LENGTH   20
#define XBE_LIBRARY_NAME_LENGTH   8

Typedefs

typedef unsigned int RVA

Variables

byte XBE_IMAGE_HEADER_struct []
byte XBE_CERTIFICATE_struct []
byte XBE_SECTION_HEADER_struct []
byte XBE_LIBRARY_VERSION_struct []
byte XBE_TLS_DIRECTORY_struct []


Define Documentation

#define XBE_GAME_REGION_JAPAN   0x00000002
 

Definition at line 92 of file xbestruct.h.

#define XBE_GAME_REGION_MANUFACTURING   0x80000000
 

Definition at line 94 of file xbestruct.h.

#define XBE_GAME_REGION_NA   0x00000001
 

Definition at line 91 of file xbestruct.h.

#define XBE_GAME_REGION_RESTOFWORLD   0x00000004
 

Definition at line 93 of file xbestruct.h.

#define XBE_LAN_KEY_LENGTH   16
 

Definition at line 74 of file xbestruct.h.

#define XBE_LIBRARY_NAME_LENGTH   8
 

Definition at line 135 of file xbestruct.h.

#define XBE_MAGIC0   'X'
 

Definition at line 30 of file xbestruct.h.

#define XBE_MAGIC1   'B'
 

Definition at line 31 of file xbestruct.h.

#define XBE_MAGIC2   'E'
 

Definition at line 32 of file xbestruct.h.

#define XBE_MAGIC3   'H'
 

Definition at line 33 of file xbestruct.h.

#define XBE_MAGIC_LENGTH   4
 

Definition at line 29 of file xbestruct.h.

#define XBE_MEDIA_TYPE_CD   0x00000008
 

Definition at line 80 of file xbestruct.h.

#define XBE_MEDIA_TYPE_DONGLE   0x00000100
 

Definition at line 85 of file xbestruct.h.

#define XBE_MEDIA_TYPE_DVD_5_RO   0x00000010
 

Definition at line 81 of file xbestruct.h.

#define XBE_MEDIA_TYPE_DVD_5_RW   0x00000040
 

Definition at line 83 of file xbestruct.h.

#define XBE_MEDIA_TYPE_DVD_9_RO   0x00000020
 

Definition at line 82 of file xbestruct.h.

#define XBE_MEDIA_TYPE_DVD_9_RW   0x00000080
 

Definition at line 84 of file xbestruct.h.

#define XBE_MEDIA_TYPE_DVD_CD   0x00000004
 

Definition at line 79 of file xbestruct.h.

#define XBE_MEDIA_TYPE_DVD_X2   0x00000002
 

Definition at line 78 of file xbestruct.h.

#define XBE_MEDIA_TYPE_HARD_DISK   0x00000001
 

Definition at line 77 of file xbestruct.h.

#define XBE_MEDIA_TYPE_MEDIA_BOARD   0x00000200
 

Definition at line 86 of file xbestruct.h.

#define XBE_MEDIA_TYPE_MEDIA_MASK   0x00FFFFFF
 

Definition at line 89 of file xbestruct.h.

#define XBE_MEDIA_TYPE_NONSECURE_HARD_DISK   0x40000000
 

Definition at line 87 of file xbestruct.h.

#define XBE_MEDIA_TYPE_NONSECURE_MODE   0x80000000
 

Definition at line 88 of file xbestruct.h.

#define XBE_NUM_ALTERNATE   16
 

Definition at line 73 of file xbestruct.h.

#define XBE_SECTION_DIGEST_LENGTH   20
 

Definition at line 120 of file xbestruct.h.

#define XBE_SECTION_FLAGS_EXECUTABLE   4
 

Definition at line 115 of file xbestruct.h.

Referenced by XBEAnalyser::validAddress().

#define XBE_SECTION_FLAGS_HEADPAGE_RO   16
 

Definition at line 117 of file xbestruct.h.

#define XBE_SECTION_FLAGS_INSERTEDFILE   8
 

Definition at line 116 of file xbestruct.h.

#define XBE_SECTION_FLAGS_PRELOAD   2
 

Definition at line 114 of file xbestruct.h.

#define XBE_SECTION_FLAGS_TAILPAGE_RO   32
 

Definition at line 118 of file xbestruct.h.

#define XBE_SECTION_FLAGS_WRITABLE   1
 

Definition at line 113 of file xbestruct.h.

Referenced by XBEAnalyser::validAddress().

#define XBE_SIGNATURE_KEY_LENGTH   16
 

Definition at line 75 of file xbestruct.h.

#define XBE_SIZE_OF_SIGNATURE   256
 

Definition at line 35 of file xbestruct.h.

#define XBE_TITLE_NAME_LENGTH   40
 

Definition at line 72 of file xbestruct.h.


Typedef Documentation

typedef unsigned int RVA
 

Definition at line 27 of file xbestruct.h.


Variable Documentation

byte XBE_CERTIFICATE_struct[]
 

Definition at line 156 of file xbestruct.h.

Referenced by ht_xbe::init().

byte XBE_IMAGE_HEADER_struct[]
 

Definition at line 155 of file xbestruct.h.

Referenced by ht_xbe::init().

byte XBE_LIBRARY_VERSION_struct[]
 

Definition at line 158 of file xbestruct.h.

Referenced by ht_xbe::init().

byte XBE_SECTION_HEADER_struct[]
 

Definition at line 157 of file xbestruct.h.

Referenced by ht_xbe::init().

byte XBE_TLS_DIRECTORY_struct[]
 

Definition at line 159 of file xbestruct.h.


Generated on Fri May 7 21:15:52 2004 by doxygen 1.3.5