Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8080493
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T16:25:50+00:00 2026-06-05T16:25:50+00:00

I have a closed-source 3rd party program, and I want to be able to

  • 0

I have a closed-source 3rd party program, and I want to be able to

  • Know what memory is allocated to the program
  • Access that memory (read only is fine)

Utilities like vmmap(1), heap(1), and leaks(1) seem to have similar functionality to what I need, but I can’t find their source anywhere (the OS X versions) and can’t figure out how they work. Preferably, this would all be done in user-space, possibly running as root, I don’t want to write kernel code for the purpose of bypassing memory protection if I can avoid it.

I tried using shared memory passing the address of what I want to read as the 2nd argument to shmat(2), but this was ultimately unsuccessful (and probably not its intended usage and/or bad practice) and still left me without a way to determine what memory I’m looking for anyway (the program who owned the memory had to report its address to me).

Is there a way to just disable memory protection for a certain program so that it won’t segfault when it tries to read/write memory that is allocated to a different process? Is there a better way that wouldn’t enable bugs to seriously corrupt my entire system?

How is this achieved?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T16:25:52+00:00Added an answer on June 5, 2026 at 4:25 pm

    I don’t have access to an OS X machine, but this looks very similar to what you’re trying to do:

    Reading Other Process' Memory in OS X?

    Here’s an archive of the link that doesn’t work:

    http://web.archive.org/web/20090627062246/http://www.matasano.com/log/1100/what-ive-been-doing-on-my-summer-vacation-or-it-has-to-work-otherwise-gdb-wouldnt/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have read-only access to a database that was set up for a third-party,
I have a third-party, closed source application that exports a COM interface, which I
I have a closed-source Linux application that I want to distribute. This application is
i have a closed source program that prints output to standard output. i need
I have a closed-source 3rd-party shared library I need to link against. Unfortunately, the
I have a site at blog.foobar.com that I have closed down, and I want
I have a set of points that i want to turn into a closed
I have situation where a 3rd party open source product I am using is
I have a closed source unmanaged DLL coded in C++ that I wanted to
I have a specific language (its private, and closed source) that I'm writing code

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.