4837 Total CVEs
26 Years
GitHub
README.md
Rendering markdown...
POC / fakefuse.h H
#define _FILE_OFFSET_BITS 64
#define FUSE_USE_VERSION 29
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <fcntl.h>
#include <stddef.h>
#include <unistd.h>
#include <fuse.h>

#define MNT_PATH "/tmp/foo"

extern int spray1_pipes[2];
extern const char *spray1_path, *spray2_path;

int fuse_read(const char *path, char *buf, size_t size, off_t offset, struct fuse_file_info *fi);
int fuse_getattr(const char *path, struct stat *stbuf);
int fuse_readdir(const char *path, void *buf, fuse_fill_dir_t filler, off_t offset, struct fuse_file_info *fi);