coreboot-kgpe-d16/util/cbfstool
Arthur Heymans 8f95f74eb2 util/cbfstool: Fix building with clang & -Wshadow
Clang -Wshadow is more rigorous than GCC and picks a shadowing of the
optarg global variable in /usr/include/bits/getopt_core.h .

TESTED: builds with both gcc and clang.

Change-Id: Ifc362c84511abb6a000671f03498e841d7747074
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/70508
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
Reviewed-by: Tarun Tuli <taruntuli@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Subrata Banik <subratabanik@google.com>
2022-12-14 18:31:55 +00:00
..
bpdt_formats util: Add SPDX license headers to Makefiles 2022-11-22 12:47:09 +00:00
console util/cbfstool: Wrap logging macros in do - while 2022-10-13 17:07:02 +00:00
flashmap
fpt_formats util: Add SPDX license headers to Makefiles 2022-11-22 12:47:09 +00:00
lz4 util: Add SPDX license headers to Makefiles 2022-11-22 12:47:09 +00:00
lzma
tests
.gitignore
EXAMPLE
Makefile
Makefile.inc util: Add SPDX license headers to Makefiles 2022-11-22 12:47:09 +00:00
ProcessorBind.h
amdcompress.c
cbfs-mkpayload.c util/cbfstool: Wrap logging macros in do - while 2022-10-13 17:07:02 +00:00
cbfs-mkstage.c
cbfs-payload-linux.c treewide: Replace ALIGN(x, a) by ALIGN_UP(x, a) for clarity 2022-11-12 18:00:16 +00:00
cbfs.h util/cbfstool: Check for metadata hash in verstage 2022-10-26 15:59:58 +00:00
cbfs_glue.h cbfs/vboot: Adapt to new vb2_digest API 2022-09-02 23:51:29 +00:00
cbfs_image.c util/cbfstool: Wrap logging macros in do - while 2022-10-13 17:07:02 +00:00
cbfs_image.h util/cbfstool: Fix truncate command error handling and cbfs_image_from_buffer() 2022-08-03 23:24:49 +00:00
cbfs_sections.c
cbfs_sections.h
cbfscomptool.c
cbfstool.c util/cbfstool: Fix building with clang & -Wshadow 2022-12-14 18:31:55 +00:00
coff.h
common.c cbfstool: Fix possible memory leak 2022-11-09 00:26:30 +00:00
common.h
compress.c util/cbfstool: fix memory leak in compress.c 2022-11-02 21:40:25 +00:00
cse_fpt.c
cse_fpt.h
cse_helpers.c
cse_helpers.h
cse_serger.c
cse_serger.h
default-x86.fmd
default.fmd
description.md
elf.h
elfheaders.c treewide: Replace ALIGN(x, a) by ALIGN_UP(x, a) for clarity 2022-11-12 18:00:16 +00:00
elfparsing.h
elogtool.c util/cbfstool: Decouple elogtool from vboot_ref flashrom code 2022-06-16 20:38:41 +00:00
eventlog.c util/eventlog: Correct the capitalization for diagnostics types 2022-11-02 21:41:10 +00:00
eventlog.h
fdt.h
fit.c util/ifittool: Error out if microcodes do not fit the FIT table 2022-09-15 13:01:42 +00:00
fit.h
flashmap_tests.c
flashrom.c treewide: Unify Google branding 2022-07-04 14:02:26 +00:00
flashrom.h treewide: Unify Google branding 2022-07-04 14:02:26 +00:00
fmap_from_fmd.c
fmap_from_fmd.h
fmaptool.c
fmd.c
fmd.h
fmd_parser.c_shipped
fmd_parser.h_shipped
fmd_parser.y
fmd_scanner.c_shipped
fmd_scanner.h_shipped
fmd_scanner.l
fv.h
ifittool.c util/cbfstool: Fix truncate command error handling and cbfs_image_from_buffer() 2022-08-03 23:24:49 +00:00
ifwitool.c treewide: Replace ALIGN(x, a) by ALIGN_UP(x, a) for clarity 2022-11-12 18:00:16 +00:00
linux.h
linux_trampoline.S
linux_trampoline.c
linux_trampoline.h
option.h
partitioned_file.c
partitioned_file.h
platform_fixups.c cbfs/vboot: Adapt to new vb2_digest API 2022-09-02 23:51:29 +00:00
rmodtool.c
rmodule.c
rmodule.h
xdr.c