sparse - A semantic parser of source files

Property Value
Distribution openSUSE Tumbleweed
Repository openSUSE Oss all
Package filename sparse-20180324-1.5.i586.rpm
Package name sparse
Package version 20180324
Package release 1.5
Package architecture i586
Package type rpm
Category Development/Tools/Building
License MIT
Maintainer -
Download size 191.96 KB
Installed size 678.16 KB
Sparse is a semantic parser of source files: it's neither a compiler
(although it could be used as a front-end for one) nor is it a
preprocessor (although it contains as a part of it a preprocessing
It is meant to be a small - and simple - library.  Scanty and meager,
and partly because of that easy to use.  It has one mission in life:
create a semantic parse tree for some arbitrary user for further
analysis.  It's not a tokenizer, nor is it some generic context-free
parser.  In fact, context (semantics) is what it's all about - figuring
out not just what the grouping of tokens are, but what the _types_ are
that the grouping implies.
Sparse is primarily used in the development and debugging of the Linux


Package Version Architecture Repository
sparse-20180324-1.5.x86_64.rpm 20180324 x86_64 openSUSE Oss
sparse - - -


Name Value
/usr/bin/perl - - - -


Name Value
sparse = 20180324-1.5
sparse(x86-32) = 20180324-1.5


Type URL
Binary Package sparse-20180324-1.5.i586.rpm
Source Package sparse-20180324-1.5.src.rpm

Install Howto

Install sparse rpm package:

# zypper install sparse




2018-04-18 -
- Run spec-clener
- Build llvm based parts only on x86_64
2018-04-17 -
- Update to version 20180324:
* Sparse v0.5.2
2018-03-23 -
- Update to version 20180303:
* bump up version to 0.5.2-RC1
* By default disable the warning flag '-Wunknown-attribute'
* Update gcc attribute list
* sparse: ignore indirect_branch attribute
* add __builtin functions for isinf_sign, isfinite and isnan
* fix cgcc ELF version for ppc64/pcc64le
* Sparse preprocessing bug with zero-arg variadic macros
* gcc attr: add nonstring warn_if_not_aligned
* Sparse v0.5.1
* test-inspect: Detect gtk3 then gtk2 package
* Makefile: pass -Wno-vla to sparse while checking pre-process.c
* lib: workaround the 'redeclared with different type' errors
* Adding _Pragma()
* Adding gcc attribute no_gccisr
* cgcc: teach cgcc about arm
* cgcc: teach cgcc about ppc64[le]
* cgcc: teach cgcc about arm64
* add support for -fmemcpy-max-count
* add support for -Wmemcpy-max-count
* cgcc: filter-out '-fdump-linearize[=...]'
* teach sparse how to handle '-fmem-report'
* sparse: add support for _Static_assert
* constexpr: flag __builtin_bswap() as constexpr
* teach sparse about -Waddress
* make -Wbitwise operational again
- Removed patch parse-add-support-for-no_sanitize_-attributes.patch
(implemented upstream)
2017-04-26 -
- Update to version 20170216:
* kill_instruction() may need to be forced or not
* add killing of pure calls
* fix killing OP_CALL via pointers
* add killing of non-volatile loads
* add killing of stores
* fix killing of rewritten loads
* use kill_instruction() when killing an OP_PHI during CSE
* use kill_instruction() when killing any instructions during CSE
* fix OP_PHI usage in try_to_simplify_bb()
* simplify float-to-float casts that doesn't change size
- add: use-clang-for-sparse-llvm.patch
It fixes build on llvm 4.
2017-02-03 -
- Update to version 20161117 (boo#1023536):
* .gitignore: add cscope and Qt project files
* Add default case to switches on enum variables
* Fix size calculation of unsized bool array
* Do not drop 'nocast' modifier when taking the address.
* Fix warning compiling sparse-llvm
* sparse: add 'alloc_align' to the ignored attributes
* sparse: ignore __assume_aligned__ attribute
* sparse: add no_sanitize_address as an ignored attribute
* Handle SForced in storage_modifiers
* sparse: update __builtin_object_size() prototype
- Change _service to disabled to preven accidentally running it
- Switch back to naming based on date only
2016-08-04 -
- Switch to the chrisl's repo
- Update to version 0.5+git.20160223:
* Ignore pure attribute in assignement
* Add tests for the builtin INF and nan() functions.
* sparse/parse.c: ignore hotpatch attribute
* sparse, llvm: compile: skip function prototypes to avoid SIGSEGV
* validation/prototype: regression for skipping prototypes
* ptrlist: reading deleted items in NEXT_PTR_LIST()
* .gitignore: add cscope and Qt project files
* Add default case to switches on enum variables
* Fix size calculation of unsized bool array
* Do not drop 'nocast' modifier when taking the address.
- add parse-add-support-for-no_sanitize_-attributes.patch
2016-05-08 -
- Change versioning to include latest release - 0.5+git.20150208
- Enable sparse-llvm
- Update dependencies
- Small spec file cleanup with spec-cleaner
- Make building more verbose
2015-10-09 -
- update to 20150124
* Teach sparse about the __COUNTER__ predefined macro
* Make macro expanded string immutable
* s390x: add the proper defines for data types

See Also

Package Description
sparse-devel-20180324-1.5.i586.rpm Devel files for sparse
sparse-devel-20180324-1.5.x86_64.rpm Devel files for sparse
sparse-inspect-20180324-1.5.i586.rpm Inspect binary from sparse
sparse-inspect-20180324-1.5.x86_64.rpm Inspect binary from sparse
sparse-llvm-20180324-1.5.x86_64.rpm LLVM backed sparse
sparsehash-devel-2.0.3-2.1.i586.rpm Memory-efficient C++ hash_map implementation
sparsehash-devel-2.0.3-2.1.x86_64.rpm Memory-efficient C++ hash_map implementation
spatialindex-devel-1.8.5-1.12.i586.rpm Development files for spatialindex
spatialindex-devel-1.8.5-1.12.x86_64.rpm Development files for spatialindex
spawn-fcgi-1.6.4-1.12.i586.rpm Spawn FastCGI applications independent of the webserver
spawn-fcgi-1.6.4-1.12.x86_64.rpm Spawn FastCGI applications independent of the webserver
spax-1.6-12.1.i586.rpm Portable Archive Exchange
spax-1.6-12.1.x86_64.rpm Portable Archive Exchange
spdlog-devel-1.3.1-2.1.i586.rpm Development files for spdlog
spdlog-devel-1.3.1-2.1.x86_64.rpm Development files for spdlog