Static source code scanner

US11386209B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11386209-B2
Application numberUS-201916657198-A
CountryUS
Kind codeB2
Filing dateOct 18, 2019
Priority dateOct 18, 2019
Publication dateJul 12, 2022
Grant dateJul 12, 2022

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A computer implemented method for scanning source code files included in an application. A source code scanner identifies an assembly generated from a set of source code files. The assembly comprises assembly code and assembly metadata. The source code scanner identifies a file path for each source code file identified from the assembly. The file path is identified within the assembly metadata. Responsive to identifying the file paths from the assembly metadata, the source code scanner identifies the set of source code files within a code repository. The source code scanner scans the set of source code files to identify potential code vulnerabilities in the set of source code files. The scan omits files in the code repository that were not identified within the assembly metadata.

First claim

Opening claim text (preview).

What is claimed is: 1. A computer implemented method for scanning source code files included in an application, the method comprising: compiling a set of source code files to generate an assembly, wherein the assembly further contains assembly code and assembly metadata; deploying the assembly and a second set of source code files directly to a production environment, wherein the second set of source code files are direct-deploy files that are not compiled; building the application, by the production environment, from the assembly and the second set of source code files; subsequent to the building, identify potential code vulnerabilities within the application build that could affect the functionality of the production environment by: identifying assembly for the application build within the production environment; identifying a file path for each source code file of a plurality of source code files identified from the assembly metadata of the assembly; responsive to identifying the file paths from the assembly metadata, identifying the set of source code files within a code repository based on their respective file path identified from the assembly metadata, wherein the code repository comprises the set of source code files that contribute to the assembly output of the compiler and direct-deploy files that are not compiled; and scanning the set of source code files to identify potential code vulnerabilities in the set of source code files, wherein a functionality of the production environment is improved by omitting others of the second set of source code files that were deployed directly outside of compiling process to provide functionality for the application. 2. The method of claim 1 , further comprising: wherein compiling the set of source code files to generate the assembly further comprises generating a symbol file that is associated with the assembly, wherein the symbol file is not deployed into the production environment. 3. The method of claim 2 , wherein the set of source code files is a first set of source code files, the method further comprising: creating a hash of the second set of source code files; and creating a hash of the build. 4. The method of claim 1 , further comprising: generating a file list of the set of source code files based on the file paths identified from the assembly metadata. 5. The method of claim 4 , wherein the step of identifying the set of source code files further comprises: identifying the identifying the set of source code files based on the file list. 6. The method of claim 4 , further comprising: performing a valuation of the assembly, wherein the valuation is based on the set of source code files identified from the assembly metadata, and wherein the valuation omits files in the code repository that were not identified within the assembly metadata. 7. The method of claim 4 , further comprising: performing an audit of the assembly, wherein the audit is based on the set of source code files identified from the assembly metadata, and wherein the audit omits files in the code repository that were not identified within the assembly metadata. 8. A computer system for scanning source code files included in an application, the computer system comprising: a code scan system comprising a hardware processor and memory to perform the steps of: compiling a set of source code files to generate an assembly, wherein the assembly further contains assembly code and assembly metadata; deploying the assembly and a second set of source code files directly to a production environment, wherein the second set of source code files are direct-deploy files that are not compiled; building the application, by the production environment, from the assembly and the second set of source code files; subsequent to the building, identify potential code vulnerabilities within the application build that could affect the functionality of the production environment by: identifying assembly for the application build within the production environment; identifying a file path for each source code file of a plurality of source code files identified from the assembly metadata of the assembly; responsive to identifying the file paths from the assembly metadata, identifying the set of source code files within a code repository based on their respective file path identified from the assembly metadata, wherein the code repository comprises the set of source code files that contribute to assembly output of the compiler and direct-deploy files that are not compiled; and scanning the set of source code files to identify potential code vulnerabilities in the set of source code files, wherein a functionality of the production environment is improved by omitting others of the second set of source code files that were deployed directly outside of compiling process to provide functionality for the application. 9. The computer system of claim 8 , wherein the code scan system further comprises: wherein the compiling the set of source code files to generate the assembly further comprises generating a symbol file that is associated with the assembly, wherein the symbol file is not deployed into the production environment. 10. The computer system of claim 9 , wherein the set of source code files is a first set of source code files, wherein the code scan system further comprises steps to: generate a hash of the second set of source code files; and generate a hash of the build. 11. The computer system of claim 8 , wherein the code scan system further comprises steps to: generate a file list of the set of source code files based on the file paths identified from the assembly metadata. 12. The computer system of claim 11 , wherein the step of identifying the set of source code files further comprises: identifying the identifying the set of source code files based on the file list. 13. The computer system of claim 12 , wherein the code scan system further comprises steps to: perform a valuation of the assembly, wherein the valuation is based on the set of source code files identified from the assembly metadata, and wherein the valuation omits files in the code repository that were not identified within the assembly metadata. 14. The computer system of claim 12 , wherein the code scan system further comprises steps to: perform an audit of the assembly, wherein the audit is based on the set of source code files identified from the assembly metadata, and wherein the audit omits files in the code repository that were not identified within the assembly metadata. 15. A computer program product for scanning source code files included in an application, the computer program product comprising: a computer-readable storage media having program code stored thereon; program code, stored on the computer-readable storage media, for compiling a set of source code files to generate an assembly, wherein the assembly further contains assembly code and assembly metadata; program code, stored on the computer-readable storage media, for deploying the assembly and a second set of source code files directly to a production environment, wherein the second set of source code files are direct-deploy files that are not compiled; program code, stored on the computer-readable storage media, for building the application, by the production environment, from the assembly and the second set of source code files; program code, stored on the computer-readable storage media, for subsequent to the building, identifying potential code vulnerabilities within the application build that could affect the functionality of

Assignees

Inventors

Classifications

  • by source code analysis · CPC title

  • Software deployment · CPC title

  • Test or assess software · CPC title

  • G06F8/75Primary

    Structural analysis for program understanding · CPC title

  • Software maintenance or management · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US11386209B2 cover?
A computer implemented method for scanning source code files included in an application. A source code scanner identifies an assembly generated from a set of source code files. The assembly comprises assembly code and assembly metadata. The source code scanner identifies a file path for each source code file identified from the assembly. The file path is identified within the assembly metadata.…
Who is the assignee on this patent?
Adp Inc
What technology area does this patent fall under?
Primary CPC classification G06F8/75. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Jul 12 2022 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 5 related publications on this page (citations in our corpus or others sharing the same primary CPC).