Skip to content

question on how to fix incorrect output from "full analysis". #3363

Discussion options

You must be logged in to vote

This is a result of the analysis being too conservative about preserving possible arguments. Essentially, if any callee goes down a path that might observe lots of register state (setjmp, or some panic/assertion failed paths) would propagate the accesses of possible parameters up through all of the callers, recursively and to an extent that harmed analysis.

As of 3.2.3895-dev I've implemented two new sets of heuristics that are geared towards very aggressively rejecting suspect parameters from being propagated into a function's parameter list, as well as being much more selective about inferring arguments at call sites where we take the heuristic path (e.g. no type information for the cal…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by plafosse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants