Tuesday, 15 May 2012

BOOST Hardening Guide (Preprocessor Macros) -



BOOST Hardening Guide (Preprocessor Macros) -

i'm having hard time determining preprocessor macros should utilize boost (1) debug instrumentation (such checked iterators) , (2) security related items.

all can seem find preprocessor metaprogramming (linked www.boost.org/libs/preprocessor/).

update (02-18-2013): found boost macro reference, lacks related debugging or security.

does know of list of available preprocessor macros debugging , security or hardening guide?

there's not equivalents i'm aware of in of boost libraries. few of them respect ndebug , create optimisations based on (and there asserts ndebug disable), setting ndebug release not debug seem expected (whether leaving ndebug undefined release counts "hardening" don't know). none of libs have options beyond give them armour-plating or debuggability.

how boost libraries should interact microsoft's _has_iterator_debugging , particularly _secure_scl recurring debate see e.g here, here , here (for "header-only" libraries doesn't create much difference; it's more of problem making sure provided dlls compatible integrators expect, , there's no universal understanding on whether ms defaults these options should used or not many people suspicious of performance overheads).

boost preprocessor boost-preprocessor

No comments:

Post a Comment