Comments (12)
I'm not sure if mgwhelp.dll intercepts all the entrypoints that Very Sleepy uses.
To be perfectly clear, mgwhelp.dll exports all symbols, but some are straight jumps to dbghelp.dll
How exacly did you integrate mgwhelp.dll with Very Sleepy?
from drmingw.
Well, I simply made it load mgwhelp.dll instead of Wine's dbghelp.dll.
Here are the functions Very Sleepy uses:
https://github.com/VerySleepy/verysleepy/blob/master/src/utils/dbginterface.h
from drmingw.
Thanks. You can see the functions MgwHelp handles in https://github.com/jrfonseca/drmingw/blob/master/src/mgwhelp32.def
But many funtions (e.g. StackWalk64) don't deal with symbols so passing-trhough is fine
I think the problem is fundamentally that Very Sleepy uses the Unicode functions, where as MgwHelp only intercepts the ASCIII functions.
I suspect that if we implement
- SymFromAddrW
- SymGetLineFromAddrW64
- SymInitializeW
by using their ASCII counterparts as starting point, then things might start working.
from drmingw.
I only work on DrMingw in spare time, and there's not much of that lately, so I'm afraid I can't give any ETA.
@CyberShadow, by any chance, is implementing the Unicode entry-points mentioned above something you could help with?
from drmingw.
I am still unable to build this project.
Which exact version of MSYS and MinGW are needed? There are dozens of implementations/distributions of the above for Windows.
from drmingw.
Which exact version of MSYS and MinGW are needed? There are dozens of implementations/distributions of the above for Windows.
No MSYS needed. MinGW-W64 is needed. I updated BUILD.md with URLs to make it crystal clear --
138ab9d
from drmingw.
MinGW-W64 does not come with a make program, thus I can't use the Makefile that CMake generates.
from drmingw.
Can you clarify which MinGW-W64 flavor, in particular? The project provides multiple Windows downloads (cygwin, Mingw-builds, and Win-Builds). Mingw-builds is the one without the Make program. I couldn't get Win-Builds to work. The Mingw-builds installer also provides multiple options as to which flavor to install. (POSIX/native threads, sjlj/SEH exception handling, ...)
from drmingw.
Any MinGW-W64 flavour should work. Thought a native mingw make (any ) is indeed necessary.
The thing is I always build with cross-compilers. I once built with native mingw-w64 and updated the instructions, but indeed mingw-w64 website nowadays is quite confusing regarding binaries/downloads.
I'm now attempting to build with native mingw from scratch, and will update the instructions.
from drmingw.
I'm now attempting to build with native mingw from scratch, and will update the instructions.
Done. @CyberShadow , see https://github.com/jrfonseca/drmingw/blob/master/BUILD.md#native-toolchain
from drmingw.
Ahh, thanks. Wasn't aware of mingw32-make
. It works now.
I'm going to attempt a 64-bit build as well (as the situation is more dire with 64 bits with Very Sleepy). Will let you know.
from drmingw.
Yep, worked with the same MinGW version but s/x32/x64/ s/dwarf/seh/ :
from drmingw.
Related Issues (20)
- Faulting location incorrect if executable uses ASLR. HOT 3
- Have it handle stack corruption HOT 3
- No source code is showing for projects built with MSYS2 HOT 4
- Reason for erroring out with posix threads? HOT 2
- Can exchndl be made to catch RaiseFailFastException? HOT 4
- catchsegv not resolving gnu_debuglink correctly HOT 8
- catchsegv clobbers Unicode arguments
- Feature request: Support ARM64 HOT 23
- Feature request: Allow opt-in to use system provided zlib HOT 1
- ExcHndl.dll can't print the crash call stack under Windows 7 HOT 20
- Dumping register values on x86_64 HOT 1
- Write minidump from exchndl.dll
- Support minidump locations/filenames containing unicode (wide char) characters HOT 4
- Release 0.9.8: Naming of link libraries different between 32 and 64 bit HOT 3
- What is the minimal OS to run the official drmingw release? HOT 2
- libwinpthread-1.dll missing from release HOT 9
- Save the result automatically HOT 3
- Is it possible to update drmingw to the latest version in the msys2 package? HOT 2
- better sample code in the home page HOT 1
- exchndl problem HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from drmingw.