Skip to content

Commit

Permalink
Don’t add any paths in this fn for Asio\join
Browse files Browse the repository at this point in the history
  • Loading branch information
muglug committed Jun 19, 2024
1 parent 348b5b9 commit 2d6b30f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/analyzer/expr/call/function_call_return_type_fetcher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -796,6 +796,10 @@ fn add_dataflow(
//let added_taints = Vec::new();
//let removed_taints = Vec::new();

if let FunctionLikeIdentifier::Function(StrId::ASIO_JOIN) = functionlike_id {
return stmt_type;
}

let data_flow_graph = &mut analysis_data.data_flow_graph;

if let GraphKind::WholeProgram(_) = &data_flow_graph.kind {
Expand Down

0 comments on commit 2d6b30f

Please sign in to comment.