summaryrefslogtreecommitdiff
path: root/build-aux
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2025-02-28 20:15:16 -0700
committerLuke T. Shumaker <lukeshu@lukeshu.com>2025-03-01 14:51:40 -0700
commit902a7661cfed71b1f50aa95bac9345883cb435cc (patch)
tree339e8e4b01b36047ee3b2910a4aa3b46ed528fcb /build-aux
parent4f1abf2b9472a47da65d117f72dcdffca65b888e (diff)
Fix linker confusion
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 2acce60..f851afe 100755
--- a/build-aux/stack.c.gen
+++ b/build-aux/stack.c.gen
@@ -162,7 +162,7 @@ def analyze(
+ r"(?P<location>[^\n]+:[0-9]+:[0-9]+)\n"
+ r"(?P<nstatic>[0-9]+) bytes \((?P<usage_kind>static|dynamic|dynamic,bounded)\)\n"
+ r"(?P<ndynamic>[0-9]+) dynamic objects"
- + r"(?:\n.*)?",
+ + r"(?:\n.*)*",
flags=re.MULTILINE,
)
@@ -506,11 +506,11 @@ class LibCRIPCPlugin:
def indirect_callees(self, loc: str, line: str) -> tuple[list[str], bool] | None:
if "/3rd-party/" in loc:
return None
- if "/chan.h:" in loc and "front->dequeue(" in line:
+ if "/chan.c:" in loc and "front->dequeue(" in line:
return [
"_cr_chan_dequeue",
"_cr_select_dequeue",
- ], True
+ ], False
return None
def skip_call(self, chain: list[str], call: str) -> bool: