18 #ifndef LIBCWD_CLASS_OBJECT_FILE_H 19 #define LIBCWD_CLASS_OBJECT_FILE_H 30 class alloc_filter_ct;
54 char const* M_filepath;
55 char const* M_filename;
60 mutable bool M_no_debug_line_sections;
63 friend class cwbfd::bfile_ct;
68 char const*
filepath()
const {
return M_filepath; }
70 char const*
filename()
const {
return M_filename; }
74 bool hide_from_alloc_list()
const {
return M_hide; }
76 void set_has_no_debug_line_sections()
const { M_no_debug_line_sections =
true; }
77 bool has_no_debug_line_sections()
const {
return M_no_debug_line_sections; }
84 #endif // LIBCWD_CLASS_OBJECT_FILE_H char const * filepath() const
The full path name of the loaded executable or shared library.
Definition: class_object_file.h:68
An allocated-memory filter class.An object of this type can be passed to list_allocations_on containi...
Definition: class_alloc_filter.h:89
An object representing the main executable or a shared library.
Definition: class_object_file.h:52
namespace for libcwd.
Definition: debug.cc:87
char const * filename() const
The file name of the loaded executable or shared library (with path stripped off).
Definition: class_object_file.h:70