Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

htdisasm.cc File Reference

#include <string.h>
#include "cmds.h"
#include "htctrl.h"
#include "htdisasm.h"
#include "hthist.h"
#include "htiobox.h"
#include "htmenu.h"
#include "httag.h"
#include "x86asm.h"
#include "x86dis.h"
#include "ppcdis.h"
#include "evalx.h"
#include "regex.h"

Go to the source code of this file.

Functions

ht_viewhtdisasm_init (bounds *b, ht_streamfile *file, ht_format_group *group)
void dialog_assemble (ht_format_viewer *f, viewer_pos vaddr, CPU_ADDR cpuaddr, Assembler *a, Disassembler *disasm, const char *default_str, UINT want_length)

Variables

format_viewer_if htdisasm_if


Function Documentation

void dialog_assemble ht_format_viewer f,
viewer_pos  vaddr,
CPU_ADDR  cpuaddr,
Assembler a,
Disassembler disasm,
const char *  default_str,
UINT  want_length
 

Definition at line 78 of file htdisasm.cc.

References Assembler::alloc_insn(), asm_insn, ht_listbox::attachTitle(), baseview, button_ok, byte, center_bounds(), cmd_edit_mode_i, ht_text_listbox_sort_order::col, ht_text_listbox_sort_order::compare_func, asm_code::data, ht_view::databuf_get(), Disassembler::decode(), dis_insn, DIS_STYLE_HEX_ASMSTYLE, DIS_STYLE_HEX_NOZEROPAD, DISASM_STRF_SMALL_FORMAT, ht_dialog::done(), Assembler::encode(), errorbox, FAM_WRITE, FS_KILLER, FS_MOVE, FS_TITLE, ht_stream::get_access_mode(), Assembler::get_error_msg(), ht_format_viewer::get_file(), Assembler::get_name(), ht_listbox::gotoItemByPosition(), HISTATOM_ASSEMBLER, ht_text_listbox_item::id, ht_dialog::init(), ht_listbox_title::init(), ht_text_listbox::init(), inputbox(), ht_window::insert(), ht_text_listbox::insert_str(), asm_code::next, NULL, ht_dialog::run(), ht_view::sendmsg(), ht_listbox_title::setText(), asm_code::size, ht_text_listbox::sort(), Disassembler::strf(), Assembler::translate_str(), UINT, ht_text_listbox::update(), and ht_format_viewer::vwrite().

Referenced by ht_aviewer::handlemsg(), and ht_disasm_viewer::handlemsg().

ht_view* htdisasm_init bounds *  b,
ht_streamfile file,
ht_format_group group
 

Definition at line 39 of file htdisasm.cc.

References DESC_DISASM, file, ht_disasm_sub::init(), ht_disasm_viewer::init(), ht_uformat_viewer::insertsub(), NULL, VC_EDIT, VC_GOTO, VC_SEARCH, X86_ADDRSIZE32, X86_OPSIZE32, and X86DIS_STYLE_OPTIMIZE_ADDR.


Variable Documentation

format_viewer_if htdisasm_if
 

Initial value:

 {
        htdisasm_init,
        0
}

Definition at line 62 of file htdisasm.cc.


Generated on Fri May 7 21:15:48 2004 by doxygen 1.3.5