From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "identification" |
|---|
| subject | "Library:Protocol Buffers" |
|---|
| claim | "C++ protobuf-generated code (full runtime) names each file's DescriptorTable descriptor_table_<id> and its serialized FileDescriptorProto descriptor_table_protodef_<id>, where <id> is the .proto path with every non-alphanumeric byte replaced by '_' plus two hex digits (foo/bar.proto -> foo_2fbar_2eproto). These are symbol names: stripped binaries lose them (the serialized descriptor bytes, with the .proto file name, remain) and optimize_for = LITE_RUNTIME code has no descriptor tables. The C++ runtime also contains google::protobuf::Message RTTI." |
|---|
| scope | | level | "library" |
|---|
| applies_to | "Library:Protocol Buffers" |
|---|
| observed_in | |
|---|
|
|---|
| data | | method | "symbols" |
|---|
| indicator | "descriptor_table_*_2eproto, descriptor_table_protodef_*_2eproto, _ZTVN6google8protobuf7MessageE, .?AVMessage@protobuf@google@@" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "FilenameIdentifier and UniqueName; file.cc:1163 desc_name" |
|---|
| repo | "https://github.com/protocolbuffers/protobuf" |
|---|
| commit | "522b8d41d5d5cdc7ef581c913277aa309f9b7c6a" |
|---|
| path | "src/google/protobuf/compiler/cpp/helpers.cc" |
|---|
| lines | "989-1008, 641-643" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T05:04:17.534Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T02:48:18.479Z" |
|---|
| result | "confirmed" |
|---|
| method | "Fetched helpers.cc at the cited commit: FilenameIdentifier (lines 989-1001) keeps alphanumerics and writes '_' + absl::Hex(byte) for every other byte (so '.' -> _2e, '/' -> _2f); UniqueName (1004-1006) = name + '_' + that; line 643 UniqueName('descriptor_table'); file.cc line 1163 UniqueName('descriptor_table_protodef'). Symbol-name facts only; the stripped/lite limits in the claim are consistent but not tested." |
|---|
|
|
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T02:38:37.541Z" |
|---|
| summary | "helpers.cc FilenameIdentifier/UniqueName confirmed, but the symbols exist only with the full runtime and unstripped symbols; stripped binaries and lite-runtime code have none, where the embedded…" |
|---|
| changed | |
|---|
|
|
|---|