Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Soreepeong committed Jul 5, 2022
1 parent 97bf935 commit ce313be
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions BinaryOpcodeFinder/Source.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -279,10 +279,10 @@ int wmain(int argc, wchar_t** argv) {

for (const auto& offB : candidates) {
const auto& opBs = fnToOpcodeMapB[offB];
opcodeItem["rva1"] = offB;
opcodeItem["rva1h"] = std::format("0x{:x}", offB);
opcodeItem["va1"] = baseB + offB;
opcodeItem["va1h"] = std::format("0x{:x}", baseB + offB);
opcodeItem["rva2"] = offB;
opcodeItem["rva2h"] = std::format("0x{:x}", offB);
opcodeItem["va2"] = baseB + offB;
opcodeItem["va2h"] = std::format("0x{:x}", baseB + offB);
opcodeItem["opcodes2"] = opBs;
auto& opctarget = opcodeItem["opcodes2h"] = nlohmann::json::array();
for (const auto& x : opBs)
Expand Down

0 comments on commit ce313be

Please sign in to comment.