mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-12-25 17:42:48 +08: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...
|
||||
CLIENT="proxmark3"
|
||||
fi
|
||||
|
||||
EVALENV=""
|
||||
# LeakSanitizer suppressions
|
||||
if [ -e .lsan_suppressions ]; then
|
||||
EVALENV="export LSAN_OPTIONS=suppressions=.lsan_suppressions"
|
||||
fi
|
||||
PM3LIST=()
|
||||
SHOWLIST=false
|
||||
|
||||
|
@ -212,7 +216,7 @@ function get_pm3_list_WSL {
|
|||
SCRIPT=$(basename -- "$0")
|
||||
|
||||
if [ "$SCRIPT" = "pm3" ]; then
|
||||
CMD() { $CLIENT "$@"; }
|
||||
CMD() { eval "$EVALENV"; $CLIENT "$@"; }
|
||||
HELP() {
|
||||
cat << EOF
|
||||
|
||||
|
|
Loading…
Reference in a new issue