home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 7673 < prev    next >
Encoding:
Text File  |  1996-08-05  |  2.4 KB  |  42 lines

  1. Path: news.NetVision.net.il!news
  2. From: Jack <avilev@netvision.net.il>
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: 680X0 -> PPC translator?
  5. Date: Sat, 20 Apr 1996 09:20:07 -0700
  6. Organization: NetVision LTD.
  7. Message-ID: <31790EB7.52C3@netvision.net.il>
  8. 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>
  9. NNTP-Posting-Host: ts013p6.pop4a.netvision.net.il
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=iso-8859-1
  12. Content-Transfer-Encoding: 8bit
  13. X-Mailer: Mozilla 2.01 (Win16; I)
  14.  
  15. Hσvard Pedersen wrote:
  16. > Michael van Elst and "Avi L." <avil@sapiens.com> and others wrote:
  17. > > (mumble, mumble....)
  18. > Face it, what you're talking about is recompiling, which can't be done by a
  19. > computer alone. It needs human help. Jumptables is an example. The Computer
  20. > can't determine where the table end and where the data begins, so it can't
  21. > successfully determine what's code and what's not. If this was possible, Q
  22. > would've been out by now. :)
  23.  
  24. why is that a problem, a jump-table is simply a CONSECUTIVE set of jmp instructions isn't
  25. it?! fairly easy to identify i'd say. scanning the program's hunks looking for CODE sequences
  26. which make sense as code can easily be translated immediately, believe me i've written enough
  27. viruses in assembly language to know all these low-level tricks and this experience is valueable
  28. in this case as well cuz many of the viruses hide their code in data regions and the 'problem'
  29. is identifying them as code and then studying their signature, sometimes even this code
  30. is actually encrypted, something which makes life a bit tougher for the translator but not something that 
  31. cannot be detected and handled with. this can easily be done be any 
  32. intelligent programmer/program analysing the code, i'm not in any way implying it's bullet-proof,no,
  33. reaching 100% reliability will be reached gradually but i estimate that it'll have an initial success
  34. rate of at least 90% cuz the Amiga programming paradigm is essentially fixed and most programs
  35. are written more or less in the same structure. extending the translator to recognise more situations
  36. is fairly an easy task.
  37.  
  38.  
  39. regards, Avi Lev.
  40.