/proc/pid/mem Reading

This is a discussion on /proc/pid/mem Reading within the C Programming forums, part of the General Programming Boards category; I am trying to read this file and get values out of the specific mem addresses. Is this possible? --redcrusher...

  1. #1
    Registered User
    Join Date
    Dec 2011
    Posts
    10

    /proc/pid/mem Reading

    I am trying to read this file and get values out of the specific mem addresses.

    Is this possible?

    --redcrusher

  2. #2
    Registered User
    Join Date
    Dec 2011
    Posts
    795
    Yes, but the process you're trying to read from has to be paused/stopped.

    Also, you have to be on a Linux (maybe a Mac, haven't tried).

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Reading a proc file in user space
    By Fillis52 in forum C Programming
    Replies: 3
    Last Post: 12-06-2010, 10:03 AM
  2. Reading /proc
    By crisis in forum Linux Programming
    Replies: 3
    Last Post: 11-07-2007, 03:46 AM
  3. /proc programming
    By visham in forum C Programming
    Replies: 2
    Last Post: 09-10-2005, 08:28 AM
  4. /proc/stat
    By scrapedbr in forum Linux Programming
    Replies: 2
    Last Post: 06-24-2004, 04:38 PM
  5. MDI msg proc
    By Unregistered in forum Windows Programming
    Replies: 5
    Last Post: 06-27-2002, 12:11 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21