qasan
qasan copied to clipboard
QASan is a custom QEMU 3.1.1 that detects memory errors in the guest using AddressSanitizer.
Right now qasan does not support running aarch64 binaries on a aarch64 host. Having native support would be nice now that arm CPUs are gaining popularity. Running `./qasan /bin/ls` gives...
Andrea, I'm trying to get QASAN installed on an Ubuntu 16.04 VM with clang, but while running `./build.py --cc clang --cxx clang++`, I'm encountering the following error: ``` clang-8 -fPIC...
Map memory accesses inside the stackframe boundaries to an allocated separate memory. This shit cost a bit (not too cause the accesses are already instrumented), but I don't see any...
TODO If someone wants to contribute, this is a good first issue
I use this code snippet to test QASan. ```c #include #include void func0(unsigned char byte) { unsigned char *p = (unsigned char *)malloc(0x10); p[0x11] = byte; } int main(int argc,...
https://github.com/qemu/qemu/commit/fbd57c754f32804a63295f70f271d1ef128ee590 solves this issue. Will make a PR soon. ```bash $ python3 build.py --system --cc gcc (...) In file included from /mnt/hdd1/sungwoo/qasan/qemu/include/ui/egl-context.h:5, from ui/egl-context.c:3: /mnt/hdd1/sungwoo/qasan/qemu/include/ui/egl-helpers.h:46:55: error: unknown type name ‘Window’...