File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed
Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change 1- use core:: ffi;
2-
31use binaryninjacore_sys:: * ;
2+ use core:: ffi;
3+ use std:: fmt:: { Debug , Formatter } ;
44
55use super :: HighLevelILLiftedInstruction ;
66use crate :: architecture:: CoreIntrinsic ;
@@ -9,7 +9,7 @@ use crate::rc::Ref;
99use crate :: string:: { BnStrCompatible , BnString } ;
1010use crate :: variable:: { ConstantData , SSAVariable , Variable } ;
1111
12- #[ derive( Clone , Debug , PartialEq , Eq ) ]
12+ #[ derive( Clone , PartialEq , Eq ) ]
1313pub struct GotoLabel {
1414 pub ( crate ) function : Ref < Function > ,
1515 pub target : u64 ,
@@ -32,6 +32,15 @@ impl GotoLabel {
3232 }
3333}
3434
35+ impl Debug for GotoLabel {
36+ fn fmt ( & self , f : & mut Formatter < ' _ > ) -> std:: fmt:: Result {
37+ f. debug_struct ( "GotoLabel" )
38+ . field ( "name" , & self . name ( ) )
39+ . field ( "target" , & self . target )
40+ . finish ( )
41+ }
42+ }
43+
3544// ADC, SBB, RLC, RRC
3645#[ derive( Debug , Copy , Clone ) ]
3746pub struct BinaryOpCarry {
You can’t perform that action at this time.
0 commit comments