The OCaml source files for infer live here. The Makefile is responsible for building them, together with jbuild.in.