@eagleoutice/flowr - v2.17.16
    Preparing search index...

    Variable CALL_CONTRACTSConst

    CALL_CONTRACTS: {
        createSearch: () => FlowrSearchBuilderOut<
            "all",
            ["filter"],
            ParentInformation,
            "with",
        >;
        info: {
            certainty: BestEffort;
            defaultConfig: () => {};
            description: "Finds calls that hand a function a value its contract rules out, or leave out an argument it needs, so they fail whenever they run.";
            name: "Call Contracts";
            tags: readonly [Bug, Robustness];
        };
        prettyPrint: {
            full: (r: CallContractsResult, metadata: unknown) => string;
            query: (r: CallContractsResult, metadata: unknown) => string;
        };
        processSearchResult: (
            elements: FlowrSearchElements<
                ParentInformation,
                FlowrSearchElement<(...)>[],
            >,
            _config: MergeableRecord,
            data: ReadonlyFlowrAnalysisProvider<KnownParser>,
        ) => Promise<{ ".meta": { checkedCalls: ... }; results: (...)[] }>;
    } = ...

    Finds calls that hand a function a value its contract rules out, like combn(4, -1) for m >= 0, or that leave out an argument it needs: such a call fails whenever it runs. The conditions of the guards of the callee are taken to the call as the guard analysis takes them to a caller, and are only reported if they fail for every value the arguments may hold.

    Type Declaration