Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

MCode function + onlinegenerator (x86 and x64)


  • Please log in to reply
33 replies to this topic
Rseding91
  • Members
  • 703 posts
  • Last active: Apr 02 2016 05:05 AM
  • Joined: 07 Jun 2010

if you try /O1 or /O2 do they match?

I'll leave those troubleshooting steps up to the OP :) the code should match the manual one using /Ox when it says it's using /Ox.



AHK Johns
  • Members
  • 26 posts
  • Last active: Jan 12 2014 05:46 AM
  • Joined: 23 Oct 2013

The MCODE solution has some fatal limitation: It can't be executed on computer with CPU "NX Bit" feature turned on in BIOS setting. The CPU "NX" bit is almost universal feature of modern x86/x64 CPU's to prevent  code from execution on the stack or heap memory area. It is to prevent some computer virus that exploits memory buffer overrun or similar weakness. Many people keep it turn on to prevent such virus attack. With NX bits turned on in BIOS, even the simplest MCODE woun't run. It just fails on DllCall().

So, if you are to distribute your script on general public, warn people to turn off the NX bit in BIOS or simply don't use MCODE. Use separate DLL instead.



Rseding91
  • Members
  • 703 posts
  • Last active: Apr 02 2016 05:05 AM
  • Joined: 07 Jun 2010

The MCODE solution has some fatal limitation: It can't be executed on computer with CPU "NX Bit" feature turned on in BIOS setting. The CPU "NX" bit is almost universal feature of modern x86/x64 CPU's to prevent  code from execution on the stack or heap memory area. It is to prevent some computer virus that exploits memory buffer overrun or similar weakness. Many people keep it turn on to prevent such virus attack. With NX bits turned on in BIOS, even the simplest MCODE woun't run. It just fails on DllCall().

So, if you are to distribute your script on general public, warn people to turn off the NX bit in BIOS or simply don't use MCODE. Use separate DLL instead.

 

This is only true if you don't use "VirtualProtect" to mark the memory location as executable code. If you use "VirtualProtect" it will work just fine: i've been using it for years now.



fooztr
  • Members
  • 10 posts
  • Last active: Sep 23 2015 02:09 PM
  • Joined: 28 Aug 2012

Is the online generator offline now?

 

Im getting 'ERR_NAME_NOT_RESOLVED' Pleaseeee upload the code on github or put it online again  B)  :p