File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed
Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -57,17 +57,7 @@ def is_thumb(self) -> bool:
5757
5858 @property
5959 def endian (self ) -> QL_ENDIAN :
60- # FIXME: ARM is a bi-endian architecture which allows flipping core endianess
61- # while running. endianess is tested in runtime through CPSR[9], however unicorn
62- # doesn't reflect the endianess correctly through that bit.
63- # @see: https://github.com/unicorn-engine/unicorn/issues/1542
64- #
65- # we work around this by using the initial endianess configuration, even though
66- # it might have been changed since.
67- #
68- # return QL_ENDIAN.EB if self.regs.cpsr & (1 << 9) else QL_ENDIAN.EL
69-
70- return self ._init_endian
60+ return QL_ENDIAN .EB if self .regs .cpsr & (1 << 9 ) else QL_ENDIAN .EL
7161
7262 @property
7363 def effective_pc (self ) -> int :
You can’t perform that action at this time.
0 commit comments