Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
imbillow committed Nov 27, 2022
1 parent 13b7498 commit 52bf8d0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
6 changes: 0 additions & 6 deletions librz/analysis/arch/8051/8051_il.c
Original file line number Diff line number Diff line change
Expand Up @@ -260,16 +260,10 @@ static RzILOpEffect *i_orl(I8051Op *op) {
}
static RzILOpEffect *i_xrl(I8051Op *op) {
rz_return_val_if_fail(op && op->argv[0] && op->argv[1], NULL);
if (op->argv[0]->mode == I8051_ADDRESSING_BIT || op->argv[1]->mode == I8051_ADDRESSING_BIT) {
return set_any(op->argv[0], XOR(get_any(op->argv[0]), get_any(op->argv[1])));
}
return set_any(op->argv[0], LOGXOR(get_any(op->argv[0]), get_any(op->argv[1])));
}
static RzILOpEffect *i_mov(I8051Op *op) {
rz_return_val_if_fail(op && op->argv[0] && op->argv[1], NULL);
// if (op->opcode == 0x92) {
// return set_any(op->argv[0], BOOL_TO_BV(get_any(op->argv[1]), 1));
// }
return set_any(op->argv[0], get_any(op->argv[1]));
}
static RzILOpEffect *i_movc(I8051Op *op) {
Expand Down
2 changes: 0 additions & 2 deletions librz/analysis/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,6 @@ rz_analysis = library('rz_analysis', rz_analysis_sources,
rz_bin_dep,
rz_type_dep,
rz_il_dep,
rz_io_dep,
capstone_dep
],
install: true,
Expand Down Expand Up @@ -309,7 +308,6 @@ modules += { 'rz_analysis': {
'rz_bin',
'rz_type',
'rz_il',
'rz_io',
],
'plugins': [analysis_plugins]
}}
Expand Down

0 comments on commit 52bf8d0

Please sign in to comment.