From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "identification" |
|---|
| subject | "Format:Hermes bytecode (HBC)" |
|---|
| claim | "The Hermes bytecode version is a single integer BYTECODE_VERSION in BytecodeVersion.h (99 at the pinned main commit, updated 2026-02-12); a VM only accepts its own version, so a decompiler must match the number stored at file offset 8." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:Hermes bytecode (HBC)" |
|---|
| observed_in | |
|---|
|
|---|
| data | | method | "read the uint32 at offset 8 of the bundle" |
|---|
| indicator | "BYTECODE_VERSION in include/hermes/BCGen/HBC/BytecodeVersion.h" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "const static uint32_t BYTECODE_VERSION = 99" |
|---|
| repo | "https://github.com/facebook/hermes" |
|---|
| commit | "17b37301da5da4a2cd55d78f9697c46c0fd96123" |
|---|
| path | "include/hermes/BCGen/HBC/BytecodeVersion.h" |
|---|
| lines | "17-19" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "Bytecode version constant" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T11:24:07.636Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T02:28:03.370Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read BytecodeVersion.h at the cited commit (BYTECODE_VERSION = 99, 'Updated: Feb 12, 2026') and BytecodeFileFormat.h: header has uint64 magic then uint32 version, so version sits at offset 8." |
|---|
|
|
|---|