US 11,861,014 B2
Electronic device detecting software vulnerability and method for operating same
Woochul Shim, Gyeonggi-do (KR); Sunwoo Kim, Gyeonggi-do (KR); and Yongho Hwang, Gyeonggi-do (KR)
Assigned to Samsung Electronics Co., Ltd
Appl. No. 17/059,768
Filed by SAMSUNG ELECTRONICS CO., LTD., Gyeonggi-do (KR)
PCT Filed May 3, 2019, PCT No. PCT/KR2019/005361
§ 371(c)(1), (2) Date Nov. 30, 2020,
PCT Pub. No. WO2019/231122, PCT Pub. Date Dec. 5, 2019.
Claims priority of application No. 10-2018-0061641 (KR), filed on May 30, 2018.
Prior Publication US 2021/0209232 A1, Jul. 8, 2021
Int. Cl. G06F 21/57 (2013.01)
CPC G06F 21/577 (2013.01) [G06F 2221/033 (2013.01)] 15 Claims
OG exemplary drawing
 
1. An electronic device comprising:
an output device;
a memory; and
a processor operatively coupled to the memory and the output device,
wherein the processor is configured to:
store, in the memory, at least one source code and a comparison file including at least one of a correction or 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;
load the at least one source code stored in the memory;
compare at least one first character string of the correction included in the comparison file corresponding to the at least one source code with a second character string included in the at least one source code;
identify a first match rate based on comparing the at least one first character string and the second character string;
compare at least one third character string of the vulnerability included in the comparison file with the second character string;
identify a second match rate based on comparing the at least one third character string and the second character string; and
provide 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.