Two questions regarding Memory modification

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Locked
EliteLegend
Posts: 11
Joined: Sun Oct 21, 2007 6:13 pm

Two questions regarding Memory modification

Post by EliteLegend »

Hi,

I hope someone can help me out with the following questions:

1. Can someone please give me some advice on how to go about making a memory scanner so that I can change the value of a variable? For instance, if I know that a program uses the variable with value 100, I want to search the memory location that has this value and want to change it. I think this is similar to some of those memory hack tools but I really want to learn how this is all done in C. I think what is needed is a memory scanner but I would love to have more advice on this.

2. I am using Javascript (in IE) to change a variable's value (this value is being used by an SVG graphics file to animate an object). When I do a getElementById and then change its associated value, can someone please tell me what exactly happens? I mean, where exactly in the memory does the change take place? I know the memory management is dynamic and is process specific but is there a way I can figure out this thing (like the address range associated with a process and how the variables are changing etc.) ? The reason why I'm asking this question is because, though I am finding out the address of this variable (using some memory hack tools) and changing its value, it is getting reverted back in a few milliseconds so I presume some sort of a memory protection is being employed but I'm not 100% sure.
User avatar
JamesM
Member
Member
Posts: 2935
Joined: Tue Jul 10, 2007 5:27 am
Location: York, United Kingdom
Contact:

Re: Two questions regarding Memory modification

Post by JamesM »

Javascript is hardly OSDev material. You've got the wrong forum, sonny.
Locked