fpi-device: Only use emulation mode by pre-loading a library

Rather than just do it in production if set, make it more difficult to
potentially inject the test mode.

So rely on a weak definition of fpi_device_emulation_mode_enabled() that
can be only set externally
This commit is contained in:
Marco Trevisan (Treviño)
2026-06-19 15:50:18 +02:00
parent 98fb001883
commit 3933e5d468
4 changed files with 59 additions and 19 deletions
+1
View File
@@ -1,6 +1,7 @@
LIBFPRINT_2.0.0 {
global:
fp_*;
fpi_device_emulation_mode_enabled;
local:
*;
};