1
0
forked from pool/smatch

35 Commits

Author SHA256 Message Date
62bcd375e0 Merge pull request 'Set the smatch_data path during build' (#1) from benoit_monin/d-t-s-smatch:factory into factory
Reviewed-on: #1
2025-08-20 19:06:03 +02:00
Benoît Monin
bf8b294361 Set the smatch_data path during build
So smatch can run without complaining about missing files.
2025-08-20 17:57:27 +02:00
Jiri Slaby
e3e5fb6266 up to 1.73+20240222 2025-05-30 10:47:53 +02:00
2da7d7cb23 Accepting request 1153111 from devel:tools:statica
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1153111
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/smatch?expand=0&rev=12
2024-02-29 20:49:59 +00:00
9126f0db02 up to 1.73+20240222
OBS-URL: https://build.opensuse.org/package/show/devel:tools:statica/smatch?expand=0&rev=29
2024-02-22 07:54:26 +00:00
beb8c1f780 Accepting request 1093222 from devel:tools:statica
- Update to version 1.73+20230517:
  * checking_for_null_instead_of_err_ptr: use smatch_kernel_err_ptr.c
  * kernel_err_ptr: hack around for_each_gpio_desc_with_flag()
  * scripts/generisize.pl: generisize function names
  * kernel.unreachable.turn_off: add some kunit stuff
  * preempt_info: add __bit_spin_unlock()
  * check_list/err_ptr: register the err_ptr code
  * debug/units: hook in the __smatch_units() code
  * validation/sm_err_ptr: make IS_ERR() an inline function
  * dereference: find more cross function dereferences
  * err_ptr_deref: re-write the check
  * kernel_err_ptr: track error pointers in the database
  * kernel.no_return_funcs: update to the latest linux-next functions
  * kernel.no_return_funcs: add kunit_do_failed_assertion()
  * comparison: store modified comparisons
  * units: move checks to check_ file and hide under the --spammy option
  * and much more

OBS-URL: https://build.opensuse.org/request/show/1093222
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/smatch?expand=0&rev=11
2023-06-16 14:54:02 +00:00
16dee5677f up to 1.73+20230517
OBS-URL: https://build.opensuse.org/package/show/devel:tools:statica/smatch?expand=0&rev=27
2023-06-15 07:13:18 +00:00
1c7c3a27cf Accepting request 975989 from devel:tools:statica
- Update to version 1.72+20220506:
  * logical_instead_of_bitwise: add some more warnings
  * uninitialized: fix checking for fake calls and don't save global states
  * assigned_expr: don't modify the expression until later
  * rosenberg,assigned_expr: don't store pointless global data
  * uninitialized: fix false positive "passing uninitialized" warnings
  * data/kernel.ignore_uninitialized_param: add more functions
  * free: don't warn about %p printing of freed pointers
  * free: do not warn when freed pointers are part of a condition
  * function_hooks: export is_condition_call()
  * comparison: fix copying comparisons
- switch to obs_scm
- switch versioning to include version number
- add
  * Makefile-allow-CFLAGS-to-be-redefined.patch (fix build)
  * Makefile-use-CFLAGS-when-linking.patch (improve build)
  * check_free-declare-is_percent_p_print-before-use.patch (fix warnings)

OBS-URL: https://build.opensuse.org/request/show/975989
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/smatch?expand=0&rev=10
2022-05-10 13:12:13 +00:00
f324341441 up to 1.72+20220506
OBS-URL: https://build.opensuse.org/package/show/devel:tools:statica/smatch?expand=0&rev=25
2022-05-09 09:26:49 +00:00
60539c9065 up to 1.72+20220506
OBS-URL: https://build.opensuse.org/package/show/devel:tools:statica/smatch?expand=0&rev=24
2022-05-09 09:21:01 +00:00
74ffa95c22 Accepting request 812809 from devel:tools:statica
- Update to version 20200608+git.e92d9e00:
  * db: Fix buffer overflow in state_name_to_param_name()
  * atomic_inc_dec: remove an unused parameter
  * atomic_inc_dec: don't warn about impossible paths
  * atomic_inc_dec: ignore local static variables
  * atomic_inc_dec: unknown values are not failures
  * atomic_inc_dec: don't record increment/decrement if they are reset
  * atomic_inc_dec: record potential decrements as a decrement
  * atomic_inc_dec: don't store information in impossible paths
  * atomic_inc_dec: add more functions
  * atomic_inc_dec: don't double set states to &inc/&dec
  * and much more...

OBS-URL: https://build.opensuse.org/request/show/812809
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/smatch?expand=0&rev=9
2020-07-02 22:05:12 +00:00
67ad645775 up to 20200608+git.e92d9e00
OBS-URL: https://build.opensuse.org/package/show/devel:tools:statica/smatch?expand=0&rev=22
2020-06-09 07:54:20 +00:00
d0e70ed656 Accepting request 770522 from devel:tools:statica
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/770522
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/smatch?expand=0&rev=8
2020-02-07 14:52:40 +00:00
8fcaf3fdd0 up to 20200127+git.2f013029
OBS-URL: https://build.opensuse.org/package/show/devel:tools:statica/smatch?expand=0&rev=20
2020-01-30 10:35:23 +00:00
2724564167 Accepting request 745111 from devel:tools:statica
- Update to version 20191028:
  * rosenberg: initialization and struct assignments don't fill holes
  * rosenberg: add snd_timer_append_to_tqueue() and __send_signal()
  * rosenberg: add skb_put() to the list of copy functions
  * extra: it's not a dereference if we're just getting the address
  * helper: improve getting_address()
  * parse_call_math: don't return constant allocation sizes
  * extra: limit get_other_name_sym_helper() some more
  * hooks: add EXPR_HOOK_AFTER
  * Makefile: rebuild smatch_*.o files when smatch.h changes
  * Makefile: build quietly again
  * Makefile: organize the smatch_*.o objects better
  * Makefile: allow CC to be a shell variable
  * function_ptr: save pointers to pointers
  * function_ptrs: save function return assignments
  * ranges: silence Smatch warning (uninitialized variable)
  * db: fix an off by one bug
  * check_deref/deref_check: warn about likely/unlikely() conditions as well
  * readl_infinite_loops: silence a GCC warning by adding a cast
  * integer_overflow: fix uninitialized variable bug
  * ranges: add casts to silence compile warnings
  * and many more...

OBS-URL: https://build.opensuse.org/request/show/745111
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/smatch?expand=0&rev=7
2019-11-04 16:16:10 +00:00
23d0927995 build only smatch
OBS-URL: https://build.opensuse.org/package/show/devel:tools:statica/smatch?expand=0&rev=18
2019-11-04 08:29:22 +00:00
ad161fa01d verbose build
OBS-URL: https://build.opensuse.org/package/show/devel:tools:statica/smatch?expand=0&rev=17
2019-11-04 08:15:03 +00:00
f8bdc92633 up to 20191028
OBS-URL: https://build.opensuse.org/package/show/devel:tools:statica/smatch?expand=0&rev=16
2019-11-04 08:05:30 +00:00
db462b16cf Accepting request 673295 from devel:tools:statica
- Update to version 20181114:
  * trinity: Proof of concept to auto-generate trinity spec files
  * user_data: rename to smatch_kernel_user_data.c
  * assigned_expr: rename to smatch_assigned_expr.c
  * smatch: make the --enable/disable options take strings
  * clock() is already defined on illumos, so rename the local function.
  * Ignore "#ident" as found in some old sources.
  * Use $(CFLAGS) when compiling smatch.c itself.
  * smatch_nul_terminated: fix compile
  * untracked_param: fix a NULL dereference
  * uninitialized: fix a crashing bug parsing "return (foo);"
  * nul_terminator: track when strings have a NUL terminator
  * and many more small fixes and updates

OBS-URL: https://build.opensuse.org/request/show/673295
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/smatch?expand=0&rev=6
2019-02-13 09:00:49 +00:00
e3304abf37 OBS-URL: https://build.opensuse.org/package/show/devel:tools:statica/smatch?expand=0&rev=14 2019-02-11 11:20:35 +00:00
a1ebf72d6e Accepting request 651120 from home:pluskalm:branches:devel:tools:statica
- Update to version 20181114:
  * trinity: Proof of concept to auto-generate trinity spec files
  * user_data: rename to smatch_kernel_user_data.c
  * assigned_expr: rename to smatch_assigned_expr.c
  * smatch: make the --enable/disable options take strings
  * clock() is already defined on illumos, so rename the local function.
  * Ignore "#ident" as found in some old sources.
  * Use $(CFLAGS) when compiling smatch.c itself.
  * smatch_nul_terminated: fix compile
  * untracked_param: fix a NULL dereference
  * uninitialized: fix a crashing bug parsing "return (foo);"
  * nul_terminator: track when strings have a NUL terminator
  * user_data2: fix a type issue in caller_info
  * user_data: integers can't be dereferenced
  * comparison: make a buffer larger to make GCC happy
  * data_source: track assignments better
  * extra: prevent a divide by zero
  * modification_hooks: use the DB for frob(&foo);
  * sval: introduce sval_binop_overflows_no_sign()
  * extra: undo bogus unop changes
  * array_values: fix up and support two dimensional local arrays
  * param_set: don't record a param_set for p++ changes
  * function_hooks: re-hack around moving the fake parameter assignment
  * array_values: store array values of struct member arrays
  * function_hooks: hack around fallout from moving the assignment to the end
  * comparison: don't return invalid params in get_mask_comparison()
  * db: don't print "failed to open" warnings...
  * param_set: remove some dead code
  * mtag: temporarily disable generating mtag for kmalloc()
  * expressions: don't crash on invalid code

OBS-URL: https://build.opensuse.org/request/show/651120
OBS-URL: https://build.opensuse.org/package/show/devel:tools:statica/smatch?expand=0&rev=13
2018-11-23 13:07:13 +00:00
b001c0849d Accepting request 592538 from devel:tools:statica
OBS-URL: https://build.opensuse.org/request/show/592538
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/smatch?expand=0&rev=5
2018-03-31 13:37:09 +00:00
Martin Pluskal
476a2b3c5a Accepting request 590789 from home:dsterba:branches:devel:tools:statica
- Update to version 20180125

OBS-URL: https://build.opensuse.org/request/show/590789
OBS-URL: https://build.opensuse.org/package/show/devel:tools:statica/smatch?expand=0&rev=11
2018-03-30 09:46:56 +00:00
cc29cd4472 Accepting request 419775 from devel:tools:statica
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/419775
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/smatch?expand=0&rev=4
2016-08-18 07:18:15 +00:00
53f87dce11 update to 20160715
OBS-URL: https://build.opensuse.org/package/show/devel:tools:statica/smatch?expand=0&rev=9
2016-08-10 14:02:34 +00:00
0732a4f4fe Accepting request 369090 from devel:tools:statica
update to 20160307

OBS-URL: https://build.opensuse.org/request/show/369090
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/smatch?expand=0&rev=3
2016-03-16 09:34:26 +00:00
b9f339e572 update to 20160307
OBS-URL: https://build.opensuse.org/package/show/devel:tools:statica/smatch?expand=0&rev=8
2016-03-09 14:11:43 +00:00
a17638253f Accepting request 349106 from devel:tools:statica
update to 20151208

OBS-URL: https://build.opensuse.org/request/show/349106
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/smatch?expand=0&rev=2
2015-12-21 11:04:25 +00:00
65bb1ef3f1 update to 20151208
OBS-URL: https://build.opensuse.org/package/show/devel:tools:statica/smatch?expand=0&rev=7
2015-12-16 07:51:50 +00:00
46b303c7e4 Accepting request 337421 from devel:tools:statica
add smatch

OBS-URL: https://build.opensuse.org/request/show/337421
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/smatch?expand=0&rev=1
2015-11-11 09:29:45 +00:00
a45a5d26f7 cleanup & fix
OBS-URL: https://build.opensuse.org/package/show/devel:tools:statica/smatch?expand=0&rev=5
2015-10-09 11:15:35 +00:00
a632f92f2b cleanup
OBS-URL: https://build.opensuse.org/package/show/devel:tools:statica/smatch?expand=0&rev=4
2015-10-09 10:28:15 +00:00
95316b91d0 update and cleanup
OBS-URL: https://build.opensuse.org/package/show/devel:tools:statica/smatch?expand=0&rev=3
2015-10-09 10:21:30 +00:00
4ff90ccc43 format_spec_file
OBS-URL: https://build.opensuse.org/package/show/devel:tools:statica/smatch?expand=0&rev=2
2015-10-09 10:07:51 +00:00
e475591208 Accepting request 337408 from home:morbidrsa
OBS-URL: https://build.opensuse.org/request/show/337408
OBS-URL: https://build.opensuse.org/package/show/devel:tools:statica/smatch?expand=0&rev=1
2015-10-09 10:00:20 +00:00