Classes | Macros | Functions | Variables
test_sparc.c File Reference
#include <stdio.h>
#include <capstone/platform.h>
#include <capstone/capstone.h>
Include dependency graph for test_sparc.c:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  platform
 

Macros

#define SPARC_CODE   "\x80\xa0\x40\x02\x85\xc2\x60\x08\x85\xe8\x20\x01\x81\xe8\x00\x00\x90\x10\x20\x01\xd5\xf6\x10\x16\x21\x00\x00\x0a\x86\x00\x40\x02\x01\x00\x00\x00\x12\xbf\xff\xff\x10\xbf\xff\xff\xa0\x02\x00\x09\x0d\xbf\xff\xff\xd4\x20\x60\x00\xd4\x4e\x00\x16\x2a\xc2\x80\x03"
 
#define SPARCV9_CODE   "\x81\xa8\x0a\x24\x89\xa0\x10\x20\x89\xa0\x1a\x60\x89\xa0\x00\xe0"
 

Functions

int main ()
 
static void print_insn_detail (cs_insn *ins)
 
static void print_string_hex (const char *comment, unsigned char *str, size_t len)
 
static void test ()
 

Variables

static csh handle
 

Macro Definition Documentation

◆ SPARC_CODE

#define SPARC_CODE   "\x80\xa0\x40\x02\x85\xc2\x60\x08\x85\xe8\x20\x01\x81\xe8\x00\x00\x90\x10\x20\x01\xd5\xf6\x10\x16\x21\x00\x00\x0a\x86\x00\x40\x02\x01\x00\x00\x00\x12\xbf\xff\xff\x10\xbf\xff\xff\xa0\x02\x00\x09\x0d\xbf\xff\xff\xd4\x20\x60\x00\xd4\x4e\x00\x16\x2a\xc2\x80\x03"

◆ SPARCV9_CODE

#define SPARCV9_CODE   "\x81\xa8\x0a\x24\x89\xa0\x10\x20\x89\xa0\x1a\x60\x89\xa0\x00\xe0"

Function Documentation

◆ main()

int main ( )

Definition at line 147 of file test_sparc.c.

◆ print_insn_detail()

static void print_insn_detail ( cs_insn *  ins)
static

Definition at line 31 of file test_sparc.c.

◆ print_string_hex()

static void print_string_hex ( const char *  comment,
unsigned char *  str,
size_t  len 
)
static

Definition at line 19 of file test_sparc.c.

◆ test()

static void test ( )
static

Definition at line 79 of file test_sparc.c.

Variable Documentation

◆ handle

csh handle
static

Definition at line 17 of file test_sparc.c.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:34