strdup

c · standard library
summaryDerived from model facts
RoleSummary
WeaknessNot mapped
WatchesArgument[0] -> ReturnValue
Kindcopy
Confidencehigh
Corroboration3

Summary boundary: A copy transfers data across a boundary whose destination constraints must be checked by the caller.

Argument map · what each slot does

The pack does not provide a callable signature for this record; the watched access path is shown directly.

ArgAccess pathPurposeWatched
Argument[0]Argument[0]The access path Atropos marks for this model.▲ summary
The weakness
No CWE mapping in this fact

The model classifies the behavior as copy; no CWE relationship is attached to this record.

What goes wrong
Attacker's-eye view · copy

A crafted value exceeds the destination's capacity or crosses an unintended ownership boundary.

// modeled boundary: Argument[0] -> ReturnValue strdup(attacker_influenced_value);
To decide if this call is a bug, check
1Confirm destination capacity.
2Check length and encoding assumptions.
3Review ownership and lifetime rules.
These checks require the surrounding codebase. The model names the boundary; it does not decide reachability or prove that a guard dominates every path.
Is this a bug in your code?Atropos stops here — by design

Atropos identifies Argument[0] -> ReturnValue as a copy summary. It cannot see whether untrusted data reaches this call in your repository.

Lachesis is the codebase-level step: it traces reachability and guards for this symbol.

Check this symbol in Lachesis
The family · copy

Across languages

No cross-language match.

What neutralizes it

No sanitizer of this kind is modeled.

Model facts · verbatim from the pack
RoleKindAccess pathModel IDConfidence
summarycopyArgument[0] -> ReturnValuec.std.strdup.a0-rethigh · corrob. 3