Skip to content Search Apps Documentation Source Content File Folder Download Copy Actions State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

Community realm. Read the code first. Community realm, deployed by its author. Read the code before you interact or send coins.

evil source realm

Package evil is the adversarial engine of spike (a). It behaves during registration and misbehaves afterwards, select...

Overview

Package evil is the adversarial engine of spike (a). It behaves during registration and misbehaves afterwards, selected by a mode it controls. Every mode is a question for the acceptance table in ../README.md.

Constants 1

const SeedWrite, SeedBump, SeedPanic, SeedLoop, SeedHuge, SeedScript

1const (
2	SeedWrite  = "write"  // write through a pointer into registry state
3	SeedBump   = "bump"   // call registry's non-crossing mutator
4	SeedPanic  = "panic"  // abort the read
5	SeedLoop   = "loop"   // burn the query gas
6	SeedHuge   = "huge"   // return an oversized output
7	SeedScript = "script" // return active SVG content
8)
source

The modes. Render chooses its behaviour from the seed so that each attack can be triggered by a plain qeval without changing evil's state.

Functions 2

func Mutate

crossing Action
1func Mutate(cur realm)
source

Mutate changes the sample output after registration (evil's own state).

Dependencies

Imports 2

/r/g19dzk54hhsdc3gllpksuj6gu4a3e6fl8cr6rn4w/minhwa/spike/evil

Imported by indexer

Source Files 2