From: Markus Elfring <Markus.Elfring@web.de>
To: Julia Lawall <julia.lawall@lip6.fr>
Cc: Jia-Ju Bai <baijiaju1990@gmail.com>, Coccinelle <cocci@systeme.lip6.fr>
Subject: Re: [Cocci] Checking null pointer handling with SmPL
Date: Mon, 26 Aug 2019 19:26:28 +0200 [thread overview]
Message-ID: <17be79c5-00b6-33b0-730b-6b4b1d21f03b@web.de> (raw)
In-Reply-To: <alpine.DEB.2.21.1908251741460.2366@hadrien>
> I don't know what you are trying to do.
I am trying another software analysis approach out for the presentation
of null pointer usage.
Jia-Ju Bai contributed patches based on analysis results from
the tool “STCheck” by the OSLAB group of the Tsinghua University.
Some corresponding improvements are in the review queue.
A specific script is available also for the semantic patch language.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/scripts/coccinelle/null/deref_null.cocci?id=a55aa89aab90fae7c815b0551b07be37db359d76
Can this SmPL script become able to point remaining update candidates out
in similar ways?
Examples for further considerations:
* fs: xfs: Fix possible null-pointer dereferences in xchk_da_btree_block_check_sibling()
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/fs/xfs/scrub/dabtree.c?id=afa1d96d1430c2138c545fb76e6dcb21222098d4
https://lore.kernel.org/lkml/20190729032401.28081-1-baijiaju1990@gmail.com/
https://lore.kernel.org/patchwork/patch/1106628/
https://lkml.org/lkml/2019/7/28/344
* scsi: libiscsi: Fix possible null-pointer dereferences in iscsi_conn_get_addr_param()
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/scsi/libiscsi.c?id=a55aa89aab90fae7c815b0551b07be37db359d76#n3455
https://lore.kernel.org/lkml/20190729091339.30815-1-baijiaju1990@gmail.com/
https://lore.kernel.org/patchwork/patch/1106725/
https://lkml.org/lkml/2019/7/29/228
Regards,
Markus
_______________________________________________
Cocci mailing list
Cocci@systeme.lip6.fr
https://systeme.lip6.fr/mailman/listinfo/cocci
next prev parent reply other threads:[~2019-08-26 17:26 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-24 17:33 [Cocci] Challenges around asterisk usage in SmPL code Markus Elfring
[not found] ` <2AE15A09-F219-43DC-81A9-73C13CFC0753@lip6.fr>
2019-08-25 7:40 ` Markus Elfring
2019-08-25 7:48 ` Julia Lawall
2019-08-25 8:13 ` Markus Elfring
2019-08-25 8:30 ` [Cocci] Searching for unary operations with SmPL Markus Elfring
2019-08-25 9:11 ` [Cocci] Challenges around asterisk usage in SmPL code Markus Elfring
2019-08-25 9:45 ` Julia Lawall
2019-08-25 10:22 ` Markus Elfring
2019-08-25 13:13 ` [Cocci] Checking information from “--parse-cocci” Markus Elfring
[not found] ` <alpine.DEB.2.21.1908252118210.2801@hadrien>
2019-08-25 13:45 ` Markus Elfring
[not found] ` <alpine.DEB.2.21.1908252209170.3506@hadrien>
2019-08-25 14:19 ` Markus Elfring
2019-08-25 17:34 ` [Cocci] Challenges around asterisk usage in SmPL code Markus Elfring
2019-08-26 17:26 ` Markus Elfring [this message]
2019-08-27 0:58 ` [Cocci] Checking null pointer handling with SmPL Julia Lawall
2019-08-28 11:50 ` Markus Elfring
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=17be79c5-00b6-33b0-730b-6b4b1d21f03b@web.de \
--to=markus.elfring@web.de \
--cc=baijiaju1990@gmail.com \
--cc=cocci@systeme.lip6.fr \
--cc=julia.lawall@lip6.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).