home *** CD-ROM | disk | FTP | other *** search
- Path: news.NetVision.net.il!news
- From: Jack <avilev@netvision.net.il>
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: 680X0 -> PPC translator?
- Date: Sat, 20 Apr 1996 09:20:07 -0700
- Organization: NetVision LTD.
- Message-ID: <31790EB7.52C3@netvision.net.il>
- References: <31499F8E.26A9@netvision.net.il> <volker.0fw1@vb.franken.de> <19960408.40F118.E8F9@an052.du.pipex.com> <316BD11F.69A7@netvision.net.il> <19960410.413918.CA24@aj158.du.pipex.com> <316FE1A5.3A1F@netvision.net.il> <19960413.4A71D0.E501@an089.du.pipex.com> <3174A593.5045@sapiens.com> <4l2btl$clb@serpens.rhein.de> <3175CDC2.4BFF@mail.stud.ingok.hitos.no>
- NNTP-Posting-Host: ts013p6.pop4a.netvision.net.il
- Mime-Version: 1.0
- Content-Type: text/plain; charset=iso-8859-1
- Content-Transfer-Encoding: 8bit
- X-Mailer: Mozilla 2.01 (Win16; I)
-
- Hσvard Pedersen wrote:
- >
- > Michael van Elst and "Avi L." <avil@sapiens.com> and others wrote:
- > > (mumble, mumble....)
- >
- > Face it, what you're talking about is recompiling, which can't be done by a
- > computer alone. It needs human help. Jumptables is an example. The Computer
- > can't determine where the table end and where the data begins, so it can't
- > successfully determine what's code and what's not. If this was possible, Q
- > would've been out by now. :)
-
- why is that a problem, a jump-table is simply a CONSECUTIVE set of jmp instructions isn't
- it?! fairly easy to identify i'd say. scanning the program's hunks looking for CODE sequences
- which make sense as code can easily be translated immediately, believe me i've written enough
- viruses in assembly language to know all these low-level tricks and this experience is valueable
- in this case as well cuz many of the viruses hide their code in data regions and the 'problem'
- is identifying them as code and then studying their signature, sometimes even this code
- is actually encrypted, something which makes life a bit tougher for the translator but not something that
- cannot be detected and handled with. this can easily be done be any
- intelligent programmer/program analysing the code, i'm not in any way implying it's bullet-proof,no,
- reaching 100% reliability will be reached gradually but i estimate that it'll have an initial success
- rate of at least 90% cuz the Amiga programming paradigm is essentially fixed and most programs
- are written more or less in the same structure. extending the translator to recognise more situations
- is fairly an easy task.
-
-
- regards, Avi Lev.
-