@@ -3564,6 +3564,7 @@ object ('a)
35643564
35653565 method is_auxiliary_variable: bool
35663566 method is_register_variable: bool
3567+ method is_stackpointer_variable: bool
35673568 method is_mips_argument_variable: bool
35683569 method is_arm_argument_variable: bool
35693570 method is_arm_extension_register_variable: bool
@@ -3949,6 +3950,10 @@ object
39493950 (* * Returns [true] if [var] is a register variable (of any architecture). *)
39503951 method is_register_variable : variable_t -> bool
39513952
3953+ (* * Returns [true] if [var] is a register used as a stackpointer (in the
3954+ current architecture). *)
3955+ method is_stackpointer_variable : variable_t -> bool
3956+
39523957 (* * Returns the register associated with [var].
39533958
39543959 Returns [Error] if [var] is not a register variable or [var] cannot be
@@ -4452,6 +4457,10 @@ class type function_environment_int =
44524457 (* * Returns [true] if [var] is a register variable (of any architecture). *)
44534458 method is_register_variable : variable_t -> bool
44544459
4460+ (* * Returns [true] if [var] is a register variable that used by the current
4461+ architecture as a stackpointer. *)
4462+ method is_stackpointer_variable : variable_t -> bool
4463+
44554464 (* * Returns the register associated with [var].
44564465
44574466 Returns [Error] if [var] is not a register variable or [var] cannot be
0 commit comments