asmjit
Low-latency machine code generation (by asmjit)
mcsema
Framework for lifting x86, amd64, aarch64, sparc32, and sparc64 program binaries to LLVM bitcode (by lifting-bits)
Our great sponsors
asmjit | mcsema | |
---|---|---|
9 | 2 | |
3,805 | 2,366 | |
1.8% | - | |
8.0 | 4.9 | |
about 1 month ago | about 2 years ago | |
C++ | C++ | |
zlib License | GNU Affero General Public License v3.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
asmjit
Posts with mentions or reviews of asmjit.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-04-08.
-
The 6502 instruction set as a database
Some other instruction sets in some JSON: https://github.com/asmjit/asmjit/tree/master/db
-
30 years of DOOM: new code, new bugs
The attentive reader may notice that this code is from a third-party library. So, we didn't want to include it in the article at first. However, we found something interesting. In 2017, somebody opened an issue in the asmjit project: the GCC 7.2 compiler issued a warning to the code above. The project authors fixed it:
-
How do I get the registers of a process in C++?
You can use something like https://asmjit.com/ to generate and call x64 code at runtime.
- Ask HN: Recommendation for general purpose JIT compiler
-
Compiler Design in C++
But an easy to create a JIT would be to use https://github.com/asmjit/asmjit, which is used in RPCS3.
-
Are there any low level, cross platform assembly languages that allow jumping to non labels?
You could go the way of https://asmjit.com (or forth) and make it your assembler DSL on top of the low-level call.
-
C++ libraries for filtering collections and expression trees
But if you're willing to get closer to the hardware is https://github.com/bitfunnel/nativejit/ and https://asmjit.com/
- AsmJit
-
Wrapping dynamically generated void(*)() pointers in try-catch?
https://github.com/asmjit/asmjit is nice. But using a JIT seems like a sledgehammer working around a lacking design.
mcsema
Posts with mentions or reviews of mcsema.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-01.
- fcd – LLVM-based native program optimizing decompiler
-
Is something similar to Rosetta 2 possible on Linux?
I was actually looking at this today because I was curious. But you can look here this project plus the project it references would be a good start doing as a binary translator: https://github.com/lifting-bits/mcsema
What are some alternatives?
When comparing asmjit and mcsema you can also consider the following projects:
fasmg - flat assembler g - adaptable assembly engine
zasm - x86-64 Assembler based on Zydis
mir - A lightweight JIT compiler based on MIR (Medium Internal Representation) and C11 JIT compiler and interpreter based on MIR
sleighcraft - sleigh craft!
oneDNN - oneAPI Deep Neural Network Library (oneDNN)
XOpcodeCalc - Opcode calculator / ASM calculator
mlibc - Portable C standard library
suniversal - USB adapter for SUN keyboards
dynarmic - An ARM dynamic recompiler.
anvill - anvill forges beautiful LLVM bitcode out of raw machine code
Cwerg - The best C-like language that can be implemented in 10kLOC.
SVF - Static Value-Flow Analysis Framework for Source Code