public RawCallGraph readSingleFunctionDiffCallGraph(final DiffRequestMessage data) {
    final long functionAddress = data.getFunctionAddress(side);
    final List<RawFunction> nodes = new ArrayList<>();
    final List<RawCall> edges = new ArrayList<>();
    final BinExport2.CallGraph callGraph = binexport.getCallGraph();
    for (final BinExport2.CallGraph.Vertex vertex : callGraph.getVertexList()) {
      if (functionAddress == vertex.getAddress()) {
        final String name = getFunctionName(vertex);
        nodes.add(
            new RawFunction(
                new CAddress(vertex.getAddress()),
                name,
                vertexToFunctionType(vertex.getType()),
                side));
        return new RawCallGraph(nodes, edges, side);
      }
    }
    throw new RuntimeException("Function flow graph not found.");
  }
Reads data from BinExport2 files and renders disassemblies.
java/ui/src/main/java/com/google/security/zynamics/bindiff/io/BinExport2Reader.java