#include <stdint.h>
#include "javaclass.h"
#include "attributes.h"
Go to the source code of this file.
§ method_info
§ freeMethodAttributes()
Releases attributes used by the method_info struct.
- Parameters
-
method_info* | entry - pointer to the method_info that contains the attributes |
- Note
- This function does not free the *entry pointer, just attributes
§ getMethodMatching()
method_info* getMethodMatching |
( |
JavaClass * |
jc, |
|
|
const uint8_t * |
name, |
|
|
int32_t |
name_len, |
|
|
const uint8_t * |
descriptor, |
|
|
int32_t |
descriptor_len, |
|
|
uint16_t |
flag_mask |
|
) |
| |
§ printMethods()
Function to print all methods of the class file.
- Parameters
-
§ readMethod()
Reads a method_info from the file.
- Parameters
-
JavaClass* | jc - pointer to the structure to be read. |
method_info* | entry - where the data read is written |
- Returns
- char - retuns 0 if something unexpected happened or failure, 1 in case of success