A method for detecting an application, characterized in that the method 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; a matching degree between a function of the to-be-recovered assembly program and the preset reference function in the reference assembly program being greater than a preset threshold is regarded as consistent in function information, wherein the 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 comprises: acquiring function information of the preset reference function and each function in the to-be-recovered assembly program, the function information comprising at least one of a function name, a constant in the function, and a calling relationship of the function, matching, one by one, the function information of the preset reference function with the function information of the each function in the to-be-recovered assembly program, and selecting, based on the matching degree, the function consistent in function information with the preset reference function from the to-be-recovered assembly program to serve as the candidate function; selecting, among the at least one candidate function, a 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. 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; a matching degree between a function of the to-be-recovered assembly program and the preset reference function in the reference assembly program being greater than a preset threshold is regarded as consistent in function information, wherein the 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 comprises: acquiring function information of the preset reference function and each function in the to-be-recovered assembly program, the function information comprising at least one of a function name, a constant in the function, and a calling relationship of the function, matching, one by one, the function information of the preset reference function with the function information of the each function in the to-be-recovered assembly program, and selecting, based on the matching degree, the function consistent in function information with the preset reference function from the to-be-recovered assembly program to serve as the candidate function; acquiring function information of the preset reference function and each function in the to-be-recovered assembly program, the function information comprising at least one of a function name, a constant in the function, and a calling relationship of the function, matching, one by one, the function information of the preset reference function with the function information of the each function in the to-be-recovered assembly program, and selecting, based on the matching degree, the function consistent in function information with the preset reference function from the to-be-recovered assembly program to serve as the candidate function; selecting, among the at least one candidate function, a 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.