Comments (2)
The pIoPA->cbMax = 0x1000;
is quite worriesome; this may lead to the pb buffer being overwritten past bounds. I have to look into this more and fix it somehow.
Generally I'd recommend using the VMMDLL_MemReadScatter with 0x1000-byte sized 0x1000-byte aligned scatter mem items only; it's the most well tested (or even the only properly tested internal paths).
Reads are latency bound anyway so unless doing 10+ reads or so in parallel having 0x1000 byte reads instead of an 8-byte read should not affect performance in any noticeable way.
I'll put this up as something I need to fix; meanwhile please use 0x1000 byte sized and aligned scatter read items.
from memprocfs.
I have changed how the ReadScatter works (re-designed the struct) so this should not be happening anymore.
Also, if reading on a page boundary when reading from an FPGA device it should now fail since it's not supported by PCI Express.
In general it still applies that the best way of going with things is to read page-aligned page-sized chunks of memory. There is very little performance improvement of reading smaller memory chunks.
from memprocfs.
Related Issues (20)
- Linux GCC/Clang inline semantics HOT 2
- String types const correctness HOT 5
- Can't specify -memmap file HOT 2
- [Not an Issue, just help request] How to find all available "virtual addresses" for process. HOT 2
- MemProcFS C# API: problem with reading file HOT 4
- Minor Typo HOT 2
- Please add -V or -version option HOT 4
- Add check option? HOT 3
- VMMDLL_Map_GetHeapAlloc() VMMDLL_MAP_HEAPALLOCENTRY.cb off by 8 low HOT 3
- Python process.maps.heapalloc() size and memory read issues. HOT 1
- Rust API: VmmYaraResult.result is empty even if VmmYaraResult.total_results>0. HOT 9
- How do you set the interval in the configset vmmdll_opt_refresh HOT 2
- Question: Best way to get findevil results from Rust API HOT 3
- VMMDLL_Initialize init problems on AMD + LINUX HOT 1
- Some Windows 7 memory images cannot analyze dst ip and dst port. HOT 1
- An issue with mounting image files HOT 2
- How can I achieve threading with this? (rust) HOT 1
- Can we further optimize it HOT 3
- need kernl call Example HOT 1
- Java Vabase return minus value HOT 4
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.