chevron_left chevron_right
Login Register invert_colors photo_library
Thread Rating:
  • 0 Vote(s) - 0 Average


filter_list [Source]StackBasedVirtualMachin
Author
Message
[Source]StackBasedVirtualMachin #1
Hello,
only 13 instructions available for the time being (START NOP PUSH POP ADD SUB MUL DIV CMP JMP JE JNE DUP SWAP PRINT READ END)

[Image: NEA5NbPHX8pROUmd0ESuYPtMyR8Hv5crrdQYxtxe...D3k_3=w150]

[+] 2 users Like LaTortue's post
Reply

RE: [Source]StackBasedVirtualMachin #2
Nice cool thing to use and base on. ;D
You can find me on Keybase
"Reach the state of ubiquity, and you will be in control"
Student, Technician, Designer, and more.
[Image: 8y6vps.png]


Reply

RE: [Source]StackBasedVirtualMachin #3
31/05/16: can generate standalone executable !
[Image: NEA5NbPHX8pROUmd0ESuYPtMyR8Hv5crrdQYxtxe...D3k_3=w150]

Reply

RE: [Source]StackBasedVirtualMachin #4
Standalone executable would mean that you are able to execute it without any kind of interpreter. I doubt that is the case here unless you're compiling to the PE format. What opcode mapping do you have if this is the case; you have it running in your interpreter? Do you create your own heap and stack for memory ?

This seems similar to a challenge I posted a solution for: https://github.com/bitm0de/SynacorChallenge

Reply

RE: [Source]StackBasedVirtualMachin #5
the executable IS the interpreter, and the program to execute is embedded as a resource inside the executable. Upon execution, the interpreter grabs the code inside its resources, and then parses and executes it. It's now possible to build both in "debug" and "release" mode; about the opcode list, just check README.md, and for the stack, i use a simple collection ( https://msdn.microsoft.com/fr-fr/library....110).aspx )
[Image: NEA5NbPHX8pROUmd0ESuYPtMyR8Hv5crrdQYxtxe...D3k_3=w150]

Reply

RE: [Source]StackBasedVirtualMachin #6
File seems removed from github , any one have it ?

Reply

RE: [Source]StackBasedVirtualMachin #7
(06-16-2018, 01:54 AM)Gladiyator Wrote: File seems removed from github , any one have it ?

If I am correct this is the repository.
https://github.com/moonpatroller/StackBa...ualMachine
Just a Reverse-Engineer and Programmer

Reply






Users browsing this thread: 1 Guest(s)