Similarity of binaries
US-2018285101-A1 · Oct 4, 2018 · US
US11074154B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-11074154-B2 |
| Application number | US-201816000961-A |
| Country | US |
| Kind code | B2 |
| Filing date | Jun 6, 2018 |
| Priority date | Jun 6, 2018 |
| Publication date | Jul 27, 2021 |
| Grant date | Jul 27, 2021 |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
Method and system are provided for identifying a source file for use in debugging compiled code. The method includes referencing a compiled file for debugging and searching for potential source files of the compiled file from configured repositories. The method obtains the potential source files from the configured repositories and iterates over the obtained potential source files to compile and compare each potential source file to the compiled file. One or more matching source files are identified for use in debugging the compiled file.
Opening claim text (preview).
What is claimed is: 1. A computer-implemented method for identifying one or more source files for use in debugging compiled code, comprising: receiving a binary file with no corresponding source file available; extracting two or more source files from one or more source repositories; compiling the two or more source files; determining that one or more field signatures or method signatures of at least one of the two or more compiled source files match one or more field signatures or method signatures, respectively, of the binary file; responsive to the determining, identifying that a plurality of bytecodes of the at least one of the two or more compiled source files match a plurality of bytecodes of the binary file; and responsive to the identifying, determining that the at least one of the two or more source files as corresponding with the binary file. 2. The method as claimed in claim 1 , further comprising: configuring the one or more source repositories, wherein the one or more source repositories contain the two or more source files. 3. The method as claimed in claim 1 , comprising: responsive to identifying a plurality of source files as corresponding with the binary file, selecting a most recent source file from the plurality of source files. 4. The method as claimed in claim 1 , comprising: responsive to identifying a plurality of source files as corresponding with the binary file, selecting one of the plurality of source files based on an originating location of the plurality of source files. 5. The method as claimed in claim 1 , wherein if no source file is identified as corresponding with the binary file, decompiling the binary file and using a decompiled output in debugging the binary file. 6. The method as claimed in claim 1 , wherein the method is carried out at a point a debugging tool needs to step through the binary file with no source file available. 7. The method as claimed in claim 1 , wherein the method is carried out at server start or on a background thread prior to a debugging tool requiring a source file. 8. A system for identifying one or more source files for use in debugging compiled code, comprising: one or more processors, one or more computer-readable memories, one or more computer readable tangible storage media, and program instructions stored on at least one of the one or more tangible storage media for execution by at least one of the one or more processors via at least one of the one or more memories, wherein the system is capable of performing a method comprising: receiving a binary file with no corresponding source file available; extracting two or more source files from one or more source repositories; compiling the two or more source files; determining that one or more field signatures or method signatures of at least one of the two or more compiled source files match one or more field signatures or method signatures, respectively, of the binary file; responsive to the determining, identifying that a plurality of bytecodes of the at least one of the two or more compiled source files match a plurality of bytecodes of the binary file; and responsive to the identifying, determining that the at least one of the two or more source files as corresponding with the binary file. 9. The system as claimed in claim 8 , further comprising: configuring the one or more source repositories, wherein the one or more source repositories contain the two or more source files. 10. The system as claimed in claim 8 , comprising: responsive to identifying a plurality of source files as corresponding with the binary file, selecting a most recent source file from the plurality of source files. 11. The system as claimed in claim 8 , comprising: responsive to identifying a plurality of source files as corresponding with the binary file, selecting one of the plurality of source files based on an originating location of the plurality of source files. 12. The system as claimed in claim 8 , wherein if no source file is identified as corresponding with the binary file, decompiling the binary file and using a decompiled output in debugging the binary file. 13. The system as claimed in claim 8 , wherein the system is provided as part of an integrated development environment including a debugging tool. 14. The system as claimed in claim 13 , wherein the system is activated at a point the debugging tool needs to step through the binary file with no source file available. 15. The system as claimed in claim 8 , wherein the system is activated at a server start or on a background thread prior to a debugging tool requiring a source file. 16. A computer program product for identifying one or more source files for use in debugging compiled code, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a processor to cause the processor to perform a method comprising: receiving a binary file with no corresponding source file available; extracting two or more source files from one or more source repositories; compiling the two or more source files; determining that one or more field signatures or method signatures of at least one of the two or more compiled source files match one or more field signatures or method signatures, respectively, of the binary file; responsive to the determining, identifying that a plurality of bytecodes of the at least one of the two or more compiled source files match a plurality of bytecodes of the binary file; and responsive to the identifying, determining that the at least one of the two or more source files as corresponding with the binary file.
Environments for analysis, debugging or testing of software · CPC title
Version control (security arrangements therefor G06F21/57); Configuration management · CPC title
Compilation · CPC title
by performing operations on the source code, e.g. via a compiler · CPC title
Structural analysis for program understanding · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.