ProjetsPEArch

 Langue  

PEArch

Introduction

A small tool that tells you which CPU architecture a given Windows PE is made for.

Un total de 35 architectures sont supportées par cet outil.

Utilisation

Cet outil peut soit être utilisé dans un invité de commande avec les options ci-dessous.
Ou alors, vous pouvez simplement déposer un fichier sur le .exe ou un raccourci, et avoir le même résultat.

PEArch.exe [/?] [/E|/AsError] [/H|/AsHex] [/F|/FullText] <File>

Options:
  /?             Prints this help text, and some additional details.
  /E, /AsError   Gives out the result as an error code.
  /H, /AsHex     Prints the architecture as a hex number.
  /F, /FullText  Prints a longer description of the architecture.
Cliquez ici pour afficher/cacher les codes d'architecture et de retour
STDOUTSTDOUT avec /AsHexSTDERR avec /AsErrorDescription (Source: MSDN)
UNKNOWN0x00Le contenu de ce champ est supposé pouvoir s’appliquer à n’importe quel type d’ordinateur
ALPHA0x184388Alpha AXP, espace d’adressage 32 bits
ALPHA640x284644Alpha 64, espace d’adressage 64 bits
AM330x1d3467Matsushita AM33
AMD640x866434404X64
ARM0x1c0448ARM little endian
ARM640xaa6443620ARM64 little endian
ARM64EC0xA64142561ABI permettant l'interopérabilité entre le code natif ARM64 et le code x64 émulé.
ARM64X0xA64E42574Format binaire qui permet à la fois au code natif ARM64 et au code ARM64EC de coexister dans le même fichier.
ARMNT0x1c4452ARM Pouce-2 petit endian
AXP640x284644AXP 64 (identique à Alpha 64)
EBC0xebc3772Code d’octet EFI
I3860x14c332Processeurs Intel 386 ou ultérieurs et processeurs compatibles
IA640x200512Famille de processeurs Intel Itanium
LOONGARCH320x623225138Famille de processeurs LoongArch 32 bits
LOONGARCH640x626425188Famille de processeurs LoongArch 64 bits
M32R0x904136929Mitsubishi M32R petit endian
MIPS160x266614MIPS16
MIPSFPU0x366870MIPS avec FPU
MIPSFPU160x4661126MIPS16 avec FPU
POWERPC0x1f0496Power PC little endian
POWERPCFP0x1f1497Power PC avec prise en charge de la virgule flottante
R3000BE0x160352MIPS I compatible 32 bits big endian
R30000x162354MIPS I compatible 32 bits little endian
R40000x166358MIPS III compatible 64 bits petit endian
R100000x168360MIPS IV compatible 64 bits petit endian
RISCV320x503220530Espace d’adressage RISC-V 32 bits
RISCV640x506420580Espace d’adressage RISC-V 64 bits
RISCV1280x512820776Espace d’adressage RISC-V 128 bits
SH30x1a2418Hitachi SH3
SH3DSP0x1a3419Hitachi SH3 DSP
SH40x1a6422Hitachi SH4
SH50x1a8424Hitachi SH5
THUMB0x1c2450Pouce
WCEMIPSV20x169361MIPS little-endian WCE v2

Examples d'exécution

Sans options:

Command: pearch "C:\Windows\explorer.exe"
> STDOUT: AMD64
> STDERR:
> ERRORLEVEL: 0
Command: pearch "C:\Windows\non-existant-file.exe"
> STDOUT:
> STDERR: Cannot open file !
> ERRORLEVEL: 12

Avec /AsHex et /AsError:

Command: pearch /AsHex "C:\Windows\explorer.exe"
> STDOUT: 8664
> STDERR:
> ERRORLEVEL: 0
Command: pearch /AsError "C:\Windows\explorer.exe"
> STDOUT:
> STDERR:
> ERRORLEVEL: 34404
Command: pearch /AsError /AsHex "C:\Windows\explorer.exe"
> STDOUT: 8664
> STDERR:
> ERRORLEVEL: 34404
Command: pearch /AsError /AsHex "C:\Windows\non-existant-file.exe"
> STDOUT:
> STDERR: Cannot open file !
> ERRORLEVEL: 0

Téléchargements

Architecture de CPUDépendancesTéléchargements
x64Windows 7
x86

Licence

Ce programme, ainsi que son code-source sont dans le domaine public (CC0 1.0 Universal).

Liens

#application#cli#windows#windows-pe#cpu-arch