Questions tagged [address-space]

The set of addresses that the code of a process is able to refer to during its execution. Note that the ability of a process to refer to some addresses doesn't mean that actual memory is allocated at those addresses.

79 questions
0
votes
2 answers

why there are such large virtual addresses in a x86_64 kernel's memory layout

kernel's Documentation/x86/x86_64/mm.txt says: ffff880000000000 - ffffc7ffffffffff (=64 TB) direct mapping of all phys. memory so I assume there should not be address mappings larger than actual physical DRAM size in this region. but on a x86_64 PC…
0
votes
1 answer

Does expanding the MIPS instruction set increase the opcode?

For a 32-bit MIPS, an R-type instruction looks like this: Say that we expanded the MIPS instruction set to contain four times as many instructions. Would the opcode increase from 6-bits to 8-bits? Some sources say that the opcode would increase,…
jshapy8
  • 1,983
  • 7
  • 30
  • 60
0
votes
1 answer

Address spaces for ROM's and finding out the virtual address of certain files

Thanks for reading this question. I am very new to arm and computer architectures in general so sorry if this is a basic question. I have spent plenty of time reading and learning about the MMU and the virtual to physical address translation. I have…
0
votes
3 answers

Address space independent representation of objects

If the receiver of a request can be represented in an address space-independent way, then you can transfer a command object for the request to a different process and fulfill the request there. from : http://www.worldcat.org/isbn/9780201633610 How…
q126y
  • 1,589
  • 4
  • 18
  • 50
0
votes
0 answers

Why do some processors implement a separate address space for IO devices?

I'm wondering what the exact reason was to implement a separate address space and instruction set for IO devices, especially the x86 architecture. Linux Device Drivers [Chp. 9] remains stating some manufacturers "decided that peripheral devices are…
e1kable
  • 1
  • 1
0
votes
1 answer

What is the addressability given number of 16 address wires (bus) and 8-bit word size?

A computer has 16 address wires (address bus?) and 8-bit word size. What is the addressability? I figured out that address space is 2^16 = 65536, but I still don't know how to calculate addressability. I know addressability is the bytes each space…
sumitz1212
  • 63
  • 4
  • 10
0
votes
1 answer

Why in address space's private regions so many zero bytes?

I'm examining process's address space under windows. When i see content of private regions, i wonder, because there are so many zero bytes (in some regions more than 95%). If more of private regions don't used while application is running, why they…
0
votes
0 answers

Computing memory address of the environment within a process

I got the following code from the lecture-slides of a security course. #include #include #include #include extern char shellcode; #define VULN "./vuln" int main(int argc, char **argv) { void *addr =…
Maricruzz
  • 405
  • 3
  • 7
  • 14
0
votes
1 answer

is heap per logical processor in dotnet?

I have a couple of questions including the one in the title for two cases (in dotnet and in general) (1) is heap per logical processor (I guess YES in general) (2) is address space per logical processsor (YES in general?) (3) can a process get…
hong pei
  • 929
  • 2
  • 13
  • 27
0
votes
1 answer

Proxy member access

Is it somehow possible for a class to act as a proxy when accessing it's members? The simplest way would be of course to write getters/setters but this is inflexible und unelegant since you have to write all of the setters yourself which bloats the…
Ferio
  • 516
  • 2
  • 13
0
votes
1 answer

Memory allocation while passing environment variable as command line argument

I am trying simple buffer overflow attacks in linux. I have a vulnerable program which accepts a command line argument. I have another program that sets an environment variable that has some code i want to execute (typically shellcode). Now I am…
0
votes
0 answers

Virtual memory size and allocation

On 32-bit x86 systems, the total virtual address space has a theoretical maximum of 4 GB. By default, Windows allocates half this address space (the lower half of the 4-GB virtual address space, from x00000000 through x7FFFFFFF)…
YAKOVM
  • 9,805
  • 31
  • 116
  • 217
-1
votes
1 answer

Understanding QEMU usermode emulation memory map

I'm running an i386 binary under QEMU user mode emulation. The process makes a system call: ioctl(5, USBDEVFS_BULK, {129, 96, 5000, 0x080d6698}) The userspace address 0x080d6698 is the output buffer for the ioctl. When I run QEMU with -d page, I…
rgov
  • 3,516
  • 1
  • 31
  • 51
-1
votes
1 answer

how to define a named address space and the ASM instructions to access it in GCC?

GCC supports named address spaces. That means that we may define pointers to the defined address space. This address space may need special ASM instructions to be accessed, that memory space could be accessible e.g. via in/out instructions, so there…
George Kourtis
  • 2,381
  • 3
  • 18
  • 28
-1
votes
1 answer

b2b networking network address space

I'm an applications architect with a public sector health agency. The current task is to connect a private hospital to enable health information integration. According to the network team, the private hospital are both using private IP addresses…