Rizin
unix-like reverse engineering framework and cli tools
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
p
r
s
t
u
v
w
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Enumerations
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
x
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Enumerator
b
d
e
h
i
k
n
p
r
s
w
Properties
Events
Related Functions
Files
File List
File Members
All
$
.
[
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
[
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
$
.
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Events
Friends
Macros
Modules
Pages
class_interface.c
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: 2021 deroad <wargio@libero.it>
2
// SPDX-License-Identifier: LGPL-3.0-only
3
4
#include "
class_interface.h
"
5
6
Interface
*
java_interface_new
(
RzBuffer
*
buf
,
ut64
offset
) {
7
Interface
*attr =
RZ_NEW0
(
Interface
);
8
rz_return_val_if_fail
(attr,
NULL
);
9
attr->
offset
=
offset
;
10
if
(!
rz_buf_read_be16
(
buf
, &attr->
index
)) {
11
free
(attr);
12
return
NULL
;
13
}
14
15
return
attr;
16
}
java_interface_new
Interface * java_interface_new(RzBuffer *buf, ut64 offset)
Definition:
class_interface.c:6
class_interface.h
NULL
#define NULL
Definition:
cris-opc.c:27
free
RZ_API void Ht_() free(HtName_(Ht) *ht)
Definition:
ht_inc.c:130
offset
voidpf uLong offset
Definition:
ioapi.h:144
buf
voidpf void * buf
Definition:
ioapi.h:138
rz_return_val_if_fail
#define rz_return_val_if_fail(expr, val)
Definition:
rz_assert.h:108
rz_buf_read_be16
#define rz_buf_read_be16(b, result)
Definition:
rz_buf.h:280
RZ_NEW0
#define RZ_NEW0(x)
Definition:
rz_types.h:284
java_interface_t
Definition:
class_interface.h:10
java_interface_t::offset
ut64 offset
Definition:
class_interface.h:11
java_interface_t::index
ut16 index
Definition:
class_interface.h:12
rz_buf_t
Definition:
rz_buf.h:43
ut64
ut64(WINAPI *w32_GetEnabledXStateFeatures)()
librz
bin
format
java
class_interface.c
Generated by
1.9.1