Difference between revisions of "User:Niffiwan"

From FreeSpace Wiki
Jump to: navigation, search
(GCC Address Sanitiser)
(GCC Address Sanitiser)
Line 63: Line 63:
 
* export LDFLAGS=-fsanitize=address
 
* export LDFLAGS=-fsanitize=address
 
* sh autogen.sh --enable-debug
 
* sh autogen.sh --enable-debug
* make -j3 (until I get more cores :p)
+
* ./fs2_open_3.7.3_DEBUG 2>&1 | asan_symbolize.py | c++filt
* ./fs2_open_3.7.3_DEBUG | asan_symbolize.py | c++filt
 
  
  
Stuff
+
REMEMBER
* c++filt should be in the binutils package, probably also need to install libasan0
+
* c++filt should be in the binutils package, (probably) also need to install libasan0 (unless something else installs it by default?)
 
* [https://llvm.org/svn/llvm-project/compiler-rt/trunk/lib/asan/scripts/asan_symbolize.py asan_symbolize.py]
 
* [https://llvm.org/svn/llvm-project/compiler-rt/trunk/lib/asan/scripts/asan_symbolize.py asan_symbolize.py]
 +
* REDIRECT STDERR TO STDOUT or you get nothing. NOTHING!
  
 
== memory overflow ==
 
== memory overflow ==

Revision as of 01:20, 30 September 2015

Who am I?

246... no.

I do some coding for the Source code project. I also help out with forum support, and write the coding section of the HLP newsletter.

I'm most interested in:

  • Supporting Linux
  • Improving the robustness of the codebase (e.g. see Coverity / Address Sanitiser / PVS studio)
  • Fixing bugs
  • Code reviews to get other peoples features added to FSO, i.e. maintain their momentum (although I feel that this really turns my brain to mush if I do it for too long :))
  • git :D

The areas of the code I'm most familiar with are:

  • New pilot code (antipodes 8 / 3.7.0+)
  • HUD gauges
  • ETS

Features I'd most like to add to FSO are:

(TODO: make this a table with what/why/how columns)

Scripts

Short Term

(gah! too much stuff on here already :()

Review patches in these threads:

Fix this issue - not really a bug, maybe a feature?

JSON ship/weapon table dump

Command line pruning (something should be done about this! New Options Menu HO!)

Add option to make HUD message text clearer (and maybe also add alpha/transparency options for hud gauges?)

Write doco for installing OpenAL Soft on Windows

GCC Address Sanitiser

(Because I'm always forgetting how to do this!)

  • export CXXFLAGS=-fsanitize=address
  • export LDFLAGS=-fsanitize=address
  • sh autogen.sh --enable-debug
  • ./fs2_open_3.7.3_DEBUG 2>&1 | asan_symbolize.py | c++filt


REMEMBER

  • c++filt should be in the binutils package, (probably) also need to install libasan0 (unless something else installs it by default?)
  • asan_symbolize.py
  • REDIRECT STDERR TO STDOUT or you get nothing. NOTHING!

memory overflow