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 8913947
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T04:35:35+00:00 2026-06-15T04:35:35+00:00

I got the instruction pointer from a thread in a .NET process and now

  • 0

I got the instruction pointer from a thread in a .NET process and now I’d like to determine
in which module in that process it resides.
So I was thinking to get the loaded modules of the process and check for each of them if:
Module’s Base address <= ip < Module’s Base address + Module’s size.

What I wanted to know is:
How can I get the size of a .NET module? (preferablly in C++)

  • 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-15T04:35:37+00:00Added an answer on June 15, 2026 at 4:35 am

    When you check the instruction pointer when executing .NET code, it will be either in the CLR module, or in the module’s JIT-compiled code.

    Neither of these are interesting for you, especially since the JIT compiled CLR code can be thrown away, recompiled, dynamically optimized… there is no such thing as the ‘size’ of a .NET module.

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

Sidebar

Related Questions

Now i have got a machine instruction'address from EIP register. This machine instruction could
In many tutorial of Acl component in cakephp i got instruction that add component
Got a seg fault from my memcpy that gdb can't give me anything else
I have got a const char which is made by concatenation like this: const
I've got a thread that's polling a piece of hardware. while not hardware_is_ready(): pass
I've got polymorphic association which looks like class Certificate < ActiveRecord::Base attr_accessible :certification_id, :certified_id,
I have got a theme downloaded from http://template-help.com . I have followed the instruction
I've got the following instruction in Python I'd like to understand and translate in
I got it to run with the instruction on the site, but after that
I've got a regex that matches stuff like this: asdasd[text]; it works fine one

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.