Skip to content

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

Open
heysion wants to merge 1 commit intorime:masterfrom
heysion:dev
Open

feat: add cmake debug mode && asan memory check#139
heysion wants to merge 1 commit intorime:masterfrom
heysion:dev

Conversation

@heysion
Copy link
Copy Markdown

@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