Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .idea/objutils@1.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/psf/black-pre-commit-mirror
rev: 26.5.0
rev: 26.5.1
hooks:
- id: black
language_version: python3.13
args: ["--line-length=132"]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.13
rev: v0.15.14
hooks:
- id: ruff
args: ["--fix", "--exit-non-zero-on-fix"]
Expand Down
74 changes: 37 additions & 37 deletions objutils/elf/defs.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,49 +305,49 @@ class ELFMachineType(enum.IntEnum):
EM_ETPU = 178 # Freescale Extended Time Processing Unit.
EM_SLE9X = 179 # Infineon Technologies SLE9X core.
EM_L1OM = 180 # Intel L1OM.
EM_K10M = 181 # Intel K10M
EM_AARCH64 = 183 # ARM AArch64
EM_K10M = 181 # Intel K10M
EM_AARCH64 = 183 # ARM AArch64
EM_AVR32 = 185 # Atmel Corporation 32-bit microprocessor family.
EM_STM8 = 186 # STMicroeletronics STM8 8-bit microcontroller.
EM_TILE64 = 187 # Tilera TILE64 multicore architecture family.
EM_TILEPRO = 188 # Tilera TILEPro multicore architecture family.
EM_MICROBLAZE = 189 # Xilinx MicroBlaze 32-bit RISC soft processor core.
EM_CUDA = 190 # NVIDIA CUDA architecture.
EM_TILEGX = 191 # Tilera TILE-Gx
EM_CLOUDSHIELD = 192, # CloudShield architecture family
EM_COREA_1ST = 193, # KIPO-KAIST Core-A 1st generation processor family
EM_COREA_2ND = 194, # KIPO-KAIST Core-A 2nd generation processor family
EM_ARC_COMPACT2 = 195, # Synopsys ARCompact V2
EM_OPEN8 = 196, # Open8 8-bit RISC soft processor core
EM_RL78 = 197, # Renesas RL78 family
EM_VIDEOCORE5 = 198, # Broadcom VideoCore V processor
EM_78KOR = 199, # Renesas 78KOR family
EM_56800EX = 200, # Freescale 56800EX Digital Signal Controller (DSC)
EM_BA1 = 201, # Beyond BA1 CPU architecture
EM_BA2 = 202, # Beyond BA2 CPU architecture
EM_XCORE = 203, # XMOS xCORE processor family
EM_MCHP_PIC = 204, # Microchip 8-bit PIC(r) family
EM_INTEL205 = 205, # Reserved by Intel
EM_INTEL206 = 206, # Reserved by Intel
EM_INTEL207 = 207, # Reserved by Intel
EM_INTEL208 = 208, # Reserved by Intel
EM_INTEL209 = 209, # Reserved by Intel
EM_KM32 = 210, # KM211 KM32 32-bit processor
EM_KMX32 = 211, # KM211 KMX32 32-bit processor
EM_KMX16 = 212, # KM211 KMX16 16-bit processor
EM_KMX8 = 213, # KM211 KMX8 8-bit processor
EM_KVARC = 214, # KM211 KVARC processor
EM_CDP = 215, # Paneve CDP architecture family
EM_COGE = 216, # Cognitive Smart Memory Processor
EM_COOL = 217, # iCelero CoolEngine
EM_NORC = 218, # Nanoradio Optimized RISC
EM_CSR_KALIMBA = 219, # CSR Kalimba architecture family
EM_AMDGPU = 224, # AMD GPU architecture
EM_RISCV = 243, # RISC-V
EM_LANAI = 244, # Lanai 32-bit processor
EM_BPF = 247, # Linux kernel bpf virtual machine
EM_VE = 251, # NEC SX-Aurora VE
EM_CSKY = 252, # C-SKY 32-bit processor
EM_CLOUDSHIELD = (192,) # CloudShield architecture family
EM_COREA_1ST = (193,) # KIPO-KAIST Core-A 1st generation processor family
EM_COREA_2ND = (194,) # KIPO-KAIST Core-A 2nd generation processor family
EM_ARC_COMPACT2 = (195,) # Synopsys ARCompact V2
EM_OPEN8 = (196,) # Open8 8-bit RISC soft processor core
EM_RL78 = (197,) # Renesas RL78 family
EM_VIDEOCORE5 = (198,) # Broadcom VideoCore V processor
EM_78KOR = (199,) # Renesas 78KOR family
EM_56800EX = (200,) # Freescale 56800EX Digital Signal Controller (DSC)
EM_BA1 = (201,) # Beyond BA1 CPU architecture
EM_BA2 = (202,) # Beyond BA2 CPU architecture
EM_XCORE = (203,) # XMOS xCORE processor family
EM_MCHP_PIC = (204,) # Microchip 8-bit PIC(r) family
EM_INTEL205 = (205,) # Reserved by Intel
EM_INTEL206 = (206,) # Reserved by Intel
EM_INTEL207 = (207,) # Reserved by Intel
EM_INTEL208 = (208,) # Reserved by Intel
EM_INTEL209 = (209,) # Reserved by Intel
EM_KM32 = (210,) # KM211 KM32 32-bit processor
EM_KMX32 = (211,) # KM211 KMX32 32-bit processor
EM_KMX16 = (212,) # KM211 KMX16 16-bit processor
EM_KMX8 = (213,) # KM211 KMX8 8-bit processor
EM_KVARC = (214,) # KM211 KVARC processor
EM_CDP = (215,) # Paneve CDP architecture family
EM_COGE = (216,) # Cognitive Smart Memory Processor
EM_COOL = (217,) # iCelero CoolEngine
EM_NORC = (218,) # Nanoradio Optimized RISC
EM_CSR_KALIMBA = (219,) # CSR Kalimba architecture family
EM_AMDGPU = (224,) # AMD GPU architecture
EM_RISCV = (243,) # RISC-V
EM_LANAI = (244,) # Lanai 32-bit processor
EM_BPF = (247,) # Linux kernel bpf virtual machine
EM_VE = (251,) # NEC SX-Aurora VE
EM_CSKY = (252,) # C-SKY 32-bit processor
EM_AVR_OLD = 0x1057 # AVR magic number. Written in the absense of an ABI.
EM_MSP430_OLD = 0x1059 # MSP430 magic number. Written in the absense of everything.
EM_MT = 0x2530 # Morpho MT. Written in the absense of an ABI.
Expand Down Expand Up @@ -954,7 +954,7 @@ class ELFAbiType(enum.IntEnum):
# ELFOSABI_FIRST_ARCH = 64, // First architecture-specific OS ABI
# ELFOSABI_AMDGPU_HSA = 64, // AMD HSA runtime
ELFOSABI_C6000_LINUX = 65 # Linux TMS320C6000
ELFOSABI_AMDGPU_MESA3D = 66 # AMD GCN GPUs (GFX6+) for MESA runtime
ELFOSABI_AMDGPU_MESA3D = 66 # AMD GCN GPUs (GFX6+) for MESA runtime
ELFOSABI_ARM = 97 # ARM
ELFOSABI_STANDALONE = 255 # Standalone (embedded) application

Expand Down
Loading
Loading