Comments (5)
Indeed, _fstat64
could be used instead, but I suspect that won't be the only place where assumptions will break. PR welcome ;-)
from cv2pdb.
but I suspect that won't be the only place where assumptions will break
yeah, MSVC's read()
(i.e. _read()
) can't handle 64bit counts.
from cv2pdb.
Hi, i want to use cv2pdb for the same purpose too, malloc fails too. So i thing why it is to load the whole file, Setfilepointer handles >2gb good, then it will read\write the file by parts, not sure about mspdb stuff though, seems its undocumented i failed find any good info.
from cv2pdb.
The best information available I know of is in these files: https://github.com/microsoft/microsoft-pdb/tree/master/include (these were not available at the time this program was written). LLVM also has tools to generate CodeView debug info.
If your file is below 4 GB, it might be easiest to fix cv2pdb using a 64-bit build and trying to be stricter about using unsigned/signed sizes.
As you suggest it might be better to handle sections separately, though, to deal with even larger files (each section will have to be below 4 GB).
from cv2pdb.
... and semi-OT: there is a patch for gcc/binutils to generate pdb directly:
https://gcc.gnu.org/pipermail/gcc-patches/2021-March/567030.html
from cv2pdb.
Related Issues (20)
- Lack of debug symbols in binary built with optimizations enabled HOT 2
- Appveyor cv2pdb.exe artifact deleted HOT 4
- Hang when vswhere produces no output HOT 1
- Any plans for new release? HOT 1
- What files from VisualStudio are strictly required for cv2pdb to run? HOT 2
- produces empty pdb for wined3d HOT 4
- Invalid form=11 for directory index lineHdrOffs=7ded41 HOT 4
- Lack of structures and classes forward declarations HOT 1
- Аnonymous unions and typedefs has the same UDT name "__noname"
- Unicode WCHAR strings in builds without native wchar_t not showing as strings in debugger
- cannot load PDB helper DLL HOT 2
- add continuation record(addDWARFFields)
- Cannot get class info after convert
- cv2pdb converted a PDB that neither IDA nor WinDbg recognize HOT 5
- missing symbols from generated pdb on windows 11 for FFmpeg shared libraries HOT 3
- How do i use this on executable built using by mingw64-qmake? HOT 4
- Cannot load PDB helper DLL HOT 1
- Ghidra support
- NASM bug HOT 1
- Missing symbols 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 cv2pdb.