Project

General

Profile

Devtools » History » Version 10

laforge, 05/11/2018 10:31 AM

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 10 laforge
* @make distcheck@: run it to make sure that @make dist@ contains everything needed and you didn't forget to add any files to Makefile.am
19
* Our extensive [[Titan_TTCN3_Testsuites]]
20 1
21
h2. Misc
22
23 7 laforge
* pahole (dwarves), http://www.ohloh.net/p/pahole See the memory layout of structures
24
* gdb, debugging
25
* valgrind, http://valgrind.org/, dynamic analysis of memory management/threading
26
* mudflap (gcc option), check array/pointer accesses. See http://zecke.blogspot.com/2012/10/know-your-tools-mudflap.html
27 6
28
29 7 laforge
h2. Python tools
30 2
31 7 laforge
h3. Formatting
32 1
33 7 laforge
* pep8, https://pypi.python.org/pypi/pep8 Check formatting for pep8 compliance
34
* autopep8, https://github.com/hhatto/autopep8 Reformat code to be pep8-complient
35 6
36 7 laforge
h3. Checking/analysis
37 3
38 7 laforge
* pyflakes, https://pypi.python.org/pypi/pyflakes Statically find some errors
Add picture from clipboard (Maximum size: 48.8 MB)