Comments (4)
That particular crash does not seem to make much sense, unless ProcessData pointer gets corrupted as well. Do you by any chance have any buffer overflow bugs in your code? Compile your library to use AddressSanitizer (-fsanitize=address, -lasan), and run to check for memory corruptions.
from vmread.
I don't think there's any buffer overflow as my code is pretty sample - read with opengl every frame
The address sanitizer doesn't seem to work with preloaded shared library unless compile it and preload the sanitizer library as well. I'll try this later.
from vmread.
I think I've identified the problem. The WinContext get destroyed for some reasons thus everything from it is corrupted. In my case it's the WinProcess* and the ProcessData.
I find this by storing a pointer to WinContext in hope to reuse later and get the segmentation fault as follow:
0x00007ffff7f20753 in GenerateProcessList (ctx=0x0) at src/wintools.cpp:255
255 uint64_t curProc = ctx->initialProcess.physProcess;
from vmread.
My bad I'm so stupid using WinContext ctx(pid) the whole time. Sorry for this.
from vmread.
Related Issues (20)
- Pattern search can't handle multiple ?? regions HOT 1
- Further 1903 Compatibility Issues HOT 2
- Support for modules of System process HOT 3
- Kmod_External DeadlySignal HOT 2
- Windows 1909 update HOT 2
- Process Names bigger than 16 get cut off HOT 6
- Host and Guest crash HOT 2
- User mode -> VM -> User mode HOT 3
- Initialization Error 3 HOT 8
- Infinite loop regression. HOT 2
- what's MODE_DMA for? HOT 1
- Not an actual issue. HOT 3
- Kernel 5.6.2+ HOT 3
- Initialization error 8 on version 2004 HOT 11
- Kmod does not compile on Kernel 5.7+ HOT 1
- Project maintenance HOT 4
- delete me HOT 1
- Initialization error: -1
- Linux 5.8 changes HOT 2
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 vmread.