Comments (10)
Thanks, could you show me the output of the gdb command x/20hx lpSrc
and x/s CreateAnsiFromWide(lpSrc)
?
from loadlibrary.
from loadlibrary.
Well, that's confusing. It seems like it should work, and that version works fine for me.
I'll think about what could have gone wrong.
from loadlibrary.
Can you run these commands as well?
x/i $pc
and i r
from loadlibrary.
from loadlibrary.
That is really weird, it's using movaps
which has alignment requirements, but then didn't align the stack.
esp+0x3c
would be 0xffffbdf4
, which is obviously not 16 byte aligned. I would have expected it to either force alignment of the structure, or used movups
, which has no alignment requirement.
Is this an unusual compiler? Like, pre-release gcc or something? 😕
from loadlibrary.
It's the standard 'gcc (Ubuntu 6.3.0-12ubuntu2) 6.3.0 20170406'. The make was fast and successful.
from loadlibrary.
Ah-ha, I googled it a bit, someone else figured out the problem here:
http://www.peterstock.co.uk/games/mingw_sse/
I think his solution will work, I'll just add -mstackrealign
to the Makefile.
from loadlibrary.
Thanks for helping to debug this, that was unexpected!
from loadlibrary.
I pulled it and ... you got it. Thanks a lot :-)
from loadlibrary.
Related Issues (20)
- APIs patching fails with selinux enabled
- Unable to load multiple dll images HOT 5
- mpclient: failed to resolve function HOT 16
- __rsignal(RSIG_BOOTENGINE) returned failure, missing definitions? HOT 13
- scan(): __rsignal(RSIG_SCAN_STREAMBUFFER) returned failure, file unreadable HOT 2
- Engine version 1.349.149.0 (2021/09/04) breaks mpclient HOT 2
- Replacing a thiscall function HOT 1
- Trying to load library and link to module HOT 2
- Is there any way to load a dll depends on msvcrt*.dll
- About msvc##.dll solution
- mpclient fails with latest defender update. HOT 2
- Trace/breakpoint trap (core dumped) HOT 2
- lastest windows defender can't work
- Segmentation fault at fixup_reloc HOT 3
- mpclient: function at 0x5a741c8a attempted to call an unknown symbol HOT 6
- malware not detected, while it should HOT 4
- Possible to check the virus database version and timestamp?
- MPClient - No debugging symbols found HOT 1
- Engine version 1.339.932.0 (2021/05/18) breaks mpclient HOT 3
- Take care of floating point registers during calling convention switches
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 loadlibrary.