Oracle Corporation
Adversarial language analysis for code scanning
Last updated:
Abstract:
Techniques to determine a programming language of a set of code based on learned programming language patterns. One technique includes receiving a set of code, generating a pattern map of discovered string patterns from the set of code, comparing the string patterns included within the pattern map against learned programming language patterns included with a master voting map to identify one or more profiled programming languages that utilize the learned programming, language patterns that match the string patterns, generating a score card for the set of code by tallying scores for the one or more profiled programming languages based on the comparing, and determining one or more programming languages used to write the set of code based on the score card.
Utility
27 Jul 2020
14 Jun 2022