19 #ifndef ADDR2LN_ADDR2LN_OPTIONS_HPP
20 #define ADDR2LN_ADDR2LN_OPTIONS_HPP
32 int main(
int argc,
char const *argv[]);
131 static
void print_usage(const
char *const prog_name) noexcept;
224 int try_switch(
int i,
int argc,
char const *argv[]);
244 friend
int ::
main(
int argc,
char const *argv[]);
250 #endif // ADDR2LN_ADDR2LN_OPTIONS_HPP
int main(int argc, char const *argv[])
The main entry point for the Addr2Ln application.
Definition: addr2ln.cpp:391
Parse and maintain options that alter the execution of Addr2Ln.
Definition: addr2ln_options.hpp:60
int try_switch(int i, int argc, char const *argv[])
Try to alter the options data based on a single character CLI switch.
Definition: addr2ln_options.cpp:376
Defines the psystem::not_assignable interface.
static psystem::address_t const * get_module_base_address() noexcept
Access the address to use as the module-base address for look-ups.
Definition: addr2ln_options.cpp:187
Contains functionality required to map addresses to source code information.
Definition: addr2ln_ns.hpp:89
Definition: shared_handle.hpp:782
The basic header file for the Addr2Ln namespce.
static void print_version_info() noexcept
Output information about the Addr2Ln's version to the screen.
Definition: addr2ln_options.cpp:226
static void dump_arguments(addr2ln_options::options_data const &d) noexcept
Output all the command-line data to stdout.
Definition: addr2ln_options.cpp:350
std::uintptr_t address_t
Container type for a memory address.
Definition: platform.hpp:221
Remove the ability to copy or reassign from derived classes.
Definition: not_copyable.hpp:43
std::set< psystem::address_t > address_list
The a container for list of user-supplied addresses to look up.
Definition: addr2ln_options.hpp:68
The full set of options information available to addr2ln::addr2ln_options.
Definition: addr2ln_options.cpp:155
static address_list const & get_address_list() noexcept
Access the list of addresses for Addr2Ln to process.
Definition: addr2ln_options.cpp:196
static void print_usage() noexcept
Print command-line help information to the screen.
Definition: addr2ln_options.cpp:218
static std::string const & get_module_name() noexcept
Access the name of the desired executable module that will be examined.
Definition: addr2ln_options.cpp:205
std::unique_ptr< options_data > m_data
A pointer to the options data (PImpl pattern).
Definition: addr2ln_options.hpp:231
Wraps the C++ standard header, memory, to provide a uniform interface.