Rizin
unix-like reverse engineering framework and cli tools
qnx_specs.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: 2019 deepakchethan <deepakchethan@outlook.com>
2
// SPDX-License-Identifier: LGPL-3.0-only
3
4
#ifndef QNX_SPECS_H_
5
#define QNX_SPECS_H_
6
7
#define QNX_VERSION 400
8
#define VERIFY_OFFSET 36
9
10
#define QNX_MAX_REC_SIZE (0x8000 - 512)
// was 0xFFFF
11
#define QNX_MAX_DATA_SIZE (QNX_MAX_REC_SIZE - sizeof(lmf_data))
12
#define VERIFY_END (VERIFY_OFFSET + sizeof(RWEndRec.verify))
13
#define QNX_MAX_FIXUPS (0x8000 - 512)
14
15
#define QNX_MAGIC "\x00\x00\x38\x00\x00\x00"
16
#define QNX_HDR_SIZE sizeof(lmf_header)
17
#define QNX_RECORD_SIZE sizeof(lmf_record)
18
#define QNX_HEADER_ADDR sizeof(lmf_record)
19
20
#define _TCF_LONG_LIVED 0x0001
21
#define _TCF_32BIT 0x0002
22
#define _TCF_PRIV_MASK 0x000c
23
#define _TCF_FLAT 0x0010
24
25
#define SEG16_CODE_FIXUP 0x0004
26
#define LINEAR32_CODE_FIXUP 0x80000000
27
#define LINEAR32_SELF_RELATIVE_FIXUP 0x40000000
28
29
#endif
librz
bin
format
qnx
qnx_specs.h
Generated by
1.9.1