File tree Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -2652,6 +2652,7 @@ extern "C"
26522652 {
26532653 REGISTER_LIST_KIND_INTEGER_SEMANTICS = 0 ,
26542654 REGISTER_LIST_KIND_FLOAT_SEMANTICS = 1 ,
2655+ REGISTER_LIST_KIND_POINTER_SEMANTICS = 2 ,
26552656 };
26562657
26572658 typedef struct BNCustomCallingConvention
Original file line number Diff line number Diff line change 3636# Register list kinds
3737REGISTER_LIST_KIND_INTEGER_SEMANTICS = 0
3838REGISTER_LIST_KIND_FLOAT_SEMANTICS = 1
39+ REGISTER_LIST_KIND_POINTER_SEMANTICS = 2
3940
4041
4142class CallingConvention :
Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ use crate::variable::Variable;
3939pub enum RegisterListKind {
4040 IntegerSemantics = 0 ,
4141 FloatSemantics = 1 ,
42+ PointerSemantics = 2 ,
4243}
4344
4445pub trait CallingConvention : Sync {
@@ -422,6 +423,9 @@ where
422423 RegisterListKind :: FloatSemantics => {
423424 BNRegisterListKind :: REGISTER_LIST_KIND_FLOAT_SEMANTICS
424425 }
426+ RegisterListKind :: PointerSemantics => {
427+ BNRegisterListKind :: REGISTER_LIST_KIND_POINTER_SEMANTICS
428+ }
425429 }
426430 } )
427431 }
@@ -871,6 +875,9 @@ impl CallingConvention for CoreCallingConvention {
871875 BNRegisterListKind :: REGISTER_LIST_KIND_FLOAT_SEMANTICS => {
872876 RegisterListKind :: FloatSemantics
873877 }
878+ BNRegisterListKind :: REGISTER_LIST_KIND_POINTER_SEMANTICS => {
879+ RegisterListKind :: PointerSemantics
880+ }
874881 }
875882 }
876883 }
You can’t perform that action at this time.
0 commit comments