[compiler-rt] [win/asan] Recognize mov QWORD PTR [rip + X], reg (PR #117335)

via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 24 16:24:49 PST 2024


bernhardu wrote:

> ... if we can do something better here than keep adding patterns ...

Hello, I tried to create a [prototype](https://github.com/bernhardu/llvm-project/tree/bddisasm-eval) to integrate minimal version of [bddisasm](https://github.com/bitdefender/bddisasm).
It does not build system changes, just ugly including.
The tests do succeed (x86_64,i686) and some ASan enabled executables also start up (x86_64)
with some instructions forcing to behave like the old version. (Just tested in Wine yet.)
I fear there is plenty of regression potential when more instructions can be handled,
e.g. like those used in some tests and relying to fail in GetInstructionSize.

Could this be the direction to go?
Would their "Apache 2.0" license be compatible to LLVMs "Apache 2.0 with Exception"?

https://github.com/llvm/llvm-project/pull/117335


More information about the llvm-commits mailing list