coreboot/util/lint
Subrata Banik caefaaa093 util/lint: Use bigint for hexadecimal values in handle_range
The `handle_range` function in `kconfig_lint` was failing to correctly
handle large hexadecimal values (64-bit value) due to limitations with
Perl's handling of standard integers.

This commit modifies the function to use the `bigint` pragma, enabling
it to handle arbitrarily large integers. This prevents issues with
64-bit hexadecimal values and ensures accurate comparisons for range
validation.

Change-Id: I402bb9bec9ba5bfb79b4185f35228c41d4a7b674
Signed-off-by: Subrata Banik <subratabanik@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/84575
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Reviewed-by: Christian Walter <christian.walter@9elements.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2024-10-01 21:35:20 +00:00
..
check-style
check_lint_tests
checkpatch.pl Treewide: Fix incorrect SPDX license strings 2024-02-18 01:55:57 +00:00
checkpatch_json.py
const_structs.checkpatch
coreboot.dict
description.md
helper_functions.sh
kconfig_lint util/lint: Use bigint for hexadecimal values in handle_range 2024-10-01 21:35:20 +00:00
kconfig_lint_README
lint util/lint/lint: Fix shellcheck errors in getopt support for darwin 2024-03-17 08:26:00 +00:00
lint-000-license-headers util: Break up spdx identifier text in scripts & makefiles 2024-06-19 17:42:43 +00:00
lint-001-no-global-config-in-romstage
lint-007-checkpatch
lint-008-kconfig
lint-014-qualified-types
lint-extended-007-checkpatch
lint-extended-015-final-newlines util/lint/lint-final-newlines: Supply dirs in row 2024-09-11 13:39:24 +00:00
lint-extended-020-signed-off-by
lint-stable-000-license-headers
lint-stable-003-whitespace lint-stable-003-whitespace: Exclude DTB files 2024-05-27 08:02:26 +00:00
lint-stable-004-style-labels
lint-stable-005-board-status
lint-stable-006-board-name
lint-stable-008-kconfig
lint-stable-009-old-licenses
lint-stable-010-asm-syntax
lint-stable-012-executable-bit
lint-stable-013-site-local
lint-stable-016-non-ascii
lint-stable-017-configs
lint-stable-018-symlinks
lint-stable-019-header-files
lint-stable-021-coreboot-lowercase
lint-stable-022-clang-format
lint-stable-023-filenames
lint-stable-024-kconfig-no-subsystem
lint-stable-026-line-endings
lint-stable-027-maintainers-syntax
lint-stable-028-touchpad-probed-warning
lint-stable-029-kconfig-name-selects
lint-stable-030-makefile-inc util/lint: Add lint rule to watch for Makefile.inc 2024-04-20 21:08:36 +00:00
Makefile
remccoms3.sed
spelling.txt