2020-07-21 08:19:18 +00:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2020 Bitdefender
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
2020-08-04 10:57:03 +00:00
|
|
|
#ifndef _PYBDDISASM_H_
|
|
|
|
#define _PYBDDISASM_H_
|
2020-07-21 08:19:18 +00:00
|
|
|
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
#include <stdbool.h>
|
|
|
|
|
|
|
|
#include "bddisasm.h"
|
|
|
|
|
|
|
|
int nd_decode_ex(INSTRUX *instrux, void *code, size_t size, int def_code, int def_data);
|
|
|
|
|
|
|
|
int nd_decode_ex2(INSTRUX *instrux, void *code, size_t size, int def_code, int def_data, int def_stack, int prefered_vendor);
|
|
|
|
|
|
|
|
int nd_to_text(INSTRUX *instrux, size_t rip, size_t bufsize, char *buf);
|
|
|
|
|
2020-08-04 10:57:03 +00:00
|
|
|
#endif // _PYBDDISASM_H_
|