<commit_before>package sparc

import (
	cs "github.com/bnagy/gapstone"
	uc "github.com/unicorn-engine/unicorn/bindings/go/unicorn"

	"../../models"
)

var Arch = &models.Arch{
	Bits:    32,
	Radare:  "sparc",
	CS_ARCH: cs.CS_ARCH_SPARC,
	CS_MODE: cs.CS_MODE_32,
	UC_ARCH: uc.ARCH_SPARC,
	UC_MODE: uc.MODE_32,
	PC:      uc.SPARC_REG_PC,
	SP:      uc.SPARC_REG_SP,
	Regs: map[int]string{
		uc.SPARC_REG_G0: "g0",
		uc.SPARC_REG_G1: "g1",
		uc.SPARC_REG_G2: "g2",
		uc.SPARC_REG_G3: "g3",
		uc.SPARC_REG_G4: "g4",
		uc.SPARC_REG_G5: "g5",
		uc.SPARC_REG_G6: "g6",
		uc.SPARC_REG_G7: "g7",
		uc.SPARC_REG_O0: "o0",
		uc.SPARC_REG_O1: "o1",
		uc.SPARC_REG_O2: "o2",
		uc.SPARC_REG_O3: "o3",
		uc.SPARC_REG_O4: "o4",
		uc.SPARC_REG_O5: "o5",
		// uc.SPARC_REG_O6: "o6", // sp
		uc.SPARC_REG_O7: "o7",
		uc.SPARC_REG_L0: "l0",
		uc.SPARC_REG_L1: "l1",
		uc.SPARC_REG_L2: "l2",
		uc.SPARC_REG_L3: "l3",
		uc.SPARC_REG_L4: "l4",
		uc.SPARC_REG_L5: "l5",
		uc.SPARC_REG_L6: "l6",
		uc.SPARC_REG_L7: "l7",<commit_msg>disable sparc reg g0<commit_after>package sparc

import (
	cs "github.com/bnagy/gapstone"
	uc "github.com/unicorn-engine/unicorn/bindings/go/unicorn"

	"../../models"
)

var Arch = &models.Arch{
	Bits:    32,
	Radare:  "sparc",
	CS_ARCH: cs.CS_ARCH_SPARC,
	CS_MODE: cs.CS_MODE_32,
	UC_ARCH: uc.ARCH_SPARC,
	UC_MODE: uc.MODE_32,
	PC:      uc.SPARC_REG_PC,
	SP:      uc.SPARC_REG_SP,
	Regs: map[int]string{
		// uc.SPARC_REG_G0: "g0", // g0 is always zero
		uc.SPARC_REG_G1: "g1",
		uc.SPARC_REG_G2: "g2",
		uc.SPARC_REG_G3: "g3",
		uc.SPARC_REG_G4: "g4",
		uc.SPARC_REG_G5: "g5",
		uc.SPARC_REG_G6: "g6",
		uc.SPARC_REG_G7: "g7",
		uc.SPARC_REG_O0: "o0",
		uc.SPARC_REG_O1: "o1",
		uc.SPARC_REG_O2: "o2",
		uc.SPARC_REG_O3: "o3",
		uc.SPARC_REG_O4: "o4",
		uc.SPARC_REG_O5: "o5",
		// uc.SPARC_REG_O6: "o6", // sp
		uc.SPARC_REG_O7: "o7",
		uc.SPARC_REG_L0: "l0",
		uc.SPARC_REG_L1: "l1",
		uc.SPARC_REG_L2: "l2",
		uc.SPARC_REG_L3: "l3",
		uc.SPARC_REG_L4: "l4",
		uc.SPARC_REG_L5: "l5",
		uc.SPARC_REG_L6: "l6",
		uc.SPARC_REG_L7: "l7",
{'fraction_non_alphanumeric': 0.1811062163485071, 'fraction_numerical': 0.05384238864415076, 'mean_word_length': 3.7096774193548385, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4700084', 'n_tokens_mistral': 1274, 'n_tokens_neox': 1150, 'n_words': 162}