2023-12-06 17:43:39 -05:00
|
|
|
AsmJit
|
|
|
|
------
|
|
|
|
|
|
|
|
AsmJit is a lightweight library for machine code generation written in C++ language.
|
|
|
|
|
|
|
|
* [Official Home Page (asmjit.com)](https://asmjit.com)
|
|
|
|
* [Official Repository (asmjit/asmjit)](https://github.com/asmjit/asmjit)
|
2024-06-17 19:04:36 -04:00
|
|
|
* [Public Chat Channel](https://app.gitter.im/#/room/#asmjit:gitter.im)
|
2023-12-06 17:43:39 -05:00
|
|
|
* [Zlib License](./LICENSE.md)
|
|
|
|
|
|
|
|
See [asmjit.com](https://asmjit.com) page for more details, examples, and documentation.
|
|
|
|
|
|
|
|
Documentation
|
|
|
|
-------------
|
|
|
|
|
|
|
|
* [Documentation Index](https://asmjit.com/doc/index.html)
|
|
|
|
* [Build Instructions](https://asmjit.com/doc/group__asmjit__build.html)
|
|
|
|
|
2024-06-17 19:04:36 -04:00
|
|
|
Contributing
|
|
|
|
------------
|
|
|
|
|
|
|
|
* See [CONTRIBUTING](./CONTRIBUTING.md) page for more details
|
|
|
|
|
2023-12-06 17:43:39 -05:00
|
|
|
Breaking Changes
|
|
|
|
----------------
|
|
|
|
|
|
|
|
Breaking the API is sometimes inevitable, what to do?
|
|
|
|
|
2024-06-17 19:04:36 -04:00
|
|
|
* See [Breaking Changes Guide](https://asmjit.com/doc/group__asmjit__breaking__changes.html), which is now part of AsmJit documentation
|
2023-12-06 17:43:39 -05:00
|
|
|
* See asmjit tests, they always compile and provide implementation of many use-cases:
|
2024-06-17 19:04:36 -04:00
|
|
|
* [asmjit_test_emitters.cpp](./test/asmjit_test_emitters.cpp) - Tests that demonstrate the purpose of emitters
|
|
|
|
* [asmjit_test_assembler_x86.cpp](./test/asmjit_test_assembler_x86.cpp) - Tests targeting AsmJit's Assembler (x86/x64)
|
|
|
|
* [asmjit_test_compiler_x86.cpp](./test/asmjit_test_compiler_x86.cpp) - Tests targeting AsmJit's Compiler (x86/x64)
|
|
|
|
* [asmjit_test_instinfo.cpp](./test/asmjit_test_instinfo.cpp) - Tests that query instruction information
|
2023-12-06 17:43:39 -05:00
|
|
|
* [asmjit_test_x86_sections.cpp](./test/asmjit_test_x86_sections.cpp) - Multiple sections test.
|
2024-06-17 19:04:36 -04:00
|
|
|
* Visit our [Gitter Chat](https://app.gitter.im/#/room/#asmjit:gitter.im) if you need a quick help
|
2023-12-06 17:43:39 -05:00
|
|
|
|
|
|
|
Project Organization
|
|
|
|
--------------------
|
|
|
|
|
2024-06-17 19:04:36 -04:00
|
|
|
* **`/`** - Project root
|
|
|
|
* **src** - Source code
|
|
|
|
* **asmjit** - Source code and headers (always point include path in here)
|
|
|
|
* **core** - Core API, backend independent except relocations
|
|
|
|
* **arm** - ARM specific API, used only by ARM and AArch64 backends
|
|
|
|
* **x86** - X86 specific API, used only by X86 and X64 backends
|
|
|
|
* **test** - Unit and integration tests (don't embed in your project)
|
|
|
|
* **tools** - Tools used for configuring, documenting, and generating files
|
|
|
|
|
|
|
|
Ports
|
|
|
|
-----
|
|
|
|
|
|
|
|
* [ ] 32-bit ARM/Thumb port (work in progress)
|
|
|
|
* [ ] RISC-V port (not in progress, help welcome)
|
2023-12-06 17:43:39 -05:00
|
|
|
|
|
|
|
Support
|
|
|
|
-------
|
|
|
|
|
|
|
|
* AsmJit project has both community and commercial support, see [AsmJit's Support Page](https://asmjit.com/support.html)
|
|
|
|
* You can help the development and maintenance through Petr Kobalicek's [GitHub sponsors Profile](https://github.com/sponsors/kobalicek)
|
|
|
|
|
|
|
|
Notable Donors List:
|
|
|
|
|
|
|
|
* [ZehMatt](https://github.com/ZehMatt)
|
|
|
|
|
|
|
|
|
|
|
|
Authors & Maintainers
|
|
|
|
---------------------
|
|
|
|
|
|
|
|
* Petr Kobalicek <kobalicek.petr@gmail.com>
|