Missing source code
Posted in 1999
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL
Hi, Anybody know of any tools that can decompile a 4ge file (INFORMIX-4GL Version 4.10.UC4)? I've tried the strings command but it doesn't reveal enough of the code. (Oh, how I love people who don't check things into SCCS...) Thanks for any help, Stuart Masson Motorola PCS, Easter Inch Scotland
Masson Stuart-WSM056 wrote: > Anybody know of any tools that can decompile a 4ge file (INFORMIX-4GL > Version 4.10.UC4)? > I've tried the strings command but it doesn't reveal enough of the code. > > (Oh, how I love people who don't check things into SCCS...) Substantially, you're stuck. You'd have to use a disassembler (and you really don't want to disassemble the library code, not least because it is boring). The chances are that the disassembler would give you the C code at best (assembly language if not C), so you'd need to reverse engineer that into I4GL. Highly non-trivial, and unlikely to be worth the effort. -- Jonathan Leffler (jleffler@informix.com, jleffler@earthlink.net) Guardian of DBD::Informix v0.62 -- see http://www.perl.com/CPAN #include <disclaimer.h>
Jonathan Leffler wrote: > Masson Stuart-WSM056 wrote: > > > Anybody know of any tools that can decompile a 4ge file (INFORMIX-4GL > > Version 4.10.UC4)? > > I've tried the strings command but it doesn't reveal enough of the code. > > > > (Oh, how I love people who don't check things into SCCS...) > If your programs have been compiled using RDS you can automatically reverse engineer the code to get 100% of your 4GL. you would need to use yacc and lex to create a program which reverse engineers the code. Others have done the same for JAVA, FOXPRO and similar p-code compilers. Maybe some one would want to do it as a challenge. -- Compliments of QueriX -------------------------------------------------------------------------------------------------- QueriX 4GL Compilers are Informix 4GL Compatible, and Connection to other RDBMS such as Oracle. Hydra 4GL Compiler Compile once, run everywhere Phoenix Windows GUI. Chimera Java GUI The only GUI you will ever need... Arachne Web Technology For more details visit: http://www.querix.com/ ---------------------------------------------------------------------------------------------------