Re: Reverse engineering binary coded TCL scripts

From: Gerald W. Lester (Gerald.Lester_at_cox.net)
Date: 08/09/04


Date: Mon, 09 Aug 2004 14:30:43 -0500

Donal K. Fellows wrote:

> hellomondo2003@yahoo.com wrote:
>
>> Interesting. I would hope that the good people at ActiveState have
>> taken measures to make compilation a one way process.
>
>
> Well, it can't be made completely one-way because a computer has to
> eventually work out what it is to execute. This means that it is at
> least theoretically possible to reverse-engineer *any* encrypted encoded
> binary and get back something that is recognizably similar to the
> original source code. But not necessarily easy at all...

That includes compiled languages such as Fortran and Pascal.

Back in college a couple of us reversed a Fortran program (only way to
learn how to get a perfect score in Advent).

At my first job I did it to a Pascal program (disk crash on a disk that was
not being backed up (Oh, we forgot to add the new disks to the backup set)).

I would assume that any person worth their salt with a Computer Science
degree could reverse it given enough time -- That being said, I suspect it
would be easier/faster in this case to rewrite, both those cases were
complete programs.

-- 
+--------------------------------+---------------------------------------+
| Gerald W. Lester               | "The man who fights for his ideals is |
| Gerald.Lester@cox.net          |  the man who is alive." -- Cervantes  |
+--------------------------------+---------------------------------------+


Relevant Pages

  • Re: SEMI-OT: Discs spinning when not neccessary on newer systems
    ... I don't think I've ever encountered a CD player where the hub mechanism ... There's also a mechanism to focus the laser head onto the disk ... As for why the compilation disks don't spin down after starting a game ...
    (rec.games.video.classic)
  • Re: URGENT RAM disk problem
    ... >compilation objs are placed on RAM disk. ... You are assuming that it is management of the "temporary compilation ... I/O time to read the source and write an object is probably dwarfed by the ... Many programmers have only the vaguest idea how many lines of #include ...
    (comp.os.linux.development.system)
  • Re: The Secret of a Successful Programming Language?
    ... with a floppy disk this doesn't take long, and on a hard disk the ... compilation technique, and allows programs to be as large as your disk ... program that has to all be in memory at the same time. ... written in 8088 assembly language, but it wasn't taking advantage of ...
    (comp.lang.forth)
  • Re: dual processor machine
    ... >> most of the time over half of the RAM free for tmpfs to use. ... >> compilation goes on RAM. ... > discussing compiling sources that were already located on disk. ... Now I'll put forth that instead of using memory for a RAM disk in which to ...
    (comp.os.linux.hardware)
  • Re: Enumerators string value
    ... Enums are for compilation only; they can't be "reverse ... VB6, no. ...
    (microsoft.public.vb.general.discussion)