zephyr/subsys/logging
Martin Åberg dc4e331e45 logging: improve string logging on 64-bit ABI
In std_print(), the log arguments were casted to uint32_t before
being sent further to the output function.

For integer types which can not be represented by uint32_t, the
degraded user experience may be acceptable.

However, for string arguments, the output function will eventually
dereference the pointer, so if the "char *" can not be represented
by uint32_t, bad things are going to happen. In practice you will see
this on 64-bit systems where sizeof (char *) is 8 byte and addresses
higher than 0x80000000.

Signed-off-by: Martin Åberg <martin.aberg@gaisler.com>
2021-01-15 13:06:33 -05:00
..
mipi_syst logging: add STP transport and raw data output support for syst 2020-11-17 10:09:19 -06:00
CMakeLists.txt soc/intel_adsp: Unify trace backends 2020-11-17 12:28:10 -08:00
Kconfig logging: more default stack on RISC-V 64-bit 2021-01-15 13:06:33 -05:00
Kconfig.template.log_config
log_backend_adsp.c soc/intel_adsp: Unify trace backends 2020-11-17 12:28:10 -08:00
log_backend_native_posix.c logging: avoid identifier collisions 2020-07-25 21:26:15 -04:00
log_backend_net.c logging: net: Make autostart of backend configurable 2020-09-01 13:34:13 +02:00
log_backend_rtt.c logging: make log_backend_std header public 2020-10-21 10:21:05 -04:00
log_backend_spinel.c logging: make log_backend_std header public 2020-10-21 10:21:05 -04:00
log_backend_swo.c logging: make log_backend_std header public 2020-10-21 10:21:05 -04:00
log_backend_uart.c logging: make log_backend_std header public 2020-10-21 10:21:05 -04:00
log_backend_xtensa_sim.c logging: make log_backend_std header public 2020-10-21 10:21:05 -04:00
log_cmds.c logging: fix cmd_log_self_disable argc checker 2020-11-06 13:16:39 -05:00
log_core.c logging: Reduce missinglog_strdup() on SPARC 2020-12-14 11:23:34 +01:00
log_list.c
log_list.h
log_minimal.c code-guideline: Fixing code violation 10.4 Rule 2020-10-01 17:13:29 -04:00
log_msg.c logging: fix if else if constructs missing final else 2020-10-07 23:05:18 -07:00
log_output.c logging: improve string logging on 64-bit ABI 2021-01-15 13:06:33 -05:00
log_output_syst.c logging: add STP transport and raw data output support for syst 2020-11-17 10:09:19 -06:00