Navigation
· Home
· Headlines
· News
· Articles
· Forum
· Downloads
· Photo Gallery
· Web Links
· FAQ
· Contact
· Coming soon...
· Ohm's law
· Headlines
· News
· Articles
· Forum
· Downloads
· Photo Gallery
· Web Links
· FAQ
· Contact
· Coming soon...
· Ohm's law
Latest Articles
· ! Ultimate PIC Tutorial
· 1 - Introduction to ...
· Quick case or front ...
· FT-AVR910 AVR progra...
· Linker Script Easy
· 1 - Introduction to ...
· Quick case or front ...
· FT-AVR910 AVR progra...
· Linker Script Easy
Forum Threads
Newest Threads
· Building a PICkit2 c...· PWM using Mikroc
· Problem with activation
· pickit2 extra info.
· PICKIT2 Programmer
Hottest Threads
| · Building a PICkit... | [315] |
| · pickit2 clone | [22] |
| · No Subject | [17] |
| · Full featured PIC... | [13] |
| · PicKit2 clone (in... | [10] |
Login
Headlines
16/06/2009 23:38
19/02/2009 17:10
12/11/2008 00:09
18/10/2008 20:13
23/09/2008 21:32
unPIC - The PIC disassembler
(by T.Rudnai - 12/09/2008)
As I have spent my life with analyzing viruses and other malwares like spywares and adwares I have seen quite a few of disassembled codes. Many of these were written in Assembly but nowodays most of them written in high level language (HLL) like C, C++ or Pascal To understand what's going on is sometimes not as easy as it seems. This happenes basically because of how the human brain works. Human understands literatures better than numbers, that's why basically you need to translate the machine code back to assembly instructions. And then the brain just do not want to keep in mind what is stored in the memory area 0x5782... So that if not then it is better to rename that area to something more easy to remember, to a text label that can tell what is the meaning. For example a label like 'keyboard_state' would be better to understand the purpose of that area. The bad thing is that as we human could not understand numbers very well computers could not understand texts at all. So that a disassembler will not be able to tell what is that memory area for, so do not know what label has to be put on. So all it can do is to put a label something like: 'mem_5782', and later on the human could find out a better name for it.

unPIC is a Perl script that disassembles Microchip microcontroller's HEX files. This is a powerful tool for all reverse engeneers that creates a well understandable assembly source from a binary file. Creates xrefs, labels, subroutines and much more...
As I have spent my life with analyzing viruses and other malwares like spywares and adwares I have seen quite a few of disassembled codes. Many of these were written in Assembly but nowodays most of them written in high level language (HLL) like C, C++ or Pascal To understand what's going on is sometimes not as easy as it seems. This happenes basically because of how the human brain works. Human understands literatures better than numbers, that's why basically you need to translate the machine code back to assembly instructions. And then the brain just do not want to keep in mind what is stored in the memory area 0x5782... So that if not then it is better to rename that area to something more easy to remember, to a text label that can tell what is the meaning. For example a label like 'keyboard_state' would be better to understand the purpose of that area. The bad thing is that as we human could not understand numbers very well computers could not understand texts at all. So that a disassembler will not be able to tell what is that memory area for, so do not know what label has to be put on. So all it can do is to put a label something like: 'mem_5782', and later on the human could find out a better name for it.

Comments
Post Comment
Please Login to Post a Comment.
Ratings
Rating is available to Members only.
Please login or register to vote.
Please login or register to vote.
No Ratings have been Posted.


But is there any chance for something to convert ASM to C++, Pascal, Basic? That would be really nice!