coolxv

Results 30 comments of coolxv

Supported hardware platform : x86,x86-64,arm64,arm32,mips64 Supported compiler : msvc,gcc,clang You can try Android and IOS

stub-cpp is not optimized for Sanitizer. This is only used in unit test scenarios.

Sanitizer is the compiler that has done special processing and inserted some special statements.

@jiridanek Unit tests do not need to be compiled with the sanitizer option.

I'm on my machine and use **__attribute__((no_sanitize("thread")))** on Stub::set is correct. gcc version 10.2.0 (Ubuntu 10.2.0-5ubuntu1~20.04)

@qdkevinkou Why is the set function not modified?

@jiridanek ``` //5 byte(jmp rel32) #define REPLACE_NEAR(t, fn, fn_stub)\ *fn = 0xE9;\ int an = (int)(fn_stub - fn - CODESIZE_MIN);\ *(fn + 1) = ((char*)&an)[0];\ *(fn + 2) = ((char*)&an)[1];\...

-fno-access-control //compilation option template class A; //Explicit instantiation or use addr_any.h addr_pri.h not work.

遇到类似问题,使用paddlex训练的模型,无法使用paddledetection工具导出

set NODE_OPTIONS=--openssl-legacy-provider 可用