Help me Help me - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Help me Help me

Please Tell me how to
+Access and edit windows memory (Virtual & Physical Memory)
+Memory Address of a running program?
Ex : A program name AAA is running
It uses Memory from BBB to CCC
How can I know AAA,BBB and CCC
Email : mailto:[email protected]




Comments

  • gameman1agameman1a Posts: 119Member
    : Please Tell me how to
    : +Access and edit windows memory (Virtual & Physical Memory)
    : +Memory Address of a running program?
    : Ex : A program name AAA is running
    : It uses Memory from BBB to CCC
    : How can I know AAA,BBB and CCC
    : Email : mailto:[email protected]
    :
    :
    :
    :


    Assuming you use the 9x prototype :

    Right click on my computer - go to performance tab - click virtual memory.

    For NT's :

    Right click on my computer - go to advanced - performance options - click change

    For the second problem I think you can download some programs out there to do this. Not sure if windows has a built in tool for this (sys monitor maybe?). Anybody knows?

  • ApocalypseApocalypse Posts: 6Member
    : : Please Tell me how to
    : : +Access and edit windows memory (Virtual & Physical Memory)
    : : +Memory Address of a running program?
    : : Ex : A program name AAA is running
    : : It uses Memory from BBB to CCC
    : : How can I know AAA,BBB and CCC
    : : Email : mailto:[email protected]
    : :
    : :
    : :
    : :
    :
    :
    : Assuming you use the 9x prototype :
    :
    : Right click on my computer - go to performance tab - click virtual memory.
    :
    : For NT's :
    :
    : Right click on my computer - go to advanced - performance options - click change
    :
    : For the second problem I think you can download some programs out there to do this. Not sure if windows has a built in tool for this (sys monitor maybe?). Anybody knows?
    :
    ::
    ::
    ::
    ::
    ::
    :Apocalypse:
    :I Understand but
    :Sorry I want to know a source code by a programming language
    :such as Delphi,C++,Basic or WindowsAPI
    :If Anyone know , Please send me your source code
    :Email : [email protected]



  • gameman1agameman1a Posts: 119Member
    : : : Please Tell me how to
    : : : +Access and edit windows memory (Virtual & Physical Memory)
    : : : +Memory Address of a running program?
    : : : Ex : A program name AAA is running
    : : : It uses Memory from BBB to CCC
    : : : How can I know AAA,BBB and CCC
    : : : Email : mailto:[email protected]
    : : :
    : : :
    : : :
    : : :
    : :
    : :
    : : Assuming you use the 9x prototype :
    : :
    : : Right click on my computer - go to performance tab - click virtual memory.
    : :
    : : For NT's :
    : :
    : : Right click on my computer - go to advanced - performance options - click change
    : :
    : : For the second problem I think you can download some programs out there to do this. Not sure if windows has a built in tool for this (sys monitor maybe?). Anybody knows?
    : :
    : ::
    : ::
    : ::
    : ::
    : ::
    : :Apocalypse:
    : :I Understand but
    : :Sorry I want to know a source code by a programming language
    : :such as Delphi,C++,Basic or WindowsAPI
    : :If Anyone know , Please send me your source code
    : :Email : [email protected]
    :
    :
    :


    What do you need a source code for? OK, here's an example of a C++ source code :

    #include //the iostream.h library is needed to use commands like cin and cout

    int main(void) //the main function, where a C++ program begin
    {
    cout<<"Hello...."; //prints the word "Hello...." to the screen
    return(0); //ends the program with a value 0, means no error
    }

    When compiled and executed it will show "Hello...." on the screen.

    Remember that anything behind the double slash "//" is a comment, that means ignored by the compiler. So :

    cout<<"abc"; //sahjhdsajhdsjhsadjhas

    is equal to :

    cout<<"abc";

    Learn C++ if you're interested! There are lots of tutorial out there.

    I hope this is what you want. Thank you!

  • Sephiroth2Sephiroth2 Posts: 423Member
    : : : : Please Tell me how to
    : : : : +Access and edit windows memory (Virtual & Physical Memory)
    : : : : +Memory Address of a running program?
    : : : : Ex : A program name AAA is running
    : : : : It uses Memory from BBB to CCC
    : : : : How can I know AAA,BBB and CCC
    : : : : Email : mailto:[email protected]
    : : : :
    : : : :
    : : : :
    : : : :
    : : :
    : : :
    : : : Assuming you use the 9x prototype :
    : : :
    : : : Right click on my computer - go to performance tab - click virtual memory.
    : : :
    : : : For NT's :
    : : :
    : : : Right click on my computer - go to advanced - performance options - click change
    : : :
    : : : For the second problem I think you can download some programs out there to do this. Not sure if windows has a built in tool for this (sys monitor maybe?). Anybody knows?
    : : :
    : : ::
    : : ::
    : : ::
    : : ::
    : : ::
    : : :Apocalypse:
    : : :I Understand but
    : : :Sorry I want to know a source code by a programming language
    : : :such as Delphi,C++,Basic or WindowsAPI
    : : :If Anyone know , Please send me your source code
    : : :Email : [email protected]
    : :
    : :
    : :
    :
    :
    : What do you need a source code for? OK, here's an example of a C++ source code :
    :
    : #include //the iostream.h library is needed to use commands like cin and cout
    :
    : int main(void) //the main function, where a C++ program begin
    : {
    : cout<<"Hello...."; //prints the word "Hello...." to the screen
    : return(0); //ends the program with a value 0, means no error
    : }
    :
    : When compiled and executed it will show "Hello...." on the screen.
    :
    : Remember that anything behind the double slash "//" is a comment, that means ignored by the compiler. So :
    :
    : cout<<"abc"; //sahjhdsajhdsjhsadjhas
    :
    : is equal to :
    :
    : cout<<"abc";
    :
    : Learn C++ if you're interested! There are lots of tutorial out there.
    :
    : I hope this is what you want. Thank you!
    :
    Gameman1a: Excuse me, what the hell does that have to do with his question.
    He wanted to know how to find the physical address of a page within the virtual address space of a program.

    Apocalypse: There is no API to find the physical address of an address. You can read and write the memory of a process using ReadProcessMemory and WriteProcessMemory. It will fail unless the entire space is valid.

  • gameman1agameman1a Posts: 119Member
    : Gameman1a: Excuse me, what the hell does that have to do with his question.
    : He wanted to know how to find the physical address of a page within the virtual address space of a program.
    :
    : Apocalypse: There is no API to find the physical address of an address. You can read and write the memory of a process using ReadProcessMemory and WriteProcessMemory. It will fail unless the entire space is valid.


    Sorry, misunderstanding. I shouldn't write when I was sleepy :).
    Gamemania

    Planet of Wonders ( http://tech-war.virtualave.net/ )


  • ApocalypseApocalypse Posts: 6Member
    : : Gameman1a: Excuse me, what the hell does that have to do with his question.
    : : He wanted to know how to find the physical address of a page within the virtual address space of a program.
    : :
    : : Apocalypse: There is no API to find the physical address of an address. You can read and write the memory of a process using ReadProcessMemory and WriteProcessMemory. It will fail unless the entire space is valid.
    :
    :
    : Sorry, misunderstanding. I shouldn't write when I was sleepy :).
    : Gamemania
    :
    : Planet of Wonders ( http://tech-war.virtualave.net/ )
    :
    :
    ::Apocalypse
    :But how can I use ReadProcessMemory and WriteProcessMemory?
    :and how can I know which process is running?



  • Stoic JokerStoic Joker Posts: 84Member
    : : Please Tell me how to
    : : +Access and edit windows memory (Virtual & Physical Memory)
    : : +Memory Address of a running program?
    : : Ex : A program name AAA is running
    : : It uses Memory from BBB to CCC
    : : How can I know AAA,BBB and CCC
    : : Email : mailto:[email protected]
    : :
    : :
    : :
    : :

    Greetings
    It sounds like your looking for a debugger, SoftICE is the best one i can think of. It's not cheap, but I think they have a demo. It'll let you trace/step through the program ass it's running or insert a "break point" at certain functions & open the program's code there (also hotkey open the active window etc...).


    HopeFully this is useful
    Stoic Joker

  • ColdShineColdShine Posts: 597Member
    Here are some functions you might find useful:
    - EnumProcesses (only for Win9x/ME)
    - OpenProcess
    - WriteProcessMemory
    - ReadProcessMemory

    Hope this helps somehow.
    ________
    [size=1][b][grey]Cold[/grey][blue]Shine[/blue][/b][/size]


Sign In or Register to comment.