Rizin
unix-like reverse engineering framework and cli tools
buffer Struct Reference

#include <buffer.h>

Public Attributes

char * x
 
unsigned int p
 
unsigned int n
 
int fd
 
BufferOp op
 
zip_buffer_fragment_tfragments
 
zip_uint64_tfragment_offsets
 
zip_uint64_t nfragments
 
zip_uint64_t fragments_capacity
 
zip_uint64_t first_owned_fragment
 
zip_uint64_t shared_fragments
 
struct buffershared_buffer
 
zip_uint64_t size
 
zip_uint64_t offset
 
zip_uint64_t current_fragment
 
zip_uint64_t fragment_size
 
zip_uint8_t ** fragment
 

Detailed Description

Definition at line 15 of file buffer.h.

Member Data Documentation

◆ current_fragment

zip_uint64_t buffer::current_fragment

Definition at line 56 of file zip_source_buffer.c.

Referenced by buffer_read(), buffer_seek(), and buffer_write().

◆ fd

int buffer::fd

Definition at line 19 of file buffer.h.

◆ first_owned_fragment

zip_uint64_t buffer::first_owned_fragment

Definition at line 49 of file zip_source_buffer.c.

Referenced by buffer_clone(), buffer_free(), and buffer_new().

◆ fragment

zip_uint8_t** buffer::fragment

◆ fragment_offsets

◆ fragment_size

zip_uint64_t buffer::fragment_size

Definition at line 61 of file source_hole.c.

Referenced by buffer_new(), buffer_read(), buffer_read_file(), buffer_to_file(), and buffer_write().

◆ fragments

◆ fragments_capacity

zip_uint64_t buffer::fragments_capacity

Definition at line 47 of file zip_source_buffer.c.

Referenced by buffer_grow_fragments(), buffer_new(), and buffer_write().

◆ n

unsigned int buffer::n

Definition at line 18 of file buffer.h.

◆ nfragments

◆ offset

◆ op

BufferOp buffer::op

Definition at line 20 of file buffer.h.

◆ p

unsigned int buffer::p

Definition at line 17 of file buffer.h.

◆ shared_buffer

struct buffer* buffer::shared_buffer

Definition at line 52 of file zip_source_buffer.c.

Referenced by buffer_clone(), buffer_free(), and buffer_new().

◆ shared_fragments

zip_uint64_t buffer::shared_fragments

Definition at line 51 of file zip_source_buffer.c.

Referenced by buffer_clone(), buffer_free(), and buffer_new().

◆ size

◆ x

char* buffer::x

Definition at line 16 of file buffer.h.


The documentation for this struct was generated from the following files: