[TUHS] wump.c for v6

Warner Losh imp at bsdimp.com
Tue Jan 7 04:48:02 AEST 2020


On Mon, Jan 6, 2020 at 11:38 AM Will Senn <will.senn at gmail.com> wrote:

> On 1/6/20 12:29 PM, Warner Losh wrote:
>
> The good news is that disassembly will tell you right away if it was
> written in C or not.
>
>
> OK. I give up. How?
>

Generally, the C compiler generates code that's quite distinctive (at least
PCC does, not sure about Dennis' compiler). People writing free assembler
tend to do really weird things for function entry / return.

And it will likely tell you if it's some weird wrapper around another
binary, though that wasn't too common at bell labs.

Warner
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20200106/2e118a03/attachment-0001.html>


More information about the TUHS mailing list