From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "signature" |
|---|
| subject | "Platform:Itanium C++ ABI" |
|---|
| claim | "libc++abi (LLVM's C++ runtime) tags its exceptions "CLNGC++\0" = 0x434C4E47432B2B00 (dependent: ...01). In 32-bit ARM Thumb code of an Android libc++abi build the constant sits in literal pools as the two words 0x434C4E47 and 0x432B2B00/0x432B2B01, in either order (6 pools); the pattern below (high word 0x434C4E47, then low word 0x432B2B00 of the primary class) was seen twice. Unverified: a little-endian 64-bit target would carry the imm64 bytes 00 2B 2B 43 47 4E 4C 43 instead." |
|---|
| scope | | level | "platform" |
|---|
| applies_to | "Platform:Itanium C++ ABI" |
|---|
| observed_in | |
|---|
|
|---|
| data | | pattern | "47 4E 4C 43 00 2B 2B 43" |
|---|
| matches | "ARM literal pool: high and low words of libc++abi's exception class 0x434C4E47432B2B00 ("CLNGC++\0")" |
|---|
| name | "libcxxabi_exception_class" |
|---|
| multiple | true |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "kOurExceptionClass = 0x434C4E47432B2B00, kOurDependentExceptionClass = 0x434C4E47432B2B01, get_vendor_and_language = 0xFFFFFFFFFFFFFF00" |
|---|
| repo | "https://github.com/llvm/llvm-project" |
|---|
| commit | "4bd435d59f89ded8e537e5c6e0b560ad89518c3f" |
|---|
| path | "libcxxabi/src/cxa_exception.h" |
|---|
| lines | "22-24" |
|---|
|
| type | "byte_pattern" |
|---|
| detail | "pyelftools test/testfiles_for_unittests/arm_exidx_test.so (commit 5a04389392e25d8128e1acb59828a0a85be791b1): 47 4E 4C 43 occurs 6 times: followed by 00 2B 2B 43 at file offsets 0x57810 and 0x57aac (this pattern), preceded by 01 2B 2B 43 at 0x57ba0 and 0x585ec, followed by 01 2B 2B 43 at 0x58764 and 0x599f8." |
|---|
|
|
|---|
| confidence | "medium" |
|---|
| related | |
|---|
| key | "libc++abi exception class literal" |
|---|
| topic | "Platform:Itanium C++ ABI/Exception handling" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-17T21:51:46.310Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-18T23:01:43.382Z" |
|---|
| result | "partial" |
|---|
| method | "Read libcxxabi/src/cxa_exception.h 22-24 at the cited commit: kOurExceptionClass 0x434C4E47432B2B00, dependent ...01, mask 0xFFFFFFFFFFFFFF00 all match. The pyelftools .so byte offsets were not rechecked." |
|---|
| notes | "Source constants confirmed; ARM literal pool offsets not rechecked." |
|---|
|
|
|---|