Comments (4)
Can you please try
PDWORD pdwPIDs;
ULONG64 cPIDs = 0;
VMMDLL_PidList(NULL, &cPIDs);
pdwPIDs = LocalAlloc(LMEM_ZEROINIT, cPIDs * sizeof(DWORD));
VMMDLL_PidList(pdwPIDs , &cPIDs);
// or if lazy and guessing no more than 1024 pids
DWORD dwPIDs[1024] = { 0 };
ULONG64 cPIDs = 1024;
VMMDLL_PidList(dwPIDs, &cPIDs);
from memprocfs.
I have actually just found the error. The problem lies in the cPIDs. I can check that both of your initialization is Success, however when I use printf(cPIDs)
it starts throwing the exception. I am looking into it since this is just an IO issue. Many thanks for your help.
Edit: I can call the function correctly now. The purpose is to test all the functions and port them to C# using interop service.
from memprocfs.
C# makes a lot of sense :) it's lots of easier for most users, it would be really nice to be able to use this in C# :)
from memprocfs.
Closing issue since it seems to be resolved.
Looking forward to the result of this. C# would be hugely helpful for a lot of people.
from memprocfs.
Related Issues (20)
- How to clear the internal cache? HOT 1
- Regarding the issue of missing data when using API to read memory process content HOT 5
- Updated my System - Unable to auto-identify operating system.
- Dealy when real-time memory needs to be read quickly HOT 1
- Disconnecting within seconds HOT 8
- [BUG] vmmsharp Vmm.MemReadArray HOT 2
- VMMDLL_Map_GetThread return failed HOT 3
- Challenges on Ubuntu 23.10 desktop HOT 1
- Rust API does not find libpdbcrust.so HOT 4
- vmmWinInit_TryInitialize: Initialization Failed. Unable to locate valid DTB. #2 VmmProc: Unable to auto-identify operating system for PROC file system mount. Specify PageDirectoryBase (DTB/CR3) in -cr3 option if value if known. MOUNT: INFO: PROC file system not mounted. HOT 2
- add fflush to file logging HOT 4
- Scatter read does not read consistently HOT 9
- dma help? HOT 1
- [question]Can I call an exported function and get the return? HOT 1
- symbols fail on Windows when there are non-ascii characters in the MemProcFS path. HOT 6
- a doubt about a reading with memprocfs and scatter memory HOT 1
- Cant start correctly x86 build HOT 2
- MemProcFS: Failed to connect to memory acquisition device. - vmware HOT 1
- MemProcFS: Error file system plugins in vmm.dll! HOT 2
- Ubuntu/aarch64 - Java API: vmm.VmmException: Native call to vmm failed! HOT 5
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 memprocfs.