Threat Level: green Handler on Duty: Brad Duncan

SANS ISC: ndisasm Update 2.15 - SANS Internet Storm Center SANS ISC InfoSec Forums

Watch ISC TV. Great for NOCs, SOCs and Living Rooms:

Sign Up for Free!   Forgot Password?
Log In or Sign Up for Free!
ndisasm Update 2.15

I regularly use disassembler ndisasm (part of the NASM project) in diary entries. One of the features I like, is its ability to read data from stdin: I can pipe the output of a command into ndisasm.

I observed a problem with the Windows version that has now been fixed in version 2.15: stdin was used in text mode, while it has to be used in binary mode. One of the effects of this bug on Windows, is that output is truncated after a CTRL-Z (0x1A) byte was received: this is the EOF marker for text files in Windows.

0x1A is no longer a problem now:

Didier Stevens
Senior handler
Microsoft MVP


649 Posts
ISC Handler
Jul 25th 2020

Sign Up for Free or Log In to start participating in the conversation!