Skip to content

Commit

Permalink
refactor(disasm): minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Curve committed May 19, 2024
1 parent 4d1ef26 commit d81a920
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/disasm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

namespace lime
{
//? Max Instruction size on x86_64

auto get_decoder = []()
{
ZydisDecoder decoder;
Expand Down Expand Up @@ -132,7 +130,7 @@ namespace lime

for (const auto &imm : inst.raw.imm)
{
auto item = lime::imm{};
lime::imm item{};

item.size = imm.size;
item.offset = imm.offset;
Expand Down

0 comments on commit d81a920

Please sign in to comment.