File: resolver.h

package info (click to toggle)
ceccomp 4.0-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 1,604 kB
  • sloc: ansic: 6,470; python: 1,039; makefile: 248; sh: 145
file content (14 lines) | stat: -rw-r--r-- 311 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef RESOLVER_H
#define RESOLVER_H

#include "utils/vector.h"
#include <stdbool.h>
#include <stdint.h>

#define _SCMP_ACT_TRAP(x) (SCMP_ACT_TRAP | ((x) & 0x0000ffffU))

// see vector.h for vector details
// return false if ok, return true if error occurs
extern bool resolver (vector_t *code_ptr_v);

#endif