summaryrefslogtreecommitdiff
path: root/src/sp_disabled_functions.c (follow)
AgeCommit message (Collapse)Author
2018-02-06Make our API consistentjvoisin
2018-02-05Massive simplification of functions hookingjvoisin
2018-02-05Compatibility layer for pcre2jvoisin
This should close #129
2018-01-26Replace two `goto` with `break` instead.jvoisin
2018-01-18Improve the way we're dealing with filtering on parameter positionsjvoisin
This should close #127
2018-01-17Bump a bit the coveragejvoisin
2018-01-17Remove useless "head" member in our linked lists implementationsimon MAGNIN-FEYSOT
This should close #85
2018-01-12Fix a memory leakjvoisin
2018-01-12Minor factorization and symbol exposure reductionjvoisin
2018-01-12Minor refactoringjvoisin
2018-01-10Rework the priority of bl/wl in evaljvoisin
2018-01-10Eval whitelistjvoisin
Implement whitelist in eval
2018-01-08Hopefully fix a crashjvoisin
This should close #115
2018-01-05Fix a bypass in our eval blacklistjvoisin
2018-01-04Eval blacklistjvoisin
Add support for eval filtering, only blacklist for now
2018-01-03Remove some dead codejvoisin
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-28Implement hooking on user-defined functions return valuesjvoisin
This should close #99, thanks to @blotus for the implementation idea!
2017-12-21Rename sp_node_t to sp_list_nodejvoisin
Since we now have sp_list and sp_tree, it makes sense to specify that nodes are only for lists.
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.
2017-11-29Add a comment, and improve a bit the performances wrt. vpatchjvoisin
Move the cheapest tests above the expensive ones
2017-11-29Refactoring (#79)jvoisin
Refactoring of should_disable().
2017-11-29Fix segfault in should_drop_on_ret xXx-caillou-xXx
This commit is almost the same than 8df77884f38e7a7334b56aafe2f441567f175af8
2017-11-29Implement eval hookingjvoisin
It's not possible to hook the `eval` builtin like other functions.
2017-11-29Fix segfault in sp_disabled_functions.cxXx-caillou-xXx
There was an off-by-one in `should_disable`, effectively smashing the last byte of the stack canary. This was discovered while building the package for Alpine Linux. Kudos to their hardened toolchain!
2017-10-26Remove an arbitrary limitationjvoisin
2017-10-24Remove the `enable` member from the disable function structurejvoisin
Also add some more tests
2017-10-23Implement the .line filterjvoisin
Close #48
2017-10-18Add some debugjvoisin
2017-10-18Fix a possible mistakejvoisin
2017-10-18Implement match on arguments positionjvoisin
2017-10-18.drop() is not a `nop` anymoreThibault "bui" Koechlin
`.drop()` is now baillout out, instead of nop'ing the call. This closes #13
2017-10-13Rename a confusing structure memberjvoisin
`regexp` is more confusing than `value_r`
2017-10-13Fix some pedantic warningsjvoisin
2017-10-12Fix minor gcc warnings with experimental optionsjvoisin
`CFLAGS='-Wnull-dereference -Wlogical-op -Wshadow -Wjump-misses-init' make clean coverage`
2017-10-11Hopefully fix an unreproductible NULL-deref in regexp matchingjvoisin
Reported by @fr33tux
2017-10-11Cache checksum calculation for the current filejvoisin
Close #34
2017-10-10Bump coverage, and fix a segfault on trace matchingjvoisin
2017-10-09Implement matching on the calltrace (#17)jvoisin
* Implement matching on the calltrace
2017-09-21Add travisjvoisin
2017-09-20Initial importSebastien Blot