dis_mips64.lua 706 B

1234567891011121314151617
  1. ----------------------------------------------------------------------------
  2. -- LuaJIT MIPS64 disassembler wrapper module.
  3. --
  4. -- Copyright (C) 2005-2025 Mike Pall. All rights reserved.
  5. -- Released under the MIT license. See Copyright Notice in luajit.h
  6. ----------------------------------------------------------------------------
  7. -- This module just exports the big-endian functions from the
  8. -- MIPS disassembler module. All the interesting stuff is there.
  9. ------------------------------------------------------------------------------
  10. local dis_mips = require((string.match(..., ".*%.") or "").."dis_mips")
  11. return {
  12. create = dis_mips.create,
  13. disass = dis_mips.disass,
  14. regname = dis_mips.regname
  15. }