| New type signatures for legacy Fortran subroutines |
| Full text |
Pdf
(978 KB)
|
| Source
|
Workshop on Program Analysis for Software Tools and Engineering
archive
Proceedings of the 1999 ACM SIGPLAN-SIGSOFT workshop on Program analysis for software tools and engineering
table of contents
Toulouse, France
Pages: 76 - 85
Year of Publication: 1999
ISBN:1-58113-137-2
Also published in ...
|
|
Author
|
|
Nicky Williams Preston
|
LSV (Laboratoire Spécification et Vérification) URA 2236 CNRS, Ecole Normale Supérieure de Cachan, 61 Av. Pdt Wilson, 94235 CACHAN Cedex, France
|
|
| Sponsors |
|
| Publisher |
|
| Bibliometrics |
Downloads (6 Weeks): 2, Downloads (12 Months): 11, Citation Count: 1
|
|
|
ABSTRACT
We are currently developing a methodological framework for reverse engineering Fortran77 programs used by Electricité de France, in which the first step is the construction of an algebraic specification which faithfully represents the Fortran code. To construct this specification, we must decide on a coherent set of "profiles" (type signatures) for the specifications of the Fortran sub-programs. We propose an analysis of the dynamic aliases between formal and actual sub-program arguments in order to derive these profiles. In many examples of real Fortran code this analysis does not give satisfactory results if arrays are treated as indivisible. Instead, we must take into account which fragment of the array may really be accessed by the sub-program. We have therefore implemented our analysis as an extension of the PIPS code parallelisation tool, which provides us with a precise analysis of inter-procedural array data-flow.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
Alfred V. Aho , Ravi Sethi , Jeffrey D. Ullman, Compilers: principles, techniques, and tools, Addison-Wesley Longman Publishing Co., Inc., Boston, MA, 1986
|
| |
2
|
See http://www.brics.dk/Projects/CoFI/.
|
| |
3
|
CREUSILLET, B. Array Region Analyses and Applications. PhD thesis, Ecole des Mines de Paris, December 1996. Available at http://www.cri.ensmp.fr/pips/.
|
| |
4
|
|
 |
5
|
|
 |
6
|
|
| |
7
|
MILNER, R. A theory of type polymorphism in programming. Journal of Computer and System Sciences 17, 4 (1978), 348-375.
|
 |
8
|
|
 |
9
|
|
| |
10
|
LSV, Ecole Normale Superieure de Cachan, 1997. Available at http://www.lsv.ens-cachan.fr/Publis/.
|
| |
11
|
|
 |
12
|
Sean Zhang , Barbara G. Ryder , William Landi, Program decomposition for pointer aliasing: a step toward practical analyses, Proceedings of the 4th ACM SIGSOFT symposium on Foundations of software engineering, p.81-92, October 16-18, 1996, San Francisco, California, United States
|
INDEX TERMS
Primary Classification:
D.
Software
D.3
PROGRAMMING LANGUAGES
D.3.2
Language Classifications
Nouns:
FORTRAN
Additional Classification:
D.
Software
D.2
SOFTWARE ENGINEERING
D.2.7
Distribution, Maintenance, and Enhancement
Subjects:
Restructuring, reverse engineering, and reengineering
General Terms:
Design,
Languages,
Measurement,
Performance,
Theory
Keywords:
Fortran,
alias analysis,
array region,
dynamic alias,
reverse engineering
|