This is a autopost bolg frinds we are trying to all latest sports,news,all new update provide for you
Thursday, August 10, 2023
Show HN: Tetris, but the blocks are ARM instructions that execute in the browser https://ift.tt/lOBezas
Show HN: Tetris, but the blocks are ARM instructions that execute in the browser OFRAK Tetris is a project I started at work about two weeks ago. It's a web-based game that works on desktop and mobile. I made it for my company to bring to events like DEF CON, and to promote our binary analysis and patching framework called OFRAK. In the game, 32-bit, little-endian ARM assembly instructions fall, and you can modify the operands before executing them on a CPU emulator. There are two segments mapped – one for instructions, and one for data (though both have read, write, and execute permissions). Your score is a four byte signed integer stored at the virtual address pointed to by the R12 register, and the goal is to use the instructions that fall to make the score value in memory as high as possible. When it's game over, you can download your game as an ELF to relive the glory in GDB on your favorite ARM device. The CPU emulator is a version of Unicorn ( https://ift.tt/KP8WJQf ) that has been cross-compiled to WebAssembly ( https://ift.tt/wPmfdLq ), so everything on the page runs in the browser without the need for any complicated infrastructure on the back end. Since I've only been working on this for a short period of time leading up to its debut at DEF CON, there are still many more features I'd eventually like to implement. These include adding support for other ISAs besides ARM, adding an instruction reference manual, and lots of little cleanups, bug fixes, and adjustments. My highest score is 509,644,979, but my average is about 131,378. I look forward to feedback, bug reports, feature requests, and strategy discussions! https://ift.tt/m7czlj2 August 11, 2023 at 05:26AM
Subscribe to:
Post Comments (Atom)
Show HN: Tablr – Supabase with AI Features https://ift.tt/ltABMro
Show HN: Tablr – Supabase with AI Features https://www.tablr.dev/ June 30, 2025 at 04:35AM
-
Show HN: Locksmith – detect locks taken by Postgres migrations https://ift.tt/0cBueJt February 10, 2025 at 02:26AM
-
Show HN: I built a FOSS tool to run your Steam games in the Cloud I wanted to play my Steam games but my aging PC couldn’t keep up, so I bui...
-
Show HN: TNX API – Natural Language Interactions with Your Database Hey HN! I built TNX API to make working with databases as simple as aski...
No comments:
Post a Comment