Fix icmpapi.h parsing error in example GDT script

According to the Microsoft document, icmpapi.h must be included after iphlpapi.h. If you change the order of the inclusion of icmpapi.h, the C Parser will have no problem parsing icmpapi.h.
This commit is contained in:
Xiaoyin Liu 2022-11-11 06:02:38 +04:00 committed by GitHub
parent 6394783ade
commit ed423a4b88
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -203,7 +203,7 @@ public class CreateExampleGDTArchiveScript extends GhidraScript {
"certif.h", "certif.h",
"certmod.h", "certmod.h",
"certpol.h", "certpol.h",
"certpoleng.h ", "certpoleng.h",
"certsrv.h", "certsrv.h",
"certview.h", "certview.h",
"credssp.h", "credssp.h",
@ -422,12 +422,12 @@ public class CreateExampleGDTArchiveScript extends GhidraScript {
"#http.h", // included by something else "#http.h", // included by something else
"# IP Helper", "# IP Helper",
"#icmpapi.h", // Something wrong with IP_ADDR
"ifdef.h", "ifdef.h",
"inaddr.h", "inaddr.h",
"ip2string.h", "ip2string.h",
"ipexport.h", "ipexport.h",
"iphlpapi.h", "iphlpapi.h",
"icmpapi.h", // Must be included after iphlpapi.h
"iprtrmib.h", "iprtrmib.h",
"iptypes.h", "iptypes.h",
"netioapi.h", "netioapi.h",