Update README.md

main
James 3 years ago
parent 4599015395
commit 7f1f0ce8e9

@ -1,3 +1,25 @@
# Code Virtualizer # Code Virtualizer
virtualize x86_64 virtualize x86_64
# Ideas:
- Handle inputted buffers only for now, no nonsense with files yet.
- Output buffers containing the vm(with required instructions), vm handler table(offsets to insturctions in vm buffer), and one containing the x86 code(with the vm code right along side it(this means fixing up all relative jumps and rip relative instructions.. ugh >:| ))
- I want the vm code to be embedded right alongside the x86, so you see like
```
x86 instruction
x86 instruction
vmenter(which jumps to some place based on the handler table)
vm opcode (vm opcode and bytecode which looks like jibberish)
vm opcode
vm opcode
vm exits back to here ---.
x86 instruction <----`
x86 instruction
```
# Todo:
- Setup some il rope like structure to contain all x86 instructions
- Functions to find groups of x86 instructions that i can handle/convert into my vm.(the larger the group the better)
- Learn file structure, what are reallocations and how do imports work?!?

Loading…
Cancel
Save