summaryrefslogtreecommitdiff
path: root/src/sp_var_value.c (follow)
AgeCommit message (Collapse)Author
2022-05-03Constify a bit sp_var_value.cjvoisin
2021-07-22Sprinkle some constjvoisin
2021-04-26Make it easier to figure functions parameters' namesJulien Voisin
2021-01-05Fix a superfluous `const`jvoisin
2021-01-04Add a check on parameters namesxXx-caillou-xXx
Snuffleupagus will now warn when a particular function doesn't have the expected parameters configuration-wise.
2021-01-03Don't fallback to local variables when unable to get function parameterSylvain "caillou" Lefevre
2020-12-31Enabled matching on local var in php8jvoisin
PHP8 failed hard when it couldn't find the local variable we're looking for. using ZEND_FETCH_CLASS_SILENT makes it silent.
2018-10-06Bump coverage againjvoisin
2018-07-13Yet an other pass of clang-formatjvoisin
2018-07-13Fix various possible integer overflowsxXx-caillou-xXx
2018-07-13Massively optimize how rules are handledxXx-caillou-xXx
This commit does a lot of things: - Use hashtables instead of lists to store the rules - Rules that can be applied at launch time won't be tried at runtime - Improve feedback when writing nonsensical rules - Make intensive use of `zend_string` instead of `char*`
2018-02-27Improve the Readme filejvoisin
2018-02-06Make our API consistentjvoisin
2018-01-26Fix a segfault in `get_local_var` (#138)Thibault "bui" Koechlin
This commit fixes a segfault where 'get_local_var' would fail if no functions where called yet (`symtable` will be NULL)
2018-01-15Fix some memleaksjvoisin
2018-01-15Minor code cleanupjvoisin
2018-01-12Refactor to improve the scopingjvoisin
2017-12-28Clang-format passThibault "bui" Koechlin
- `clang-format --style="{BasedOnStyle: google, SortIncludes: false}" -i snuffleu*.c sp_*.c sp_*.h` - Update the documentation accordingly
2017-12-21Refactor a bitslefevre
2017-12-20Better parsing of the rulesxXx-caillou-xXx
Thanks to this huge commit from @xXx-caillou-xXx, we can now write amazingly flexible rules.