| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |\
| |
| | |
Updt call effects api
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Old API:
def call_effects(self, addr):
New API:
def call_effects(self, addr, instr):
The addr is the address of the called function
'instr' is the instruction responsible for the call.
The new API is a bit more flexible for model a function.
|
| |/ |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The assembler will automatically use instruction len in offset computation
In the following instruction:
0x10: EB 02 JMP 0x14
If we assemble this instruction, the requested instruction send to the assembler
engine will be:
JMP +0x4
And will be encoded to:
EB 02
Previously, the assembly of:
JMP +0x4
was:
EB 04
|
| |
|
|
|
|
|
|
|
|
| |
Fat patch here: some API have changed.
Each irbloc now affects a special "IRDst" register which is used to
describe the destination irbloc. It allows simple description of
architectures using delay slots. Architectures semantic and tcc/python
jitter are modified in consequence. LLVM jitter is disabled for now,
but should be patch soon.
|
|
|
* API has changed, so old scripts need updates
* See example for API usage
* Use tcc or llvm for jit emulation
* Go to test and run test_all.py to check install
Enjoy !
|