51 Commits (b736f672e7b0a0a45de77e2e24ec9c5d5b3c9a22)

Author SHA1 Message Date
Josh Berdine c094a38d56 [IR] Simplify to single return id, with type
9 years ago
Cristiano Calcagno 4cee6907ec [backend] Remove the global reference DB.current_source and clean up the flow of information about the current source file.
9 years ago
Cristiano Calcagno 91d9cd83b5 Cleanup instruction names: use Load/Store instead of Letderef/Set.
9 years ago
Josh Berdine 25a52c7bbc Refactor operations on Exp.t in Sil to Exp
9 years ago
Josh Berdine 701eb20f83 Refactor Sil.exp to Exp.t
9 years ago
Josh Berdine 32146523ca Enable warning: Unexpected documentation comment
9 years ago
Josh Berdine ccd32690d7 Refactor Sil.call_flags into separate CallFlags module
9 years ago
Josh Berdine 9487cab145 Refactor Sil.const into separate Const module
9 years ago
Josh Berdine bbec166174 Refactor Sil.typ into separate Typ module
9 years ago
Josh Berdine a6a766b5f5 Refactor Sil.Int into separate IntLit module
9 years ago
Josh Berdine 229ca26c8b Optimize normalization, substitution, renaming of array types
9 years ago
Josh Berdine 3e2fa59262 Reimplement command line options
9 years ago
Sam Blackshear c92bbf362b removing need to pass around lists of temporary id's in the frontend
9 years ago
Cristiano Calcagno 054ad223a8 Fix control-flow graph shape when conditional is last instruction.
9 years ago
Josh Berdine e1020c8ebe Remove -open(Utils) compile flag hack
9 years ago
Cristiano Calcagno 509a666ee0 Refactor Sil.pvar into a separate module.
9 years ago
Cristiano Calcagno 53702e43e8 Created IR folder for the intermediate representaion files.
9 years ago
Josh Berdine 77b22ded03 Warn on unused identifiers
9 years ago
Josh Berdine 55cb61dbda Warn of unused open statements
9 years ago
Josh Berdine b155168083 Open Utils implicitly
9 years ago
Andrzej Kotulski 0a32c95f39 Fix build of llvm frontend
9 years ago
jrm 467fe385be Use the Mangled module to name the parameters in the procudure description instead of simple string
9 years ago
Cristiano Calcagno 03bca6734c fix a number of issues related to the treatment of global state in ondemand analysis
10 years ago
Jules Villard 7d0a7568f3 put Util.list_* functions into an IList module
10 years ago
Cristiano Calcagno f17f54939b checkers can now analyze a restricted subset of the procedures defined in a file
10 years ago
Cristiano Calcagno 1e6247c872 [frontend] generate fresh ids separately for different procedures in the cfg
10 years ago
Cristiano Calcagno ea7c13ff6c [backend][cleanup] Move proc_attributes to a separate module.
10 years ago
Cristiano Calcagno 6f65486942 [backend][cleanup] move fields in common to Cfg.Procdes and Specs.summary to proc_attributes.
10 years ago
Rohan Jacob-Rao 7f8282e046 Simplify generation of source file locations and attach to more SIL objects.
10 years ago
Rohan Jacob-Rao 6f51b8c54b Handle source location metadata generated by clang wrapper.
10 years ago
Rohan Jacob-Rao 37a4709a0f Translate call instruction and construct call graph.
10 years ago
Rohan Jacob-Rao 5e5fac5dbc Fix some indentation and a stray comment.
10 years ago
Rohan Jacob-Rao e127255f60 Renamed some types and variables for consistency.
10 years ago
Rohan Jacob-Rao f3afc6848b Open Utils module to avoid prefixing common list functions.
10 years ago
Rohan Jacob-Rao 96d5931744 Report source file name in error log.
10 years ago
Rohan Jacob-Rao f8ed9b91f5 Fill in source line numbers in SIL instructions.
10 years ago
Rohan Jacob-Rao a7da6066e5 Build maps of metadata variables.
10 years ago
Rohan Jacob-Rao f9939786fb Add function types.
10 years ago
Rohan Jacob-Rao 353f442efb Parse debug annotations and add them to AST.
10 years ago
Rohan Jacob-Rao b8b62cbcb0 Add optional alignment argument to alloca, load and store rules.
10 years ago
Rohan Jacob-Rao 07d1f8b821 Properly add local variable declarations to procedure.
10 years ago
Rohan Jacob-Rao 264a46f80c Initial attempt to translate alloca instruction.
10 years ago
Rohan Jacob-Rao 9ac4b11056 Translation of load instruction.
10 years ago
Rohan Jacob-Rao a20d178e7c Translation of basic store instruction.
10 years ago
Rohan Jacob-Rao 9b8cd7d582 Generate chain of CFG nodes for instructions in a function.
10 years ago
Rohan Jacob-Rao 795742a3a2 Clean up some comments.
10 years ago
Rohan Jacob-Rao d8a2ce2417 Generate CFG and call graph files.
10 years ago
Jules Villard bae8a4dced [whitespace] indent .ml files as well
10 years ago
Jules Villard 6911a1516c [whitespace] ocp-indent the code
10 years ago
Dulma Rodriguez d7655a087e [clang] Adding getters and setters for all the methods
10 years ago