On 5/2/23 18:34, Dan Carpenter wrote:
On Sun, Apr 23, 2023 at 10:33:29AM +0800, Dongliang Mu wrote:
BTW, do you have any plans to improve the code readability, directory
orgranization, documentation etc. of Smatch? It's hard even for senior
students to start with.
I have created some documentation. Read the following blogs in order:
https://staticthinking.wordpress.com/2023/04/24/smatch-data-types/
https://staticthinking.wordpress.com/2023/04/25/first-smatch-check/
https://staticthinking.wordpress.com/2023/04/25/merging-states/
https://staticthinking.wordpress.com/2023/05/02/the-cross-function-db/
https://staticthinking.wordpress.com/2023/05/02/the-param-key-api/
https://staticthinking.wordpress.com/2023/05/02/smatch-hooks-and-modules/
https://staticthinking.wordpress.com/2023/05/02/debugging-smatch-checks/
We can move these documentation to Smatch Repository. Those materials
are useful to newbies.
Note that, I removed all kernel maintainers and other kernel mailing lists.
Email the smatch@xxxxxxxxxxxxxxx mailing list with any questions.
regards,
dan carpenter