Skip to content

Commit

Permalink
Moved Ronin::ASM::Arch::X86 and X86_64 to `Ronin::ASM (closes #48,#…
Browse files Browse the repository at this point in the history
  • Loading branch information
postmodern committed Feb 21, 2025
1 parent 407f603 commit 1e6e160
Show file tree
Hide file tree
Showing 6 changed files with 267 additions and 292 deletions.
22 changes: 0 additions & 22 deletions lib/ronin/asm/arch.rb

This file was deleted.

168 changes: 0 additions & 168 deletions lib/ronin/asm/arch/x86.rb

This file was deleted.

98 changes: 0 additions & 98 deletions lib/ronin/asm/arch/x86_64.rb

This file was deleted.

9 changes: 5 additions & 4 deletions lib/ronin/asm/program.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
# along with ronin-asm. If not, see <https://www.gnu.org/licenses/>.
#

require_relative 'arch'
require_relative 'x86'
require_relative 'x86_64'
require_relative 'os'
require_relative 'register'
require_relative 'instruction'
Expand All @@ -44,9 +45,9 @@ class Program

# Mapping of architecture IDs to modules.
ARCHES = {
x86: Arch::X86,
x86_64: Arch::X86_64,
amd64: Arch::X86_64
x86: X86,
x86_64: X86_64,
amd64: X86_64
}

# Mapping of Operating System names and modules.
Expand Down
Loading

0 comments on commit 1e6e160

Please sign in to comment.