Code Monkey home page Code Monkey logo

yapi's Issues

32 bit process, loading 64 bit module failure

DWORD64 WINAPI LoadLibrary64(const TCHAR* filePath)
{
	static X64Call LdrLoadDll("LdrLoadDll");
	if (!LdrLoadDll) return 0;

	DWORD64 module = 0;
	DWORD64 status = LdrLoadDll(0, 0, filePath, &module);
	if (!status) return module;

	SetLastError64(status);
	return NULL;
}

1
//There seems to be a mistake in the source code.
//The function should initialize the string.(LdrLoadDll)
RtlInitUnicodeString(A,B);
LdrLoadDll(0, 0,A,x);
2
32 bit process, loading 64 bit module failure

The 32 bit process can load 64 bit modules.
I can't do it. I'm looking for a solution.
yapi and wow64ext, it still won't solve the problem

Memory high address crash

If you enable memory high address allocation - x64Call will crash

memory.reg (system need to restart to enable)

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management]
"AllocationPreference"=dword:00010000

I tried change 0x7e (jle singed) to 0x76 (jbe unsigned) , but it didn't help

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.