boost::openmethod::trace::from_env

Returns a trace object with on set to true if the environment variable BOOST_OPENMETHOD_TRACE is set to the string "1", and false otherwise.

Synopsis

Declared in <boost/openmethod/preamble.hpp>

static
trace
from_env();

Description

The trace prints the addresses of type ids, v‐tables and overriders, which defeat address space layout randomization. A program that runs with more privileges than the user who sets its environment should not hand the decision to the environment.

Created with MrDocs