Attacks exploiting client-side vulnerabilities are common nowadays. Those attacks are more difficult to be addressed due the complexity of protocols and file formats. Generic detection mechanisms, such as code disassembly, are often inefficient against client-side vulnerabilities due to the file-size constraint in the gateway inspection and the embedded encoding specific formats support. This article discusses the challenges of file-type aware inspection and how to make such inspection in streaming mode.The authors use a network disassembly engine as the detection base and an implementation to detect invalid binaries in streaming mode to confirm the validity of the disassembly engine. Results of detection of real shellcodes and normal executable codes of a complete Linux installation are provided.