JVM
|
#include "fields.h"
#include "readfunctions.h"
#include "validity.h"
#include "utf8.h"
#include "debugging.h"
Functions | |
char | readField (JavaClass *jc, field_info *entry) |
Reads a field_info from the file. More... | |
void | freeFieldAttributes (field_info *entry) |
Releases attributes used by the field_info struct. More... | |
void | printAllFields (JavaClass *jc) |
Function to print all fields of the class file. More... | |
field_info * | getFieldMatching (JavaClass *jc, const uint8_t *name, int32_t name_len, const uint8_t *descriptor, int32_t descriptor_len, uint16_t flag_mask) |
void freeFieldAttributes | ( | field_info * | entry | ) |
Releases attributes used by the field_info struct.
field_info* | entry - pointer to the field_info that contains the attributes |
field_info* getFieldMatching | ( | JavaClass * | jc, |
const uint8_t * | name, | ||
int32_t | name_len, | ||
const uint8_t * | descriptor, | ||
int32_t | descriptor_len, | ||
uint16_t | flag_mask | ||
) |
void printAllFields | ( | JavaClass * | jc | ) |
char readField | ( | JavaClass * | jc, |
field_info * | entry | ||
) |
Reads a field_info from the file.
JavaClass* | jc - pointer to the structure to be read |
field_info* | entry - where the data read is written |