×

Method and apparatus for detecting application

  • US 10,417,422 B2
  • Filed: 05/25/2017
  • Issued: 09/17/2019
  • Est. Priority Date: 10/24/2016
  • Status: Active Grant
First Claim
Patent Images

1. A method for detecting an application, comprising:

  • disassembling a binary program of an application running on a target device to generate a to-be-recovered assembly program;

    selecting, from the to-be-recovered assembly program, a function having function information consistent with function information of a preset reference function in a reference assembly program to obtain at least one candidate function, wherein a matching degree between the function information of the function selected from the to-be-recovered assembly program and the consistent function information of the preset reference function in the reference assembly program is greater than a preset threshold, and the matching degree comprises at least one of;

    a matching degree between function names, a matching degree between constants in the functions, or a matching degree between calling relationships of the functions;

    selecting, among the at least one candidate function, the candidate function having grammatical and/or semantic information consistent with grammatical and/or semantic information of the preset reference function as an object function;

    selecting, from the object function, a variable having grammatical and/or semantic information consistent with grammatical and/or semantic information of a preset reference variable in the preset reference function as a target variable; and

    outputting positional information of the object function and the target variable in the to-be-recovered assembly program as a detection result.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×