Mg LibMaker bug, also in Carl Barnes LibMakerPlus

I’ll tag the following info onto this thread because I didnt know the source code for libmaker existed until recently!

The source code for the clarion libmaker can found in C6\examples\libmaker it includes Groups for the MS (Dos), NE (16bit) and PE (32bit) structures. Today unlike the past, there are plenty of online sources to describe the PE structure eg PE Format - Win32 apps | Microsoft Learn

and plenty of online links to further help with deciphering the structure for anyone wanting to further extend the functionality of these Clarion libmakers.

I particularly like these:
win-internals - 0xRick’s Blog


Understanding this PE format will help with understanding Linux ELF file formats, COM and loading .dot assemblies.

The above info can also get you into the security and so called Red Team hacking territory very quickly, an example being
GitHub - TheWover/donut: Generates x86, x64, or AMD64+x86 position-independent shellcode that loads .NET Assemblies, PE files, and other Windows payloads from memory and runs them with parameters with links to things like how to bypass AMSI
How AMSI helps you defend against malware - Win32 apps | Microsoft Learn

Valuable knowledge to help reduce your attack vectors from hackers!