use crate::error::Result;
use crate::scanner::CallGraph;
use crate::schema::ScanResult;
pub fn build(_result: &ScanResult) -> Result<CallGraph> {
let graph = CallGraph::new();
Ok(graph)
}
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn test_call_graph_build() {
let result = ScanResult::new();
let graph = build(&result);
assert!(graph.is_ok());
}
}