libcsdbg  1.28
C++ exception (and generic) stack trace debug library
call.hpp
Go to the documentation of this file.
1 #ifndef _CSDBG_CALL
2 #define _CSDBG_CALL 1
3 
10 #include "./symbol.hpp"
11 
12 namespace csdbg {
13 
17 class call: virtual public symbol
18 {
19 protected:
20 
21  /* Protected variables */
22 
25 public:
26 
27  /* Constructors, copy constructors and destructor */
28 
29  call(mem_addr_t, mem_addr_t, const i8*);
30 
31  call(const call&);
32 
33  virtual ~call();
34 
35  virtual call* clone() const;
36 
37 
38  /* Accessor methods */
39 
40  virtual mem_addr_t site() const;
41 
42 
43  /* Operator overloading methods */
44 
45  virtual call& operator=(const call&);
46 };
47 
48 }
49 
50 #endif
51 
This class represents a program/library function symbol.
Definition: symbol.hpp:17
call(mem_addr_t, mem_addr_t, const i8 *)
Object constructor.
Definition: call.cpp:22
char i8
8-bit signed integer
Definition: config.hpp:72
mem_addr_t m_site
Call site address.
Definition: call.hpp:23
This class represents a program/library runtime function call.
Definition: call.hpp:17
Class csdbg::symbol definition.
virtual mem_addr_t site() const
Get the call site address.
Definition: call.cpp:71
virtual call & operator=(const call &)
Assignment operator.
Definition: call.cpp:86
virtual ~call()
Object destructor.
Definition: call.cpp:48
unsigned long long mem_addr_t
64-bit memory address
Definition: config.hpp:120
virtual call * clone() const
Object virtual copy constructor.
Definition: call.cpp:60