Project

General

Profile

Devtools » History » Version 4

k, 02/19/2016 10:47 PM

1 2 k
= C tools =
2
== Formatting ==
3 1 k
Lindent, reformat C code to the Linux kernel (and osmocom) coding standards
4
5 2 k
== Patches ==
6 1 k
git format-patch -1, generate a patch
7
8
checkpatch.pl, check patches for common errors (Ignore x-signed-off-by)
9
10
git send-email -1 Send a patch to the mailing list (after configuration)
11
12 2 k
== Testing ==
13 1 k
make check - run it and don't introduce regressions
14
15 2 k
== Misc ==
16 1 k
pahole (dwarves), http://www.ohloh.net/p/pahole See the memory layout of structures
17
18
gdb, debugging
19
20
valgrind, http://valgrind.org/, dynamic analysis of memory management/threading
21
22 4 k
mudflap (gcc option), check array/pointer accesses. See http://zecke.blogspot.com/2012/10/know-your-tools-mudflap.html
23
24 2 k
= Python tools =
25
== Formatting ==
26 1 k
pep8, https://pypi.python.org/pypi/pep8 Check formatting for pep8 compliance
27
28
autopep8, https://github.com/hhatto/autopep8 Reformat code to be pep8-complient
29 3 k
30
== Checking/analysis ==
31
pyflakes, https://pypi.python.org/pypi/pyflakes Statically find some errors
Add picture from clipboard (Maximum size: 48.8 MB)