Found somewhere on internet:[Read More]
Last time I coded
peinfo, https://github.com/angeleno/peinfo to get information from a PE file. It listed the guid for pdb file generated alongwith.
This is helpful as it is, but at times you have pdb file and want to query it’s guid.
I did not find anything handy for it, thus ended up coding one myself. Here the Debug Interface Access SDK is of great help.
The idea is pretty simple and straight foward:
- Load PDB as DataSource,
- Open Session,
- Get GlobalScope,
- Get GUID,
adding cmd in visual studio
One of the handy commands with VS IDE is to launch
cmd, it was provided by default earlier but lately i have been missing it with VS 2015 & onwards.
While poking around i found that you could launch
cmd as external tool:
C++11 thread safe statics
My good colleage, Mike.McCarty, put out code for review and stated that statics are thread-safe. As it is, sounded very scary but I trust Mike. Thus started exploring what has been done there.
here is the std document for the same: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2660.htm
First thing wrote some code to dump disassembly in VS2015:[Read More]