3 ms·
I have a question, now I've never decompiled anything but I was under the impression it would come out in machine code, so you wouldn't get programmers notes, t
by marak830 12y ago
I have a question, now I've never decompiled anything but I was under the impression it would come out in machine code, so you wouldn't get programmers notes, tabs etc. Can someone explain how their doing this? I knowI should know this Haha, be gentle :-p
- jetti 12y agoYou wouldn't get any if that information unless you ran -g with gcc. However, the article uses the source code and doesn't decompile anything.
- marak830 12y agoAhh thanks guys I must have missed that part.
- newaccountfool 12y agoYour correct, this would only be usefull with scripting languages such as Python or other. Or code in which you had the source.
- AlyssaRowan 12y agoYou still get what they wrote, and most of how they wrote it. It's hard to describe, but you kind of get the knack of spotting trends after a while. The accuracy's kind of poor, though. There are a lot of programmers in the world; if someone uses and reuses very distinctive routines, fine, but otherwise you're only really going to get a general impression. You probably won't find Satoshi this way.
- geofft 12y agoDo you test your inputs as soon as the function starts, or where you need them? Or not at all? Do you write lots of little functions, or few big ones? Do you like passing by value or reference when either would work? Do you prefer this wrapper class or that one? Do you use this language feature or that mostly-equivalent one? What are your externally-visible symbols (like API functions) named? How do you report errors,a and what sort of grammar do you use? How much do you log? Do you allocate medium-sized structures on the stack or the heap? Do your for loops count up or down? Do your error-checks on UNIX functions test for == -1 or for < 0? Do your own functions return -1, 0, or something else on error? etc.