Binary rewriting without relocation information
First Claim
1. A method, comprising:
- processing a binary file in a format that includes indirect control transfers as an original binary file;
disassembling all the code in the binary file without relocation information to provide a disassembled binary file;
rewriting the disassembled binary file without relocation to provide a converted program,wherein the rewriting provides a physical transformation in a recording medium relative to the binary file in the recording medium prior to the rewriting, and wherein the processing the binary file, disassembling the binary file, and rewriting the converted program are performed by a particular machine.
1 Assignment
0 Petitions
Accused Products
Abstract
A binary rewriter that can provide complete code coverage without relocation information is provided, together with a method of performing such rewriting. The method can include processing a binary file as an original binary file. The method can also include disassembling the binary file to provide a disassembled binary file. The method can further include rewriting the disassembled binary file without relocation information to provide a rewritten binary file. The rewriting can provide a physical transformation in a recording medium relative to the binary file in the recording medium prior to the rewriting. The processing the binary file, disassembling the binary file, and rewriting the disassembled binary file can be performed by a particular machine.
37 Citations
31 Claims
-
1. A method, comprising:
-
processing a binary file in a format that includes indirect control transfers as an original binary file; disassembling all the code in the binary file without relocation information to provide a disassembled binary file; rewriting the disassembled binary file without relocation to provide a converted program, wherein the rewriting provides a physical transformation in a recording medium relative to the binary file in the recording medium prior to the rewriting, and wherein the processing the binary file, disassembling the binary file, and rewriting the converted program are performed by a particular machine. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)
-
-
16. A non-transitory computer-readable medium encoded with instructions that, when executed in hardware, perform a process, the process comprising:
-
processing a binary file in a format that includes indirect control transfers as an original binary file; disassembling all the code in the binary file without relocation information to provide a disassembled binary file; rewriting the disassembled binary file without relocation information to provide a converted program, wherein the rewriting provides a physical transformation in a recording medium relative to the binary file in the recording medium prior to the rewriting, and wherein the processing the binary file, disassembling the binary file, and rewriting the converted program are performed by the hardware. - View Dependent Claims (17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30)
-
-
31. An apparatus, comprising:
-
a processor configured to process a binary file in a format that includes indirect control transfers as an original binary file; a disassembler configured to disassemble all the code in the binary file without relocation information to provide a disassembled binary file; a rewriter configured to rewrite the disassembled binary file without relocation information to provide a converted program, wherein rewriting provides a physical transformation in a recording medium relative to the binary file in the recording medium prior to the rewriting.
-
Specification