Frama-C API - Logic_preprocess

adds another preprocessing step in order to expand macros in annotations.

file suffix cpp file takes the file to preprocess, and the preprocessing directive, and returns the name of the file containing the completely preprocessed source. suffix will be appended to the name of intermediate files generated for preprocessing annotations (gcc preprocessing differs between .c and .cxx files)

  • raises Sys_error

    if the file cannot be opened.

val file : string -> (string -> string -> string) -> string -> Datatype.Filepath.t