Devtools » History » Version 9
laforge, 01/15/2017 02:20 PM
add cflow
1 | 8 | laforge | h1. Development tools |
---|---|---|---|
2 | 6 | ||
3 | 7 | laforge | h2. C tools |
4 | 1 | ||
5 | 9 | laforge | * @Lindent@ (from kernel source), reformat C code to the Linux kernel (and osmocom) coding standards |
6 | * @cflow@ to generate flow-graphs from source code |
||
7 | 7 | laforge | |
8 | 1 | h2. Patches |
|
9 | |||
10 | 7 | laforge | * @git format-patch -1@, generate a patch |
11 | * @checkpatch.pl@, check patches for common errors (Ignore x-signed-off-by) |
||
12 | * @make distcheck@ catches quite a few errors, run it before sending patches. |
||
13 | * @git send-email -1@ Send a patch to the mailing list (after configuration) |
||
14 | 1 | ||
15 | 5 | h2. Testing |
|
16 | 1 | ||
17 | 7 | laforge | * @make check@: run it and don't introduce regressions |
18 | 1 | ||
19 | h2. Misc |
||
20 | |||
21 | 7 | laforge | * pahole (dwarves), http://www.ohloh.net/p/pahole See the memory layout of structures |
22 | * gdb, debugging |
||
23 | * valgrind, http://valgrind.org/, dynamic analysis of memory management/threading |
||
24 | * mudflap (gcc option), check array/pointer accesses. See http://zecke.blogspot.com/2012/10/know-your-tools-mudflap.html |
||
25 | 6 | ||
26 | |||
27 | 7 | laforge | h2. Python tools |
28 | 2 | ||
29 | 7 | laforge | h3. Formatting |
30 | 1 | ||
31 | 7 | laforge | * pep8, https://pypi.python.org/pypi/pep8 Check formatting for pep8 compliance |
32 | * autopep8, https://github.com/hhatto/autopep8 Reformat code to be pep8-complient |
||
33 | 6 | ||
34 | 7 | laforge | h3. Checking/analysis |
35 | 3 | ||
36 | 7 | laforge | * pyflakes, https://pypi.python.org/pypi/pyflakes Statically find some errors |