Tim Misiak's Avatar

Tim Misiak

@timdbg.com.bsky.social

OS/systems engineer, co-founder of Augmend. I used to work on WinDbg at Microsoft. Also on mastodon/fediverse as @tim@dbg.social

2,034 Followers  |  131 Following  |  66 Posts  |  Joined: 22.06.2023  |  1.9966

Latest posts by timdbg.com on Bluesky

The Internet is just a fad

27.07.2025 02:54 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Microsoft:

All-time high valuation
All-time high revenue
All-time high profits

*Still does mass layoffs*

(Sidenote: probably now is the single best time to hire, or try to hire from the company)

10.07.2025 12:12 β€” πŸ‘ 178    πŸ” 19    πŸ’¬ 8    πŸ“Œ 2
Post image

There a gatcha machines for every interest group:

26.06.2025 04:27 β€” πŸ‘ 59    πŸ” 6    πŸ’¬ 6    πŸ“Œ 0
The book Building a Debugger, featuring a robot designing a complex debugging machine on a drafting board

The book Building a Debugger, featuring a robot designing a complex debugging machine on a drafting board

The book placed in front of a tortie cat

The book placed in front of a tortie cat

Building a Debugger is now officially released!

It guides you through building a whole native x64 debugger from scratch, dispelling all the magic and teaching you a ton about operating systems as it goes.

Even if you don't care about building a debugger, you can read it to your cat.

10.06.2025 15:59 β€” πŸ‘ 366    πŸ” 80    πŸ’¬ 23    πŸ“Œ 4

I have a story about this. Arm kernel debugger would run the CPU at 100% when at an exception. Supposedly early WP hardware didn't have sufficient thermal protection so it could literally crash and burn.

I don't know if it ever actually happened, but I was told to be careful when debugging.

09.06.2025 08:04 β€” πŸ‘ 5    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

100% accurate. I saw Dawson's first law many times working on WinDbg. With a few of them discovered by Dawson. The rest were discovered by the SQL server team using thread/module counts beyond what any sane person would expect.

O(n^2) is the "works on my machine" of algorithmic complexity.

07.06.2025 20:25 β€” πŸ‘ 10    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Looks like Google might be stepping up ad-blocking-blocking on YouTube. And considering they do absolutely nothing every time I report hateful and/or scam adverts, I guess it means I'm done with YouTube. Not that I needed much of a push.

05.06.2025 20:18 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

Thank you, github copilot, for covering up part of the line of code I need to read with an offer to explain it to me, with no way to dismiss or scroll past the button.

23.05.2025 16:20 β€” πŸ‘ 33    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Weird things I learned while writing an x86 emulator If you’ve read my first post about assembly language, you might expect that this is another post on how to understand assembly language. I will write more about that at some point, but this post is no...

When emulating x86 shr, remember to apply the proper mask:

β€œthe count is masked against 1FH, essentially using only the lowest five bits of the rotation.2 If the REX.W prefix is used, the mask will be 3FH, meaning the maximum shift is 63 bits.”

www.timdbg.com/posts/useles...

Thanks @timdbg.com!

16.05.2025 18:54 β€” πŸ‘ 3    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0
Building a  debugger: write a native x64 debugger from scratch, by sy brand
The cover shows a robot at a drafting board, drawing a complex machine

Building a debugger: write a native x64 debugger from scratch, by sy brand The cover shows a robot at a drafting board, drawing a complex machine

A view showing the spine, which is quite deep, as the book is over 700 pages ling

A view showing the spine, which is quite deep, as the book is over 700 pages ling

!!!!!! I have actually physical copies of my book

13.05.2025 13:33 β€” πŸ‘ 372    πŸ” 27    πŸ’¬ 24    πŸ“Œ 2

Really enjoyed interviewing @tartanllama.xyz about "Building a Debugger". This is a wonderful book for anyone who wants to learn more about how the OS, compiler, and debugger work together. It's not just for people who want to build a debugger!

08.05.2025 16:35 β€” πŸ‘ 21    πŸ” 7    πŸ’¬ 0    πŸ“Œ 0
Building a Debugger β€’ Sy Brand & Tim Misiak β€’ GOTO 2025
This interview was recorded for the GOTO Book Club. #GOTOcon #GOTObookclubhttp://gotopia.tech/bookclubRead the full transcription of the interview here:https... Building a Debugger β€’ Sy Brand & Tim Misiak β€’ GOTO 2025

Implementing a debugger teaches deep systems knowledge! @timdbg.com and @tartanllama.xyz explore fundamentals, stack unwinding complexity, and the future with time-travel debugging.

08.05.2025 12:01 β€” πŸ‘ 17    πŸ” 3    πŸ’¬ 0    πŸ“Œ 2

I suspect advances in AI debugging capabilities will come from new ways of capturing, organizing, and retrieving relevant information. And I don't think it will be sufficient to just gather lots of unstructured data, throw it at a vector DB, and call that "knowledge"

08.05.2025 06:22 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

I remember a debugging guru explaining to me that one particular crash was debugged not just by looking at the assembly code, but also by looking at the region where the crashes originated. And realizing that region pirated Windows a lot. And pirated windows came with certain malware... that crashed

08.05.2025 06:15 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

But what about those 1% of cases that require deep analysis? Will an LLM help with those cases? I hope so. But I also suspect the biggest challenge there is the collection, organization, and retrieval of domain knowledge that can't be directly learned from the source code or a stack trace.

08.05.2025 06:10 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

The vast majority of crashes are extremely shallow to analyze. The chain of events leading to a crash are directly available from a stack, source code, locals, and maybe a little disassembly. And I bet most LLMs get those cases right.

But so does "!analyze"...

08.05.2025 06:05 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
AI taught to analyze Windows crash dumps, released to open source β€” 'like going from hunting with a stone spear to using a guided missile' Brings crash dump analysis into the AI era by integrating GitHub Copilot with WinDBG.

Weird to see the logo I "helped" design pop up on a news site. But weirder to see why it popped up.

Ai+windbg makes sense, but probably the biggest boost for most people is just fixing arcane interactions rather than deep insights.

www.tomshardware.com/tech-industr...

08.05.2025 06:01 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Some day when Sanderson completes another series I will get back to reading his books.

06.05.2025 01:54 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Yes. Season 7 is definitely peak taskmaster. But I almost hesitate to tell people that because it spoils some of the other seasons in comparison.

03.05.2025 02:58 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Description of the PR that broke everything: "This PR should be noop."

30.04.2025 06:08 β€” πŸ‘ 5    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Haven't tried Gemini much. It feels like we are quickly getting to a "they're all good" state for the majority of queries, with each having a few smaller areas of strength.

27.04.2025 02:46 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

I'm about ready to switch from chatgpt to claude just to escape the new overly enthusiastic emoji-ridden responses. Just answer my question and stop acting like an sycophant.

27.04.2025 01:23 β€” πŸ‘ 5    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Not entirely sure. The glowy box on the right is the actual RFID scanner. I assume some part of the locking mechanism is inside the door itself, generating heat.. but that's a LOT of heat while essentially idle. All the doors in that stairwell are like that. The other stairwell is fine. Weird right?

21.04.2025 22:32 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

I always thought this door handle was weirdly warm to the touch... Guess I wasn't imagining it.

21.04.2025 20:50 β€” πŸ‘ 1    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0
Preview
Uncle Sam abruptly turns off funding for CVE program. Yes, that CVE program Because vulnerability management has nothing to do with national security, right? US government funding for the world's CVE program – the centralized Common Vulnerabilities and Exposures database of product security flaws – ends Wednesday.…

Uncle Sam abruptly turns off funding for CVE program. Yes, that CVE program

16.04.2025 00:06 β€” πŸ‘ 660    πŸ” 315    πŸ’¬ 27    πŸ“Œ 193
A graph in Datadog showing the health of several players in Valheim fluctuating over the course of several hours.

A graph in Datadog showing the health of several players in Valheim fluctuating over the course of several hours.

A Datadog graph showing values for skill levels in categories like "run", "bows", and "jump. Most categories trend up, except at one point in the timeline where they all drop by a percentage.

A Datadog graph showing values for skill levels in categories like "run", "bows", and "jump. Most categories trend up, except at one point in the timeline where they all drop by a percentage.

Why yes, I *did* spend a few hours today writing a mod for Valheim that forwards player metrics to a Datadog dashboard.

07.04.2025 05:52 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
RtlVirtualUnwind2 function (Wdm.h) - Win32 apps Given a representation of the CPU context within a function, calculates CPU context representing the parent (caller) stack frame.

Last week I pushed a bunch of documentation updates that have been on my to-do list for a while.

Most of the EH Rtl functions were documented in a hurry during the consent decree dark period. Hopefully you can the see the difference with how I documented the new learn.microsoft.com/en-us/window...

04.04.2025 02:38 β€” πŸ‘ 8    πŸ” 2    πŸ’¬ 1    πŸ“Œ 0

I didn't realize this was a thing until last week when the ONLY charger I brought on a trip was 130W dell charger, and it would trip the breaker without even being plugged into a device.

21.03.2025 05:03 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

This is why I run my own mastodon server. Never have to worry about someone else breaking the server when I can do that myself. (Guess how many times I messed up my nginx config)

20.03.2025 02:55 β€” πŸ‘ 6    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Someone needs to add a florped heap bugcheck code so we can properly blame all these heap florpers.

11.03.2025 02:51 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

@timdbg.com is following 20 prominent accounts