Comments (9)
Hey guys, I am interested on improving this library and adding a few features. After my exams are over I've got a busy summer so I can't promise anything, but I will try to find time to address some issues and also review the current PRs.
from memoryjs.
I have the same issue, I try to read from an address and sometimes I get random values, or I get 3
, I think it's gotta be with the library, I have tried getting in contact with the author or the library #16 and I also have issues reading from memory, I'm pretty sure it's got to be with the library.
from memoryjs.
Oh, that's pretty cool.
I'm just learning C++ in university, so my knowledge is like "How to read file of numbers and do quicksort of them". But, as for me, possibility of reading memory in js is really cool.
Would be great if community will help Robert to do that work)
from memoryjs.
You will also get wrong memory value if u forget to add ".exe" to process name
from memoryjs.
Digging up a little further, I think that 3
that we get it's just an error code...
const processObject = memoryjs.openProcess(processName);
console.log(JSON.stringify(processObject, null, 3));
var addr = 0x7ff662ff8ff2;
/// <summary> Getting ready to read the memory.
/// <err> error message (empty if there were no errors). </err>
/// <value> the value stored at the given address in memory. </value>
/// <see>Documentation at: https://github.com/Rob--/memoryjs#readmemoryaddress-datatype-callback</see>
/// </summary>
memoryjs.readMemory(addr, 'int', (err, value)=> {
if (err === "") {
console.log(value);
}else{
console.log("ERROR:", err);
}
});
So when error message is empty it means that everything was OK, but if error is NOT empty, then it means something went wrong.
from memoryjs.
Ye, but why sometimes it's invalid value?
I tried to find error in C++ code, but didn't find.
Do you think that we only need ptr function to get valid data?
P.S. I think, that author will never continue memoryjs. Need to fork and try to find an error.
from memoryjs.
Don't really know, but as recently as yesterday he commented on my issue, and he mentioned he could add a helper function to make the pointers addresses part to work, so that gets me to think that probably he is motivated to work on the issues, he also have expressed he is not a really well experienced C++ developer, and to be honest, me neither, in fact I was having a little bit of trouble regarding on how to properly read and general usage of the library.
from memoryjs.
Hey guys, I am interested on improving this library and adding a few features. After my exams are over I've got a busy summer so I can't promise anything, but I will try to find time to address some issues and also review the current PRs.
Awesome! 💃
from memoryjs.
You will also get wrong memory value if u forget to add ".exe" to process name
Well of course, you can attach to other modules as well. Technically
from memoryjs.
Related Issues (20)
- How to read shared memory channel? (Windows) HOT 5
- Reading an address that is a BigInt throwing errors? HOT 3
- The library can't read memory for me can someone help me figure it out? HOT 2
-
- Any way to get module exports? HOT 2
- Add "Windows only" to readme HOT 2
- Usage with electron HOT 2
- Just pushed a commit (3be70b051025327db5d5f54cd5a1f777dea75943) that I think should enable this now (not on NPM yet). I wasn't familiar with memory mapped files before working on this change, but from my little testing it seems like you should be able to replicate this C# logic with memoryjs now. Updated the README with an example ([documentation](https://github.com/Rob--/memoryjs#memory-mapped-files-1)). HOT 2
- Error reading BigInt pointer HOT 6
- Feature: Open process using th32ProcessID instead of process name(multiple processes same name) HOT 2
- Idea: External thread trace
- Using Cheat Engine Pointer HOT 6
- Writing to an adres using pointers HOT 2
- Little Endian Support HOT 3
- add pointer or int64 parameters on callFunction?
- publish/release newest version to npm? :) HOT 2
- Linux/Unix support HOT 2
- setProtection is not available in latest version HOT 1
- Problems when using with electron. HOT 1
- Hi Rob, HOT 8
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 memoryjs.