摘要 |
The invention relates to a method and system for non-intrusively modifying an executable file E comprising references (F1, F2 and F3) with functions disposed in at least one shared library B within a computer. According to the invention, at least two new files are created, a META file comprising several unresolved references (F2, F3) in executable file E and a services file comprising new functions or services (X2, X3) to be inserted in executable file E. The link editing phase assigns the unresolved references to the META file as a priority and subsequently to shared library B. When said references are listed in the META file, a link is then established for said reference between executable file E and the META file in the place of shared library B. It is then possible, in the META file, to assign one or more functions stored in service file S and/or in shared library B to said reference. The invention can be used for the non-intrusive incremental extension of operating systems. It is no longer necessary to perform modifications inside the nucleus in order to modify the performance of the system. |