mirror of
https://github.com/Ed94/perfaware.git
synced 2026-09-14 03:39:23 +00:00
drafting an asm parser (rudimentary)
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
#ifdef INTELLISENSE_DIRECTIVES
|
||||
# pragma once
|
||||
# include "decoder.h"
|
||||
#endif
|
||||
|
||||
typedef Struct_(X8616_ParseRequest) {
|
||||
Str8 source;
|
||||
X8616_DecodedInstruction* out_instructions;
|
||||
U4 instruction_cap;
|
||||
FArena* info_arena;
|
||||
X8616_InfoList_R msgs;
|
||||
};
|
||||
|
||||
typedef Struct_(X8616_ParseInfo) {
|
||||
X8616_InfoList msgs;
|
||||
U4 instruction_count;
|
||||
U4 source_consumed;
|
||||
};
|
||||
|
||||
X8616_ParseInfo x8616_parse_instructions(X8616_ParseRequest request);
|
||||
Reference in New Issue
Block a user