rmw2 / processable Goto Github PK
View Code? Open in Web Editor NEWAn x86 process emulator and visual inspector/debugger for the browser
Home Page: http://rmw2.github.io/processable/alpha/
An x86 process emulator and visual inspector/debugger for the browser
Home Page: http://rmw2.github.io/processable/alpha/
Allow users to toggle decoding breaks at different addresses of the stack.
Probably do this by editing the stack component to maintain a list of break addresses, and group bytes based on successive intervals formed by the breaks. Clicking on a break address will remove that break, and clicking on an unbroken address will add it to the list.
The stack, static sections, heap, and even register components all have very similar 'item' components, which consist of a group of bytes, represented by a FixedInt, that can be toggled between several different decodings. There are subtle differences in the presentation of each, but it would be nice if they could inherit from a common "DecodableItem" or something.
Currently each library function calls SysV_arg() on its own, but this means that a library function can't call another library function without manipulating registers and pushing another return address onto the stack. Ideally, the FFI could be abstracted out into a single wrapper function so rather than
abs: () => {
let val = SysV_arg(0);
SysV_ret(ALU.abs(val));
}
We could instead have
// for example
abs: (val) => {
return ALU.abs(val)
}
// ...
lib = (func, argc) => {
let args = [];
for (let i = 0; i < argc; i++)
args.push(SysV_arg(i));
let retval = func(...args);
SysV_ret(retval);
}
And have a single wrapper function, lib()
, which does the wrapping in the FFI. Each function would need to specify it's number of arguments, and variadic functions would be tricky.
Need to write a function to decode an 8-byte FixedInt
to a signed or unsigned integer in base 10.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.