Method and apparatus for judging PE file source code consistency
A judging method and judging device technology, applied in the direction of program control design, instrument, electrical digital data processing, etc., can solve the problems of threatening the confidentiality and security of the source code library, high source code library authority, etc., and achieve the effect of convenient operation
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0051] Such as figure 1 Shown is a schematic flow chart of Embodiment 1 of the present invention. In this embodiment, the method of the present invention includes the steps:
[0052] Step S101: Analyze whether the current file to be analyzed is a PE file, if yes, go to step S102, if not, directly end the analysis process;
[0053] Since the purpose of the present invention is to detect whether the contents of two or more PE files are based on the same source code, and in some cases, for example, the purpose is to find out whether the PE file is from the same source code as the pending PE file. For other PE files, it may not be possible to determine whether the file added to the detection queue is a PE file. Therefore, you can first determine whether the current file to be analyzed is a PE file, if not, you can directly end the process of judging the current file to be analyzed To save time;
[0054] Step S102: Determine whether the number of segments contained in each PE file to ...
Embodiment 2
[0065] In this embodiment, the difference from the first embodiment is that the content of the custom segment contained in each PE file is also judged, such as figure 2 As shown, it includes the steps:
[0066] Step S201: Analyze whether the file to be analyzed is a PE file, if yes, go to step S202, if not, end the current judgment process;
[0067] Step S202: Determine whether the number of segments contained in the current PE files to be analyzed is the same, if they are the same, go to step S203, if they are different, directly determine that each PE file is based on different source codes;
[0068] Step S203: Enumerate the segments contained in each PE file to be analyzed. When there are still segments that need to be enumerated, go to step S204, and if there are no segments that need to be enumerated, go to step S212;
[0069] Step S204: Determine whether the current enumerated segment is a custom segment, if yes, go to step S205, if not, go to step S206;
[0070] Step S205:...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com