1
0
mirror of https://github.com/bitdefender/bddisasm.git synced 2024-12-23 14:38:22 +00:00
bddisasm/pydis/_pydis/pydis.h
Andrei Vlad LUTAS 698ba367a1 Initial commit.
2020-07-21 11:19:18 +03:00

21 lines
513 B
C

/*
* Copyright (c) 2020 Bitdefender
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef _PYDIS_H_
#define _PYDIS_H_
#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);
#endif // _PYDIS_H_