fsfuzz

small fs fuzzer
git clone git://git.2f30.org/fsfuzz
Log | Files | Refs

ext4.c (472B)


      1 #include <stdio.h>
      2 #include <stdlib.h>
      3 #include <time.h>
      4 #include <err.h>
      5 
      6 #include "fsfuzz.h"
      7 
      8 int
      9 ext4_init(struct fsfuzz_info *fs_info
     10 	 __attribute__ ((unused)))
     11 {
     12 	return 0;
     13 }
     14 
     15 int
     16 ext4_fuzz(struct fsfuzz_info *fs_info
     17 	  __attribute__ ((unused)))
     18 {
     19 	return 0;
     20 }
     21 
     22 static struct fsfuzz_ops ext4_fuzz_ops = {
     23 	.name = "ext4",
     24 	.init = ext4_init,
     25 	.fuzz = ext4_fuzz
     26 };
     27 
     28 __attribute__ ((constructor))
     29 static void
     30 ext4_register(void)
     31 {
     32 	fsfuzz_register(&ext4_fuzz_ops);
     33 }