File: README.md

package info (click to toggle)
intel-ipsec-mb 2.0.1-2
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 17,404 kB
  • sloc: ansic: 104,071; asm: 64,976; pascal: 18,149; javascript: 5,637; python: 1,464; makefile: 799
file content (39 lines) | stat: -rw-r--r-- 1,127 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Intel(R) Multi-Buffer Crypto for IPsec Library - Fuzz Test Applications

## Contents

- Overview
- Dependencies
- Usage


## Overview

The fuzz test applications aim to discover defects in the library by passing randomly
generated data to the library API's. Currently there are two fuzzing applications, the
`imb-fuzz-api` application targets job and burst API and `imb-fuzz-direct-api` targets
the direct API.


## Dependencies
- clang
- libfuzzer

## Usage

Before running the application, ensure the library is installed by following the instructions
in the [README](https://github.com/intel/intel-ipsec-mb/tree/main/test#library-installation).  
**Note:** The library must be compiled with SAFE_PARAM option enabled (default setting).
[CLANG/LLVM libFuzzer](https://llvm.org/docs/LibFuzzer.html) package is required for building and running the fuzz applications.
### Linux
To fuzz the library job and burst API:  
`./imb-fuzz-api`  

To fuzz the library direct API:  
`./imb-fuzz-direct-api`  

To display an extensive help page for libfuzzer options:  
`./imb-fuzz-api -help=1`   

### Windows
Not currently supported.