You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Reject known generic containers as string concatenation operands #1121
check and analyze ... audit:all accept this (audit: facts=11369,
violations=0). An equivalent file-read probe crashes in with_str_concat_ref
when it interprets the Result representation as a string.
Exact proof on the fnabi-phase0 stage1: LLDB Sema.check_binary+5452 has
w24=14 (TY_GENERIC_INST). The comparison against 10 and branch at +5456 skip
the left-operand diagnostic, landing at +5624. Source: src/SemaCheck.w:8607
(the right-side predicate at 8609 has the same omission). The predicate
confuses an unresolved type parameter with a known instantiated container.
Runtime proof: debug allocator enabled, WITH_ALLOC_NO_REUSE=1; native LLDB
stops in rt_memcpy at rt_core.w:309 via with_str_concat_ref at 2057, reading
the Result payload as a string address/length. Local logs:
out/fnabi-validation/concat-result-sema-proof.txt and
out/fnabi-validation/phase0-audit-tool-native-crash.txt.
A fix and both operand-side regressions are in progress in the current batch.
The file-writing probe now explicitly unwraps read_file's Result; it is no
longer relying on the stale read_file-returning-str assumption in AGENTS.md.
Activity
C algorithms phase1 (#1142)
Complete callable FnAbi descriptors and stdlib Phase 0 (withlang-dev#…