]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add a new disassembler that improves over the previous disassembler
authormarcel <marcel@FreeBSD.org>
Thu, 23 Oct 2003 06:01:52 +0000 (06:01 +0000)
committermarcel <marcel@FreeBSD.org>
Thu, 23 Oct 2003 06:01:52 +0000 (06:01 +0000)
commit4f18f4daa05c378c0a7c9b2710c566c19c484a6c
treec16440c5ba42a4f61e7e36f63a4bfa772343777a
parent951b71c1b728e511147544d92155013840822f9b
Add a new disassembler that improves over the previous disassembler
in that it provides an abstract (intermediate) representation for
instructions. This significantly improves working with instructions
such as emulation of instructions that are not implemented by the
hardware (e.g. long branch) or enhancing implemented instructions
(e.g. handling of misaligned memory accesses). Not to mention that
it's much easier to print instructions.

Functions are included that provide a textual representation for
opcodes, completers and operands.

The disassembler supports all ia64 instructions defined by revision
2.1 of the SDM (Oct 2002).
sys/ia64/disasm/disasm.h [new file with mode: 0644]
sys/ia64/disasm/disasm_decode.c [new file with mode: 0644]
sys/ia64/disasm/disasm_extract.c [new file with mode: 0644]
sys/ia64/disasm/disasm_format.c [new file with mode: 0644]
sys/ia64/disasm/disasm_int.h [new file with mode: 0644]