-
Notifications
You must be signed in to change notification settings - Fork 17
Array type object
Philippe Proulx edited this page Sep 10, 2020
·
3 revisions
A CTF array or sequence (variable-length array) type.
See also: Type object.
| Property | Type | Description | Required? | Default value |
|---|---|---|---|---|
class |
String | Set to array
|
Required | N/A |
element-type |
Type object or string (alias name) | Type of array type's elements | Required | N/A |
length |
Positive integer (static array) or the string dynamic (dynamic array) |
Array type's length specification | Required | N/A |
If the length property is the string dynamic, the array type has a
variable length (CTF sequence).
16 bytes, static array:
class: array
length: 16
element-type:
class: int
size: 8Dynamic array of null-terminated strings:
class: array
length: dynamic
element-type:
class: stringCopyright © 2014-2016 Philippe Proulx (project license)