Modules & API's - PART 1
No. OF Modules & API's for Disassembler
1.bootstrapper.
2.dispatch+assembler
3.optimizer+prologue-epilogue adder.
4.fragment cache manager
5. Interpreter.
The api's for disassembler are
1. function : disassemble
input: start address of disassembling
output:no of bytes of linear code before control transfer instruction
2.function:disassemble 1 instruction
input:address of control transfer instruction.
output: pointer to decoded control transfer instruction.
3.function : disassemble and give disassembled code
input: start address of disassembling
output:1. no of bytes of linear code before control transfer instruction
2.pointer to buffer containing disassembled code .
Here the datastructure can be an array of structures.
1.bootstrapper.
2.dispatch+assembler
3.optimizer+prologue-epilogue adder.
4.fragment cache manager
5. Interpreter.
The api's for disassembler are
1. function : disassemble
input: start address of disassembling
output:no of bytes of linear code before control transfer instruction
2.function:disassemble 1 instruction
input:address of control transfer instruction.
output: pointer to decoded control transfer instruction.
3.function : disassemble and give disassembled code
input: start address of disassembling
output:1. no of bytes of linear code before control transfer instruction
2.pointer to buffer containing disassembled code .
Here the datastructure can be an array of structures.


0 Comments:
Post a Comment
<< Home