Ground-truth facts expected from a generated program.
Summary
Functions
Normalizes compatible fact input into the core %ProgramFacts.Facts{} shape.
Projects core oracle facts into the typed manifest facts payload.
Types
@type branch() :: map()
@type call_edge() :: {function_id(), function_id()}
@type data_flow() :: map()
@type effect() :: {function_id(), atom()}
@type function_id() :: {module(), atom(), non_neg_integer()}
@type location() :: map()
@type t() :: %ProgramFacts.Facts{ architecture: map(), branches: [branch()], call_edges: [call_edge()], call_paths: [[function_id()]], data_flows: [data_flow()], effects: [effect()], features: MapSet.t(atom()), functions: [function_id()], locations: %{optional(atom()) => [location()]}, modules: [module()] }