Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-06-23 | Fix some issues in TRUTH_ANDIF_EXPR analysis. | Andrei Karas | 1 | -0/+6 | |
2015-06-23 | Combine analysis code for IF_STMT and COND_EXPR into same function. | Andrei Karas | 3 | -95/+38 | |
2015-06-23 | Use same code in IF_STMT and COND_EXPR. | Andrei Karas | 2 | -38/+41 | |
2015-06-23 | Fix some scope issues. Can be tested with future test 21. | Andrei Karas | 2 | -2/+10 | |
2015-06-22 | skip nop node in DECL_EXPR. | Andrei Karas | 1 | -1/+1 | |
2015-06-22 | Add test 20. | Andrei Karas | 6 | -1/+1426 | |
2015-06-22 | Add test 19. | Andrei Karas | 5 | -0/+1028 | |
2015-06-22 | Fix issue in related variables checks. | Andrei Karas | 4 | -0/+43 | |
2015-06-22 | Add support for related checks for "linked" variables. | Andrei Karas | 5 | -49/+72 | |
Example: void func(int *ptr1) { int *ptr2 = ptr1; if (!ptr1) return; *ptr2 = 10; } here will be no warning. | |||||
2015-06-22 | Remove possible variables for check for parents if need. | Andrei Karas | 1 | -1/+5 | |
Also dont report about null pointer with empty variable name. This can happend in autogenerated pseudo functions. | |||||
2015-06-22 | Update test results. | Andrei Karas | 4 | -63/+51 | |
2015-06-22 | Add test 19. | Andrei Karas | 6 | -1/+656 | |
2015-06-22 | In places where searched function parameters nodes (PARM_DECL) | Andrei Karas | 2 | -5/+5 | |
also search for varibles (VAR_DECL). | |||||
2015-06-22 | Add analysis for code like "type *var = parm" | Andrei Karas | 8 | -10/+103 | |
Now var can be checked for nulls too. Also extend debug logging. | |||||
2015-06-22 | Dont report null pointer if variable was directly used. | Andrei Karas | 1 | -1/+1 | |
For example: int *ptr2 = ptr1; | |||||
2015-06-22 | Fix formatting a bit in readmes. | Andrei Karas | 2 | -2/+4 | |
2015-06-22 | Fix tables in readme again. | Andrei Karas | 2 | -2/+4 | |
2015-06-22 | Try to fix tables in readmes. | Andrei Karas | 2 | -20/+20 | |
2015-06-22 | Add advanced usage into readmes. | Andrei Karas | 2 | -0/+36 | |
2015-06-22 | Add AST links into readme files. | Andrei Karas | 2 | -2/+2 | |
2015-06-22 | Add real world examples into readmes.v1.0 | Andrei Karas | 2 | -0/+7 | |
2015-06-22 | Fix gcc link in README files. | Andrei Karas | 2 | -2/+2 | |
2015-06-22 | Fix links in README files. | Andrei Karas | 2 | -5/+5 | |
2015-06-22 | Add readme files. | Andrei Karas | 2 | -0/+58 | |
2015-06-22 | Use in tests so files from root directory. | Andrei Karas | 2 | -5/+3 | |
2015-06-22 | Add links to so libs in root directory. | Andrei Karas | 2 | -0/+2 | |
2015-06-22 | Add examples. | Andrei Karas | 4 | -0/+288 | |
2015-06-22 | Use by default plugin command detectnullpointers. | Andrei Karas | 1 | -1/+1 | |
2015-06-21 | Add test 18. | Andrei Karas | 6 | -1/+925 | |
2015-06-21 | Fix nested IF_STMT nodes analysis. | Andrei Karas | 1 | -1/+2 | |
2015-06-21 | Fix nested COND_EXPR nodes analysis. | Andrei Karas | 2 | -3/+3 | |
2015-06-21 | Add test 17. | Andrei Karas | 6 | -1/+828 | |
2015-06-21 | Add more fields in debug logging. | Andrei Karas | 1 | -0/+14 | |
2015-06-21 | Add basic analysis for node COMPOUND_EXPR. | Andrei Karas | 4 | -1/+45 | |
2015-06-21 | Update test results. | Andrei Karas | 2 | -121/+79 | |
2015-06-21 | Fix infinite loop in BLOCK node. | Andrei Karas | 1 | -2/+4 | |
2015-06-21 | Add protection against infinite loop. | Andrei Karas | 1 | -0/+12 | |
2015-06-21 | Add test16. | Andrei Karas | 6 | -1/+1144 | |
2015-06-21 | Add test15. | Andrei Karas | 6 | -1/+3309 | |
2015-06-21 | Fix COND_EXPR if in both branches return happend. | Andrei Karas | 2 | -1/+3 | |
2015-06-21 | Add test14. | Andrei Karas | 6 | -1/+974 | |
2015-06-21 | fix COND_EXPR for C code. | Andrei Karas | 1 | -0/+37 | |
In C code COND_EXPR used like IF_STMT in C++. | |||||
2015-06-21 | Add test13. | Andrei Karas | 7 | -1/+952 | |
2015-06-21 | Return most nodes support for C plugin. | Andrei Karas | 12 | -19/+63 | |
For workaround building issues was added file custom/fixed-cp-tree.h | |||||
2015-06-21 | Update tests for support separate C and C++ plugins. | Andrei Karas | 18 | -523/+523 | |
2015-06-21 | Add support for build separate plugin for C and C++. | Andrei Karas | 19 | -3/+48 | |
2015-06-20 | Add test 12. | Andrei Karas | 6 | -1/+1665 | |
2015-06-20 | Add analysis for node COND_EXPR. | Andrei Karas | 3 | -0/+65 | |
This allow check expressions like: expr ? expr : expr | |||||
2015-06-20 | Update test 11. Update test results. | Andrei Karas | 7 | -79/+1141 | |
2015-06-20 | Add support for not ignore already checked vars in complex expressions. | Andrei Karas | 1 | -0/+4 | |
Example: if (!a && a->b) if (a || a->b) |