Patent ID: 11861014
Assignee: SAMSUNG ELECTRONICS CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 9:
10. A method of operating an electronic device, the method comprising:
storing at least one source code and a comparison file including a correction and a vulnerability into which each of at least one character string included in a patch file corresponding to the at least one source code is classified;
loading the at least one source code stored in a memory of the electronic device;
comparing at least one first character string of the correction included in the comparison file corresponding to the at least one source code with a character string included in the at least one source code;
identifying a first match rate based on comparing the at least one first character string and the second character string;
comparing at least one third character string of the vulnerability included in the comparison file with the second character string;
identifying a second match rate based on comparing the at least one third character string and the second character string; and
providing at least one of information indicating whether the at least one source code has been patched, a probability that the at least one source code has been patched, or information about a vulnerability in the at least one source code, based on at least one of the first match rate or the second match rate.