Struct StackShiftPivot

Inheritance Relationships

Base Type

Struct Documentation

struct StackShiftPivot : public Pivot

Represents a stack shifting pivot gadget.

Public Functions

inline bool JumpsToShift() const

Checks if the gadget jumps to the shifted stack location.

Returns:

True if the gadget jumps to the shifted stack location, false otherwise.

Public Members

uint64_t ret_offset

The offset from the new stack pointer where the next return address is expected.

uint64_t shift_amount

The amount by which the stack pointer is shifted.

uint64_t address