summaryrefslogtreecommitdiffstatshomepage
AgeCommit message (Expand)AuthorFilesLines
2007-05-01Fix most -Wshadow warnings in Sparse.0.3Josh Triplett5-12/+10
2007-04-20handle label attributesChristopher Li2-1/+8
2007-04-20Fix the annotated inline call positionChristopher Li1-0/+4
2007-04-20linearize: DECLARE_ALLOCATOR for asm_constraint and asm_rulesJosh Triplett1-0/+3
2007-04-20simplify.c: Declare delete_pseudo_user_list_entry staticJosh Triplett1-1/+1
2007-04-20compile-i386.c: Declare regs_in_use staticJosh Triplett1-1/+1
2007-04-20Declare gcc_patchlevel extern in lib.hJosh Triplett1-1/+1
2007-04-20Declare do_error staticJosh Triplett1-1/+1
2007-04-20Remove unused variable "include" from lib.cJosh Triplett1-1/+0
2007-04-20Declare die_if_error extern in lib.hJosh Triplett1-0/+1
2007-04-20Teach cgcc about -Wtransparent-union and -Wno-transparent-unionJosh Triplett1-1/+1
2007-04-20Fix comment to reference #weak_define rather than #ifndef, matching codeJosh Triplett1-1/+1
2007-04-20Parse and ignore the __regparm__ attribute, just like regparm.Josh Triplett2-1/+3
2007-04-20Use noreturn on die() and error_die()Josh Triplett1-2/+4
2007-04-16Add test case for basic address_space annotations.Josh Triplett1-0/+8
2007-03-10Prevent potential NULL pointer dereference in expand_compareJosh Triplett1-10/+12
2007-03-10Remove stray space from expand_compare in expand.cJosh Triplett1-1/+1
2007-03-10Avoid returning an uninitialized pointer from dup_list of an empty listJosh Triplett1-1/+1
2007-03-10Fix two potential NULL pointer dereferences in dissect.cJosh Triplett1-2/+2
2007-03-09Use GCC format and sentinel attributes on appropriate functionsJosh Triplett5-10/+11
2007-03-09Fix typos in commentsJosh Triplett23-52/+51
2007-03-09Introduce keyword driven attribute parsingChristopher Li2-193/+265
2007-03-07Fix typo in symbol.h: s/keywrods/keywords/Josh Triplett1-1/+1
2007-03-07Introduce top level parsing for asm parsing.Josh Triplett2-2/+8
2007-03-07Introducing statement keywordsJosh Triplett2-38/+99
2007-03-07Free up some special bits in modifiers.Josh Triplett5-69/+135
2007-03-07Moving statement parsing into smaller functions.Josh Triplett1-93/+139
2007-03-02Add annotation for inline function call.Christopher Li7-15/+57
2007-02-28Add static to declarations in test cases, to remove unrelated warnings.Josh Triplett16-68/+68
2007-02-28Disable liveness "dead" instruction by default.Christopher Li4-2/+7
2007-02-27Move pkg-config file to lib, rather than shareJosh Triplett1-1/+1
2007-02-27Introduce expression_errorChristopher Li4-52/+67
2007-02-27Update the information in README about using the library.James Westby1-21/+8
2007-02-27dissect: simplify lookup_member()Oleg Nesterov1-12/+9
2007-02-26Coding style fix: use parentheses with sizeofJosh Triplett1-1/+1
2007-02-26Fix core dump on huge switchChristopher Li1-1/+4
2007-02-25Adding debug option for showing the linearized instruction.Christopher Li3-14/+55
2007-02-25Fix a bug that match_idents forget to end with NULLChristopher Li1-1/+1
2007-02-22dissect: fix multidimensional array initializerOleg Nesterov1-1/+4
2007-02-22Fix core dump on anonymous symbol.Christopher Li1-8/+10
2007-02-22dissect: cleanup report_implicit()Oleg Nesterov1-4/+6
2007-02-22Make the ptrlist using the sparse allocator.Christopher Li3-11/+17
2007-02-22Add test case for double semicolon in structure declaration.Josh Triplett1-0/+6
2007-02-22Fix double semicolon in struct declarationChristopher Li1-1/+2
2007-02-22Fix the segfault when initializer has unknown symbolChristopher Li1-1/+1
2007-02-21Add test case for structure attribute placement.Josh Triplett1-0/+3
2007-02-21Handle structure attributes between the structure keyword and the nameChristopher Li1-0/+2
2007-02-13Add test case for function pointer modifier inheritanceJosh Triplett1-0/+15
2007-02-13Bug fix in pointer modifier inheritance at function degeneration.Christopher Li2-5/+4
2007-01-27Fix mistaken comparison that becomes a no-op.James Westby1-1/+1
2007-01-27Marking anonymous string.Christopher Li2-1/+3
2007-01-27Another attempt to fix the attribute parsing.Christopher Li1-29/+56
2007-01-27Add missing #include "allocate.h" in linearize.h for DECLARE_ALLOCATOR.Josh Triplett1-0/+1
2007-01-27Coding style fix: in a pointer type, * goes with the name, not the type.Josh Triplett13-29/+29
2007-01-27Enhance debug information.Christopher Li2-45/+69
2007-01-27Allow more than one command line include file.Christopher Li2-20/+34
2007-01-16Update usage chain for dead branch instruction.Christopher Li1-1/+1
2007-01-16Add a return in the last case of a switch; redundant but less error-prone.Josh Triplett1-0/+1
2007-01-16Update usage chain for dead instructionsChristopher Li2-0/+6
2007-01-16Add instruction to pseudo user tracking.Christopher Li5-95/+125
2007-01-16Change the symbol access list to a pseudo listChristopher Li3-10/+10
2007-01-16Add ctags to .gitignoreJosh Triplett1-0/+1
2007-01-16Sparse-based Ctags implementationChristopher Li3-1/+217
2006-12-05Remove old SCCS target from Makefile.0.2Josh Triplett1-2/+0
2006-12-05implement #strong_undefOleg Nesterov1-6/+24
2006-12-05implement #strong_defineOleg Nesterov2-14/+21
2006-12-05prepare for #strong_{define,undef}Oleg Nesterov2-8/+12
2006-12-05fix 'weak' attribute lossOleg Nesterov2-3/+6
2006-12-05fix redefine of #weak_defineOleg Nesterov1-23/+32
2006-12-05kill NS_INVISIBLEMACRO, introduce NS_UNDEFOleg Nesterov3-11/+11
2006-12-05use lookup_macro() in handle_undef()Oleg Nesterov1-10/+5
2006-12-05Support -Wall flagPavel Roskin1-3/+27
2006-12-05Generate and install a pkg-config file. Add DESTDIR support to Makefile.Josh Triplett3-10/+29
2006-12-05Install static library and header filesJosh Triplett1-20/+17
2006-12-04Rename "check.c" to "sparse.c" to match program name; update .gitignoreJosh Triplett3-3/+3
2006-12-04Update the FAQ: add sparse website and gitweb, update git URL, remove old BK urlJosh Triplett1-4/+5
2006-12-04cleanup write to argument array hackChristopher Li13-77/+113
2006-12-04delay removing file scopeChristopher Li3-2/+9
2006-11-28Fix warning on self check.Christopher Li1-12/+16
2006-11-28trivial: more .gitignore stuffDamien Lespiau1-0/+12
2006-11-28trivial fix for seg fault.Christopher Li1-1/+1
2006-11-21double inclusionsNicolas Kaiser2-2/+0
2006-11-06Stop building and installing libsparse.so0.1Josh Triplett1-3/+3
2006-11-06Install cgcc on "make install", refactor installation codePavel Roskin1-2/+5
2006-11-06Rename test case bad-assignement.c to bad-assignment.c, fixing the typo.Josh Triplett1-0/+0
2006-11-06Typo fixesPavel Roskin9-10/+10
2006-11-06Add support for __builtin_strpbrk()Pavel Roskin1-0/+1
2006-11-06Compile sparse executable under it's own name, not as "check"Pavel Roskin1-8/+3
2006-10-24Merge branch 'context-test-cases-for-cond-lock' into joshJosh Triplett1-0/+20
2006-10-24Add test cases to validation/context.c for the Linux __cond_lock macroJosh Triplett1-0/+20
2006-10-24switch to hash-based get_one_special()Al Viro2-21/+75
2006-10-24added a bunch of gcc builtinsAl Viro1-0/+10
2006-10-17Recognize and ignore __alias__ and __visibility__Josh Triplett2-4/+6
2006-10-17Add type information to enum mismatch warningAdam DiCarlo1-1/+4
2006-10-16Merge branch 'Wcontext-default' into stagingJosh Triplett1-1/+1
2006-10-16merge branch 'no-semantic-h' into staging and fix conflictsJosh Triplett1-1/+1
2006-10-16merge branch 'more-warning-flags' into staging and fix conflictsJosh Triplett3-1/+4
2006-10-16Merge branch 'graph' into stagingJosh Triplett2-2/+4
2006-10-16Merge branch 'fix-defined-twice-error-on-empty-struct' into stagingJosh Triplett2-6/+47
2006-10-01Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds6-190/+324
2006-10-01Add warning message for naked do-whileLinus Torvalds3-0/+6
2006-10-01[PATCH] handle fouled-bitwiseAl Viro6-15/+134
2006-10-01[PATCH] saner recovery from endianness errors, part 1.Al Viro1-9/+17
2006-10-01[PATCH] merged compatible_..._binop() into single functionAl Viro1-79/+61
2006-10-01[PATCH] beginning of SYM_RESTRICT rewrite: restricted_binop_type()Al Viro1-42/+62
2006-10-01[PATCH] evaluate_compare() can just use evaluate_arith() for non-pointer casesAl Viro1-16/+1
2006-10-01[PATCH] introduce classify_type(), use it in obvious placesAl Viro1-49/+58
2006-10-01[PATCH] casting null pointer constant to non-zero address space is always OKAl Viro1-1/+12
2006-09-30[PATCH] add support for __builtin_choose_expr()Al Viro4-11/+73
2006-09-30[PATCH] fix duplicate initializer detectionAl Viro2-2/+14
2006-09-30[PATCH] fix for switch(bad_type) {...} segfaultAl Viro2-8/+15
2006-09-14Turn on -Wcontext by defaultJosh Triplett1-1/+1
2006-09-14bb_terminated: Use boundary values rather than specific opcodesJosh Triplett1-1/+2
2006-09-14graph: Show position in basic block nodesJosh Triplett1-1/+2
2006-09-14Add -Wno-uninitializedJosh Triplett3-1/+4
2006-09-14Fix incorrect symbol in comment on #endif for multiple-inclusion guardJosh Triplett1-1/+1
2006-09-13"Initializer entry defined twice" should not trigger with zero-size fieldsJosh Triplett2-6/+47
2006-09-03Make sparse warn about initializers that initialize the same member twiceLinus Torvalds1-20/+34
2006-08-30[PATCH] Parse and track multiple contexts by expressionJosh Triplett10-41/+98
2006-08-29[PATCH] Add -Wno-cast-truncateJosh Triplett3-0/+7
2006-08-29[PATCH] Add -Wno-enum-mismatchJosh Triplett3-0/+5
2006-08-29[PATCH] Add -Wno-address-spaceJosh Triplett3-1/+4
2006-08-29[PATCH] Add backend to graph basic blocksJosh Triplett3-1/+69
2006-08-29[PATCH] sparse_error() should not silence info() after sparse_error()sJosh Triplett1-3/+10
2006-08-29[PATCH] Use $(BINDIR) consistently in Makefile rather than $(PREFIX)/binJosh Triplett1-3/+3
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 Torvalds3-10/+12
2006-07-13[PATCH] Fix -WtypesignPavel Roskin1-1/+1
2006-07-08Avoid bogus gcc warnings about unused resultsLinus Torvalds1-1/+8
2006-07-08Fix dropped type information in "add_pseudo()".Linus Torvalds1-1/+1
2006-07-05[PATCH] Add test-dissect to .gitignoreJosh Triplett1-0/+1
2006-07-05[PATCH] Ignore no_instrument_function attributesJosh Triplett2-0/+4
2006-07-05[PATCH] Add test cases for __context__ statement and context attributeJosh Triplett1-0/+296
2006-07-05[PATCH] Handle EXPR_TYPE in copy_expressionJosh Triplett1-0/+1
2006-07-05[PATCH] Add support for GCC's __builtin_types_compatible_p extensionJosh Triplett2-2/+48
2006-06-10Fix NULL ptr dereference with bad typeLinus Torvalds1-1/+1
2006-05-09Merge branch 'init-braces-fix' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds2-8/+39
2006-05-09[PATCH] count_array_initializer() needs to know the type of elementAl Viro2-8/+39
2006-03-28[PATCH] Warning for mixing enums of different typesMorten Welinder2-7/+54
2006-03-28[PATCH] Attribute "sentinel"Morten Welinder2-0/+4
2006-01-08Fix incorrect cast simplification around '~' operationLinus Torvalds1-0/+2
2005-12-31Make local declarations be statements of their ownLinus Torvalds10-49/+88
2005-12-31[PATCH] fix sparse warningsAlecs King1-3/+2
2005-12-31[PATCH] fix a memory leak in pack_ptr_listAlecs King1-0/+1
2005-12-20[PATCH] dissect.cOleg Nesterov4-2/+716
2005-12-20[PATCH] introduce __sparse() functionOleg Nesterov2-2/+10
2005-12-20[PATCH] fix "wrong" NS_STRUCT symbol->posOleg Nesterov1-1/+4
2005-11-27[PATCH] eliminate elif_ignore, fix handling of unterminated #ifAl Viro2-57/+50
2005-11-27[PATCH] lookup_macro() should be staticAl Viro1-1/+1
2005-11-27[PATCH] check for !token in handle_preprocessor_line() should be eof_token(to...Al Viro1-1/+1
2005-11-27[PATCH] Doh...Al Viro1-0/+2
2005-11-27[PATCH] fixed stream->protect handlingAl Viro4-44/+58
2005-11-27[PATCH] fixed handling of out-of-place #elif/#else/#endifAl Viro1-10/+19
2005-11-27[PATCH] beginning of #include protection rewrite: cleanupAl Viro2-46/+32
2005-11-27[PATCH] fix places that didn't free preprocessor line for no reason.Al Viro2-30/+42
2005-11-27[PATCH] taking free_preprocessor_line() to caller of ->handler()Al Viro1-39/+40
2005-11-27[PATCH] remove bogus double warning on #define/#undef syntaxAl Viro2-2/+5
2005-11-27[PATCH] saner handling of #if[n]def syntax errorsAl Viro2-9/+35
2005-11-27[PATCH] remove true_nesting, turn if_nesting into a variableAl Viro1-13/+4
2005-11-27[PATCH] Fix member offset calculationLuc Van Oostenryck1-0/+1
2005-11-25[PATCH] avoid a crash caused by the phisrc OP_COPY with a NULL ->def.Luc Van Oostenryck1-1/+1
2005-11-25[PATCH] remove old commentLuc Van Oostenryck1-3/+0
2005-11-25[PATCH] unssa: update the liveness info.Luc Van Oostenryck1-0/+20
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] noderef is a qualifierAl Viro1-1/+1
2005-11-22[PATCH] shut up the bogus warnings about the #if'ed-out sectionAl Viro2-4/+28
2005-11-22[PATCH] no need to special-case comma after ##Al Viro1-2/+0
2005-11-22example: OP_COPY must destroy any old pseudo stateLinus Torvalds1-0/+24
2005-11-22Make the "example" compiler use the new unssa() phaseLinus Torvalds1-54/+14
2005-11-22[PATCH] Rewrite of unssa().Luc Van Oostenryck1-58/+62
2005-11-22[PATCH] fix of compound literals on inliningAl Viro2-0/+27
2005-11-22[PATCH] fix treatment of EXPR_COMMA by show_expression()Al Viro1-1/+8
2005-11-22[PATCH] new flag - Wone-bit-signed-bitfieldAl Viro3-1/+4
2005-11-22[PATCH] new flag - -WdeclAl Viro3-0/+5
2005-11-22[PATCH] missing builtin - memcmp()Al Viro1-0/+1
2005-11-22When taking the address of a symbol, fix up the pointer typeLinus Torvalds1-2/+4
2005-11-21[PATCH] Add a function to translate the SSA form back to normal form.Luc Van Oostenryck5-2/+204
2005-11-21[PATCH] Add a new opcode: OP_COPY.Luc Van Oostenryck2-0/+8
2005-11-20Simplify some more instructionsLinus Torvalds1-2/+28
2005-11-20Remove totally bogus phi-source liveness thing.Linus Torvalds1-13/+0
2005-11-19Evaluate expressions fully when doing type comparisons on case statementsLinus Torvalds1-6/+8
2005-11-16Fix up stupid thinko in K&R parameter parsing.Linus Torvalds1-22/+26
2005-11-16Re-name "error()" function to "sparse_error()"Linus Torvalds11-125/+125
2005-11-16[PATCH] skip already evaluated symbolsMitesh Shah2-1/+5
2005-11-16Fix K&R argument scopingLinus Torvalds1-1/+8
2005-11-16Integer promotion: leave sufficiently large integer types as themselvesLinus Torvalds1-4/+13
2005-11-03Make switch/case statements check type compatibilityLinus Torvalds1-5/+41
2005-11-03Cast all enum values to the final typeLinus Torvalds1-0/+22
2005-11-03Make sure we keep enum values in a sufficiently large type for parsingLinus Torvalds1-2/+17
2005-11-02Add ".gitignore" fileLinus Torvalds1-0/+17
2005-11-02Handle symbols from "-include" file tooLinus Torvalds8-13/+26
2005-09-30Make sure to be more careful about marking symbols assignedLinus Torvalds1-2/+35
2005-09-26Simplify constant array (or structure) dereferences furtherLinus Torvalds1-39/+46
2005-09-26Teach dereference expansion to look into constant array dereferencesLinus Torvalds1-12/+53
2005-09-24Do stupid and crappy CSE on casts.Linus Torvalds1-0/+25
2005-09-24[PATCH] handle -G x switch for mipsAtsushi Nemoto1-0/+9
2005-09-22Turn the "incorrect type" error back into a warningLinus Torvalds1-1/+1
2005-09-22[PATCH] replaced warnings with errors.Mitesh Shah9-120/+122
2005-09-15Add various declarations for more builtin functionsLinus Torvalds1-1/+10