Attached Libraries

Back from the X-mas chaos and stress, I found time to look into the FMX files for attached libraries. Forms uses PL/SQL libraries (*.pll or *.plx) to re-use code between different modules. A Form application loads the libraries from the current working directory or the FORM_PATH. So there must be a reference to the libraries within the FMX files.

Our Form Builder 6 let me chose file-based libraries only, the decompiler will support only such libraries.

I have found a reference to a library name and location in the FMX, which seem to stored together as a little structure. After the both references there is a reference to the next library structure. After the last structure the reference is 0. The start of the chained list is referenced by the FormModule structure.

So I can get the first library and then read/jump till I’ll find a NULL value. Very easy, 6 hours.

fmx-6-libraries

Leave a Reply