From 5289cbf5331dfd0d0c2242a7e7c8030aa4032c7e Mon Sep 17 00:00:00 2001 From: johannst Date: Sat, 7 Dec 2024 01:01:45 +0000 Subject: deploy: 9c3c3fd923d894d2351eb22129ea693eb98fa8ff --- search.desc/add/add-desc-0-.js | 1 + search.desc/bf_vm/bf_vm-desc-0-.js | 1 + search.desc/fib/fib-desc-0-.js | 1 + search.desc/juicebox_asm/juicebox_asm-desc-0-.js | 1 + search.desc/tiny_vm/tiny_vm-desc-0-.js | 1 + 5 files changed, 5 insertions(+) create mode 100644 search.desc/add/add-desc-0-.js create mode 100644 search.desc/bf_vm/bf_vm-desc-0-.js create mode 100644 search.desc/fib/fib-desc-0-.js create mode 100644 search.desc/juicebox_asm/juicebox_asm-desc-0-.js create mode 100644 search.desc/tiny_vm/tiny_vm-desc-0-.js (limited to 'search.desc') diff --git a/search.desc/add/add-desc-0-.js b/search.desc/add/add-desc-0-.js new file mode 100644 index 0000000..9ea9e40 --- /dev/null +++ b/search.desc/add/add-desc-0-.js @@ -0,0 +1 @@ +searchState.loadedDescShard("add", 0, "Add example.") \ No newline at end of file diff --git a/search.desc/bf_vm/bf_vm-desc-0-.js b/search.desc/bf_vm/bf_vm-desc-0-.js new file mode 100644 index 0000000..0387065 --- /dev/null +++ b/search.desc/bf_vm/bf_vm-desc-0-.js @@ -0,0 +1 @@ +searchState.loadedDescShard("bf_vm", 0, "Brainfuck VM.") \ No newline at end of file diff --git a/search.desc/fib/fib-desc-0-.js b/search.desc/fib/fib-desc-0-.js new file mode 100644 index 0000000..9b6e749 --- /dev/null +++ b/search.desc/fib/fib-desc-0-.js @@ -0,0 +1 @@ +searchState.loadedDescShard("fib", 0, "Fibonacci example.") \ No newline at end of file diff --git a/search.desc/juicebox_asm/juicebox_asm-desc-0-.js b/search.desc/juicebox_asm/juicebox_asm-desc-0-.js new file mode 100644 index 0000000..dbf833c --- /dev/null +++ b/search.desc/juicebox_asm/juicebox_asm-desc-0-.js @@ -0,0 +1 @@ +searchState.loadedDescShard("juicebox_asm", 0, "A simple x64 jit assembler with a minimal runtime to …\nx64 jit assembler.\nType representing a 16 bit immediate.\nType representing a 32 bit immediate.\nType representing a 64 bit immediate.\nType representing an 8 bit immediate.\nAn indirect memory operand, eg mov [rax], rcx.\nAn indirect memory operand in the form base + index, eg …\nAn indirect memory operand with additional displacement, …\nA label which is used as target for jump instructions.\nType representing a memory operand.\nA memory operand with a word (16 bit) size hint.\nA memory operand with a dword (32 bit) size hint.\nA memory operand with a qword (64 bit) size hint.\nA memory operand with a word (8 bit) size hint.\nDefinition of 16 bit registers.\nDefinition of 32 bit registers.\nDefinition of 64 bit registers.\nDefinition of 8 bit registers.\nA simple mmaped runtime with executable pages.\nAdd the block of code to the runtime and a get function …\nBind the Label to the current location.\nUnmaps the code page. This invalidates all the function …\nDump the code added so far to the runtime into a file …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCreate a memory with size hint from a raw memory operand.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCreate a memory with size hint from a raw memory operand.\nReturns the argument unchanged.\nCreate a memory with size hint from a raw memory operand.\nCreate a memory with size hint from a raw memory operand.\nReturns the argument unchanged.\nTrait definitions of various instructions.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nConsume the assembler and get the emitted code.\nCreate a new x64 jit assembler.\nCreate a new unbound Label.\nCreate a new Runtime.\nEmit a nop instruction.\nEmit a ret instruction.\nCreate a new Runtime which also generates static perf …\nTrait for add instruction kinds.\nTrait for call instruction kinds.\nTrait for cmp instruction kinds.\nTrait for dec instruction kinds.\nTrait for inc instruction kinds.\nTrait for jmp instruction kinds.\nTrait for jnz instruction kinds.\nTrait for jz instruction kinds.\nTrait for mov instruction kinds.\nTrait for pop instruction kinds.\nTrait for push instruction kinds.\nTrait for test instruction kinds.\nTrait for xor instruction kinds.\nEmit an add instruction.\nEmit a call instruction.\nEmit a (conditional) move if not zero instruction.\nEmit a (conditional) move if zero instruction.\nEmit a compare instruction.\nEmit a decrement instruction.\nEmit a increment instruction.\nEmit an unconditional jump instruction.\nEmit a conditional jump if not zero instruction (ZF = 0).\nEmit a conditional jump if zero instruction (ZF = 1).\nEmit an move instruction.\nEmit a pop instruction.\nEmit a push instruction.\nEmit a logical compare instruction.\nEmit a xor instruction.") \ No newline at end of file diff --git a/search.desc/tiny_vm/tiny_vm-desc-0-.js b/search.desc/tiny_vm/tiny_vm-desc-0-.js new file mode 100644 index 0000000..06fb5d0 --- /dev/null +++ b/search.desc/tiny_vm/tiny_vm-desc-0-.js @@ -0,0 +1 @@ +searchState.loadedDescShard("tiny_vm", 0, "TinyVm example.\nAdd the register to the register reg1 += reg2.\nAdd the immediate to the register reg += imm.\nJump unconditional (absolute addressing) pc = disp.\nJump if the register is zero (absolute addressing) …\nA minial fixup utility to implement jump labels when …\nHalt the VM.\nLoad a value from the memory (absolute addressing) into …\nLoad the immediate value into the register reg = imm.\nA guest physical address.\nStore a value from the register into the memory (absolute …\nThe instructions for the TinyVm.\nThe registers for the TinyVm.\nThe TinyVm virtual machine state.\nBind the Fixup to the current location of prog and resolve …\nDump the VM state to stdout.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nRun in interpreter mode until the next TinyInsn::Halt …\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nRun in JIT mode until the next TinyInsn::Halt instruction …\nGenerate a guest program to compute the fiibonacci …\nGenerate a simple count down loop to crunch some …\nGenerate a test program for the jit.\nCreate a new TinyVm and initialize the instruction memory …\nCreate a new Fixup at the current pc.\nRead guest data memory.\nRead guest register.\nWrite guest data memory.\nWrite guest register.") \ No newline at end of file -- cgit v1.2.3