-
Aosp10/art/runtime/jni/jni_internal.cc
static jint RegisterNatives(JNIEnv* env, jclass java_class, const JNINativeMethod* methods,
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "enc_str.h" | |
#include <cstdio> | |
static_assert(next_prime<next_prime<4>> == next_prime<4> && next_prime<4> == 5, "??"); | |
static constexpr auto j = "I love vvb2060 and she's my wife."_senc; | |
static constexpr auto k = ".."_senc; | |
static constexpr auto l = j + k; | |
int main() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows10下编译LLVM与Clang | |
1、下载安装CMake | |
2、下载安装Visual studio,按照C++ Desktop开发进行下载相关配置 | |
3、下载llvm与clang对应的版本到本地,整体目录如下: | |
Mode LastWriteTime Length Name | |
---- ------------- ------ ---- | |
d---- 2023/3/20 13:55 clang | |
d---- 2023/3/20 13:55 llvm-5.0.2.src | |
4、命令行下:运行 | |
>mkdir build && cmake.exe -S .\llvm-5.0.2.src\ -B .\build\ -DLLVM_ENABLE_PROJECTS=clang -DLLVM_TARGETS_TO_BUILD=X86 -Thost=x64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function antiAntiFrida() { | |
var strstr = Module.findExportByName(null, "strstr"); | |
if (null !== strstr) { | |
Interceptor.attach(strstr, { | |
onEnter: function (args) { | |
this.frida = Boolean(0); | |
this.haystack = args[0]; | |
this.needle = args[1]; |