diff options
| author | Camille Mougey <commial@gmail.com> | 2016-05-10 14:42:31 +0200 |
|---|---|---|
| committer | Camille Mougey <commial@gmail.com> | 2016-05-10 14:42:31 +0200 |
| commit | f6aecc413205b49b8ff2cb4fa7b5b9c3cd11dad8 (patch) | |
| tree | 46cdb77f0d38af3005036d1ff7b8e4db05727159 /miasm2/jitter/JitCore.h | |
| parent | 8e41c7845c9164d94f12f7d73f12bb8804f3e196 (diff) | |
| parent | 02a8037102adc14c8d5409e27f635acfedad7546 (diff) | |
| download | miasm-f6aecc413205b49b8ff2cb4fa7b5b9c3cd11dad8.tar.gz miasm-f6aecc413205b49b8ff2cb4fa7b5b9c3cd11dad8.zip | |
Merge pull request #367 from serpilliere/jitter_cache_block
Jitter cache block
Diffstat (limited to 'miasm2/jitter/JitCore.h')
| -rw-r--r-- | miasm2/jitter/JitCore.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/miasm2/jitter/JitCore.h b/miasm2/jitter/JitCore.h index c8400701..bae5a417 100644 --- a/miasm2/jitter/JitCore.h +++ b/miasm2/jitter/JitCore.h @@ -113,6 +113,8 @@ PyObject * JitCpu_get_jitter(JitCpu *self, void *closure); PyObject * JitCpu_set_jitter(JitCpu *self, PyObject *value, void *closure); void Resolve_dst(block_id* BlockDst, uint64_t addr, uint64_t is_local); +#define Resolve_dst(b, arg_addr, arg_is_local) do {(b)->address = (arg_addr); (b)->is_local = (arg_is_local);} while(0) + uint8_t MEM_LOOKUP_08(JitCpu* jitcpu, uint64_t addr); |