summaryrefslogtreecommitdiff
path: root/build-aux
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2024-12-17 19:18:21 -0700
committerLuke T. Shumaker <lukeshu@lukeshu.com>2024-12-26 18:28:34 -0700
commit79284b25994d90149f4a9a5286ec739770db94ea (patch)
tree1e6918d094ac7bf2df1041cdc901bb4fe62391e3 /build-aux
parent3756c77e536a293fc735726eac0e5f0c3a8b89da (diff)
libmisc: Rework how test-intercepts work
Diffstat (limited to 'build-aux')
-rwxr-xr-xbuild-aux/stack.c.gen6
1 files changed, 3 insertions, 3 deletions
diff --git a/build-aux/stack.c.gen b/build-aux/stack.c.gen
index 92bd8c2..dd7aff9 100755
--- a/build-aux/stack.c.gen
+++ b/build-aux/stack.c.gen
@@ -456,9 +456,9 @@ def main(
def sbc_skip_call(chain: list[str], call: str) -> bool:
if (
len(chain) > 1
- and chain[-1].endswith(":__assert_msg_fail")
- and call == "_log_printf"
- and any(c.endswith(":__assert_msg_fail") for c in chain[:-1])
+ and chain[-1] == "__assert_msg_fail"
+ and call.endswith(":__lm_printf")
+ and "__assert_msg_fail" in chain[:-1]
):
return True
if (