⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 httag.h

📁 功能较全面的反汇编器:反汇编器ht-2.0.15.tar.gz
💻 H
📖 第 1 页 / 共 2 页
字号:
	byte escape;	byte magic;	FileOfs offset;} PACKED;/* EDIT-BIT-TAG */#define HT_TAG_EDIT_BIT				0x1e#define HT_TAG_EDIT_BIT_LEN			sizeof(ht_tag_edit_bit)#define HT_TAG_EDIT_BIT_VLEN			(1)#define HT_TAG_EDIT_BIT_SIZE			(1)#define HT_STATICTAG_EDIT_BIT 			0x9e#define HT_STATICTAG_EDIT_BIT_CH		"\e\x9e"struct ht_tag_edit_bit {	byte escape;	byte magic;	FileOfs offset;	byte bitidx;} PACKED;/* EDIT-SELVIS-TAG */#define HT_TAG_EDIT_SELVIS			0x1f#define HT_TAG_EDIT_SELVIS_LEN			sizeof(ht_tag_edit_selvis)#define HT_TAG_EDIT_SELVIS_VLEN			(1)#define HT_STATICTAG_EDIT_SELVIS		0x9f#define HT_STATICTAG_EDIT_SELVIS_CH		"\e\x9f"struct ht_tag_edit_selvis {	byte escape;	byte magic;	FileOfs offset;	char ch;} PACKED;/* DESC-BYTE-TAG */#define HT_TAG_DESC_BYTE			0x20#define HT_TAG_DESC_BYTE_LEN			sizeof(ht_tag_desc_byte)#define HT_STATICTAG_DESC_BYTE			0xa0#define HT_STATICTAG_DESC_BYTE_CH		"\e\xa0"struct ht_tag_desc_byte {	byte escape;	byte magic;	ID id;	FileOfs offset;} PACKED;/* DESC WORD */struct ht_tag_desc_word_generic {	byte escape;	byte magic;	ID id;	FileOfs offset;} PACKED;/* DESC DWORD */struct ht_tag_desc_dword_generic {	byte escape;	byte magic;	ID id;	FileOfs offset;} PACKED;/* DESC QWORD */struct ht_tag_desc_qword_generic {	byte escape;	byte magic;	ID id;	FileOfs offset;} PACKED;/* DESC-WORD-TAG (little-endian) */#define HT_TAG_DESC_WORD_LE			0x21#define HT_TAG_DESC_WORD_LE_LEN			sizeof(ht_tag_desc_word_generic)#define HT_STATICTAG_DESC_WORD_LE		0xa1#define HT_STATICTAG_DESC_WORD_LE_CH		"\e\xa1"/* DESC-DWORD-TAG (little-endian) */#define HT_TAG_DESC_DWORD_LE			0x22#define HT_TAG_DESC_DWORD_LE_LEN		sizeof(ht_tag_desc_dword_generic)#define HT_STATICTAG_DESC_DWORD_LE		0xa2#define HT_STATICTAG_DESC_DWORD_LE_CH		"\e\xa2"/* DESC-QWORD-TAG (little-endian) */#define HT_TAG_DESC_QWORD_LE			0x23#define HT_TAG_DESC_QWORD_LE_LEN		sizeof(ht_tag_desc_qword_generic)#define HT_STATICTAG_DESC_QWORD_LE		0xa3#define HT_STATICTAG_DESC_QWORD_LE_CH		"\e\xa3"/* DESC-WORD-TAG (big-endian) */#define HT_TAG_DESC_WORD_BE			0x24#define HT_TAG_DESC_WORD_BE_LEN			sizeof(ht_tag_desc_word_generic)#define HT_STATICTAG_DESC_WORD_BE		0xa4#define HT_STATICTAG_DESC_WORD_BE_CH		"\e\xa4"/* DESC-DWORD-TAG (big-endian) */#define HT_TAG_DESC_DWORD_BE			0x25#define HT_TAG_DESC_DWORD_BE_LEN		sizeof(ht_tag_desc_dword_generic)#define HT_STATICTAG_DESC_DWORD_BE		0xa5#define HT_STATICTAG_DESC_DWORD_BE_CH		"\e\xa5"/* DESC-QWORD-TAG (big-endian) */#define HT_TAG_DESC_QWORD_BE			0x26#define HT_TAG_DESC_QWORD_BE_LEN		sizeof(ht_tag_desc_qword_generic)#define HT_STATICTAG_DESC_QWORD_BE		0xa6#define HT_STATICTAG_DESC_QWORD_BE_CH		"\e\xa6"/* DESC-WORD-TAG (var-endian) */#define HT_TAG_DESC_WORD_VE			0x27#define HT_TAG_DESC_WORD_VE_LEN			sizeof(ht_tag_desc_word_generic)#define HT_STATICTAG_DESC_WORD_VE		0xa7#define HT_STATICTAG_DESC_WORD_VE_CH		"\e\xa7"/* DESC-DWORD-TAG (var-endian) */#define HT_TAG_DESC_DWORD_VE			0x28#define HT_TAG_DESC_DWORD_VE_LEN		sizeof(ht_tag_desc_dword_generic)#define HT_STATICTAG_DESC_DWORD_VE		0xa8#define HT_STATICTAG_DESC_DWORD_VE_CH		"\e\xa8"/* DESC-QWORD-TAG (var-endian) */#define HT_TAG_DESC_QWORD_VE			0x29#define HT_TAG_DESC_QWORD_VE_LEN		sizeof(ht_tag_desc_qword_generic)#define HT_STATICTAG_DESC_QWORD_VE		0xa9#define HT_STATICTAG_DESC_QWORD_VE_CH		"\e\xa9"enum tag_endian { tag_endian_big, tag_endian_little, tag_endian_var };/* *	tag palette */#define palkey_tags_default				"default"#define palidx_tags_edit_tag_cursor_select		0#define palidx_tags_edit_tag_cursor_edit		1#define palidx_tags_edit_tag_cursor_unfocused		2#define palidx_tags_edit_tag_selected			3#define palidx_tags_edit_tag_modified			4#define palidx_tags_edit_tag				5#define palidx_tags_sel_tag_cursor_focused		6#define palidx_tags_sel_tag_cursor_unfocused		7#define palidx_tags_sel_tag				8#define STATICTAG_SEL(len8, str) HT_STATICTAG_SEL_CH "0000000000000000" "0000000000000000" len8 str#define STATICTAG_REF(id64, len8, str) HT_STATICTAG_SEL_CH id64 "0000000000000000" len8 str#define STATICTAG_FLAGS(ofs32, id32) HT_STATICTAG_FLAGS_CH ofs32 id32#define STATICTAG_GROUP() HT_STATICTAG_GROUP_CH#define STATICTAG_COLOR(color8) HT_STATICTAG_COLOR_CH color8#define STATICTAG_EDIT_BYTE(ofs) HT_STATICTAG_EDIT_BYTE_CH ofs#define STATICTAG_EDIT_WORD_LE(ofs) HT_STATICTAG_EDIT_WORD_LE_CH ofs#define STATICTAG_EDIT_DWORD_LE(ofs) HT_STATICTAG_EDIT_DWORD_LE_CH ofs#define STATICTAG_EDIT_QWORD_LE(ofs) HT_STATICTAG_EDIT_QWORD_LE_CH ofs#define STATICTAG_EDIT_WORD_BE(ofs) HT_STATICTAG_EDIT_WORD_BE_CH ofs#define STATICTAG_EDIT_DWORD_BE(ofs) HT_STATICTAG_EDIT_DWORD_BE_CH ofs#define STATICTAG_EDIT_QWORD_BE(ofs) HT_STATICTAG_EDIT_QWORD_BE_CH ofs#define STATICTAG_EDIT_WORD_VE(ofs) HT_STATICTAG_EDIT_WORD_VE_CH ofs#define STATICTAG_EDIT_DWORD_VE(ofs) HT_STATICTAG_EDIT_DWORD_VE_CH ofs#define STATICTAG_EDIT_QWORD_VE(ofs) HT_STATICTAG_EDIT_QWORD_VE_CH ofs#define STATICTAG_EDIT_TIME_BE(ofs) HT_STATICTAG_EDIT_TIME_BE_CH ofs#define STATICTAG_EDIT_TIME_LE(ofs) HT_STATICTAG_EDIT_TIME_LE_CH ofs#define STATICTAG_EDIT_TIME_VE(ofs) HT_STATICTAG_EDIT_TIME_VE_CH ofs#define STATICTAG_EDIT_CHAR(ofs) HT_STATICTAG_EDIT_CHAR_CH ofs#define STATICTAG_EDIT_BIT(ofs, bitidx8) HT_STATICTAG_EDIT_BIT_CH ofs bitidx8#define STATICTAG_EDIT_SELVIS(ofs, char8) HT_STATICTAG_EDIT_SELVIS_CH ofs char8#define STATICTAG_DESC_BYTE(ofs32, id32) HT_STATICTAG_DESC_BYTE_CH ofs32 id32#define STATICTAG_DESC_WORD_LE(ofs32, id32) HT_STATICTAG_DESC_WORD_LE_CH ofs32 id32#define STATICTAG_DESC_DWORD_LE(ofs32, id32) HT_STATICTAG_DESC_DWORD_LE_CH ofs32 id32#define STATICTAG_DESC_QWORD_LE(ofs32, id32) HT_STATICTAG_DESC_QWORD_LE_CH ofs32 id32#define STATICTAG_DESC_WORD_BE(ofs32, id32) HT_STATICTAG_DESC_WORD_BE_CH ofs32 id32#define STATICTAG_DESC_DWORD_BE(ofs32, id32) HT_STATICTAG_DESC_DWORD_BE_CH ofs32 id32#define STATICTAG_DESC_QWORD_BE(ofs32, id32) HT_STATICTAG_DESC_QWORD_BE_CH ofs32 id32#define STATICTAG_DESC_WORD_VE(ofs32, id32) HT_STATICTAG_DESC_WORD_VE_CH ofs32 id32#define STATICTAG_DESC_DWORD_VE(ofs32, id32) HT_STATICTAG_DESC_DWORD_VE_CH ofs32 id32#define STATICTAG_DESC_QWORD_VE(ofs32, id32) HT_STATICTAG_DESC_QWORD_VE_CH ofs32 id32#define tag_class_no	0#define tag_class_edit	1#define tag_class_sel	2typedef char TAGSTRING;void statictag_to_tag(const char *statictag_str, TAGSTRING *tag_str, int maxlen, uint64 relocation, bool std_bigendian);TAGSTRING *tag_findnext(const TAGSTRING *tagstring);vcp tag_get_color(const TAGSTRING *tagstring);void tag_get_id(const TAGSTRING *tagstring, uint32 *id128_1, uint32 *id128_2, uint32 *id128_3, uint32 *id128_4);int tag_get_len(const TAGSTRING *tagstring);FileOfs tag_get_offset(const TAGSTRING *tagstring);int tag_get_size(const TAGSTRING *tagstring);int tag_get_vlen(const TAGSTRING *tagstring);int tag_get_seltextlen(const TAGSTRING *tagstring);TAGSTRING *tag_get_seltext(const TAGSTRING *tagstring);int tag_get_micropos(const TAGSTRING *tagstring, int i);int tag_get_microsize(const TAGSTRING *tagstring);bool tag_get_desc_id(const TAGSTRING *tagstring, uint32 *id);void tag_set_offset(TAGSTRING *tagstring, FileOfs offset);void tag_set_value(TAGSTRING *tagstring, uint32 value);bool tag_is_editable(const TAGSTRING *tagstring);void tag_strcat(TAGSTRING *dest, int maxlen, const TAGSTRING *src);void tag_strcpy(TAGSTRING *dest, int maxlen, const TAGSTRING *src);TAGSTRING *tag_strdup(const TAGSTRING *tagstring);int tag_strlen(const TAGSTRING *tagstring);int tag_strvlen(const TAGSTRING *tagstring);int tag_count_selectable_tags_in_group(const TAGSTRING *tagstring, int group);int tag_count_selectable_tags(const TAGSTRING *tagstring);int tag_count_groups(const TAGSTRING *tagstring);TAGSTRING *tag_get_selectable_tag(const TAGSTRING *tagstring, int n, int group);TAGSTRING *tag_get_group(const TAGSTRING *tagstring, int group);int tag_get_class(const TAGSTRING *tagstring);TAGSTRING *tag_make_sel(TAGSTRING *buf, int maxlen, const char *string);TAGSTRING *tag_make_ref(TAGSTRING *buf, int maxlen, uint32 id128_1, uint32 id128_2, uint32 id128_3, uint32 id128_4, const char *string);TAGSTRING *tag_make_ref_len(TAGSTRING *buf, int maxlen, uint32 id128_1, uint32 id128_2, uint32 id128_3, uint32 id128_4, const char *string, int strlen);TAGSTRING *tag_make_flags(TAGSTRING *buf, int maxlen, uint32 id, FileOfs offset);TAGSTRING *tag_make_group(TAGSTRING *buf, int maxlen);TAGSTRING *tag_make_color(TAGSTRING *buf, int maxlen, uint32 color);TAGSTRING *tag_make_default_color(TAGSTRING *buf, int maxlen);TAGSTRING *tag_make_edit_byte(TAGSTRING *buf, int maxlen, FileOfs ofs);TAGSTRING *tag_make_edit_word(TAGSTRING *buf, int maxlen, FileOfs ofs, tag_endian e);TAGSTRING *tag_make_edit_dword(TAGSTRING *buf, int maxlen, FileOfs ofs, tag_endian e);TAGSTRING *tag_make_edit_qword(TAGSTRING *buf, int maxlen, FileOfs ofs, tag_endian e);TAGSTRING *tag_make_edit_time(TAGSTRING *buf, int maxlen, FileOfs ofs, tag_endian e);TAGSTRING *tag_make_edit_char(TAGSTRING *buf, int maxlen, FileOfs ofs);TAGSTRING *tag_make_edit_bit(TAGSTRING *buf, int maxlen, FileOfs ofs, int bitidx);TAGSTRING *tag_make_edit_selvis(TAGSTRING *buf, int maxlen, FileOfs offset, char ch);TAGSTRING *tag_make_desc_byte(TAGSTRING *buf, int maxlen, FileOfs ofs, uint32 id32);TAGSTRING *tag_make_desc_word(TAGSTRING *buf, int maxlen, FileOfs ofs, uint32 id32, tag_endian e);TAGSTRING *tag_make_desc_dword(TAGSTRING *buf, int maxlen, FileOfs ofs, uint32 id32, tag_endian e);TAGSTRING *tag_make_desc_qword(TAGSTRING *buf, int maxlen, FileOfs ofs, uint32 id32, tag_endian e);char *tag_striptags(char *dest, const TAGSTRING *src);#endif /* !__HTTAG_H__ */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -