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
pyc_magic.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: 2016-2020 c0riolis
2
// SPDX-FileCopyrightText: 2016-2020 x0urc3
3
// SPDX-License-Identifier: LGPL-3.0-only
4
5
#ifndef PYC_MAGIC_H
6
#define PYC_MAGIC_H
7
8
#include <
rz_types.h
>
9
10
struct
pyc_version
{
11
ut32
magic
;
12
char
*
version
;
13
char
*
revision
;
14
};
15
16
struct
pyc_version
get_pyc_version
(
ut32
magic
);
17
18
double
version2double
(
const
char
*
version
);
19
20
bool
magic_int_within
(
ut32
target_magic,
ut32
lower,
ut32
uppper,
bool
*
error
);
21
22
#endif
ut32
uint32_t ut32
Definition:
demangler_util.h:31
version
Definition:
version.py:1
get_pyc_version
struct pyc_version get_pyc_version(ut32 magic)
Definition:
pyc_magic.c:273
magic_int_within
bool magic_int_within(ut32 target_magic, ut32 lower, ut32 uppper, bool *error)
Definition:
pyc_magic.c:283
version2double
double version2double(const char *version)
Definition:
pyc_magic.c:316
rz_types.h
pyc_version
Definition:
pyc_magic.h:10
pyc_version::version
char * version
Definition:
pyc_magic.h:12
pyc_version::magic
ut32 magic
Definition:
pyc_magic.h:11
pyc_version::revision
char * revision
Definition:
pyc_magic.h:13
error
void error(const char *msg)
Definition:
untgz.c:593
librz
bin
format
pyc
pyc_magic.h
Generated by
1.9.1