commit | 4f5893e1ec3eace31ee790bf66797d3bf622eebb | [log] [tgz] |
---|---|---|
author | Emilio Cota <ecg@google.com> | Wed Apr 20 11:57:40 2022 -0400 |
committer | Emilio Cota <ecg@google.com> | Wed Apr 20 12:12:02 2022 -0400 |
tree | 569e662030ecd0fd9f80382788e66da8a5cbb364 | |
parent | 684d69db03de24604b8cf83ad2e0e62c2dc80798 [diff] |
memfd_create: disable for ANDROID_API < 30 The syscall is wrapped in Bionic from API version 30: https://android.googlesource.com/platform/bionic.git/+/3d24d2b0883e%5E!/ This fixes the build for earlier versions of Android. Note that MDF_CLOEXEC as well as the raw syscall numbers for memfd_create were added much earlier: https://android.googlesource.com/platform/bionic.git/+/82d7504cd7d5%5E!/
A C++ JIT assembler for x86 (IA32), x64 (AMD64, x86-64)
Xbyak is a C++ header library that enables dynamically to assemble x86(IA32), x64(AMD64, x86-64) mnemonic.
The pronunciation of Xbyak is kəi-bja-k
. It is named from a Japanese word 開闢, which means the beginning of the world.
Note: Use and_()
, or_()
, ... instead of and()
, or()
. If you want to use them, then specify -fno-operator-names
option to gcc/clang.
ptr[(void*)0xffffffff]
causes an error.XBYAK_OLD_DISP_CHECK
if you need an old check, but the option will be remoevd.jmp(mem, T_FAR)
, call(mem, T_FAR)
retf()
for far absolute indirect jump.push(byte, imm)
(resp. push(word, imm)
) forces to cast imm
to 8(resp. 16) bit.#include <winsock2.h>
has been removed from xbyak.h, so add it explicitly if you need it.XBYAK_USE_MMAP_ALLOCATOR
will be defined on Linux/macOS unless XBYAK_DONT_USE_MMAP_ALLOCATOR
is defined.Almost C++03 or later compilers for x86/x64 such as Visual Studio, g++, clang++, Intel C++ compiler and g++ on mingw/cygwin.
GitHub | Website (Japanese) | herumi@nifty.com