SparrowHawk is an automated data-driven annotation system, which aims to annotate specific type of funciton from source code.
Currently, SparrowHawk is implemented to annotate memory allocation/deallocation functions and adopt a code analyzer to detect bugs.
We have implemented SparrowHawk with tensorflow in Python scripts, the source codes is available here: source code.
The dataset used in our evaluation is available here: Dataset