Comments (2)
Hi @seekamoon
Actually this is on purpose to return an RVA and not a VA since the imagebase
is stored in another header.
I agree that it's confusing but this is how the PE format is documented:
VirtualAddress: For executable images, the address of the first byte of the section relative to the image base when the section is loaded into memory
from lief.
Thank you for explanation. Now I see.
from lief.
Related Issues (20)
- Long section names in PE HOT 2
- installed by pip missing many attributes HOT 1
- Protections numbers meaning in Mach-O HOT 1
- `lief.PE.parse' function throws an out-of-range exception
- Python API missing `set_resources()` HOT 3
- Two issues in pe_reader (examples/c/pe_reader.c) HOT 1
- Symbol lookup error when swapping symbols name HOT 1
- Test binaries are not available HOT 1
- error: no declaration matches βLIEF::read_out_of_bound::read_out_of_bound(uint64_t) HOT 1
- Support for Rust demangle HOT 2
- Allocation-size-too-big in LIEF::MachO::init_c_sections
- Using std::isprint to determine may miss some strings HOT 1
- More pre-compilation targets for rust bindings HOT 2
- Support for .relr.dyn HOT 2
- str(Binary) -> MemoryError: std::bad_alloc HOT 2
- Missing Exports in PE (dll) HOT 2
- 'Header' object has no attribute 'flags_list' and 'lief._lief.ELF' has no attribute 'PROCESSOR_FLAGS' HOT 2
- AttributeError: property of 'Binary' object has no setter HOT 1
- some QNX ELF have no SHT HOT 1
- handling QNX ELF note, type 3 (stack info)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lief.