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

  • Home
  • SEARCH
  • 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 6731917
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T10:35:10+00:00 2026-05-26T10:35:10+00:00

This is more like a knowledge question than actual implementation. I was wondering if

  • 0

This is more like a knowledge question than actual implementation. I was wondering if any kernel function can have different virtual addresses after the system starts. My understanding of compilation for executable is virtual addresses are assigned for its binary but virtual to physical is done at run time by os.(paging. I know that stuff. So, no need 2 explain)
But in case of kernel functions, I see them having different virtual addresses when every time I restart the system.
1. How are kernel functions mapped in the address range? 2. Can they be mapped to different virtual addresses at run time. (I wonder how it is possible) 3. How is the address mapping for dlls? Are they given a virtual address at compilation or assigned a relative address at run time? (I think that’s how it is done.) 4. Is there any way to find if any kernel virtual address is pinned to physical memory.

Thanks

  • 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-05-26T10:35:11+00:00Added an answer on May 26, 2026 at 10:35 am

    Traditionally, executables are assigned a fixed virtual address mapping at compile time. However, in recent years, it has become evident that this is bad for security – attackers can use their knowledge of exactly where things are in memory as part of an exploit. To help mitigate this, one can use position-independent or relocatable executables to allow the load address to be randomized (at least on Linux). However, this comes with a downside – starting the program takes more time, as the dynamic loader must perform relocations (either that, or there is additional overhead at runtime from position-independent machine code).

    For the OS kernel, the additional overhead is trivial compared to the rest of the time spent booting; indeed, the Windows kernel actually dynamically links many of its components. So the kernel is an obvious place to randomize the load address.

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

Sidebar

Related Questions

This is more like a good practise question. I want to offer different generic
This is more of a licencing issue than a code question. I really like
I know this is more like a serverfault question than a stackoverflow question, but
This is more of knowledge sharing rather than asking a question. Thought this little
This is more like a question of principle. I made a table with 100%
I have a label on my asp.net page, it looks like this: more info
I have string like this /c SomeText\MoreText Some Text\More Text\Lol SomeText I want to
I have seen this question answered in reference to Bash, but can't find one
This is more like a package/import test. We'll start with my base folder at
I did some HTTP monitoring with WireShark. Are there more tools like this that

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.