clang  6.0.0svn
Public Member Functions | List of all members
clang::analyze_format_string::FormatStringHandler Class Reference

#include "clang/Analysis/Analyses/FormatString.h"

Public Member Functions

 FormatStringHandler ()
 
virtual ~FormatStringHandler ()
 
virtual void HandleNullChar (const char *nullCharacter)
 
virtual void HandlePosition (const char *startPos, unsigned posLen)
 
virtual void HandleInvalidPosition (const char *startPos, unsigned posLen, PositionContext p)
 
virtual void HandleZeroPosition (const char *startPos, unsigned posLen)
 
virtual void HandleIncompleteSpecifier (const char *startSpecifier, unsigned specifierLen)
 
virtual void HandleEmptyObjCModifierFlag (const char *startFlags, unsigned flagsLen)
 
virtual void HandleInvalidObjCModifierFlag (const char *startFlag, unsigned flagLen)
 
virtual void HandleObjCFlagsWithNonObjCConversion (const char *flagsStart, const char *flagsEnd, const char *conversionPosition)
 
virtual bool HandleInvalidPrintfConversionSpecifier (const analyze_printf::PrintfSpecifier &FS, const char *startSpecifier, unsigned specifierLen)
 
virtual bool HandlePrintfSpecifier (const analyze_printf::PrintfSpecifier &FS, const char *startSpecifier, unsigned specifierLen)
 
virtual bool HandleInvalidScanfConversionSpecifier (const analyze_scanf::ScanfSpecifier &FS, const char *startSpecifier, unsigned specifierLen)
 
virtual bool HandleScanfSpecifier (const analyze_scanf::ScanfSpecifier &FS, const char *startSpecifier, unsigned specifierLen)
 
virtual void HandleIncompleteScanList (const char *start, const char *end)
 

Detailed Description

Definition at line 624 of file FormatString.h.

Constructor & Destructor Documentation

◆ FormatStringHandler()

clang::analyze_format_string::FormatStringHandler::FormatStringHandler ( )
inline

Definition at line 626 of file FormatString.h.

◆ ~FormatStringHandler()

FormatStringHandler::~FormatStringHandler ( )
virtual

Definition at line 30 of file FormatString.cpp.

Member Function Documentation

◆ HandleEmptyObjCModifierFlag()

virtual void clang::analyze_format_string::FormatStringHandler::HandleEmptyObjCModifierFlag ( const char *  startFlags,
unsigned  flagsLen 
)
inlinevirtual

Definition at line 641 of file FormatString.h.

◆ HandleIncompleteScanList()

virtual void clang::analyze_format_string::FormatStringHandler::HandleIncompleteScanList ( const char *  start,
const char *  end 
)
inlinevirtual

◆ HandleIncompleteSpecifier()

virtual void clang::analyze_format_string::FormatStringHandler::HandleIncompleteSpecifier ( const char *  startSpecifier,
unsigned  specifierLen 
)
inlinevirtual

Definition at line 638 of file FormatString.h.

◆ HandleInvalidObjCModifierFlag()

virtual void clang::analyze_format_string::FormatStringHandler::HandleInvalidObjCModifierFlag ( const char *  startFlag,
unsigned  flagLen 
)
inlinevirtual

Definition at line 644 of file FormatString.h.

◆ HandleInvalidPosition()

virtual void clang::analyze_format_string::FormatStringHandler::HandleInvalidPosition ( const char *  startPos,
unsigned  posLen,
PositionContext  p 
)
inlinevirtual

Definition at line 633 of file FormatString.h.

◆ HandleInvalidPrintfConversionSpecifier()

virtual bool clang::analyze_format_string::FormatStringHandler::HandleInvalidPrintfConversionSpecifier ( const analyze_printf::PrintfSpecifier FS,
const char *  startSpecifier,
unsigned  specifierLen 
)
inlinevirtual

Definition at line 652 of file FormatString.h.

◆ HandleInvalidScanfConversionSpecifier()

virtual bool clang::analyze_format_string::FormatStringHandler::HandleInvalidScanfConversionSpecifier ( const analyze_scanf::ScanfSpecifier FS,
const char *  startSpecifier,
unsigned  specifierLen 
)
inlinevirtual

Definition at line 667 of file FormatString.h.

◆ HandleNullChar()

virtual void clang::analyze_format_string::FormatStringHandler::HandleNullChar ( const char *  nullCharacter)
inlinevirtual

Definition at line 629 of file FormatString.h.

◆ HandleObjCFlagsWithNonObjCConversion()

virtual void clang::analyze_format_string::FormatStringHandler::HandleObjCFlagsWithNonObjCConversion ( const char *  flagsStart,
const char *  flagsEnd,
const char *  conversionPosition 
)
inlinevirtual

Definition at line 647 of file FormatString.h.

◆ HandlePosition()

virtual void clang::analyze_format_string::FormatStringHandler::HandlePosition ( const char *  startPos,
unsigned  posLen 
)
inlinevirtual

Definition at line 631 of file FormatString.h.

◆ HandlePrintfSpecifier()

virtual bool clang::analyze_format_string::FormatStringHandler::HandlePrintfSpecifier ( const analyze_printf::PrintfSpecifier FS,
const char *  startSpecifier,
unsigned  specifierLen 
)
inlinevirtual

Definition at line 659 of file FormatString.h.

◆ HandleScanfSpecifier()

virtual bool clang::analyze_format_string::FormatStringHandler::HandleScanfSpecifier ( const analyze_scanf::ScanfSpecifier FS,
const char *  startSpecifier,
unsigned  specifierLen 
)
inlinevirtual

Definition at line 674 of file FormatString.h.

◆ HandleZeroPosition()

virtual void clang::analyze_format_string::FormatStringHandler::HandleZeroPosition ( const char *  startPos,
unsigned  posLen 
)
inlinevirtual

Definition at line 636 of file FormatString.h.


The documentation for this class was generated from the following files: