mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-07-05 20:41:34 -07:00
Add LeakSanitizer suppressions to skip libfontconfig warnings
This commit is contained in:
parent
eb05cadb1c
commit
5305c33ec1
2 changed files with 7 additions and 2 deletions
1
.lsan_suppressions
Normal file
1
.lsan_suppressions
Normal file
|
@ -0,0 +1 @@
|
||||||
|
leak:libfontconfig.so
|
8
pm3
8
pm3
|
@ -23,7 +23,11 @@ else
|
||||||
# hope it's installed somehow, still not sure where fw images are...
|
# hope it's installed somehow, still not sure where fw images are...
|
||||||
CLIENT="proxmark3"
|
CLIENT="proxmark3"
|
||||||
fi
|
fi
|
||||||
|
EVALENV=""
|
||||||
|
# LeakSanitizer suppressions
|
||||||
|
if [ -e .lsan_suppressions ]; then
|
||||||
|
EVALENV="export LSAN_OPTIONS=suppressions=.lsan_suppressions"
|
||||||
|
fi
|
||||||
PM3LIST=()
|
PM3LIST=()
|
||||||
SHOWLIST=false
|
SHOWLIST=false
|
||||||
|
|
||||||
|
@ -212,7 +216,7 @@ function get_pm3_list_WSL {
|
||||||
SCRIPT=$(basename -- "$0")
|
SCRIPT=$(basename -- "$0")
|
||||||
|
|
||||||
if [ "$SCRIPT" = "pm3" ]; then
|
if [ "$SCRIPT" = "pm3" ]; then
|
||||||
CMD() { $CLIENT "$@"; }
|
CMD() { eval "$EVALENV"; $CLIENT "$@"; }
|
||||||
HELP() {
|
HELP() {
|
||||||
cat << EOF
|
cat << EOF
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue