Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-11-02 | Add a rule to the calloc semantic patch for argument ordering. | Mansour Moufid | |
2014-11-02 | The second argument to tor_calloc should be a constant. | Mansour Moufid | |
Just like the conventional calloc. | |||
2014-11-02 | Refactor the calloc semantic patch. | Mansour Moufid | |
This does not change its effects. | |||
2014-09-16 | Add coccinelle script to remove pointless callocs | Nick Mathewson | |
2014-09-16 | Add script to detect and remove unCish malloc-then-cast pattern | Nick Mathewson | |
Also, apply it. | |||
2014-08-13 | Add a simple coccinelle script to replace malloc->calloc | Nick Mathewson | |
Coccinelle is a semantic patching tool that can automatically change C code via semantic patching. This script also replaces realloc with reallocarray as appropriate. |