Main Menu

News:

SyntaxBoom, now with pwetty syntax highlighted code boxes! \o/ 

https://www.syntaxboom.com/forum/index.php?topic=96

Shoutbox

GfK

Today at 17:45:33
My mop and bucket was £30. 🤨 It's a Vileda one and you stick it in the bucket and press a pedal with your foot and it spins round and dries the mop out AND IT'S BRILLIANT! 👌

Dabzy

Today at 16:19:35
Oh, I can give you a tip right now, no need to wait... Ahem... Pay someone a fiver to do it, even the bucket was a chew! :D ;)

Jackdaw

Today at 16:04:05
Well if the occasion should ever arise, where I need to gift wrap a mop and bucket. I know where to get tips from ;)

Dabzy

Today at 14:24:38
Has anyone ever tried to wrap up a mop? Never again! :D

Dabzy

Today at 12:17:43
Lol, not the ones from Poundland! :D Anyway, I've got a nice box of chocolates and a Prosecco to go in the bucket! ;)

Jackdaw

Today at 11:18:06
@Dabzy I think they will appreciate it. Have you seen how much it can cost for a good mop and bucket set in this day and age.  I can buy a bottle of Blonde chocolate cream liqueur for less at ASDA.

Dabzy

Today at 10:47:41
Well, I'm off out to buy a 60th birthday pressie... A mam of one of me mates... Gonna get her a mop and bucket, and wrap it up, even wrap the noodly mop bits individually... All in Christmas wrapping paper... Should go down well! :D

Dabzy

2025-10-17, 17:36:22
Well, just have to keep an eyes, even though they said they sorted it like

Jackdaw

2025-10-17, 17:22:26
When I saw it. It was in the very early hours when normal people are fast asleep. Lasted for around half an hour before back to normal.

Dabzy

2025-10-17, 15:02:27
First time I seen it, having me cuppa at work and had a browse... Saw it and I was like "WTF is that!?!", so got on the blower!

Members
Stats
  • Total Posts: 1,826
  • Total Topics: 226
  • Online today: 23
  • Online ever: 232 (Oct 08, 2025, 09:18 AM)
Users Online
  • Users: 0
  • Guests: 12
  • Total: 12
Welcome to SyntaxBoom. Please login or sign up.

Recent

PE Architecture Explorer

Started by Dabzy, Oct 17, 2025, 03:49 PM

Previous topic - Next topic

Dabzy

PE Architecture Explorer

Download: PE Architecture Explorer

This little application accurately determines the architecture (x86 or x64) of Windows DLL and EXE files, with special nose poking for detecting .NET assemblies. Unlike similar apps, it provides the complete picture for managed assemblies rather than just the PE header information.

See, many architecture detection tools simply read the "Machine Type" field from the PE (Portable Executable) header. While this works fine for native/unmanaged executables, it doesnt work that way with .NET assemblies:

.NET "AnyCPU" assemblies are compiled to run on any architecture (x86, x64, ARM, etc.)
However, their PE header typically shows x86 for backwards compatibility
Apps tend to read this x86 header and incorrectly report these assemblies as "32-bit only", this done my head in once upon a time, and hence, why I made this.

This app goes deeper into the DLL by:

Reading the PE Header - Gets the basic machine type (x86/x64)
Detecting .NET Assemblies - Checks for the CLR Runtime Header in the PE Data Directory
Analyzing CorFlags - Reads the .NET metadata to determine the actual platform target
Providing Complete Information - Reports both PE header architecture AND .NET platform target

What It Detects

Native/Unmanaged executables and DLLs (standard x86 or x64)
.NET x86-only (32-bit required)
.NET x64-only (64-bit only)
.NET AnyCPU (platform-agnostic, runs on any architecture)
.NET 32-bit preferred (AnyCPU with 32-bit preference)
Mixed-mode assemblies (combination of native and managed code)

The app correctly interprets the CorFlags field from the CLR header:

ILONLY flag indicates pure managed code
32BITREQUIRED flag indicates x86-only
32BITPREFERRED flag indicates AnyCPU with 32-bit preference
Absence of these flags with IL-only code indicates true AnyCPU

This ensures you get accurate information about how the assembly will actually behave at runtime, not just what the PE header suggests for compatibility reasons.

Which is nice, so yeah, I thought I share this little gem too! :)

Dabz
Intel i7-13620H, nVidia GerForce RTX 4060 Laptop GPU (8GB GDDR6), 16GB LPDDR5X, 1TB SSD, Windows 11 x64 piss flap of an OS!