You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| Format Version |`uint8_t`| 8 | The version of the record format. The current version is 0. |
12
-
| Flags |`uint8_t`| 8 | Bit 0 is set if the function is a valid indirect call target. Other bits are reserved. |
12
+
| Flags |`uint8_t`| 8 |A bitfield where: Bit 0 is set if the function is a potential indirect call target; Bit 1 is set if there are direct callees; Bit 2 is set if there are indirect callees. The remaining 5 bits are reserved.|
13
13
| Function Entry PC |`uintptr_t`| 32/64 | The address of the function's entry point. |
14
-
| Function Type ID |`uint64_t`| 64 | The type ID of the function. This field is non-zero if the function is an indirect call target and its type is known. |
15
-
| Number of Unique Direct Callees |`uint32_t`| 32| The number of unique direct call destinations from this function. |
16
-
| Number of Unique Indirect Target Type IDs|`uint32_t`| 32| The number of unique indirect call target type IDs within the function. |
14
+
| Function Type ID |`uint64_t`| 64 | The type ID of the function. This field is non-zero if the function is a potential indirect call target and its type is known. |
15
+
| Number of Unique Direct Callees |`ULEB128`| Variable| The number of unique direct call destinations from this function. This field is only present if there is at least one direct callee.|
16
+
| Number of Unique Indirect Target Type IDs|`ULEB128`| Variable| The number of unique indirect call target type IDs. This field is only present if there is at least one indirect target type ID.|
17
17
| Direct Callees Array |`uintptr_t[]`| Variable | An array of unique direct callee entry point addresses. |
18
18
| Indirect Target Type IDs Array |`uint64_t[]`| Variable | An array of unique indirect call target type IDs. |
0 commit comments