luke-goddard / enumy

Linux post exploitation privilege escalation enumeration
MIT License
253 stars 33 forks source link

make: *** [obj/exploit_suggester.o] Error 1 #22

Closed mirhmousavi closed 4 years ago

mirhmousavi commented 4 years ago

Got error on Ubuntu 18.04

src/scans/exploit_suggester.c:313:68: error: initializer element is not constant
 static struct PossibleExploit WootExploit = {Woot, "Woot", "", "", WootSize};
                                                                    ^~~~~~~~
src/scans/exploit_suggester.c:313:68: note: (near initialization for ‘WootExploit.vul_count’)
src/scans/exploit_suggester.c:313:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit WootExploit = {Woot, "Woot", "", "", WootSize};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:314:65: error: initializer element is not constant
 static struct PossibleExploit BrkExploit = {Brk, "Brk", "", "", BrkSize};
                                                                 ^~~~~~~
src/scans/exploit_suggester.c:314:65: note: (near initialization for ‘BrkExploit.vul_count’)
src/scans/exploit_suggester.c:314:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit BrkExploit = {Brk, "Brk", "", "", BrkSize};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:315:65: error: initializer element is not constant
 static struct PossibleExploit AveExploit = {Ave, "Ave", "", "", AveSize};
                                                                 ^~~~~~~
src/scans/exploit_suggester.c:315:65: note: (near initialization for ‘AveExploit.vul_count’)
src/scans/exploit_suggester.c:315:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit AveExploit = {Ave, "Ave", "", "", AveSize};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:316:112: error: initializer element is not constant
 static struct PossibleExploit ElflblExploit = {Elflbl, "Elflbl", "http://www.exploit-db.com/exploits/744", "", ElflblSize};
                                                                                                                ^~~~~~~~~~
src/scans/exploit_suggester.c:316:112: note: (near initialization for ‘ElflblExploit.vul_count’)
src/scans/exploit_suggester.c:316:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit ElflblExploit = {Elflbl, "Elflbl", "http://www.exploit-db.com/exploits/744", "", ElflblSize};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:317:77: error: initializer element is not constant
 static struct PossibleExploit ElfDumpExploit = {ElfDump, "ElfDump", "", "", ElfDumpSize};
                                                                             ^~~~~~~~~~~
src/scans/exploit_suggester.c:317:77: note: (near initialization for ‘ElfDumpExploit.vul_count’)
src/scans/exploit_suggester.c:317:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit ElfDumpExploit = {ElfDump, "ElfDump", "", "", ElfDumpSize};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:318:71: error: initializer element is not constant
 static struct PossibleExploit ElfcdExploit = {Elfcd, "Elfcd", "", "", ElfcdSize};
                                                                       ^~~~~~~~~
src/scans/exploit_suggester.c:318:71: note: (near initialization for ‘ElfcdExploit.vul_count’)
src/scans/exploit_suggester.c:318:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit ElfcdExploit = {Elfcd, "Elfcd", "", "", ElfcdSize};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:319:89: error: initializer element is not constant
 static struct PossibleExploit ExpandStackExploit = {ExpandStack, "ExpandStack", "", "", ExpandStackSize};
                                                                                         ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:319:89: note: (near initialization for ‘ExpandStackExploit.vul_count’)
src/scans/exploit_suggester.c:319:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit ExpandStackExploit = {ExpandStack, "ExpandStack", "", "", ExpandStackSize};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:320:131: error: initializer element is not constant
 static struct PossibleExploit H00lyShitExploit = {H00lyShit, "H00lyShit", "http://www.exploit-db.com/exploits/2013", "2006-3626", H00lyShitSize};
                                                                                                                                   ^~~~~~~~~~~~~
src/scans/exploit_suggester.c:320:131: note: (near initialization for ‘H00lyShitExploit.vul_count’)
src/scans/exploit_suggester.c:320:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit H00lyShitExploit = {H00lyShit, "H00lyShit", "http://www.exploit-db.com/exploits/2013", "2006-3626", H00lyShitSize};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:321:71: error: initializer element is not constant
 static struct PossibleExploit KdumpExploit = {Kdump, "Kdump", "", "", KdumpSize};
                                                                       ^~~~~~~~~
src/scans/exploit_suggester.c:321:71: note: (near initialization for ‘KdumpExploit.vul_count’)
src/scans/exploit_suggester.c:321:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit KdumpExploit = {Kdump, "Kdump", "", "", KdumpSize};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:322:74: error: initializer element is not constant
 static struct PossibleExploit Km2PwnExploit = {Km2Pwn, "Km2Pwn", "", "", Km2PwnSize};
                                                                          ^~~~~~~~~~
src/scans/exploit_suggester.c:322:74: note: (near initialization for ‘Km2PwnExploit.vul_count’)
src/scans/exploit_suggester.c:322:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit Km2PwnExploit = {Km2Pwn, "Km2Pwn", "", "", Km2PwnSize};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:323:68: error: initializer element is not constant
 static struct PossibleExploit KradExploit = {Krad, "Krad", "", "", KradSize};
                                                                    ^~~~~~~~
src/scans/exploit_suggester.c:323:68: note: (near initialization for ‘KradExploit.vul_count’)
src/scans/exploit_suggester.c:323:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit KradExploit = {Krad, "Krad", "", "", KradSize};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:324:106: error: initializer element is not constant
 static struct PossibleExploit Krad3Exploit = {Krad3, "Krad3", "http://exploit-db.com/exploits/1397", "", Krad3Size};
                                                                                                          ^~~~~~~~~
src/scans/exploit_suggester.c:324:106: note: (near initialization for ‘Krad3Exploit.vul_count’)
src/scans/exploit_suggester.c:324:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit Krad3Exploit = {Krad3, "Krad3", "http://exploit-db.com/exploits/1397", "", Krad3Size};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:325:77: error: initializer element is not constant
 static struct PossibleExploit Local26Exploit = {Local26, "Local26", "", "", Local26Size};
                                                                             ^~~~~~~~~~~
src/scans/exploit_suggester.c:325:77: note: (near initialization for ‘Local26Exploit.vul_count’)
src/scans/exploit_suggester.c:325:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit Local26Exploit = {Local26, "Local26", "", "", Local26Size};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:326:68: error: initializer element is not constant
 static struct PossibleExploit LokoExploit = {Loko, "Loko", "", "", LokoSize};
                                                                    ^~~~~~~~
src/scans/exploit_suggester.c:326:68: note: (near initialization for ‘LokoExploit.vul_count’)
src/scans/exploit_suggester.c:326:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit LokoExploit = {Loko, "Loko", "", "", LokoSize};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:327:124: error: initializer element is not constant
 static struct PossibleExploit Mremap_pteExploit = {Mremap_pte, "Mremap_pte", "http://www.exploit-db.com/exploits/160", "", Mremap_pteSize};
                                                                                                                            ^~~~~~~~~~~~~~
src/scans/exploit_suggester.c:327:124: note: (near initialization for ‘Mremap_pteExploit.vul_count’)
src/scans/exploit_suggester.c:327:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit Mremap_pteExploit = {Mremap_pte, "Mremap_pte", "http://www.exploit-db.com/exploits/160", "", Mremap_pteSize};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:328:80: error: initializer element is not constant
 static struct PossibleExploit NewLocalExploit = {NewLocal, "NewLocal", "", "", NewLocalSize};
                                                                                ^~~~~~~~~~~~
src/scans/exploit_suggester.c:328:80: note: (near initialization for ‘NewLocalExploit.vul_count’)
src/scans/exploit_suggester.c:328:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit NewLocalExploit = {NewLocal, "NewLocal", "", "", NewLocalSize};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:329:74: error: initializer element is not constant
 static struct PossibleExploit OngBakExploit = {OngBak, "OngBak", "", "", OngBakSize};
                                                                          ^~~~~~~~~~
src/scans/exploit_suggester.c:329:74: note: (near initialization for ‘OngBakExploit.vul_count’)
src/scans/exploit_suggester.c:329:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit OngBakExploit = {OngBak, "OngBak", "", "", OngBakSize};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:330:74: error: initializer element is not constant
 static struct PossibleExploit PtraceExploit = {Ptrace, "Ptrace", "", "", PtraceSize};
                                                                          ^~~~~~~~~~
src/scans/exploit_suggester.c:330:74: note: (near initialization for ‘PtraceExploit.vul_count’)
src/scans/exploit_suggester.c:330:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit PtraceExploit = {Ptrace, "Ptrace", "", "", PtraceSize};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:331:95: error: initializer element is not constant
 static struct PossibleExploit PtraceKmodExploit = {PtraceKmod, "PtraceKmod", "", "2007-4573", PtraceKmodSize};
                                                                                               ^~~~~~~~~~~~~~
src/scans/exploit_suggester.c:331:95: note: (near initialization for ‘PtraceKmodExploit.vul_count’)
src/scans/exploit_suggester.c:331:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit PtraceKmodExploit = {PtraceKmod, "PtraceKmod", "", "2007-4573", PtraceKmodSize};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:332:138: error: initializer element is not constant
 static struct PossibleExploit PtraceKmod2Exploit = {PtraceKmod2, "PtraceKmod2", "http://www.exploit-db.com/exploits/15023", "2010-3301", PtraceKmod2Size};
                                                                                                                                          ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:332:138: note: (near initialization for ‘PtraceKmod2Exploit.vul_count’)
src/scans/exploit_suggester.c:332:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit PtraceKmod2Exploit = {PtraceKmod2, "PtraceKmod2", "http://www.exploit-db.com/exploits/15023", "2010-3301", PtraceKmod2Size};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:333:80: error: initializer element is not constant
 static struct PossibleExploit Ptrace24Exploit = {Ptrace24, "Ptrace24", "", "", Ptrace24Size};
                                                                                ^~~~~~~~~~~~
src/scans/exploit_suggester.c:333:80: note: (near initialization for ‘Ptrace24Exploit.vul_count’)
src/scans/exploit_suggester.c:333:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit Ptrace24Exploit = {Ptrace24, "Ptrace24", "", "", Ptrace24Size};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:334:71: error: initializer element is not constant
 static struct PossibleExploit PwnedExploit = {Pwned, "Pwned", "", "", PwnedSize};
                                                                       ^~~~~~~~~
src/scans/exploit_suggester.c:334:71: note: (near initialization for ‘PwnedExploit.vul_count’)
src/scans/exploit_suggester.c:334:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit PwnedExploit = {Pwned, "Pwned", "", "", PwnedSize};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:335:74: error: initializer element is not constant
 static struct PossibleExploit Py2PwnExploit = {Py2Pwn, "Py2Pwn", "", "", Py2PwnSize};
                                                                          ^~~~~~~~~~
src/scans/exploit_suggester.c:335:74: note: (near initialization for ‘Py2PwnExploit.vul_count’)
src/scans/exploit_suggester.c:335:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit Py2PwnExploit = {Py2Pwn, "Py2Pwn", "", "", Py2PwnSize};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:336:137: error: initializer element is not constant
 static struct PossibleExploit RaptorPrctlExploit = {RaptorPrctl, "RaptorPrctl", "http://www.exploit-db.com/exploits/2031", "2006-2451", RaptorPrctlSize};
                                                                                                                                         ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:336:137: note: (near initialization for ‘RaptorPrctlExploit.vul_count’)
src/scans/exploit_suggester.c:336:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit RaptorPrctlExploit = {RaptorPrctl, "RaptorPrctl", "http://www.exploit-db.com/exploits/2031", "2006-2451", RaptorPrctlSize};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:337:110: error: initializer element is not constant
 static struct PossibleExploit PrctlExploit = {Prctl, "Prctl", "http://www.exploit-db.com/exploits/2004", "", PrctlSize};
                                                                                                              ^~~~~~~~~
src/scans/exploit_suggester.c:337:110: note: (near initialization for ‘PrctlExploit.vul_count’)
src/scans/exploit_suggester.c:337:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit PrctlExploit = {Prctl, "Prctl", "http://www.exploit-db.com/exploits/2004", "", PrctlSize};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:338:113: error: initializer element is not constant
 static struct PossibleExploit Prctl2Exploit = {Prctl2, "Prctl2", "http://www.exploit-db.com/exploits/2005", "", Prctl2Size};
                                                                                                                 ^~~~~~~~~~
src/scans/exploit_suggester.c:338:113: note: (near initialization for ‘Prctl2Exploit.vul_count’)
src/scans/exploit_suggester.c:338:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit Prctl2Exploit = {Prctl2, "Prctl2", "http://www.exploit-db.com/exploits/2005", "", Prctl2Size};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:339:113: error: initializer element is not constant
 static struct PossibleExploit Prctl3Exploit = {Prctl3, "Prctl3", "http://www.exploit-db.com/exploits/2005", "", Prctl3Size};
                                                                                                                 ^~~~~~~~~~
src/scans/exploit_suggester.c:339:113: note: (near initialization for ‘Prctl3Exploit.vul_count’)
src/scans/exploit_suggester.c:339:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit Prctl3Exploit = {Prctl3, "Prctl3", "http://www.exploit-db.com/exploits/2005", "", Prctl3Size};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:340:113: error: initializer element is not constant
 static struct PossibleExploit Prctl4Exploit = {Prctl4, "Prctl4", "http://www.exploit-db.com/exploits/2011", "", Prctl4Size};
                                                                                                                 ^~~~~~~~~~
src/scans/exploit_suggester.c:340:113: note: (near initialization for ‘Prctl4Exploit.vul_count’)
src/scans/exploit_suggester.c:340:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit Prctl4Exploit = {Prctl4, "Prctl4", "http://www.exploit-db.com/exploits/2011", "", Prctl4Size};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:341:71: error: initializer element is not constant
 static struct PossibleExploit RemapExploit = {Remap, "Remap", "", "", RemapSize};
                                                                       ^~~~~~~~~
src/scans/exploit_suggester.c:341:71: note: (near initialization for ‘RemapExploit.vul_count’)
src/scans/exploit_suggester.c:341:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit RemapExploit = {Remap, "Remap", "", "", RemapSize};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:342:74: error: initializer element is not constant
 static struct PossibleExploit RipPwnExploit = {RipPwn, "RipPwn", "", "", RipPwnSize};
                                                                          ^~~~~~~~~~
src/scans/exploit_suggester.c:342:74: note: (near initialization for ‘RipPwnExploit.vul_count’)
src/scans/exploit_suggester.c:342:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit RipPwnExploit = {RipPwn, "RipPwn", "", "", RipPwnSize};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:343:86: error: initializer element is not constant
 static struct PossibleExploit StackGrow2Exploit = {StackGrow2, "StackGrow2", "", "", StackGrow2Size};
                                                                                      ^~~~~~~~~~~~~~
src/scans/exploit_suggester.c:343:86: note: (near initialization for ‘StackGrow2Exploit.vul_count’)
src/scans/exploit_suggester.c:343:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit StackGrow2Exploit = {StackGrow2, "StackGrow2", "", "", StackGrow2Size};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:344:80: error: initializer element is not constant
 static struct PossibleExploit UseLib24Exploit = {UseLib24, "UseLib24", "", "", UseLib24Size};
                                                                                ^~~~~~~~~~~~
src/scans/exploit_suggester.c:344:80: note: (near initialization for ‘UseLib24Exploit.vul_count’)
src/scans/exploit_suggester.c:344:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit UseLib24Exploit = {UseLib24, "UseLib24", "", "", UseLib24Size};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:345:74: error: initializer element is not constant
 static struct PossibleExploit NewsmpExploit = {Newsmp, "Newsmp", "", "", NewsmpSize};
                                                                          ^~~~~~~~~~
src/scans/exploit_suggester.c:345:74: note: (near initialization for ‘NewsmpExploit.vul_count’)
src/scans/exploit_suggester.c:345:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit NewsmpExploit = {Newsmp, "Newsmp", "", "", NewsmpSize};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:346:83: error: initializer element is not constant
 static struct PossibleExploit SnptracerExploit = {Snptracer, "Snptracer", "", "", SnptracerSize};
                                                                                   ^~~~~~~~~~~~~
src/scans/exploit_suggester.c:346:83: note: (near initialization for ‘SnptracerExploit.vul_count’)
src/scans/exploit_suggester.c:346:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit SnptracerExploit = {Snptracer, "Snptracer", "", "", SnptracerSize};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:347:74: error: initializer element is not constant
 static struct PossibleExploit LoginxExploit = {Loginx, "Loginx", "", "", LoginxSize};
                                                                          ^~~~~~~~~~
src/scans/exploit_suggester.c:347:74: note: (near initialization for ‘LoginxExploit.vul_count’)
src/scans/exploit_suggester.c:347:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit LoginxExploit = {Loginx, "Loginx", "", "", LoginxSize};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:348:71: error: initializer element is not constant
 static struct PossibleExploit ExpShExploit = {ExpSh, "ExpSh", "", "", ExpShSize};
                                                                       ^~~~~~~~~
src/scans/exploit_suggester.c:348:71: note: (near initialization for ‘ExpShExploit.vul_count’)
src/scans/exploit_suggester.c:348:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit ExpShExploit = {ExpSh, "ExpSh", "", "", ExpShSize};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:349:131: error: initializer element is not constant
 static struct PossibleExploit Vmsplice1Exploit = {Vmsplice1, "Vmsplice1", "http://www.exploit-db.com/exploits/5092", "2008-0600", Vmsplice1Size};
                                                                                                                                   ^~~~~~~~~~~~~
src/scans/exploit_suggester.c:349:131: note: (near initialization for ‘Vmsplice1Exploit.vul_count’)
src/scans/exploit_suggester.c:349:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit Vmsplice1Exploit = {Vmsplice1, "Vmsplice1", "http://www.exploit-db.com/exploits/5092", "2008-0600", Vmsplice1Size};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:350:131: error: initializer element is not constant
 static struct PossibleExploit Vmsplice2Exploit = {Vmsplice2, "Vmsplice2", "http://www.exploit-db.com/exploits/5093", "2008-0600", Vmsplice2Size};
                                                                                                                                   ^~~~~~~~~~~~~
src/scans/exploit_suggester.c:350:131: note: (near initialization for ‘Vmsplice2Exploit.vul_count’)
src/scans/exploit_suggester.c:350:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit Vmsplice2Exploit = {Vmsplice2, "Vmsplice2", "http://www.exploit-db.com/exploits/5093", "2008-0600", Vmsplice2Size};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:351:80: error: initializer element is not constant
 static struct PossibleExploit VconsoleExploit = {Vconsole, "Vconsole", "", "", VconsoleSize};
                                                                                ^~~~~~~~~~~~
src/scans/exploit_suggester.c:351:80: note: (near initialization for ‘VconsoleExploit.vul_count’)
src/scans/exploit_suggester.c:351:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit VconsoleExploit = {Vconsole, "Vconsole", "", "", VconsoleSize};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:352:68: error: initializer element is not constant
 static struct PossibleExploit SctpExploit = {Sctp, "Sctp", "", "", SctpSize};
                                                                    ^~~~~~~~
src/scans/exploit_suggester.c:352:68: note: (near initialization for ‘SctpExploit.vul_count’)
src/scans/exploit_suggester.c:352:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit SctpExploit = {Sctp, "Sctp", "", "", SctpSize};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:353:119: error: initializer element is not constant
 static struct PossibleExploit FtrexExploit = {Ftrex, "Ftrex", "http://www.exploit-db.com/exploits/6851", "2008-4210", FtrexSize};
                                                                                                                       ^~~~~~~~~
src/scans/exploit_suggester.c:353:119: note: (near initialization for ‘FtrexExploit.vul_count’)
src/scans/exploit_suggester.c:353:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit FtrexExploit = {Ftrex, "Ftrex", "http://www.exploit-db.com/exploits/6851", "2008-4210", FtrexSize};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:354:125: error: initializer element is not constant
 static struct PossibleExploit ExitNotifyExploit = {ExitNotify, "ExitNotify", "http://www.exploit-db.com/exploits/8369", "", ExitNotifySize};
                                                                                                                             ^~~~~~~~~~~~~~
src/scans/exploit_suggester.c:354:125: note: (near initialization for ‘ExitNotifyExploit.vul_count’)
src/scans/exploit_suggester.c:354:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit ExitNotifyExploit = {ExitNotify, "ExitNotify", "http://www.exploit-db.com/exploits/8369", "", ExitNotifySize};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:355:116: error: initializer element is not constant
 static struct PossibleExploit UdevExploit = {Udev, "Udev", "http://www.exploit-db.com/exploits/8478", "2009-1185", UdevSize};
                                                                                                                    ^~~~~~~~
src/scans/exploit_suggester.c:355:116: note: (near initialization for ‘UdevExploit.vul_count’)
src/scans/exploit_suggester.c:355:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit UdevExploit = {Udev, "Udev", "http://www.exploit-db.com/exploits/8478", "2009-1185", UdevSize};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:356:143: error: initializer element is not constant
 static struct PossibleExploit SockSendPage2Exploit = {SockSendPage2, "SockSendPage2", "http://www.exploit-db.com/exploits/9436", "2009-2692", SockSendPage2Size};
                                                                                                                                               ^~~~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:356:143: note: (near initialization for ‘SockSendPage2Exploit.vul_count’)
src/scans/exploit_suggester.c:356:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit SockSendPage2Exploit = {SockSendPage2, "SockSendPage2", "http://www.exploit-db.com/exploits/9436", "2009-2692", SockSendPage2Size};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:357:140: error: initializer element is not constant
 static struct PossibleExploit SockSendPageExploit = {SockSendPage, "SockSendPage", "http://www.exploit-db.com/exploits/9435", "2009-2692", SockSendPageSize};
                                                                                                                                            ^~~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:357:140: note: (near initialization for ‘SockSendPageExploit.vul_count’)
src/scans/exploit_suggester.c:357:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit SockSendPageExploit = {SockSendPage, "SockSendPage", "http://www.exploit-db.com/exploits/9435", "2009-2692", SockSendPageSize};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:358:177: error: initializer element is not constant
 static struct PossibleExploit UdpSendMsg32BitExploit = {UdpSendMsg32Bit, "UdpSendMsg32Bit", "http://downloads.securityfocus.com/vulnerabilities/exploits/36108.c", "2009-2698", UdpSendMsg32BitSize};
                                                                                                                                                                                 ^~~~~~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:358:177: note: (near initialization for ‘UdpSendMsg32BitExploit.vul_count’)
src/scans/exploit_suggester.c:358:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit UdpSendMsg32BitExploit = {UdpSendMsg32Bit, "UdpSendMsg32Bit", "http://downloads.securityfocus.com/vulnerabilities/exploits/36108.c", "2009-2698", UdpSendMsg32BitSize};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:359:163: error: initializer element is not constant
 static struct PossibleExploit PipeC32BitExploit = {PipeC32Bit, "PipeC32Bit", "http://www.securityfocus.com/data/vulnerabilities/exploits/36901-1.c", "2009-3547", PipeC32BitSize};
                                                                                                                                                                   ^~~~~~~~~~~~~~
src/scans/exploit_suggester.c:359:163: note: (near initialization for ‘PipeC32BitExploit.vul_count’)
src/scans/exploit_suggester.c:359:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit PipeC32BitExploit = {PipeC32Bit, "PipeC32Bit", "http://www.securityfocus.com/data/vulnerabilities/exploits/36901-1.c", "2009-3547", PipeC32BitSize};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:360:95: error: initializer element is not constant
 static struct PossibleExploit DoPageMoveExploit = {DoPageMove, "DoPageMove", "", "2010-0415", DoPageMoveSize};
                                                                                               ^~~~~~~~~~~~~~
src/scans/exploit_suggester.c:360:95: note: (near initialization for ‘DoPageMoveExploit.vul_count’)
src/scans/exploit_suggester.c:360:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit DoPageMoveExploit = {DoPageMove, "DoPageMove", "", "2010-0415", DoPageMoveSize};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:361:129: error: initializer element is not constant
 static struct PossibleExploit ReiserfsExploit = {Reiserfs, "Reiserfs", "http://www.exploit-db.com/exploits/12130", "2010-1146", ReiserfsSize};
                                                                                                                                 ^~~~~~~~~~~~
src/scans/exploit_suggester.c:361:129: note: (near initialization for ‘ReiserfsExploit.vul_count’)
src/scans/exploit_suggester.c:361:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit ReiserfsExploit = {Reiserfs, "Reiserfs", "http://www.exploit-db.com/exploits/12130", "2010-1146", ReiserfsSize};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:362:123: error: initializer element is not constant
 static struct PossibleExploit CanBcmExploit = {CanBcm, "CanBcm", "http://www.exploit-db.com/exploits/14814", "2010-2959", CanBcmSize};
                                                                                                                           ^~~~~~~~~~
src/scans/exploit_suggester.c:362:123: note: (near initialization for ‘CanBcmExploit.vul_count’)
src/scans/exploit_suggester.c:362:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit CanBcmExploit = {CanBcm, "CanBcm", "http://www.exploit-db.com/exploits/14814", "2010-2959", CanBcmSize};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:363:123: error: initializer element is not constant
 static struct PossibleExploit RdsPwnExploit = {RdsPwn, "RdsPwn", "http://www.exploit-db.com/exploits/15285", "2010-3904", RdsPwnSize};
                                                                                                                           ^~~~~~~~~~
src/scans/exploit_suggester.c:363:123: note: (near initialization for ‘RdsPwnExploit.vul_count’)
src/scans/exploit_suggester.c:363:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit RdsPwnExploit = {RdsPwn, "RdsPwn", "http://www.exploit-db.com/exploits/15285", "2010-3904", RdsPwnSize};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:364:138: error: initializer element is not constant
 static struct PossibleExploit HalfNelson1Exploit = {HalfNelson1, "HalfNelson1", "http://www.exploit-db.com/exploits/17787", "2010-3848", HalfNelson1Size};
                                                                                                                                          ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:364:138: note: (near initialization for ‘HalfNelson1Exploit.vul_count’)
src/scans/exploit_suggester.c:364:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit HalfNelson1Exploit = {HalfNelson1, "HalfNelson1", "http://www.exploit-db.com/exploits/17787", "2010-3848", HalfNelson1Size};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:365:138: error: initializer element is not constant
 static struct PossibleExploit HalfNelson2Exploit = {HalfNelson2, "HalfNelson2", "http://www.exploit-db.com/exploits/17787", "2010-3850", HalfNelson2Size};
                                                                                                                                          ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:365:138: note: (near initialization for ‘HalfNelson2Exploit.vul_count’)
src/scans/exploit_suggester.c:365:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit HalfNelson2Exploit = {HalfNelson2, "HalfNelson2", "http://www.exploit-db.com/exploits/17787", "2010-3850", HalfNelson2Size};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:366:138: error: initializer element is not constant
 static struct PossibleExploit HalfNelson3Exploit = {HalfNelson3, "HalfNelson3", "http://www.exploit-db.com/exploits/17787", "2010-4073", HalfNelson3Size};
                                                                                                                                          ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:366:138: note: (near initialization for ‘HalfNelson3Exploit.vul_count’)
src/scans/exploit_suggester.c:366:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit HalfNelson3Exploit = {HalfNelson3, "HalfNelson3", "http://www.exploit-db.com/exploits/17787", "2010-4073", HalfNelson3Size};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:367:126: error: initializer element is not constant
 static struct PossibleExploit CapsToRootExploit = {CapsToRoot, "CapsToRoot", "http://www.exploit-db.com/exploits/15916", "", CapsToRootSize};
                                                                                                                              ^~~~~~~~~~~~~~
src/scans/exploit_suggester.c:367:126: note: (near initialization for ‘CapsToRootExploit.vul_count’)
src/scans/exploit_suggester.c:367:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit CapsToRootExploit = {CapsToRoot, "CapsToRoot", "http://www.exploit-db.com/exploits/15916", "", CapsToRootSize};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:368:163: error: initializer element is not constant
 static struct PossibleExploit AmericanSignLanguageExploit = {AmericanSignLanguage, "AmericanSignLanguage", "http://www.securityfocus.com/bid/45408", "2010-4347", AmericanSignLanguageSize};
                                                                                                                                                                   ^~~~~~~~~~~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:368:163: note: (near initialization for ‘AmericanSignLanguageExploit.vul_count’)
src/scans/exploit_suggester.c:368:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit AmericanSignLanguageExploit = {AmericanSignLanguage, "AmericanSignLanguage", "http://www.securityfocus.com/bid/45408", "2010-4347", AmericanSignLanguageSize};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:369:126: error: initializer element is not constant
 static struct PossibleExploit PktcdvdExploit = {Pktcdvd, "Pktcdvd", "http://www.exploit-db.com/exploits/15150", "2010-3437", PktcdvdSize};
                                                                                                                              ^~~~~~~~~~~
src/scans/exploit_suggester.c:369:126: note: (near initialization for ‘PktcdvdExploit.vul_count’)
src/scans/exploit_suggester.c:369:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit PktcdvdExploit = {Pktcdvd, "Pktcdvd", "http://www.exploit-db.com/exploits/15150", "2010-3437", PktcdvdSize};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:370:138: error: initializer element is not constant
 static struct PossibleExploit Video4LinuxExploit = {Video4Linux, "Video4Linux", "http://www.exploit-db.com/exploits/15024", "2010-3081", Video4LinuxSize};
                                                                                                                                          ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:370:138: note: (near initialization for ‘Video4LinuxExploit.vul_count’)
src/scans/exploit_suggester.c:370:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit Video4LinuxExploit = {Video4Linux, "Video4Linux", "http://www.exploit-db.com/exploits/15024", "2010-3081", Video4LinuxSize};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:371:135: error: initializer element is not constant
 static struct PossibleExploit MemodipperExploit = {Memodipper, "Memodipper", "http://www.exploit-db.com/exploits/18411", "2012-0056", MemodipperSize};
                                                                                                                                       ^~~~~~~~~~~~~~
src/scans/exploit_suggester.c:371:135: note: (near initialization for ‘MemodipperExploit.vul_count’)
src/scans/exploit_suggester.c:371:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit MemodipperExploit = {Memodipper, "Memodipper", "http://www.exploit-db.com/exploits/18411", "2012-0056", MemodipperSize};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:372:123: error: initializer element is not constant
 static struct PossibleExploit SemTexExploit = {SemTex, "SemTex", "http://www.exploit-db.com/exploits/25444", "2013-2094", SemTexSize};
                                                                                                                           ^~~~~~~~~~
src/scans/exploit_suggester.c:372:123: note: (near initialization for ‘SemTexExploit.vul_count’)
src/scans/exploit_suggester.c:372:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit SemTexExploit = {SemTex, "SemTex", "http://www.exploit-db.com/exploits/25444", "2013-2094", SemTexSize};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:373:138: error: initializer element is not constant
 static struct PossibleExploit PerfSweventExploit = {PerfSwevent, "PerfSwevent", "http://www.exploit-db.com/exploits/26131", "2013-2094", PerfSweventSize};
                                                                                                                                          ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:373:138: note: (near initialization for ‘PerfSweventExploit.vul_count’)
src/scans/exploit_suggester.c:373:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit PerfSweventExploit = {PerfSwevent, "PerfSwevent", "http://www.exploit-db.com/exploits/26131", "2013-2094", PerfSweventSize};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:374:123: error: initializer element is not constant
 static struct PossibleExploit MsrPwnExploit = {MsrPwn, "MsrPwn", "http://www.exploit-db.com/exploits/27297", "2013-0268", MsrPwnSize};
                                                                                                                           ^~~~~~~~~~
src/scans/exploit_suggester.c:374:123: note: (near initialization for ‘MsrPwnExploit.vul_count’)
src/scans/exploit_suggester.c:374:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit MsrPwnExploit = {MsrPwn, "MsrPwn", "http://www.exploit-db.com/exploits/27297", "2013-0268", MsrPwnSize};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:375:135: error: initializer element is not constant
 static struct PossibleExploit TimeOutPwnExploit = {TimeOutPwn, "TimeOutPwn", "http://www.exploit-db.com/exploits/31346", "2014-0038", TimeOutPwnSize};
                                                                                                                                       ^~~~~~~~~~~~~~
src/scans/exploit_suggester.c:375:135: note: (near initialization for ‘TimeOutPwnExploit.vul_count’)
src/scans/exploit_suggester.c:375:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit TimeOutPwnExploit = {TimeOutPwn, "TimeOutPwn", "http://www.exploit-db.com/exploits/31346", "2014-0038", TimeOutPwnSize};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:376:166: error: initializer element is not constant
 static struct PossibleExploit RawModePTYExploit = {RawModePTY, "RawModePTY", "http://packetstormsecurity.com/files/download/126603/cve-2014-0196-md.c", "2014-0196", RawModePTYSize};
                                                                                                                                                                      ^~~~~~~~~~~~~~
src/scans/exploit_suggester.c:376:166: note: (near initialization for ‘RawModePTYExploit.vul_count’)
src/scans/exploit_suggester.c:376:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit RawModePTYExploit = {RawModePTY, "RawModePTY", "http://packetstormsecurity.com/files/download/126603/cve-2014-0196-md.c", "2014-0196", RawModePTYSize};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:377:132: error: initializer element is not constant
 static struct PossibleExploit OverlayfsExploit = {Overlayfs, "Overlayfs", "http://www.exploit-db.com/exploits/39230", "2015-8660", OverlayfsSize};
                                                                                                                                    ^~~~~~~~~~~~~
src/scans/exploit_suggester.c:377:132: note: (near initialization for ‘OverlayfsExploit.vul_count’)
src/scans/exploit_suggester.c:377:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit OverlayfsExploit = {Overlayfs, "Overlayfs", "http://www.exploit-db.com/exploits/39230", "2015-8660", OverlayfsSize};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:378:120: error: initializer element is not constant
 static struct PossibleExploit PPKeyExploit = {PPKey, "PPKey", "http://www.exploit-db.com/exploits/39277", "2016-0728", PPKeySize};
                                                                                                                        ^~~~~~~~~
src/scans/exploit_suggester.c:378:120: note: (near initialization for ‘PPKeyExploit.vul_count’)
src/scans/exploit_suggester.c:378:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit PPKeyExploit = {PPKey, "PPKey", "http://www.exploit-db.com/exploits/39277", "2016-0728", PPKeySize};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:379:129: error: initializer element is not constant
 static struct PossibleExploit DirtyCowExploit = {DirtyCow, "DirtyCow", "http://www.exploit-db.com/exploits/40616", "2016-5195", DirtyCowSize};
                                                                                                                                 ^~~~~~~~~~~~
src/scans/exploit_suggester.c:379:129: note: (near initialization for ‘DirtyCowExploit.vul_count’)
src/scans/exploit_suggester.c:379:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit DirtyCowExploit = {DirtyCow, "DirtyCow", "http://www.exploit-db.com/exploits/40616", "2016-5195", DirtyCowSize};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:380:129: error: initializer element is not constant
 static struct PossibleExploit AfPacketExploit = {AfPacket, "AfPacket", "http://www.exploit-db.com/exploits/40871", "2016-8655", AfPacketSize};
                                                                                                                                 ^~~~~~~~~~~~
src/scans/exploit_suggester.c:380:129: note: (near initialization for ‘AfPacketExploit.vul_count’)
src/scans/exploit_suggester.c:380:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit AfPacketExploit = {AfPacket, "AfPacket", "http://www.exploit-db.com/exploits/40871", "2016-8655", AfPacketSize};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:381:144: error: initializer element is not constant
 static struct PossibleExploit PacketSetRingExploit = {PacketSetRing, "PacketSetRing", "http://www.exploit-db.com/exploits/41994", "2017-7308", PacketSetRingSize};
                                                                                                                                                ^~~~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:381:144: note: (near initialization for ‘PacketSetRingExploit.vul_count’)
src/scans/exploit_suggester.c:381:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit PacketSetRingExploit = {PacketSetRing, "PacketSetRing", "http://www.exploit-db.com/exploits/41994", "2017-7308", PacketSetRingSize};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:382:132: error: initializer element is not constant
 static struct PossibleExploit CloneNewUserExploit = {CloneNewUser, "CloneNewUser", "http://www.exploit-db.com/exploits/38390", "", CloneNewUserSize};
                                                                                                                                    ^~~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:382:132: note: (near initialization for ‘CloneNewUserExploit.vul_count’)
src/scans/exploit_suggester.c:382:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit CloneNewUserExploit = {CloneNewUser, "CloneNewUser", "http://www.exploit-db.com/exploits/38390", "", CloneNewUserSize};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:383:127: error: initializer element is not constant
 static struct PossibleExploit GetRektExploit = {GetRekt, "GetRekt", "http://www.exploit-db.com/exploits/45010", "2017-16695", GetRektSize};
                                                                                                                               ^~~~~~~~~~~
src/scans/exploit_suggester.c:383:127: note: (near initialization for ‘GetRektExploit.vul_count’)
src/scans/exploit_suggester.c:383:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit GetRektExploit = {GetRekt, "GetRekt", "http://www.exploit-db.com/exploits/45010", "2017-16695", GetRektSize};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
src/scans/exploit_suggester.c:384:130: error: initializer element is not constant
 static struct PossibleExploit ExploitXExploit = {ExploitX, "ExploitX", "http://www.exploit-db.com/exploits/45697", "2018-14665", ExploitXSize};
                                                                                                                                  ^~~~~~~~~~~~
src/scans/exploit_suggester.c:384:130: note: (near initialization for ‘ExploitXExploit.vul_count’)
src/scans/exploit_suggester.c:384:15: warning: missing initializer for field ‘vul_count’ of ‘struct PossibleExploit’ [-Wmissing-field-initializers]
 static struct PossibleExploit ExploitXExploit = {ExploitX, "ExploitX", "http://www.exploit-db.com/exploits/45697", "2018-14665", ExploitXSize};
               ^~~~~~~~~~~~~~~
src/scans/exploit_suggester.c:28:24: note: ‘vul_count’ declared here
     const unsigned int vul_count; /* Size of vuln_versions */
                        ^~~~~~~~~
make: *** [obj/exploit_suggester.o] Error 1
luke-goddard commented 4 years ago

I failed to reproduce on my local machine, I have a Ubuntu 18.04 VM and managed to reproduce. Run the following and everything should be good to go :)

git pull origin master
make clean 
make
mirhmousavi commented 4 years ago

Thanks