Given a section name, read its contents as a ByteString.
If the section isn't found or if there is any parsing error, we return Nothing
:: a typeCtrl KGHC 10.0.0.20260917 · lts/ghc-10.0.x · 8174fa4 · 2026-10-11
Moduleghc-10.0.0.20260917GHC2024
Given a section name, read its contents as a ByteString.
If the section isn't found or if there is any parsing error, we return Nothing
read a Note as a String
If you try to read a note from a section which does not support the Note format, the parsing is likely to fail and Nothing will be returned
Generate the GAS code to create a Note section
Header fields for notes are 32-bit long (see Note [ELF specification]).