|
| enum class | Flag : int { ABSTIME = TIMER_ABSTIME
} |
| |
| using | Flags = cosmos::BitMask<Flag> |
| |
| enum class | Flag { DEFER_FILL = 1 << 0
} |
| |
| using | Flags = cosmos::BitMask<Flag> |
| |
|
| std::string | str () const override |
| | Returns a human readable string representation of the item.
|
| |
| auto | flags () const |
| |
| | ValueInParameter (const std::string_view short_name, const std::string_view long_name={}) |
| |
| | ValueParameter (const ItemType type, const std::string_view short_name, const std::string_view long_name={}) |
| |
| | SystemCallItem (const ItemType type, const std::string_view short_name={}, const std::string_view long_name={}) |
| | Constructs a new SystemCallItem.
|
| |
| auto | type () const |
| |
| bool | isIn () const |
| |
| bool | isOut () const |
| |
| bool | isInOut () const |
| |
| bool | isReturnValue () const |
| |
| void | fill (const Tracee &proc, const Word word) |
| | Fills the item from the given register data.
|
| |
| bool | needsUpdate () const |
| | Returns whether the item needs to be updated after the system call is finished.
|
| |
| std::string_view | shortName () const |
| | Returns the friendly short name for this item.
|
| |
| std::string_view | longName () const |
| | Returns the friendly long name for this item, if available, else the short name.
|
| |
| auto | hasLongName () const |
| |
| bool | isZero () const |
| | Returns whether the parameter is set to 0 / NULL.
|
| |
| Word | value () const |
| | Returns the currently stored raw value of the item.
|
| |
| template<typename OTHER> |
| OTHER | valueAs () const |
| | Helper to cast the strongly typed Word m_val to other strong enum types.
|
| |
| ForeignPtr | asPtr () const |
| |
| Flags | flags () const |
| |
| bool | deferFill () const |
| |
|
| void | processValue (const Tracee &) override |
| | Processes the value stored in m_val acc. to the actual item type.
|
| |
| virtual void | updateData (const Tracee &t) |
| | Called upon exit of the system call to update possible out parameters.
|
| |
| void | setSystemCall (const SystemCall &sc) |
| | Sets the system call context this item is a part of.
|
| |
|
| Flags | m_flags |
| |
| const SystemCall * | m_call = nullptr |
| | The system call context this item part of.
|
| |
| const ItemType | m_type |
| | The type of item.
|
| |
| std::string_view | m_short_name |
| | A human readable short name for the item, should be one word only.
|
| |
| std::string_view | m_long_name |
| | A human readable longer name for the item.
|
| |
| Word | m_val |
| | The raw register value for the item.
|
| |
| Flags | m_flags |
| | Flags influencing the processing of the item.
|
| |
Definition at line 78 of file time.hxx.
◆ Flags
| using clues::item::ClockNanoSleepFlags::Flags = cosmos::BitMask<Flag> |
◆ Flag
| enum class clues::item::ClockNanoSleepFlags::Flag : int |
|
strong |
Definition at line 82 of file time.hxx.
82 : int {
83 ABSTIME = TIMER_ABSTIME
84 };
◆ ClockNanoSleepFlags()
| clues::item::ClockNanoSleepFlags::ClockNanoSleepFlags |
( |
| ) |
|
|
inlineexplicit |
Definition at line 90 of file time.hxx.
90 :
91 ValueInParameter{"flags", "clock sleep flags"} {
92 }
◆ flags()
| auto clues::item::ClockNanoSleepFlags::flags |
( |
| ) |
const |
|
inline |
Definition at line 96 of file time.hxx.
96 {
97 return m_flags;
98 }
◆ processValue()
| void clues::item::ClockNanoSleepFlags::processValue |
( |
const Tracee & | | ) |
|
|
inlineoverrideprotectedvirtual |
Processes the value stored in m_val acc. to the actual item type.
This function is called for all parameter types upon entry to a system call, and for ItemType::RETVAL upon exit from a system call.
For parameters of ItemType::PARAM_OUT this callback can be used to reset any stored data to be filled in later when updateData() is called.
Reimplemented from clues::SystemCallItem.
Definition at line 102 of file time.hxx.
102 {
104 }
OTHER valueAs() const
Helper to cast the strongly typed Word m_val to other strong enum types.
◆ str()
| std::string clues::item::ClockNanoSleepFlags::str |
( |
| ) |
const |
|
overridevirtual |
Returns a human readable string representation of the item.
This member function should be specialized in derived classes to output the item's data in a fashion suitable for the concrete item type.
Reimplemented from clues::SystemCallItem.
Definition at line 107 of file time.cxx.
107 {
109 CASE_ENUM_TO_STR(TIMER_ABSTIME);
110 case 0: return "<relative-time>";
112 }
113}
◆ m_flags
| Flags clues::item::ClockNanoSleepFlags::m_flags |
|
protected |
The documentation for this class was generated from the following files: