Use of stack depth to identify machine code mistakes

Boots – shoes – and leggings

Patent

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

364DIG1, 36426791, 3642804, 395775, 39518314, G06F 1100, G06F 945

Patent

active

054505755

ABSTRACT:
A code translator, constructed similar to a compiler, accepts as an input to be translated the assembly code written for one architecture (e.g., VAX), and produces as an output object code for a different machine architecture (e.g., RISC). The input code is converted into an intermediate language, and a flow graph is constructed. The flow graph is referenced by a flow analyzer for recognizing certain architecture-specific and calling standard-specific coding practices or idioms that can produce mistakes if not revised before converting, particularly relating to stack usage. By tracking stack usage within and across routines, the compiler can distinguish up-level stack and return address references from valid local references. Also, it can inform the user of stack misalignment, which has a severe performance penalty, and can detect code segments where different flow paths may result in different stack depths at runtime, which may indicate a source code error.

REFERENCES:
patent: 5127103 (1992-06-01), Hill et al.
patent: 5132972 (1992-07-01), Hansen
Schneider, Y., "Converting a Portable Pascal P-Code Interpreter to a Code Generator", Software Practice and Experience, 1989, pp. 1111-1113.
Banning, "The XDOS Binary Code Conversion System", COMPCON 89, 27 Feb. 1989, San Francisco, pp. 282-287.
Hunter et al., DOS at RISE, Byte Magazine, vol. 14, No. 12, Nov. 1989, pp. 361-368.

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Use of stack depth to identify machine code mistakes does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Use of stack depth to identify machine code mistakes, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Use of stack depth to identify machine code mistakes will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-413765

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.