Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider the following memory layout for thread A (address ranges are inclusive): Kernel space: 0xd0000000 - 0xdfffffff Shared libraries: 0xb0000000 - 0xbfffffff Stack: random location

Consider the following memory layout for thread A (address ranges are inclusive):

Kernel space: 0xd0000000 - 0xdfffffff
Shared libraries: 0xb0000000 - 0xbfffffff
Stack: random location between 0x80000000 - 0x8fffffff
Heap: 0x40000000 - 0x7fffffff
Data and Text: random location between 0x10000000 - 0x3fffffff

Consider another thread B in the system. What is lowest possible memory address for the kernel space in thread B if:

1) Thread B is in the same process as thread A?

2) Thread B is in a different process from thread A?

Express your answer as a single hexadecimal number (not a range). Do not include leading 0's (if they exist). For example, 0x00001000 would be represented as 0x1000.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Budgeting Auditing And Evaluation Functions And Integration In Seven Governments

Authors: Andrew Gray

1st Edition

0765807246, 9780765807243

More Books

Students also viewed these Accounting questions

Question

L A -r- P[N]

Answered: 1 week ago