mirror of
https://github.com/morluto/rea.git
synced 2026-11-20 05:32:44 +00:00
fix(elf): preserve unprefixed Kconfig hex values (#12516)
This commit is contained in:
1 parent
cd3590c8ee
commit
3dfd7c2f0d
3 files changed
+58
-4
No files matched your search
@@ -72,11 +72,14 @@ Each entry has a `name`, a `kind`, and a `value`:
|
||||
| `kind` | Source line | `value` |
|
||||
| --------- | -------------------------- | ------------------------- |
|
||||
| `y`, `m` | `CONFIG_X=y`, `CONFIG_X=m` | `y` or `m` |
|
||||
| `number` | decimal or `0x` hex | the text as written |
|
||||
| `number` | Kconfig integer or hex | the text as written |
|
||||
| `string` | `CONFIG_X="..."` | decoded text (`\"`, `\\`) |
|
||||
| `not_set` | `# CONFIG_X is not set` | `null` |
|
||||
|
||||
Banner text and configuration values are target-derived and untrusted.
|
||||
Kconfig can write hexadecimal values without a `0x` prefix. REA preserves
|
||||
the spelling and leaves the numeric base unresolved when the value alone
|
||||
cannot establish it. Banner text and configuration values are target-derived
|
||||
and untrusted.
|
||||
|
||||
## bzImage payloads
|
||||
|
||||
|
||||
Reference in new issue
Block a user