Skip to content

Commit 4b525a4

Browse files
authored
Update __init__.py
Now registers the architecture with the ELF BinaryViewType.
1 parent 55a7e5e commit 4b525a4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

__init__.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@
1919

2020
log_error,
2121

22-
CallingConvention)
22+
CallingConvention,
23+
24+
Endianness)
2325

2426
# Type 1 instructions are those that take two operands.
2527
TYPE1_INSTRUCTIONS = [
@@ -1095,3 +1097,4 @@ class DefaultCallingConvention(CallingConvention):
10951097
arch.register_calling_convention(DefaultCallingConvention(arch, 'default'))
10961098
standalone = arch.standalone_platform
10971099
standalone.default_calling_convention = arch.calling_conventions['default']
1100+
BinaryViewType['ELF'].register_arch(105, Endianness.LittleEndian, arch)

0 commit comments

Comments
 (0)