Skip to content

Commit

Permalink
Update mips analysis and code.
Browse files Browse the repository at this point in the history
  • Loading branch information
wargio committed Dec 28, 2024
1 parent e536f85 commit e65d796
Show file tree
Hide file tree
Showing 24 changed files with 1,730 additions and 976 deletions.
579 changes: 579 additions & 0 deletions librz/arch/isa/mips/mips_esil.c

Large diffs are not rendered by default.

14 changes: 14 additions & 0 deletions librz/arch/isa/mips/mips_internal.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
// SPDX-FileCopyrightText: 2012-2018 pancake <[email protected]>
// SPDX-License-Identifier: LGPL-3.0-only

#ifndef MIPS_INTERNAL_H
#define MIPS_INTERNAL_H

#include <rz_asm.h>
#include <capstone/capstone.h>
#include <capstone/mips.h>

RZ_IPI int mips_assemble_opcode(const char *str, ut64 pc, ut8 *out);
RZ_IPI int analyze_op_esil(RzAnalysis *a, RzAnalysisOp *op, ut64 addr, const ut8 *buf, int len, csh *handle, cs_insn *insn);

#endif /* MIPS_INTERNAL_H */
1 change: 1 addition & 0 deletions librz/arch/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ arch_isa_sources = [
'isa/luac/v54/opcode_54.c',
'isa/mcore/mcore.c',
'isa/mips/mips_assembler.c',
'isa/mips/mips_esil.c',
'isa/msp430/msp430_disas.c',
'isa/msp430/msp430_il.c',
'isa/or1k/or1k_disas.c',
Expand Down
Loading

0 comments on commit e65d796

Please sign in to comment.