-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GitHub workflow: Add Alpine Linux job #2115
base: master
Are you sure you want to change the base?
Conversation
de37fa9
to
a2a6852
Compare
This workflow reveals a UAF bug. Reproduction it with: mkdir build
cd build
cmake .. -DCMAKE_EXPORT_COMPILE_COMMANDS=y -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS=-fsanitize=address
make -j
./test_mem test_snapshot This gives:
The underlying memory regions are accessed after free. Would you like to draft a fix? |
Yes, I'm working on it. |
Thanks! By the way, please draft a standalone PR to |
Added a job to run build & test into a musl-based linux distribution like Alpine. This should extend coverage and be sure things keep working fine
Related issues:
/home/venom/mtkclient/unicorn/qemu/util/oslib-posix.c:33:10: fatal error: linux/mman.h: No such file or directory
#1965test_uc_hook_cached_uaf
test fails with SIGSEGV after building on x86 with musl #2113