Title :
SRL-a simple retargetable loader
Author :
Ung, David ; Cifuentes, Cristina
Author_Institution :
Centre for Software Maintenance, Queensland Univ., St. Lucia, Qld., Australia
fDate :
29 Sep-2 Oct 1997
Abstract :
A loader is a systems program used by an operating system (OS) to load a binary executable file onto memory to execute it. The internal format of a binary executable file is called the binary-file format (BFF); this format is dependent on the OS and the particular computer architecture it runs on. Traditionally, when developing machine-code manipulation tools such as binary translators and disassemblers, developers need to write a decoder for each type of binary executable file they want to manipulate, i.e. for n different binary executables, they need to write n different loaders. With the advent of binary translation technology and the increased number of machines and operating systems, a retargetable loader (RL) would eliminate the effort required in creating different loaders; if only one such environment existed. SRL, a simple retargetable loader is a first attempt at developing an RL framework by means of a simple BFF grammar. Three different environments, (x86,DOS,EXE), (x86,Windows,NE) and (Sparc,Solaris,ELF), were used as the basis for the development and testing of SRL. The three environments give a good coverage of different BFFs currently in use by OSs for RISC and CISC machines
Keywords :
computer architecture; grammars; machine oriented languages; operating systems (computers); program interpreters; storage management; BFF grammar; CISC; DOS; RISC; SRL; Solaris; Windows; binary executable file loading; binary translators; binary-file format; computer architecture; decoder; disassemblers; machine-code manipulation tools; memory; operating system; simple retargetable loader; systems program; testing; Assembly; Computer aided instruction; Computer architecture; Decoding; Information technology; Operating systems; Reduced instruction set computing; Software maintenance; Sun; Testing;
Conference_Titel :
Software Engineering Conference, 1997. Proceedings., Australian
Conference_Location :
Sydney, NSW
Print_ISBN :
0-8186-8081-4
DOI :
10.1109/ASWEC.1997.623755