26 Commits

Author SHA1 Message Date
021a270e08 Fix for-loops without inits counting as branching
All checks were successful
continuous-integration/drone/push Build is passing
2021-03-07 18:14:17 +02:00
eb640e513a Initiate build
Some checks failed
continuous-integration/drone/push Build is failing
2021-03-07 17:35:46 +02:00
2ba019373e Docker and drone files 2021-03-07 16:26:08 +02:00
6e27e99735 Initial unit tests 2021-03-07 15:58:45 +02:00
326decd3de Unit tests for basic operation 2021-03-07 15:32:02 +02:00
7b294045bf Unit test framework integration
Along with conan
2021-03-07 14:31:43 +02:00
53c24c6d5e Separate op-finder into library and executable 2021-03-07 13:51:29 +02:00
83ca2deb0e Better branch detection model
For loops are now broken up into 2 branches: 1 (init) and 2 (cond + inc).
2021-03-07 13:02:14 +02:00
a23e5c66ab Add subscript operation recognition 2021-03-07 11:49:16 +02:00
7a852f8f94 Add function call recognition and pretty printing 2021-03-07 01:25:48 +02:00
34eba970cc Initial analyzer/summarizer commit 2021-03-04 02:37:12 +02:00
0509d250ab Better for-loop/fallthrough branch detection. 2021-03-04 02:36:12 +02:00
a0b9775f13 Make for-loop initializer detector use post traverse statement 2021-03-03 01:51:06 +02:00
5a2d5ed933 Loop initializations are excluded from eval 2021-03-03 01:27:14 +02:00
be4a71325d cmake profile update 2021-03-03 00:34:13 +02:00
16f4c85f6d AST Visitor based implementation of the operation finder 2021-03-03 00:34:06 +02:00
aff90d5a9d Refactor AST matcher to a separate class 2021-03-02 23:24:38 +02:00
0e7cf93c9b Refactor for later library use 2021-02-28 22:09:23 +02:00
b609c48bfe .idea configuration 2021-02-28 18:54:29 +02:00
cff605642f Add output serialization to JSON file. 2021-02-28 18:50:09 +02:00
375e3f9af6 Add nlohmann::json as a dependency. 2021-02-28 18:49:23 +02:00
6f3dce5972 Resolve macro expansions properly 2021-02-24 23:05:38 +02:00
2df47d4bc5 Fixes the compiler not acknowledging preprocessor and include statements. 2021-02-24 21:49:50 +02:00
Erki
e30d779c30 Testcases and executable rename 2021-02-24 17:45:27 +02:00
Erki
7849afc4dd First working version. 2021-02-21 17:42:42 +02:00
e60cd90d55 Initial commit 2021-02-18 16:51:38 +00:00