Skip to main content
-2 votes
1 answer
95 views

How do machine read the instructions? for example: if it is a R-type, machine first read the opcode to know the type of instruction,and base on the type, read the instruction from right to left,to ...
ZiChong Lv's user avatar
1 vote
1 answer
301 views

I am working on phase 4 of the buffer overflow attack lab, where the solution is is to use ROP (Return Oriented Programming). The idea is that you are given a "farm" where you will look for ...
Ian Burns's user avatar
-1 votes
1 answer
54 views

The following instructions: 0xffffd096 push eax 0xffffd097 push 0x41414141 Oxffffd09c push 0x42424242 affect the stack as follows: 0xffffd024|+0x0000 "BBBBAAAA" <- esp ...
rdre8's user avatar
  • 49
0 votes
1 answer
70 views

Some instructions with corresponding opcodes: xor eax, eax \x31\xc0 xor ecx, ecx \x31\xc9 xor edx, edx \x31\xd2 xor ebx, ebx \x31\xdb Could someone please explain the calculation ...
rdre8's user avatar
  • 49
1 vote
0 answers
185 views

10101001101111100111101111111101 a9be7bfd this is the binary for stp x29, x30, [sp, #-32] I know bit 31-30 is the 64 bit-32 bit bits, bits 0-14 is for the registers, and bits 15, 21 is for the ...
Virtual Wizard's user avatar
0 votes
1 answer
130 views

I've been trying to understand and did lot of online research but still have doubt: If processor understands only opcodes (which are limited) then why is it possible to execute operating system code? ...
CuriousMind's user avatar
  • 9,065
0 votes
0 answers
113 views

I'm trying to use LLVM Create and replaceAllUsesWith to modify the (A+B+C) calculation to (A*B)-C The ReplaceInst.cpp code I wrote is this, // Traverse Instructions in TheModule void TraverseModule(...
ummmsso's user avatar
  • 13
0 votes
1 answer
37 views

I have contract and want to supply testnet USDC to Compound on Sepolia, but this doesn't work with call opcode in Solidity // SPDX-License-Identifier: MIT pragma solidity ^0.8.19; import {IERC20} ...
dex's user avatar
  • 11
-1 votes
1 answer
96 views

I am have a Spir-V parser from Github, which is capable of processing and modifying the Spir-V binary. At the moment, I just would like to print out the literal value of the OpConstant variables. ...
Fox1942's user avatar
  • 376
0 votes
0 answers
80 views

Memory Viewer I need to assign the value of the upper address to the lower one, but they have different commands, the first one has movups, and the second one has movss I have this code in an auto-AOB ...
Knifick's user avatar
0 votes
1 answer
1k views

I need do come up with some wildcards to match certain instructions. For instance, on x86, to match most CALL instructions the following pattern will suffice: E8 ?? ?? ?? ?? where E8 is the opcode ...
IRP_HANDLER's user avatar
0 votes
1 answer
95 views

When running a contract I am getting in remix an invalid opcode as well on Metamask, the contract that I am running is quite simple: // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; contract ...
Raed Diab's user avatar
1 vote
1 answer
197 views

In decompiling a hex file for a Texas Instruments ARM (Thumb 2) Cortex-M4f processor (CC2652RB), I have come across an opcode that I can't figure out. What does "90 FF FF 00" do (maybe the ...
bobuhito's user avatar
  • 297
0 votes
2 answers
1k views

I need to disassemble bytecode into opcodes across different EVM versions, to make it agnostic to the EVM version used during compilation? As the second best option - is there a disassembler, that ...
Stas Buzuluk's user avatar
0 votes
0 answers
28 views

That's it. Seems to be specifically absent. Just read ('red') the instruction set, I don't see an obvious way to do this? Looking for a way to get the same result, shorter is better of course. (Have ...
Jim Sawyer's user avatar

15 30 50 per page
1
2 3 4 5
36