Commit 0524ccc6 authored by George Hotz's avatar George Hotz

unneeded

parent c5483b02
......@@ -2,7 +2,6 @@ package main
import (
"encoding/binary"
"fmt"
"io/ioutil"
"testing"
......@@ -10,7 +9,6 @@ import (
)
func TestUnicornCrash(t *testing.T) {
root := "/tmp/cannon/0_13284469"
mu, err := uc.NewUnicorn(uc.ARCH_MIPS, uc.MODE_32|uc.MODE_BIG_ENDIAN)
check(err)
......@@ -20,10 +18,6 @@ func TestUnicornCrash(t *testing.T) {
check(err)
mu.MemWrite(0, dat)
// inputs
inputs, _ := ioutil.ReadFile(fmt.Sprintf("%s/input", root))
mu.MemWrite(0x30000000, inputs[0:0xc0])
// load into ram, without this (completely unrelated), it doesn't crash
ram := make(map[uint32](uint32))
for i := 0; i < len(dat); i += 4 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment