User:Niffiwan

From FreeSpace Wiki
Revision as of 10:02, 4 July 2016 by Niffiwan (talk | contribs) (memory overflow)
Jump to: navigation, search

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

Stuff TODO:

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

off the list

Scripts


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