I agree with Ange that it should be allowed to post disassembly etc.
However, that said I disagree that it should be allowed to include "attachments". The reason being that these files are likely to go away and we have no service like the one SE uses for images to store arbitrary files. This is also why I write this up as an extra answer, because while I agree with (and upvoted) the other answer, I don't think it is good form to allow files "somewhere" to be referenced. Assuming this was allowed for some reason, a future reader may not even be able to reproduce the description outlined in the answer(s) because the file has long since gone.
Furthermore I think that for a Q&A site the relevance for the reader (and future internauts) needs to be considered as the prime aspect when decisions are made what to allow and what not. If you are disassembling a particular sample/target, it makes sense to ask on RE.SE for specific conceptual questions. I think it doesn't make sense to ask all kinds of questions you'd ask on kernelmode.info if you are stuck with a particular sample.
NB: my concern is not about the uploaded files being malicious per-se. That's a whole different story. My concern is about the fact that allowing this means that we would end up with the situation that the network-wide policy which stipulates that relevant parts of a linked resource be quoted is violated.
amccormack points to this meta.SO topic concerning arbitrary file upload.
There are more aspects to it:
- Fairness: if the file goes away, people will later not even get the chance to answer a question based on a particular uploaded file that has since disappeared. So it's not just the "keeping a record" issue mentioned above. Keep in mind that the first answer isn't always the greatest. The communities grow at all times and hence new people with new expertise will join and be able to answer.
- It makes questions less concise (aka too localized): yep, I side with Mehrdad here. It's a bad idea to make questions too specialized. We know that and it's what I meant by conceptual questions above versus all kinds of questions.