Add make commands to get asan working.

pull/1371/head
Fredrik Öhrström 2024-08-24 11:18:15 +02:00
rodzic f21749ab5a
commit d18ffeed28
2 zmienionych plików z 12 dodań i 1 usunięć

Wyświetl plik

@ -1,4 +1,6 @@
Correctly decode GJ first VIF extension.
Sajicek improved the hydrodigit driver! Thanks Sajicek!
Stepniskir helped create the ime driver! Thanks stepniskir!
@ -13,7 +15,7 @@ and the energy_consumption_at_reporting_date_kwh is changed to target_kwh, targe
Supaklass fixed the sensostar historical data setup. Thanks Supaklass!
Added the new drivers aquastream and supercal.
Added the new drivers aquastream, supercal and relhca.
Andreas Horrer added the itronheat driver. Thanks Andreas!
Andreas also added a workaround for borked meters with strange mfct fields (aPT and iWT)

Wyświetl plik

@ -328,6 +328,15 @@ lcov:
test: build/xmq
@./test.sh build/wmbusmeters
# To run the debug build with asan we need to disable security address randomization
# or we will get AddressSanitizer:DEADLYSIGNAL
disable_address_randomization:
echo 0 | sudo tee /proc/sys/kernel/randomize_va_space
enable_address_randomization:
echo 2 | sudo tee /proc/sys/kernel/randomize_va_space
testd: build/xmq
@./test.sh build_debug/wmbusmeters