diff --git a/build/org.eclipse.cdt.managedbuilder.gnu.ui/plugin.properties b/build/org.eclipse.cdt.managedbuilder.gnu.ui/plugin.properties index 89db9c1428e..95a5857e601 100644 --- a/build/org.eclipse.cdt.managedbuilder.gnu.ui/plugin.properties +++ b/build/org.eclipse.cdt.managedbuilder.gnu.ui/plugin.properties @@ -151,6 +151,11 @@ Option.Posix.Debug.Max=Maximum (-g3) Option.Posix.Debug.Other=Other debugging flags Option.Posix.Debug.gprof=Generate gprof information (-pg) Option.Posix.Debug.prof=Generate prof information (-p) +Option.Posix.Debug.sanitaddress=Sanitize address (-fsanitize=address) +Option.Posix.Debug.sanitpointers=Sanitize pointer operations (-fsanitize=pointer-compare -fsanitize=pointer-subtract) +Option.Posix.Debug.sanitthread=Sanitize data race in multi-thread (-fsanitize=thread) +Option.Posix.Debug.sanitleak=Sanitize memory leak (-fsanitize=leak) +Option.Posix.Debug.sanitundefined=Sanitize undefined behavior (-fsanitize=undefined) Option.Posix.Warn.Syntax=Check syntax only (-fsyntax-only) Option.Posix.Warn.Pedandic=Pedantic (-pedantic) @@ -160,6 +165,26 @@ Option.Posix.Warn.allwarn=All warnings (-Wall) Option.Posix.Warn.extrawarn=Extra warnings (-Wextra) Option.Posix.Warn.toerrs=Warnings as errors (-Werror) Option.Posix.Warn.wconversion=Implicit conversion warnings (-Wconversion) +Option.Posix.Warn.wfloatequal=Direct float equal check (-Wfloat-equal) +Option.Posix.Warn.wcastalign=Pointer cast with different alignment (-Wcast-align) +Option.Posix.Warn.wcastqual=Removing type qualifier from cast target type (-Wcast-qual) +Option.Posix.Warn.wctordtorprivacy=All ctor and dtor private (-Wctor-dtor-privacy) +Option.Posix.Warn.wdisabledopt=Requested optimization pass is disabled (-Wdisabled-optimization) +Option.Posix.Warn.wlogicalop=Suspicious uses of logical operators (-Wlogical-op) +Option.Posix.Warn.wmissingdecl=Global function without previous declaration (-Wmissing-declarations) +Option.Posix.Warn.wmissingincdir=User-supplied include directory does not exist (-Wmissing-include-dirs) +Option.Posix.Warn.wnoexccept=Noexcept false but never throw exception (-Wnoexcept) +Option.Posix.Warn.woldstylecast=C-style cast used (-Wold-style-cast) +Option.Posix.Warn.woverloadedvirtual=Function hides virtual functions from base class (-Woverloaded-virtual) +Option.Posix.Warn.wredundantdecl=More than one declaration in the same scope (-Wredundant-decls) +Option.Posix.Warn.wshadow=Local symbol shadows upper scope symbol (-Wshadow) +Option.Posix.Warn.wsignconv=Implicit conversions that may change the sign (-Wsign-conversion) +Option.Posix.Warn.wsignpromo=Overload resolution promotes unsigned to signed type (-Wsign-promo) +Option.Posix.Warn.wstrictnullsent=Use of an uncasted NULL as sentinel (-Wstrict-null-sentinel) +Option.Posix.Warn.wswitchdef=A switch statement does not have a default case (-Wswitch-default) +Option.Posix.Warn.wundef=An undefined identifier is evaluated in an #if directive (-Wundef) +Option.Posix.Warn.weffcpp=Effective C++ guidelines (-Weffc++) +Option.Posix.Warn.wwritestring=Treat strings always as const (-Wwrite-strings) Option.Posix.Verbose=Verbose (-v) Option.OtherFlags=Other flags @@ -170,6 +195,8 @@ Option.codecovTip="Check this flag if you want to enable Profile Code Coverage i Option.Pthread=Support for pthread (-pthread) Option.PthreadCompilerTip="If you select this option, you probably want to select -pthread in the linker settings." Option.PthreadLinkerTip="If you select this option, you probably want to select -pthread in the compiler settings." +Option.Security=Hardening options (-fstack-protector-all -Wformat=2 -Wformat-security -Wstrict-overflow) +Option.Randomization=Address randomization (-fPIE) Option.Posix.Linker.NoStartFiles=Do not use standard start files (-nostartfiles) Option.Posix.Linker.NoDefLibs=Do not use default libraries (-nodefaultlibs) diff --git a/build/org.eclipse.cdt.managedbuilder.gnu.ui/plugin.xml b/build/org.eclipse.cdt.managedbuilder.gnu.ui/plugin.xml index c98c2c5cecd..03063d70a2a 100644 --- a/build/org.eclipse.cdt.managedbuilder.gnu.ui/plugin.xml +++ b/build/org.eclipse.cdt.managedbuilder.gnu.ui/plugin.xml @@ -1217,6 +1217,46 @@ tip="%Option.codecovTip" valueType="boolean"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +