cfi native works???????
Some checks failed
Hello World (Multiplatform) / build (macos-12) (push) Has been cancelled
Hello World (Multiplatform) / build (macos-14) (push) Has been cancelled
Hello World (Multiplatform) / build (ubuntu-22.04) (push) Has been cancelled
Hello World (Multiplatform) / build (windows-2022) (push) Has been cancelled
Run tests with twister / twister-build-prep (push) Has been cancelled
Run tests with twister / twister-build (push) Has been cancelled
Run tests with twister / Publish Unit Tests Results (push) Has been cancelled
Run tests with twister / Check Twister Status (push) Has been cancelled

This commit is contained in:
Patrick 2024-08-08 18:11:27 +02:00
parent fade965277
commit 754d5e4be2
Signed by: patrick
GPG key ID: 451F95EFB8BECD0F
4 changed files with 2 additions and 4 deletions

View file

@ -1,2 +1 @@
src:*/native_simulator/* src:*/native_simulator/*
fun:z_cbvprintf_impl

View file

@ -299,7 +299,7 @@ BUILD_ASSERT(Z_IS_POW2(CBPRINTF_PACKAGE_ALIGNMENT));
#ifdef __CHECKER__ #ifdef __CHECKER__
typedef int (*cbprintf_cb)(int c, void *ctx); typedef int (*cbprintf_cb)(int c, void *ctx);
#else #else
typedef int (*cbprintf_cb)(/* int c, void *ctx */); typedef int (*cbprintf_cb)(int, void *);
#endif #endif
/** @brief Signature for a cbprintf multibyte callback function. /** @brief Signature for a cbprintf multibyte callback function.

View file

@ -255,7 +255,7 @@ int vsnprintk(char *str, size_t size, const char *fmt, va_list ap)
{ {
struct str_context ctx = { str, size, 0 }; struct str_context ctx = { str, size, 0 };
cbvprintf(str_out, &ctx, fmt, ap); cbvprintf((cbprintf_cb)str_out, &ctx, fmt, ap);
if (ctx.count < ctx.max) { if (ctx.count < ctx.max) {
str[ctx.count] = '\0'; str[ctx.count] = '\0';

View file

@ -134,7 +134,6 @@ ${NSI_EXE}: ${NSI_BUILD_PATH}/${RUNNER_LIB} ${LOCALIZED_EMBSW} ${NSI_EXTRA_LIBS}
-B /nix/store/dbwp0scbb0rk78m636sb7cvycz8xzgyh-glibc-2.39-52/lib \ -B /nix/store/dbwp0scbb0rk78m636sb7cvycz8xzgyh-glibc-2.39-52/lib \
-B /nix/store/qfqjymymsd2x29yknsgllfiq1h64s3f4-gcc-12.3.0/lib/gcc/x86_64-unknown-linux-gnu/12.3.0/ \ -B /nix/store/qfqjymymsd2x29yknsgllfiq1h64s3f4-gcc-12.3.0/lib/gcc/x86_64-unknown-linux-gnu/12.3.0/ \
-L /nix/store/qfqjymymsd2x29yknsgllfiq1h64s3f4-gcc-12.3.0/lib/gcc/x86_64-unknown-linux-gnu/12.3.0/ \ -L /nix/store/qfqjymymsd2x29yknsgllfiq1h64s3f4-gcc-12.3.0/lib/gcc/x86_64-unknown-linux-gnu/12.3.0/ \
-lclang_rt.ubsan_standalone
Makefile: ; Makefile: ;