-
公开(公告)号:GB2509653B
公开(公告)日:2015-12-09
申请号:GB201406775
申请日:2012-10-01
Applicant: IBM
Inventor: BLAINEY ROBERT JAMES , GSCHWIND MICHAEL KARL , MCINNES JAMES LAWRENCE , MUNROE STEVEN JAY , MEISSNER MICHAEL
IPC: G06F9/45
Abstract: A code sequence made up multiple instructions and specifying an offset from a base address is identified in an object file. The offset from the base address corresponds to an offset location in a memory configured for storing an address of a variable or data. The identified code sequence is configured to perform a memory reference function or a memory address computation function. It is determined that the offset location is within a specified distance of the base address and that a replacement of the identified code sequence with a replacement code sequence will not alter program semantics. The identified code sequence in the object file is replaced with the replacement code sequence that includes a no-operation (NOP) instruction or having fewer instructions than the identified code sequence. Linked executable code is generated based on the object file and the linked executable code is emitted.
-
公开(公告)号:GB2509653A8
公开(公告)日:2015-11-11
申请号:GB201406775
申请日:2012-10-01
Applicant: IBM
Inventor: BLAINEY ROBERT JAMES , GSCHWIND MICHAEL KARL , MCINNES JAMES LAWRENCE , MUNROE STEVEN JAY , MEISSNER MICHAEL
IPC: G06F9/45
Abstract: A code sequence made up multiple instructions and specifying an offset from a base address is identified in an object file. The offset from the base address corresponds to an offset location in a memory configured for storing an address of a variable or data. The identified code sequence is configured to perform a memory reference function or a memory address computation function. It is determined that the offset location is within a specified distance of the base address and that a replacement of the identified code sequence with a replacement code sequence will not alter program semantics. The identified code sequence in the object file is replaced with the replacement code sequence that includes a no-operation (NOP) instruction or having fewer instructions than the identified code sequence. Linked executable code is generated based on the object file and the linked executable code is emitted.
-
公开(公告)号:GB2509653A
公开(公告)日:2014-07-09
申请号:GB201406775
申请日:2012-10-01
Applicant: IBM
Inventor: BLAINEY ROBERT JAMES , GSCHWIND MICHAEL KARL , MCINNES JAMES LAWRENCE , MUNROE STEVEN JAY , MEISSNER MICHAEL
IPC: G06F9/45
Abstract: A code sequence made up multiple instructions and specifying an offset from a base address is identified in an object file. The offset from the base address corresponds to an offset location in a memory configured for storing an address of a variable or data. The identified code sequence is configured to perform a memory reference function or a memory address computation function. It is determined that the offset location is within a specified distance of the base address and that a replacement of the identified code sequence with a replacement code sequence will not alter program semantics. The identified code sequence in the object file is replaced with the replacement code sequence that includes a no-operation (NOP) instruction or having fewer instructions than the identified code sequence. Linked executable code is generated based on the object file and the linked executable code is emitted.
-
公开(公告)号:DE112012003780T5
公开(公告)日:2014-06-18
申请号:DE112012003780
申请日:2012-10-01
Applicant: IBM
Inventor: MUNROE STEVEN , BLAINEY ROBERT , GSCHWIND MICHAEL , MCINNES JAMES , MEISSNER MICHAEL
IPC: G06F9/45
Abstract: Eine Codefolge, die aus mehreren Anweisungen besteht und eine relative Adresse von einer Basisadresse angibt, wird in einer Objektdatei identifiziert. Die relative Adresse von der Basisadresse entspricht einem Speicherort einer relativen Adresse in einem Speicher, der konfiguriert ist, um eine Variablen- oder eine Datenadresse zu speichern. Die identifizierte Codefolge ist so konfiguriert, dass sie eine Speicherreferenz-Funktion oder eine Speicheradressberechnungs-Funktion ausführt. Es wird ermittelt, dass sich der Speicherort der relativen Adresse in einem angegebenen Abstand von der Basisadresse befindet, und dass eine Ersetzung der identifizierten Codefolge durch eine neue Codefolge die Programmsemantik nicht ändert. Die identifizierte Codefolge in der Objektdatei wird durch die neue Codefolge ersetzt, die eine Nulloperations-(NOP)Anweisung oder weniger Anweisungen als die identifizierte Codefolge enthält. Ein verknüpfter ausführbarer Code wird auf der Grundlage der Objektdatei erzeugt, und der verknüpfte ausführbare Code wird ausgegeben.
-
-
-