aboutsummaryrefslogtreecommitdiffstats
path: root/lib.c
AgeCommit message (Expand)AuthorFilesLines
2016-11-17sparse: update __builtin_object_size() prototypeHEADmasterLance Richardson1-1/+1
2015-03-13Add a define for __builtin_ms_va_copy()Michael Stefaniuc1-0/+1
2015-03-13Add the __builtin functions needed for INFINITY and nan().Michael Stefaniuc1-0/+11
2014-10-10Add support for multiarch system header filesRamsay Jones1-1/+17
2014-10-10don't call isdigit/tolower with a char argumentRamsay Jones1-2/+2
2014-10-10rename -Werror to -Wsparse-errorChristopher Li1-4/+4
2014-09-28sparse: Make -Werror turn warnigns into errorsThomas Graf1-20/+29
2014-06-29Minor clean up for option handlingChristopher Li1-20/+24
2014-06-28lib.c: skip --param parametersAndy Shevchenko1-2/+22
2014-02-27sparse: Allow override of sizeof(bool) warningJoe Perches1-0/+2
2014-01-29Define __CHAR_BIT__Emilio G. Cota1-0/+1
2013-12-21sparse: add built-in atomic memory access identifiersKim Phillips1-2/+19
2013-11-29sparse: Relicense under the MIT licenseFranz Schrober1-1/+17
2013-07-25sparse: add __builtin_va_arg_pack() and __builtin_va_arg_pack_len()Jeff Layton1-0/+2
2013-04-21Define __SIZEOF_POINTER__Josh Triplett1-0/+1
2013-04-19Warn about initialization of a char array with a too long constant C string.Masatake YAMATO1-0/+2
2013-04-08Proper variable length array warningChristopher Li1-2/+4
2013-03-06There's no current way to know the versionJoe Perches1-0/+25
2013-02-19sparse: add built-in byte swap identifiersKim Phillips1-0/+5
2013-02-13Merge git://git.kernel.org/pub/scm/linux/kernel/git/viro/sparse into margeChristopher Li1-19/+6
2013-02-12fix handling of -includeAl Viro1-19/+6
2013-02-10remove weak define x86_64Christopher Li1-2/+0
2012-03-23Adding default for m64/m32 handleChristopher Li1-2/+41
2012-03-23Add __builtin_stpcpy, __sync_synchronize, __sync_bool_compare_and_swap to dec...Frederic Crozat1-0/+3
2011-05-31Remove set but not used variableChristopher Li1-3/+0
2011-01-03use ARRAY_SIZE() when possibleNamhyung Kim1-4/+4
2010-10-08parser: add Blackfin gcc infoMike Frysinger1-0/+9
2010-07-19skip may_alias and declare builtin_fabsMorten Welinder1-0/+1
2010-07-13parser: define __builtin_unreachableJiri Slaby1-0/+1
2010-03-28New attribute designated_init: mark a struct as requiring designated initJosh Triplett1-0/+2
2010-03-28Rename -Wall to Wsparse-all, so it doesn't get turned on unintentionallyJosh Triplett1-1/+1
2010-03-28Handle __builtin_ms_va_list.Michael Stefaniuc1-0/+2
2009-08-21sparse: Add GCC pre-defined macros for user-spacev0.4.2-rc1Pekka Enberg1-0/+8
2009-08-03Add c{l,t}z{,l,ll}, ffsl{,l}, popcountll and floating point comparison builtins.Blue Swirl1-3/+22
2009-07-18Turn off '-Wtransparent-union' by defaultLinus Torvalds1-1/+1
2009-07-17refactor handle_switch_fHannes Eder1-11/+20
2009-01-02Add -ftabstop=WIDTHHannes Eder1-1/+14
2008-12-18Rename dirafter to idirafter.Alexey Zaytsev1-10/+5
2008-12-18Set gcc include path at runtime.Alexey Zaytsev1-3/+20
2008-12-18Handle missing argument to -D.Alexey Zaytsev1-0/+4
2008-12-18Mark handle_switch as static and don't export it from lib.hAlexey Zaytsev1-1/+1
2008-12-18Handle a terminal -o option properly.Alexey Zaytsev1-4/+7
2008-12-18Remove pre_bufferChristopher Li1-9/+14
2008-04-21Add -Wno-declaration-after-statementGeoff Johnstone1-0/+24
2008-04-05Add builtin functions for use with __FORTIFY_SOURCEGeoff Johnstone1-0/+16
2008-04-05Add support for GCC's -std=... and -ansi command line options.Geoff Johnstone1-0/+75
2007-09-16Added a prototype for mempcpy().Tilman Sauerbeck1-0/+1
2007-08-31Rename Wundefined_preprocessor to Wundef to match the command-line argumentJosh Triplett1-2/+2
2007-08-31Rename Wcast_to_address_space to Wcast_to_as to match the command-line argumentJosh Triplett1-2/+2
2007-08-30Sort warning options in lib.c and lib.hJosh Triplett1-26/+26
2007-08-22add __builtin_labs()Randy Dunlap1-0/+1
2007-07-28[PATCH] add __builtin_strlen()Al Viro1-0/+1
2007-07-27Turn off -Wdo-while by default.Josh Triplett1-1/+1
2007-07-13add sparse_keep_tokens api to lib.hRob Taylor1-1/+12
2007-07-08make size_t better approximate the realityAl Viro1-1/+9
2007-06-26[PATCH] implement __builtin_offsetof()Al Viro1-1/+0
2007-06-25[PATCH] warn on return <void expression>;Al Viro1-0/+2
2007-06-18[PATCH] rewrite of initializer handlingAl Viro1-0/+2
2007-06-13Fix -E handlingAlexey Dobriyan1-1/+2
2007-06-13Turn on -Wdecl by default.Josh Triplett1-1/+1
2007-05-22Add __builtin_strcat and __builtin_strncat.Josh Triplett1-0/+2
2007-05-22Add -Wno-non-pointer-null to turn off warning about using a plain integer as ...Josh Triplett1-0/+2
2007-05-22Add -Wno-old-initializer to turn off warnings about non-C99 struct initializersJosh Triplett1-0/+2
2007-05-20__DATE__ & __TIME expansionDamien Lespiau1-2/+0
2007-04-20Declare do_error staticJosh Triplett1-1/+1
2007-04-20Remove unused variable "include" from lib.cJosh Triplett1-1/+0
2007-04-20Fix comment to reference #weak_define rather than #ifndef, matching codeJosh Triplett1-1/+1
2007-03-09Fix typos in commentsJosh Triplett1-3/+3
2007-02-28Disable liveness "dead" instruction by default.Christopher Li1-1/+3
2007-02-27Introduce expression_errorChristopher Li1-4/+18
2007-02-25Adding debug option for showing the linearized instruction.Christopher Li1-13/+48
2007-01-27Coding style fix: in a pointer type, * goes with the name, not the type.Josh Triplett1-1/+1
2007-01-27Allow more than one command line include file.Christopher Li1-20/+25
2006-12-05Support -Wall flagPavel Roskin1-3/+27
2006-12-04cleanup write to argument array hackChristopher Li1-22/+6
2006-12-04delay removing file scopeChristopher Li1-2/+1
2006-11-06Add support for __builtin_strpbrk()Pavel Roskin1-0/+1
2006-10-24added a bunch of gcc builtinsAl Viro1-0/+10
2006-10-16Merge branch 'Wcontext-default' into stagingJosh Triplett1-1/+1
2006-10-16merge branch 'more-warning-flags' into staging and fix conflictsJosh Triplett1-0/+2
2006-10-01Add warning message for naked do-whileLinus Torvalds1-0/+2
2006-09-14Turn on -Wcontext by defaultJosh Triplett1-1/+1
2006-09-14Add -Wno-uninitializedJosh Triplett1-0/+2
2006-08-29[PATCH] Add -Wno-cast-truncateJosh Triplett1-0/+2
2006-08-29[PATCH] Add -Wno-enum-mismatchJosh Triplett1-0/+2
2006-08-29[PATCH] Add -Wno-address-spaceJosh Triplett1-0/+2
2006-08-29[PATCH] sparse_error() should not silence info() after sparse_error()sJosh Triplett1-3/+10
2006-08-29[PATCH] Add support for GCC's __builtin_va_copyJosh Triplett1-0/+1
2006-08-29[PATCH] Add support for GCC's __builtin_extract_return_addr function.Josh Triplett1-0/+1
2006-07-31First cut at something that approaches a sane -WshadowLinus Torvalds1-0/+2
2005-12-20[PATCH] introduce __sparse() functionOleg Nesterov1-2/+9
2005-11-25[PATCH] Made __GNUC__ et.al. weak defines, so that we could override them wit...Al Viro1-3/+3
2005-11-22[PATCH] new flag - Wone-bit-signed-bitfieldAl Viro1-0/+2
2005-11-22[PATCH] new flag - -WdeclAl Viro1-0/+2
2005-11-22[PATCH] missing builtin - memcmp()Al Viro1-0/+1
2005-11-16Re-name "error()" function to "sparse_error()"Linus Torvalds1-3/+3
2005-11-02Handle symbols from "-include" file tooLinus Torvalds1-5/+7
2005-09-24[PATCH] handle -G x switch for mipsAtsushi Nemoto1-0/+9
2005-09-22[PATCH] replaced warnings with errors.Mitesh Shah1-3/+5
2005-09-15Add various declarations for more builtin functionsLinus Torvalds1-1/+10
2005-09-15Make sure that when we define __OPTIMIZE[_SIZE]_ we define it to somethingLinus Torvalds1-2/+2
2005-09-14[PATCH] add support for -imacrosSam Ravnborg1-0/+9
2005-09-10[PATCH] sparse: add __GNUC_PATCHLEVEL__Alexey Dobriyan1-0/+3
2005-09-09[PATCH] More address space checkingviro@ZenIV.linux.org.uk1-0/+2
2005-08-15Add __OPTIMIZE[_SIZE]__ predefinesLinus Torvalds1-1/+21
2005-08-03Update the calling interface to "sparse()".Linus Torvalds1-28/+40
2005-08-03Get closer to parsing multiple files correctly.Linus Torvalds1-24/+63
2005-08-02Make "sparse()" handle multiple input files on the command lineLinus Torvalds1-48/+65
2005-08-02Start work on proper scoping with multiple filesLinus Torvalds1-0/+1
2005-07-03Add "__builtin_offsetof()" to work with newer gcc'sLinus Torvalds1-0/+1
2005-06-20[PATCH] __attribute__ handling for attributes used in the userlandPeter Jones1-0/+2
2005-06-19Default to reporting the same GNU C version as the host compilerLinus Torvalds1-2/+8
2005-06-04[LIB] allow changing the gcc version in the definesArnaldo Carvalho de Melo1-2/+4
2005-04-07[PATCH] static declearChristopher Li1-14/+14
2005-04-07Move the ptrlist macros out of the sparse "lib.[ch]" files.Linus Torvalds1-212/+0
2005-04-07Shut up informational messages once we've hit the maximumLinus Torvalds1-8/+11
2005-04-07[PATCH] make include path handling gcc compatibleSam Ravnborg1-11/+13
2005-04-07[PATCH] sparse: fails to locate stdarg.hSam Ravnborg1-0/+6
2005-04-07Add option "-Wptr-subtraction-blows" to warn about expensiveLinus Torvalds1-0/+2
2005-04-07When removing/replacing pointer list entries, return the finalLinus Torvalds1-3/+6
2005-04-07Support tagged add_ptr_listLinus Torvalds1-1/+3
2005-04-07Beginning infrastructure for tagged lists.Linus Torvalds1-0/+3
2005-04-07Add "stream_name()" helper function, and use it.Linus Torvalds1-1/+1
2005-04-07Remove stat-based file identity tests.Linus Torvalds1-1/+0
2005-04-07Allow -vv as shorthand for "-v -v" aka "very verbose".Linus Torvalds1-1/+3
2005-04-07Fix list_ptr split operation.Linus Torvalds1-5/+8
2005-04-07Fix pointer list "pack" operation.Linus Torvalds1-0/+1
2005-04-07Add INSERT_CURRENT() macro to insert a new entry at theLinus Torvalds1-0/+14
2005-04-07Split out the blob allocator from lib.c into allocate.c.Linus Torvalds1-144/+1
2005-04-07Allow multiple levels of verbosity, and print out the _really_Linus Torvalds1-1/+1
2005-04-07Oops. Fix silly typo. Small but deadly - it broke the counted ptr replace.Linus Torvalds1-1/+1
2005-04-07Remember to pack the pointer list after deleting entries from it.Linus Torvalds1-1/+3
2005-04-07Make list-ptr remove/replace take a count.Linus Torvalds1-10/+9
2005-04-07Who says you can't do type-safe function-overloading in C?Linus Torvalds1-2/+2
2005-04-07helper function cleanup: separate delete/replace list entries.Linus Torvalds1-6/+19
2005-04-07Add "optimize" flag, and collect the flags into lib.c.Linus Torvalds1-1/+12
2005-04-07Remove "struct phi", replace with instruction that generates a pseudo.Linus Torvalds1-2/+0
2005-04-07Move all of the setup code to one single "sparse()" helper function.Linus Torvalds1-0/+89
2005-04-07Add pack_ptr_list() helper function.Linus Torvalds1-0/+37
2005-04-07Update copyright notices a bit.Linus Torvalds1-1/+1
2005-04-07Remove the horrid iterators.Linus Torvalds1-166/+0
2005-04-07Since we only use the freelist for small alignedLinus Torvalds1-2/+6
2005-04-07Add support for freeing constant-sized allocations.Linus Torvalds1-0/+26
2005-04-07When adding a list entry, we sometimes want theLinus Torvalds1-2/+5
2005-04-07Make our "__builtin_va_arg()" thing a bit closer to real.Linus Torvalds1-1/+1
2005-04-07Add "linearize_ptr_list()" to turn a pointer list into an array.Linus Torvalds1-0/+29
2005-04-07Use "weak_define" for __SIZE_TYPE__ and __STDC__Linus Torvalds1-3/+2
2005-04-07[PATCH] __builtin_frame_addressfzago@systemfabricworks.com1-1/+2
2005-04-07Make context count warning be controllable with "-Wcontext" flag.Linus Torvalds1-0/+2
2005-04-07Get rid of the old "iterate()" interfaces.Linus Torvalds1-19/+0
2005-04-07test-linearize.c:welinder@troll.com1-1/+18
2005-04-07Handle __func__, __FUNCTION__ and __PRETTY_FUNCTION__ the sameLinus Torvalds1-5/+0
2005-04-07lib.c:welinder@troll.com1-2/+12
2005-04-07Add __FUNCTION__ and __PRETTY_FUNCTION__ defines.welinder@troll.com1-1/+6
2005-04-07Handle predefines for integer types, floating point types,welinder@troll.com1-6/+0
2005-04-07Rename -Wundefined-preprocessor-symbol to -Wundef to matchwelinder@troll.com1-1/+1
2005-04-07[PATCH] #if expression handling cleanupsAlexander Viro1-0/+2
2005-04-07Add system-specific compatibility functions to makeLinus Torvalds1-19/+0
2005-04-07Fix handling if "-I" switch.Linus Torvalds1-7/+23
2005-04-07Make blob_alloc and blob_free functions in order to hide caddr_twelinder@troll.com1-2/+16
2005-04-07Add "-Wtypesign" command line option.Linus Torvalds1-1/+3
2005-04-07Many files:welinder@darter.rentec.com1-3/+22
2005-04-07[PATCH] Use more simple/fast iteratorsChristopher Li1-7/+5
2005-04-07Make END_FOR_EACH_PTR[_REVERSE] take the ptr name as an argument.Linus Torvalds1-1/+1
2005-04-07[PATCH] __attribute__((bitwise))Alexander Viro1-1/+3
2005-04-07Make "-nostdinc" command line flag actually work.Linus Torvalds1-4/+28
2005-04-07Handle __func__ correctly as a variable and not a #define.welinder@troll.com1-1/+0
2005-04-07Introduce -Wdefault-bitfield-sign and only warn when asked for.welinder@troll.com1-0/+35
2005-04-07Cset exclude: welinder@troll.com|ChangeSet|20040812190944|57264welinder@troll.com1-67/+6
2005-04-07lib.c:welinder@troll.com1-1/+9
2005-04-07lib.c:welinder@troll.com1-5/+26
2005-04-07check.c:welinder@troll.com1-0/+5
2005-04-07lib.c:welinder@troll.com1-1/+4
2005-04-07lib.c, lib.h:welinder@troll.com1-0/+32
2005-04-07pre-process.c, lib.c:welinder@troll.com1-1/+1
2005-04-07lib.c:welinder@troll.com1-0/+11
2005-04-07Teach linearizer about computed goto's.Linus Torvalds1-0/+3
2005-04-07[PATCH] "-o foo" and "-I foo"terra@gnome.org1-2/+17
2005-04-07The value of a token that gets defined on the command lineLinus Torvalds1-1/+1
2005-04-07Use "-O" to compile sparse, to make the compiler warn more.Linus Torvalds1-1/+1
2005-04-07Make sure data allocations are properly aligned.Linus Torvalds1-2/+1
2005-04-07Remove __i386__ define, since people (including me) are usingLinus Torvalds1-1/+0
2005-04-07Remove empty definition of "cond_syscall()".Linus Torvalds1-1/+0
2005-04-07Add "info()" for informational messages, to go together with aLinus Torvalds1-4/+12
2005-04-07Make sparse sources themselves be sparse-clean.Linus Torvalds1-1/+1
2005-04-07[PATCH] more fun with sparseAlexander Viro1-0/+1
2005-04-07Now that BITS_IN_XXXX aren't defined contstants any more,Linus Torvalds1-4/+4
2005-04-07Add handling for "-m64" to tell us to use 64-bit mode.Linus Torvalds1-0/+13
2005-04-07[PATCH] linearization bug fix and bitfield handlingChristopher Li1-4/+6
2005-04-07[PATCH] More linearizion funChristopher Li1-0/+2
2005-04-07[PATCH] condition branch simplificationChristopher Li1-0/+204
2005-04-07Add new IL for expression linearization.Linus Torvalds1-0/+2
2005-04-07Fix "add_list_pointer()" to keep things in proper order.Linus Torvalds1-6/+7
2005-04-07Oops. Fix name clash by renaming the new "copy_ptr_list" to beLinus Torvalds1-1/+1
2005-04-07This add a linearization phase. It's not even close to doneLinus Torvalds1-0/+12
2005-04-07o move the definition of __CHECKER__ only to check.cArnaldo Carvalho de Melo1-1/+0
2005-04-07o split handle_switch, to make it more lib friendlyArnaldo Carvalho de Melo1-39/+61
2005-04-07o remove extern __builtin declarations from create_builtin_streamArnaldo Carvalho de Melo1-2/+0
2005-04-07[PATCH] free_ptr_list() lib functionJeff Garzik1-0/+17
2005-04-07o create create_builtin_streamArnaldo Carvalho de Melo1-0/+20