Does the data of a PE file in memory mirror that of the data on disk?
Is it true that PE files map directly into memory?
204 Views Asked by Sam At
1
There are 1 best solutions below
Related Questions in MEMORY
- DataTable does not release memory
- Impala Resource Estimation for queries with Group by
- Is there any way to get a lru list in Linux kernel?
- C# console application - Unhandled exception while finding the Available and free Ram space.Getting exact answer in windows forms application
- Allowed memory size of 134217728 bytes exhausted (tried to allocate 32 bytes) in PHP
- C# equivalent of Java Memory mapping methods
- How to figure out the optimal fetch size for the select query
- Creating two arrays with malloc on the same line
- Using parse.com and having allocation memory issue
- error reading variable: cannot access memory at address
- CentOS memory availability
- Correct idiom for freeing repr(C) structs using Drop trait
- Find Ram/Memory manufacturer in Linux?
- Profiling memory usage on App Engine
- Access Violation: 0xC0000005, why is this happening?
Related Questions in DISK
- Detect volume mount and get its path
- Implementing Tree Structure in disk memory
- Trying to read from file within existing for loop
- Java file IO slows down with large consecutive writes
- Is it true that PE files map directly into memory?
- Low level page manager in C/C++
- I use freebsd11 but iops is very very poor ('fio' tools)
- How can I find the total disk size of the device my app is running on?
- Copying docker image folder between partition with rsync
- Invalid Directory Item Count (It should be 3*673 instead of 3*674) while MacBook partition using Disk Utility
- Redshift disk space vs number of nodes
- Diskpart UniqueID - C# how to get that id
- seek for an useful and free utility to clean my OSX
- Access the RAW disk using C/C++
- Azure: Unable to attach my data disk to VM
Related Questions in PORTABLE-EXECUTABLE
- Determine physical file address of directory RVA in PE file
- What is the relationship between sections and data directories in a PE file?
- I am confusing some assembly code about enable PE within boot/setup.s file in Linux 0.11
- Is it true that PE files map directly into memory?
- What Does Windows Do Before Main() is Called?
- Call "main" function programmatically in Windows
- Memory Address files
- Determining if the running executable has IMAGE_FILE_LARGE_ADDRESS_AWARE?
- Identification of PE section characteristic
- Is kernel32.dll always loaded below 0x80000000 (x64) ?
- How can I find the public key of any PE file?
- PE format, what is the use for IAT Directory
- How to insert/remove some garbage instructions into ELF/PE file without changing its functionality?
- How does the linker determine at which line a symbol is called?
- How can I use pe.entry_point to write YARA rules?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Well not exactly.. The minimum alignment on disk is sector, while in RAM it is one page. That may cause that the content of your sections in file is somewhat stretched in RAM. So.. curvy mirror maybe?
There are two kinds of offsets you work with when editing PEs. RVAs and RAW offsets. RVAs are offsets to your image base in RAM and RAW offsets are the same in file. In the IMAGE_SECTION_HEADER structure in winnt.h there is VirtualAddress for RVA and PointerToRawData for offset in file.
Do read this header, otherwise what's the point of this question..