tokstyle-0.0.9: TokTok C code style checker
Safe HaskellNone
LanguageHaskell2010

Tokstyle.Analysis.SecurityRank.Annotations

Synopsis

Documentation

type AnnotationMap = Map Text FunctionAnnotation Source #

Maps a function or struct member name to its full annotation.

type FunctionAnnotation = Map Text SecurityRank Source #

Maps a parameter name (or "return", "sink", "sink_max") to its rank.

parseAllAnnotations :: [(FilePath, [Node (Lexeme Text)])] -> AnnotationMap Source #

The main entry point. Traverses all translation units and returns the complete annotation map.