Skip to content
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

feat: add cmake debug mode && asan memory check #139

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

heysion
Copy link

@heysion heysion commented Dec 24, 2021

need libasan library

cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_DEBUG_ASAN=ON
make -j1

check binary

ldd ibus-engine-rime | grep -i asan
	libasan.so.5 => /lib/x86_64-linux-gnu/libasan.so.5 (0x00007f23f38cf000)

cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_DEBUG_ASAN=ON
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant