2017-02-11 19:01:06 +00:00
|
|
|
#ifndef disasm_h_INCLUDED
|
|
|
|
#define disasm_h_INCLUDED
|
|
|
|
|
|
|
|
#include "datatypes.h"
|
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
/* Print disassembly for a given funciton */
|
2017-02-16 02:02:00 +00:00
|
|
|
void gst_dasm(FILE * out, uint16_t * byteCode, uint32_t len);
|
2017-02-11 19:01:06 +00:00
|
|
|
|
|
|
|
/* Print the disassembly for a function definition */
|
2017-02-16 02:02:00 +00:00
|
|
|
void gst_dasm_funcdef(FILE * out, GstFuncDef * def);
|
2017-02-11 19:01:06 +00:00
|
|
|
|
|
|
|
/* Print the disassembly for a function */
|
2017-02-16 02:02:00 +00:00
|
|
|
void gst_dasm_function(FILE * out, GstFunction * f);
|
2017-02-11 19:01:06 +00:00
|
|
|
|
|
|
|
#endif // disasm_h_INCLUDED
|
|
|
|
|