diff options
Diffstat (limited to 'build-aux/measurestack/app_plugins.py')
-rw-r--r-- | build-aux/measurestack/app_plugins.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/build-aux/measurestack/app_plugins.py b/build-aux/measurestack/app_plugins.py index 519e6b8..555651c 100644 --- a/build-aux/measurestack/app_plugins.py +++ b/build-aux/measurestack/app_plugins.py @@ -462,10 +462,11 @@ class PicoFmtPlugin: def __init__(self) -> None: self.known_out = { BaseName(""): BaseName("_out_null"), # XXX - BaseName("__wrap_sprintf"): BaseName("_out_buffer"), - BaseName("__wrap_snprintf"): BaseName("_out_buffer"), - BaseName("__wrap_vsnprintf"): BaseName("_out_buffer"), BaseName("vfctprintf"): BaseName("_out_fct"), + BaseName("fmt_sprintf"): BaseName("_out_buffer"), + BaseName("fmt_vsprintf"): BaseName("_out_buffer"), + BaseName("fmt_snprintf"): BaseName("_out_buffer"), + BaseName("fmt_vsnprintf"): BaseName("_out_buffer"), } self.known_fct = { BaseName("stdio_vprintf"): BaseName("stdio_buffered_printer"), @@ -487,7 +488,7 @@ class PicoFmtPlugin: def indirect_callees( self, loc: str, line: str ) -> tuple[typing.Collection[QName], bool] | None: - if "/3rd-party/pico-sdk/" not in loc: + if "/3rd-party/pico-fmt/" not in loc: return None if "/printf.c:" in loc: m = util.re_call_other.fullmatch(line) |