Skip to content
Commit 8c2b4949 authored by Alessandro Di Federico's avatar Alessandro Di Federico
Browse files

Expand libtinycode

* Support loading of multiple libtinycodes
  * Implement `ptc_load` which returns an object working as the
    libtinycode's interface.
  * Various other improvements and new functions in the libtincode
    interface
* CPU intialization
  * Automatically choose a CPU depending on the current architecture
  * Implement `initialize_cpu_state` which performs all the
    architecture-specific initialization steps
* `mmap` memory areas before translation
  Feed into libtinycode the code and the corresponding address ranges,
  so it can mmap it and avoid translating code outside of these regions.
* Implement `ptc_disassemble`
* Implement some dummy functions needed by the i386 backend
* Various other aesthetic changes
* Make `tb_link_page` non-static
* Let `ptc_instruction_*` functions take a pointer to `PTCInterface` to
  be able to perform sanity checks
parent 873af8a6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment