MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / direct

Function direct

atomic-audit/src/impact/analysis.rs:25–37  ·  view source on GitHub ↗
(call: &BoundCall<'_>)

Source from the content-addressed store, hash-verified

23}
24
25fn direct(call: &BoundCall<'_>) -> DirectCall {
26 DirectCall {
27 caller: call.call.caller.clone(),
28 callee: call.symbol.id.clone(),
29 location: (&call.call.location).into(),
30 declaration: (&call.symbol.location).into(),
31 binding: call.reason.clone(),
32 arguments: call.call.arguments,
33 target_present: call.present,
34 visibility_compatible: call.accessible,
35 configuration_dependent: call.configuration_dependent,
36 }
37}
38
39fn compatible(call: &BoundCall<'_>) -> Option<bool> {
40 let arguments = call.call.arguments?;

Callers 3

analyze_semanticFunction · 0.70
upload_change_smartFunction · 0.50
upload_change_smartFunction · 0.50

Calls 1

cloneMethod · 0.45

Tested by 2

upload_change_smartFunction · 0.40
upload_change_smartFunction · 0.40