3.8 Encoding Notes in a string format

If the notes are being recorded in a string format, via the note-formt=string command line options, then the strings take the form of a two letter prefix, followed by a colon and then the value associated with the note. If the note is likely to trigger a failure result in annocheck then the filename of the source file will follow, separated by a space. If the note is specific to a single function then the function name will follow on afterwards, again separated by a space.

The currently accepted two letter prefixes are:

AV

Records the version of the plugin.

BV

Records the version of the compiler that built the plugin.

CF

Records the setting of any control flow security options.

FL

Records the level of the -D_FORTIFY_LEVEL option.

FP

Records the use of the frame pointer.

GA

Records the setting of the -D_GLIBCCXX_ASSERTIONS command line option.

GW

Records the GOW values.

PF

Records any profiling options.

PI

Records any PIC settings.

PN

Records the name of the plugin.

RV

Records the version of the compiler that is running the plugin.

SC

Records the setting of any stack clash protection.

SE

Records the use of short enums.

SP

Records the use of an stack protector options.

aA

Records the ABI selected. (AArch64 only).

aB

Records the use of Branch Target Identification. (Aarch64 only).

iS

Records the use of the stack realign option. (x86 only).

pA

Records the ABI selected. (PowerPC only).

xA

Records the ABI selected. (x86_64 only).

Each value represents a setting of an internal gcc flag variable. The exact meaning of the values is specific to gcc, but any non-zero number means that the feature has been enabled in some way.