A bot that assembles ASM code and outputs resulting bytes.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
asmbot
.gitattributes
.gitignore
LICENSE.txt
NOTICE.txt
README.md
__main__.py
asmbotlauncher.py
launch.py
makebin.sh
requirements.txt
runasm.sh

README.md

Assembler Bot by Emzi0767

Emzi's Central Dispatch

ABOUT

A Discord bot built on top of discord.py library. It's designed to allow quickly assembing x86, x86_64, ARM (v6, v7, v8, and AArch64), MIPS, and PowerPC (PPC and PPC64) assembly, and output resulting bytes.

ASM is built around LLVM.

REQUIREMENTS

  • Python 3.5 or newer
  • PIP Packages:
    • discord.py 0.16.x
    • psutil 5.1.2
    • (Recommended, Linux-only) uvloop 0.7.2
  • clang-3.9
  • llvm-objdump-3.9
  • bash
  • Clang and LLVM need to support the following architectures (version 3.9+ recommended):
    • i386-pc-none-gnu
    • amd64-pc-none-gnu
    • armv6k-arm-none-eabi
    • armv6keb-arm-none-eabi
    • armv7a-arm-none-eabi
    • armv7aeb-arm-none-eabi
    • armv8a-arm-none-eabi
    • armv8aeb-arm-none-eabi
    • aarch64-arm-none-eabi
    • aarch64_be-arm-none-eabi
    • mips-pc-none-gnu
    • mipsel-pc-none-gnu
    • powerpc-pc-none-gnu
    • powerpc64-pc-none-gnu
    • powerpc64le-pc-none-gnu

SETUP

In order for bot to run, you will need to set up your environment.

  1. Create a directory for the bot.
  2. Copy bot's files to the directory.
  3. Copy config.json from sample_configs to bot's directory.
  4. Edit config.json to match your configuration.

RUNNING

Run runasm.sh. That's it, your bot is now running.

SUPPORT ME

If you feel like supporting me by providing me with currency that I can exchange for goods and services, you can do so on my Patreon.

ADDITIONAL HELP

Should you still have any questions regarding the bot, feel free to join my server. I'll try to answer an questions:

Emzi's Central Dispatch

REPORTING BUGS

Bugs happen, no software is perfect. If you happen to cause the software to crash or otherwise behave in an unintended manner, make sure to let me know using via the issue tracker. If possible, include the list of steps you took that caused the problem.