Response regarding math handling in the MTB decompiler


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by John Gleason on September 28, 2007 at 12:14:54: Uploaded files: 2

I want to thank everyone for their interest in the MTB Decompiler. Some of the emails I’ve received have come from people whose name I recognize from this forum and some are not. I need to emphasize that the decompiler will be distributed at no cost (a question on which I have received numerous emails for clarification).

On several occasions, I’ve received requests for an example of handling arithmetic statements. Attached to this posting are two source files – MATH_001.TXT (the source used to generate the decompiled output file) and MATH_001_DECOMP.TXT (the decompiled source listing).

A few things to point out about the decompiled listing:

1.Declaratives containing an asterisk (“*”) after a “resolved” indicates that the precision had to be calculated from their overall context in the object code. An “unresolved” variable (or literal) applies only to numeric variables (or numeric literals) and indicates the precision could not be determined – either because there are no direct references to it in the object code or because it cannot be calculated from within the context of the entire object file.

2.Declaratives that are “unresolved” are declared with a precision of 0 and any appearances of that declarative in the executable section contain a warning message before the executable statement in which the “unresolved” declarative appears.

3.Some of the decompiled arithmetic expressions are grouped differently than their original source – the parentheses retain the proper order of correctly executing the expression.

This issue is currently being addressed in the second version of the MTB Decompiler and will involve scanning overlays of object files to try to ascertain the correct precision as well as the ability of creating a template (filled in by the user) of precision values.

I’m hoping to be at the Las Vegas conference although right now it doesn’t look real good. I may be able to get away for one day.

Please email me with any questions or comments about the attached source code or the decompiler.




Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):






[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]