Skip to content

Instantly share code, notes, and snippets.

View mykola2312's full-sized avatar

mykola2312 mykola2312

  • Saint-Brune 1147
  • 23:11 (UTC +03:00)
View GitHub Profile
#include "disas.h"
opcode_t arch[] = {
{'\x90',1},{'\x81',6},{'\xC7',6},{'\xA1',5},
{'\x74',2},{'\x33',2},{'\x89',7},{'\x6A',2},
{'\xE8',5},{'\xE9',5},{'\x50',1},{'\x51',1},
{'\x52',1},{'\x53',1},{'\x54',1},{'\x55',1},
{'\x56',1},{'\x57',1},{'\x0E',1},{'\x1E',1},
{'\x16',1},{'\x06',1},{'\x75',2},{'\xCC',1},
{'\xC2',3},{'\xC3',1},{'\xCD',2},{'\x58',1},
void dump_buffer(API::Buffer& buf, unsigned codepage = 0)
{
const char ascii_lup = 201, ascii_rup = 187,
ascii_lsp = 199, ascii_rsp = 182,
ascii_lbt = 200, ascii_rbt = 188,
ascii_up_cross = 209, ascii_bt_cross = 207,
ascii_cross = 197,
ascii_v_sp = 179, ascii_h_sp = 196,
ascii_v_border = 186, ascii_h_border = 205;