The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

Evaluating tail call elimination in the face of return address protection, part 1
Oct 17, 2024
Post comments count 2
Post likes count 0

Evaluating tail call elimination in the face of return address protection, part 1

Raymond Chen
Raymond Chen

Reusing the activation frame.

Effects of classic return address tricks on hardware-assisted return address protection
Oct 16, 2024
Post comments count 4
Post likes count 2

Effects of classic return address tricks on hardware-assisted return address protection

Raymond Chen
Raymond Chen

Return address manipulations that are possibly even more impermissible than they already were.

A quick introduction to return address protection technologies
Oct 15, 2024
Post comments count 4
Post likes count 1

A quick introduction to return address protection technologies

Raymond Chen
Raymond Chen

Detecting attempts to manipulate the return address.

On naming things: The tension between naming something for what it is, what it does, or how it is used
Oct 14, 2024
Post comments count 13
Post likes count 2

On naming things: The tension between naming something for what it is, what it does, or how it is used

Raymond Chen
Raymond Chen

You are guaranteed to make someone upset.

How can I explicitly specialize a templated C++ constructor?
Oct 11, 2024
Post comments count 1
Post likes count 3

How can I explicitly specialize a templated C++ constructor?

Raymond Chen
Raymond Chen

Looking for a C++ tag type for representing another type.

A correction to the awaitable lock for C++ PPL tasks
Oct 10, 2024
Post comments count 2
Post likes count 2

A correction to the awaitable lock for C++ PPL tasks

Raymond Chen
Raymond Chen

Over-scoped lock.

If threads are created without a message queue, why can I post to them immediately upon creation?
Oct 9, 2024
Post comments count 3
Post likes count 2

If threads are created without a message queue, why can I post to them immediately upon creation?

Raymond Chen
Raymond Chen

Check who is doing the posting.

Microspeak: Run to ground
Oct 8, 2024
Post comments count 1
Post likes count 1

Microspeak: Run to ground

Raymond Chen
Raymond Chen

Come to a resolution.

A popular but wrong way to convert a string to uppercase or lowercase
Oct 7, 2024
Post comments count 14
Post likes count 7

A popular but wrong way to convert a string to uppercase or lowercase

Raymond Chen
Raymond Chen

Converting character by character isn't good enough any more.