Created
April 28, 2022 22:50
-
-
Save drakenclimber/94d9f296da32f7b6db988aa5a66f3bb9 to your computer and use it in GitHub Desktop.
Prototype ranges.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef _SECCOMP_RANGES_H | |
#define _SECCOMP_RANGES_H | |
#ifdef __cplusplus | |
extern "C" { | |
#endif | |
struct range ranges_x86_64_SCMP_KV_5_04[] = { | |
{0, 169}, | |
{171, 334}, | |
{424, 445}, | |
}; | |
struct range ranges_x86_64_SCMP_KV_5_05[] = { | |
{0, 169}, | |
{171, 334}, | |
{424, 445}, | |
}; | |
struct range ranges_x86_64_SCMP_KV_5_06[] = { | |
{0, 169}, | |
{171, 334}, | |
{424, 445}, | |
}; | |
struct range ranges_x86_64_SCMP_KV_5_07[] = { | |
{0, 169}, | |
{171, 334}, | |
{424, 445}, | |
}; | |
struct range ranges_x86_64_SCMP_KV_5_08[] = { | |
{0, 169}, | |
{171, 334}, | |
{424, 445}, | |
}; | |
struct range ranges_x86_64_SCMP_KV_5_09[] = { | |
{0, 169}, | |
{171, 334}, | |
{424, 445}, | |
}; | |
struct range ranges_x86_64_SCMP_KV_5_10[] = { | |
{0, 169}, | |
{171, 334}, | |
{424, 445}, | |
}; | |
struct range ranges_x86_64_SCMP_KV_5_11[] = { | |
{0, 169}, | |
{171, 334}, | |
{424, 445}, | |
}; | |
struct range ranges_x86_64_SCMP_KV_5_12[] = { | |
{0, 169}, | |
{171, 334}, | |
{424, 445}, | |
}; | |
struct range ranges_x86_64_SCMP_KV_5_13[] = { | |
{0, 169}, | |
{171, 334}, | |
{424, 445}, | |
}; | |
struct range ranges_x86_64_SCMP_KV_5_14[] = { | |
{0, 169}, | |
{171, 334}, | |
{424, 445}, | |
}; | |
struct range ranges_x86_64_SCMP_KV_5_15[] = { | |
{0, 169}, | |
{171, 334}, | |
{424, 445}, | |
}; | |
struct range ranges_x86_64_SCMP_KV_5_16[] = { | |
{0, 169}, | |
{171, 334}, | |
{424, 445}, | |
}; | |
struct range ranges_x86_64_SCMP_KV_5_17[] = { | |
{0, 334}, | |
{424, 446}, | |
}; | |
struct range ranges_x86_64_SCMP_KV_5_18[] = { | |
{0, 334}, | |
{424, 448}, | |
}; | |
struct range *range_table[16][17] = { | |
{NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL}, | |
{ranges_x86_64_SCMP_KV_5_04,ranges_x86_64_SCMP_KV_5_05,ranges_x86_64_SCMP_KV_5_06,ranges_x86_64_SCMP_KV_5_07,ranges_x86_64_SCMP_KV_5_08,ranges_x86_64_SCMP_KV_5_09,ranges_x86_64_SCMP_KV_5_10,ranges_x86_64_SCMP_KV_5_11,ranges_x86_64_SCMP_KV_5_12,ranges_x86_64_SCMP_KV_5_13,ranges_x86_64_SCMP_KV_5_14,ranges_x86_64_SCMP_KV_5_15,ranges_x86_64_SCMP_KV_5_16,ranges_x86_64_SCMP_KV_5_17,ranges_x86_64_SCMP_KV_5_18}, | |
{NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL}, | |
{NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL}, | |
{NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL}, | |
{NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL}, | |
{NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL}, | |
{NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL}, | |
{NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL}, | |
{NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL}, | |
{NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL}, | |
{NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL}, | |
{NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL}, | |
{NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL}, | |
{NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL}, | |
{NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL} | |
}; | |
uint32_t sizes_table[16][17] = { | |
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, | |
{3,3,3,3,3,3,3,3,3,3,3,3,3,2,2}, | |
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, | |
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, | |
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, | |
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, | |
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, | |
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, | |
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, | |
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, | |
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, | |
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, | |
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, | |
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, | |
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, | |
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0} | |
}; | |
#ifdef __cplusplus | |
} | |
#endif | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment