Sha256: 844beca2452a5e74e033cef9dc0878f535963d387026d532db7b6e6c8280d53c

Contents?: true

Size: 1.37 KB

Versions: 80

Compression:

Stored size: 1.37 KB

Contents

/*
textdefs.h

diStorm3 - Powerful disassembler for X86/AMD64
http://ragestorm.net/distorm/
distorm at gmail dot com
Copyright (C) 2003-2016 Gil Dabah
This library is licensed under the BSD license. See the file COPYING.
*/


#ifndef TEXTDEFS_H
#define TEXTDEFS_H

#include "config.h"
#include "wstring.h"

#ifndef DISTORM_LIGHT

#define PLUS_DISP_CHR '+'
#define MINUS_DISP_CHR '-'
#define OPEN_CHR '['
#define CLOSE_CHR ']'
#define SP_CHR ' '
#define SEG_OFF_CHR ':'

/*
Naming Convention:

* get - returns a pointer to a string.
* str - concatenates to string.

* hex - means the function is used for hex dump (number is padded to required size) - Little Endian output.
* code - means the function is used for disassembled instruction - Big Endian output.
* off - means the function is used for 64bit offset - Big Endian output.

* h - '0x' in front of the string.

* b - byte
* dw - double word (can be used for word also)
* qw - quad word

* all numbers are in HEX.
*/

void _FASTCALL_ str_hex_b(_WString* s, unsigned int x);
void _FASTCALL_ str_code_hb(_WString* s, unsigned int x);
void _FASTCALL_ str_code_hdw(_WString* s, uint32_t x);
void _FASTCALL_ str_code_hqw(_WString* s, uint8_t src[8]);

#ifdef SUPPORT_64BIT_OFFSET
void _FASTCALL_ str_off64(_WString* s, OFFSET_INTEGER x);
#endif

#endif /* DISTORM_LIGHT */

#endif /* TEXTDEFS_H */

Version data entries

80 entries across 80 versions & 1 rubygems

Version Path
contrast-agent-7.6.1 funchook/distorm/src/textdefs.h
contrast-agent-7.6.0 funchook/distorm/src/textdefs.h
contrast-agent-7.5.0 funchook/distorm/src/textdefs.h
contrast-agent-7.4.1 funchook/distorm/src/textdefs.h
contrast-agent-7.4.0 funchook/distorm/src/textdefs.h
contrast-agent-7.3.2 funchook/distorm/src/textdefs.h
contrast-agent-7.3.1 funchook/distorm/src/textdefs.h
contrast-agent-7.3.0 funchook/distorm/src/textdefs.h
contrast-agent-7.2.0 funchook/distorm/src/textdefs.h
contrast-agent-7.1.0 funchook/distorm/src/textdefs.h
contrast-agent-7.0.0 funchook/distorm/src/textdefs.h
contrast-agent-6.15.3 funchook/distorm/src/textdefs.h
contrast-agent-6.15.2 funchook/distorm/src/textdefs.h
contrast-agent-6.15.1 funchook/distorm/src/textdefs.h
contrast-agent-6.15.0 funchook/distorm/src/textdefs.h
contrast-agent-6.14.0 funchook/distorm/src/textdefs.h
contrast-agent-6.13.0 funchook/distorm/src/textdefs.h
contrast-agent-6.12.0 funchook/distorm/src/textdefs.h
contrast-agent-6.11.0 funchook/distorm/src/textdefs.h
contrast-agent-6.10.0 funchook/distorm/src/textdefs.h