Windows 95 system programming secrets is matt pietrek s third major work on how. Another prodigious blogger and a good friend of mine is chris sells. Windows 95 system programming secrets the secrets series. Discover improved system info, new kernel, debugging, security, and ui apis. He has authored three books on windows system programming and is a contributing editor for msdn magazine. Matt pietrek, msdn magazines under the hood columnist raymond chen has become something of a legend in the software industry, and in this book youll discover why. Since its introduction, the pe format has undergone incremental. For a more discursive approach than official specs, you should have a look at matt pietrek 1994 article peering inside the pe. This is a really sad day for me and ill booze as hell on the phneutral conference tonight, to quickly forget what i. An indepth look into the win32 portable executable file format by. First of all, its the first operating system with builtin.
My browser caused a flood of traffic, sio my ip address was banned. An indepth look into the win32 portable executable file format, part 2. Get your kindle here, or download a free kindle reading app. Use features like bookmarks, note taking and highlighting while reading the old new thing. Previously, he was a computer specialist and author specializing in microsoft windows pietrek also has a keen interest in cocktails and spirits, and he writes a blog on the subject. Old new thing download ebook pdf, epub, tuebl, mobi. He works for compuwarenumega labs as a lead architect for the boundschecker and distributed analyzer products. From his highlevel reminiscences on the design of the windows start button to his lowlevel discussions of globalalloc that only. Msdns web site has changed their urls around so many times that ive given up trying to keep with them. Previously, he was a computer specialist and author specializing in microsoft. From his highlevel reminiscences on the design of the windows start button to his lowlevel discussions of globalalloc that only your innergeek could love,the old new. An indepth look into the win32 portable executable file format by matt pietrek in the february 2002 issue of msdn magazine.
The company developed a kernel mode debugger, now softice, for dos and the windows nt family in december 1997 the company was acquired by compuware, when it became numega labs of compuware. Toward very end of article, robbins shows how to store descriptive text in thread information block tib which matt pietrek has described, and then how to display this information in vc debugger using a watch expression. Vectored exception handling in windows xp sp2 codeproject. Why is there a restorelasterror function that does the. Under the hood matt pietrek under the hood matt pietrek most recent most comments. This article updates matt pietreks vectored exception handling article from the msdn magazine. Given the date, its easy enough to locate them on msdn s site. Typically this means basing and binding, but might also include importing functions by ordinal or changing executable page alignment.
After that he went to columbia university and mit, where he got a bachelors degree in mathematics. Matt pietrek is the author of windows 95 system programming secrets idg books, 1995. Discover whats new in windows 95 from a programming and architectural point of view plunge into the specifics of its three core data structures modules, processes, and threads to understand issues such as local thread storage and structured exception handling get nittygritty details about key 16 and 32bit data structures, and tour the. Matt pietrek wrote an excellent article in the january 2001 msdn. The explanation is more readable than the dry, official style of the specs. Summary a good understanding of the portable executable pe file format leads to a good understanding of the operating system. For years, pc programmers used x86 assembly to write performancecritical code. So my life has finally settled down a bit, and i find myself working for the man, here in redmond wa. Even though he flamed one of my msdn articles, i still admire the heck out of raymonds ability to explain why various windows oddities are the way they are. With over 25 years in the software industry, matt pietrek has had quite the interesting ride. This white paper is an introduction to x64 assembly. Remove fatty deposits from your applications using the liposuction tool 32bit html. By continuing to browse this site, you agree to this use.
In the past, ive been an author, consultant and trainer, specializing in microsoft windows. He was the lead architect for compuwarenumegas bounds checker product line for eight years and has authored three books on windows system programming. Matt is a columnist for msdn magazine, and speaker. Conceptually, not much has changed, so the original article is still the documentation. Contact information, faq, downloads, articles, authors msdn columns, conferences, other writers, fun photos. If you know whats in your dlls and exes, youll be a more knowledgeable programmer. This is update code from my november 2001 msdn column. Two compiler versions later, the problem is only slightly better.
This implies that clr understands how to interoperate between seh and managed exception systems, which is a very key point since seh is based upon the notion of exception codes, while managed. Matt pietrek, msdn magazines under the hood columnist. Just read matt pietrek s blog and im completely aghasted at the moment. Matt pietrek is an independent writer, consultant, and trainer. A good understanding of the portable executable pe file format leads to a good understanding of the operating system. Managed exception handling is built on windows oss structured exception handling, commonly referred to as seh to learn more about seh, please read matt pietrek s excellent article first. Being the good dogfooder i am, im running vista in x64 mode. Starting at borland in the late 1980s during the heady days of the microsoftborland compilers wars, he got his first, intoxicating taste of os internals, debuggers and tools.
As matt pietrek has pointed out, the order of the dlls you see displayed inside the debugger is not the order in which. Building on his article published in the june issue, which demonstrated several ways to get process and dllrelated information from apis such as psapi, ntdll, and toolhelp32, the author presents some unusual ways to get systemoriented info that you can easily integrate in your own toolkit. Given the date, its easy enough to locate them on msdns site. Practical development throughout the evolution of windows kindle edition by chen, raymond. Richard murillo using vsts in microsoft legal charles. Compuware retired driverstudio and therefore softice, my beloved debugger. If you know whats in your dlls and exes, youll be a more. A tour of the win32 portable executable file format. Break free of code deadlocks in critical sections under. Msdn s web site has changed their urls around so many times that ive given up trying to keep with them.
It constantly amazes me how good his blog is, and how much. Paul dilascia 9 october 1959 3 september 2008 was an american software developer, author, web developer and programming journalist and one of the most celebrated columnists for msdn he grew up in manhattan, where he went to a special high school for smart children. Thread debugging with the thread information block. Practical development throughout the evolution of windows book. Back then, a simple hello world program compiled to a 32kb executable. This is updated code from my october 2000 msdn article, avoiding dll hell. This article, the first of a twopart series, looks at the changes to the pe format that have occurred over the last few years, along with an overview of the format itself.
Scott hanselman, raymond has been at microsoft for many years and has seen many nuances of windows that others could only selection from the old new thing. Pietrek has written several books on microsoft windows and for eight years wrote the column under the hood in msj and. Matt pietrek under the hood matt pietrek most recent most comments. Download old new thing or read online books in pdf, epub, tuebl, and mobi format. Matt pietrek born january 27, 1966 is an american spirits and cocktail writer. Libctiny matt pietrek 2001 msdn magazine, january 2001 libctiny plus some additions obj files from. Lib matt pietrek download the code for this article. My current project involves moving over an existing web service to the new machine. Microsoft portable executable and common object file format specification revision 6. Download introduction to x64 assembly pdf 303kb introduction. Pe file header of the view the tool to view pe file header.
While i was looking in msdn for something else, i came across an article by john robbins. It also displays a recursive tree of all the dependencies of the executable file all the files it requires to run. Windows system programming 4th edition addisonwesley microsoft technology series. Download library source 18 kb download demo project 21 kb. If youre finding that the vs debugging seems to get slower and slower especially when you first crank up a process, one thing to look for is unresolved breakpoints. Improved system info and kernel, debugging, security, and. As of april 2004 he has been working at microsoft, initially on visual studio. Typerefviewer utility shows typerefs and memberrefs in one. Matt pietrek is the author of windows internals addisonwesley, 1993. Practical development throughout the evolution of windows. Matt pietrek is a software engineer at a major language developer.
Unless otherwise stated, the section names in figure 1 come from microsoft tools. However, 32bit pcs are being replaced with 64bit ones, and the underlying assembly code has changed. Matt pietrek,msdn magazines under the hood columnist raymond chen has become something of a legend in the software industry, and in this book youll discover why. How clr maps seh exceptions to managed exception types. Here, matt tells us about some really interesting wor.
If everything is legit, then id suggest trying another download from msdn and recopying it to a cd for installation. Meet matt pietrek, architect in visual studios team system technology group, specifically focusing on profiling and diagnostics in visual studio. Numega technologies or numega was a software company founded in 1987 by frank grossman and jim moskun in nashua, new hampshire, usa. Matt pietrek, coauthor of the bestselling undocumented windows, reveals the. Download it once and read it on your kindle device, pc, phones or tablets.
Matt pietrek is an engineer at numega technologies incorporated, developer of boundschecker and softicew tm. Matt pietrek visual studio diagnostics charles channel 9. This month, ill take the time to really drill into the subject and show you just how cool it can be. This site uses cookies for analytics, personalized content and ads. Net framework support, and its the first 64bit os from microsoft. Level of difficulty 1 2 3 summary the win32 portable executable file format pe was designed to be a standard executable format for use on all versions of the operating systems on all supported processors.
1060 228 483 1539 746 1128 1091 517 1006 190 1195 753 918 1461 7 1144 941 588 989 802 808 460 1510 1068 1430 271 1213 830 978 1415 639 558 601 422 988 249 1079 1388 1098 662 592