Rizin
unix-like reverse engineering framework and cli tools
qnx.h File Reference
#include "qnx_specs.h"
#include <rz_util.h>
#include <rz_lib.h>
#include <rz_types.h>
#include <rz_bin.h>

Go to the source code of this file.

Enumerations

enum  {
  LMF_HEADER_REC = 0 , LMF_COMMENT_REC , LMF_LOAD_REC , LMF_FIXUP_REC ,
  LMF_8087_FIXUP_REC , LMF_IMAGE_END_REC , LMF_RESOURCE_REC , LMF_RW_END_REC ,
  LMF_LINEAR_FIXUP_REC
}
 
enum  { RES_USAGE = 0 }
 

Functions

 RZ_PACKED (typedef struct lmf_record { ut8 rec_type;ut8 reserved;ut16 data_nbytes;ut16 spare;}) lmf_record
 
 RZ_PACKED (typedef struct lmf_data { ut16 segment;ut32 offset;}) lmf_data
 
 RZ_PACKED (typedef struct lmf_header { ut16 version;ut16 cflags;ut16 cpu;ut16 fpu;ut16 code_index;ut16 stack_index;ut16 heap_index;ut16 argv_index;ut16 spare2[4];ut32 code_offset;ut32 stack_nbytes;ut32 heap_nbytes;ut32 image_base;ut32 spare3[2];}) lmf_header
 
 RZ_PACKED (typedef struct lmf_eof { ut8 spare[6];}) lmf_eof
 
 RZ_PACKED (typedef struct lmf_resource { ut16 res_type;ut16 spare[3];}) lmf_resource
 
 RZ_PACKED (typedef struct lmf_rw_end { ut16 verify;ut32 signature;}) lmf_rw_end
 
 RZ_PACKED (typedef struct { Sdb *kv;lmf_header lmfh;RzList *fixups;RzList *sections;RzList *maps;lmf_rw_end rwend;}) QnxObj
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
LMF_HEADER_REC 
LMF_COMMENT_REC 
LMF_LOAD_REC 
LMF_FIXUP_REC 
LMF_8087_FIXUP_REC 
LMF_IMAGE_END_REC 
LMF_RESOURCE_REC 
LMF_RW_END_REC 
LMF_LINEAR_FIXUP_REC 

Definition at line 14 of file qnx.h.

14  {
15  LMF_HEADER_REC = 0,
24 };
@ LMF_HEADER_REC
Definition: qnx.h:15
@ LMF_LOAD_REC
Definition: qnx.h:17
@ LMF_RESOURCE_REC
Definition: qnx.h:21
@ LMF_LINEAR_FIXUP_REC
Definition: qnx.h:23
@ LMF_FIXUP_REC
Definition: qnx.h:18
@ LMF_RW_END_REC
Definition: qnx.h:22
@ LMF_IMAGE_END_REC
Definition: qnx.h:20
@ LMF_COMMENT_REC
Definition: qnx.h:16
@ LMF_8087_FIXUP_REC
Definition: qnx.h:19

◆ anonymous enum

anonymous enum
Enumerator
RES_USAGE 

Definition at line 68 of file qnx.h.

68  {
69  RES_USAGE = 0
70 };
@ RES_USAGE
Definition: qnx.h:69

Function Documentation

◆ RZ_PACKED() [1/7]

RZ_PACKED ( typedef struct lmf_data { ut16 segment;ut32 offset;}  )

◆ RZ_PACKED() [2/7]

RZ_PACKED ( typedef struct lmf_eof { ut8 spare[6];}  )

◆ RZ_PACKED() [3/7]

RZ_PACKED ( typedef struct lmf_header { ut16 version;ut16 cflags;ut16 cpu;ut16 fpu;ut16 code_index;ut16 stack_index;ut16 heap_index;ut16 argv_index;ut16 spare2[4];ut32 code_offset;ut32 stack_nbytes;ut32 heap_nbytes;ut32 image_base;ut32 spare3[2];}  )

References cpu, and version.

◆ RZ_PACKED() [4/7]

RZ_PACKED ( typedef struct lmf_record { ut8 rec_type;ut8 reserved;ut16 data_nbytes;ut16 spare;}  )

References reserved.

◆ RZ_PACKED() [5/7]

RZ_PACKED ( typedef struct lmf_resource { ut16 res_type;ut16 spare[3];}  )

◆ RZ_PACKED() [6/7]

RZ_PACKED ( typedef struct lmf_rw_end { ut16 verify;ut32 signature;}  )

References signature().

◆ RZ_PACKED() [7/7]

RZ_PACKED ( typedef struct { Sdb *kv;lmf_header lmfh;RzList *fixups;RzList *sections;RzList *maps;lmf_rw_end rwend;}  )

References maps(), and sections().