Comments (6)
I'm very sorry for the win xp sp3 ntkrnl。 my computer was injured by virus.
the krnl file is an error pe file.
from pe-parse.
Ok, I will take a look.
from pe-parse.
This issue has been fixed in parse.cpp since #56. Fixed in pepy since #73 with change to #define PEPY_PARSED_GET
.
from pe-parse.
This issue appears when using pepy?
from pe-parse.
I'm not able to reproduce the issue, dump-prog, pepy test and IDA Pro are outputting the same results to me for ntoskrnl.exe.
from pe-parse.
the bug rehappened to me... export table calc error.
function name bool getExports(parsed_pe *p) + 211 lines
::uint32_t symRVA;
if (!readDword(eatSec.sectionData, eatOff + eatIdx, symRVA)) {
return false;
}
bool isForwarded =
((symRVA >= exportDir.VirtualAddress) &&
(symRVA < exportDir.VirtualAddress + exportDir.Size));
if (!isForwarded) {
::uint32_t symVA;
if (p->peHeader.nt.OptionalMagic == NT_OPTIONAL_32_MAGIC) {
symVA = symRVA + p->peHeader.nt.OptionalHeader.ImageBase;
} else if (p->peHeader.nt.OptionalMagic == NT_OPTIONAL_64_MAGIC) {
symVA = symRVA + p->peHeader.nt.OptionalHeader64.ImageBase;
} else {
return false;
}
exportent a;
a.addr = symVA;
a.symbolName = symName;
a.moduleName = modName;
p->internal->exports.push_back(a);
exportent.addr is 64bit uint. symVA you defined as uint32_t.
uint32t = uint32_t + 64bit imagebase. then bit lose. bug happens to windows x64 ntoskrnl.exe win10
2015 11
from pe-parse.
Related Issues (20)
- Corkami PE Testing - Known Failure Fixes
- Compile error HOT 6
- peaddrconv compile error with GCC 11.0.0 HOT 3
- Compilation with warnings-as-errors should be optional
- Error parsing resource id with invalid unicode characters HOT 1
- pepy: Remove support for Python 3.6, add 3.8, 3.9, 3.10
- Workflows are referencing vulnerable actions HOT 1
- Invalid user-defined conversion (compiling error) - latest release HOT 4
- Add a CHANGELOG
- Reduce our build matrix
- Build failure/failure with `-Wconversion` HOT 6
- tests\assets\corkami-poc-dataset\PE\bin\no_dd64.exe flagged as Trojan:Win32/Wacatac.B!ml HOT 6
- Publish Python wheels
- python setup.py sdist builds incorrect packages due to missing files in MANIFEST.in
- RIIR HOT 3
- codecvt_utf8 deprecated in C++17
- Reduce reference set of pe-parse - peparse::`dynamic initializer for 'ProductIdMap'' HOT 1
- Problem in parsing 2 files HOT 4
- Switch to trusted publishing
- CONTRIBUTING.md deserves an update!!! HOT 1
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 pe-parse.