Last change
on this file since 1486 was
1486,
checked in by Sam Hocevar, 16 years ago
|
|
-
Property svn:keywords set to
Id
|
File size:
994 bytes
|
Line | |
---|
1 | /* |
---|
2 | * zzuf - general purpose fuzzer |
---|
3 | * Copyright (c) 2006 Sam Hocevar <sam@zoy.org> |
---|
4 | * All Rights Reserved |
---|
5 | * |
---|
6 | * $Id: libzzuf.h 1486 2006-12-15 16:10:56Z sam $ |
---|
7 | * |
---|
8 | * This program is free software. It comes without any warranty, to |
---|
9 | * the extent permitted by applicable law. You can redistribute it |
---|
10 | * and/or modify it under the terms of the Do What The Fuck You Want |
---|
11 | * To Public License, Version 2, as published by Sam Hocevar. See |
---|
12 | * http://sam.zoy.org/wtfpl/COPYING for more details. |
---|
13 | */ |
---|
14 | |
---|
15 | /* |
---|
16 | * libzzuf.h: preloaded wrapper library |
---|
17 | */ |
---|
18 | |
---|
19 | struct zzuf |
---|
20 | { |
---|
21 | int managed; |
---|
22 | uint64_t seed; |
---|
23 | uint64_t pos; |
---|
24 | char *data; |
---|
25 | }; |
---|
26 | |
---|
27 | extern struct zzuf files[]; |
---|
28 | |
---|
29 | /* Internal stuff */ |
---|
30 | extern int _zzuf_ready; |
---|
31 | extern int _zzuf_debug; |
---|
32 | extern int _zzuf_seed; |
---|
33 | extern float _zzuf_ratio; |
---|
34 | extern regex_t * _zzuf_include; |
---|
35 | extern regex_t * _zzuf_exclude; |
---|
36 | |
---|
37 | /* Library initialisation shit */ |
---|
38 | extern void zzuf_init(void) __attribute__((constructor)); |
---|
39 | extern void zzuf_fini(void) __attribute__((destructor)); |
---|
40 | |
---|
Note: See
TracBrowser
for help on using the repository browser.