FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
LyxPythonVM/src/main.cpp at master · m0dulo/LyxPythonVM · GitHub
m0dulo
LyxPythonVM
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
LyxPythonVM
/
src
/
main.cpp
Copy path
More file actions
More file actions
Latest commit
History
History
History
16 lines (13 loc) · 414 Bytes
Breadcrumbs
LyxPythonVM
/
src
/
main.cpp
Copy path
File metadata and controls
16 lines (13 loc) · 414 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#
include
"
util/bufferedInputStream.hpp
"
#
include
"
code/binaryFileParser.hpp
"
int
main
(
int
argc,
char
**argv) {
if
(argc <=
1
) {
printf
(
"
LyxPythonVM need a parameter : filename
\n
"
);
return
0
;
}
BufferedInputStream
stream
(argv[
1
]);
//
printf("magic number is 0x%x\n", stream.read_init());
BinaryFileParser
parser
(&stream);
CodeObject *main_code = parser.
parse
();
return
0
;
}
Back
|
FazBrowse Home
|
New Git URL