8 votes
Accepted

Emulating Routers and other Embedded Devices with QEMU

Emulating a complete physical device is always going to be more of an experimental exercise. In this regard you can use firmadyne which aims to emulate Linux based embedded firmware for MIPS and ARM ...
0xec's user avatar
  • 6,040
8 votes
Accepted

Unicorn and QEMU: Example use cases to understand the differences

What does "(not) emulating hardware other than the CPU" mean? This means that whenever the software being emulated accesses hardware, it won't work in Unicorn in the same way as on actual hardware. ...
Guntram Blohm's user avatar
5 votes

Windows x86 compability on x64 operating system

There is no need for emulation because x64 processors can execute x86 (32-bit) code natively using so-called compatibility mode. You only need to set up proper descriptors in the GDT (L=0 for 32-bit ...
Igor Skochinsky's user avatar
  • 36.4k
3 votes

Emulate juan DVR R7816 in Qemu

Just the firmware and qemu won't help you much. When the firmware starts up, it will try to communicate with the hardware - initialize the network card, check which channels have cameras attached to ...
Guntram Blohm's user avatar
2 votes

Network support when emulating firmware with QEMU

Use the -net argument -net nic,model=rtl8139. Of course replace rtl8139 with your network device model (e1000, i82551, i82557b, ...) Further explanations are found on this Wiki Documentation
محمد جعفر نعمة's user avatar
2 votes

Invalid ELF image for this architecture

You get this error message because the ELF is stripped. See qemu-vs-strip for more information. This problem is fixed in the latest QEMU, so you have to update your QEMU or compile the latest from ...
ebux's user avatar
  • 1,759
2 votes
Accepted

Where Is device specific information kept on smart devices

These information pieces are generally stored in the NVRAM (Non-Volatile RAM), which is stored in one of the flash partition. To emulate a device successfully, you generally have to fill up the NVRAM ...
ebux's user avatar
  • 1,759
2 votes
Accepted

Finding the correct emulator for programming a renesas sh7722 processor

The 24 pin debug connector on the GR-55 seems to have all required signals for the E10A-USB, so I'm guessing they just used a smaller connector to reduce board space and cost. The connection diagram ...
Bruce Abbott's user avatar
2 votes

QEMU fpu mode error when attempting to run MIPS binary

According to the source code, the EABI from your ELF is not compatible. It seems to be specific to MIPS, you can find the structure here, this structure is stored inside a specific ELF segment, the ...
wisk's user avatar
  • 1,124
1 vote

Visual Arm64 Emulator

visual2 Maybe this? https://tomcl.github.io/visual2.github.io/ GUIDE https://tomcl.github.io/visual2.github.io/guide.html#content Source https://github.com/ImperialCollegeLondon/Visual2 Related info: ...
fquinto's user avatar
  • 111
1 vote
Accepted

Is `movq rax, xmm0` buggy in Radare2?

Is movq rax, xmm0 buggy in Radare2? No, it's just not fully implemented in all debuggers yet. Native Debugger Works! This instruction works fine using the native debugger. The native debugger is ...
rickhg12hs's user avatar
1 vote

Cannot load a Floppy Disk image with Bochs emulator

I fought a similar error for a while and figured I was naming the disk image as disk.img. When I renamed it to something else, it worked. In your example, you're naming it to floppy.img, so you could ...
Bolhoso's user avatar
  • 111
1 vote

*.abs (sfw) emulation in Qemu - MIPS (abs = Amiko,Skybox,OpenBox, Cryptobox,... file firmware)

Unfortunately QEMU is not well suited for your use case. As explained in your addendum, it is mostly used to emulate embedded Linux systems, that’s why there are many assumptions in its code: that the ...
Igor Skochinsky's user avatar
  • 36.4k
1 vote

Unicorn emulator: find out if register is undefined

Unicorn only supports concrete values in registers. You could cheat your way around this by doing two runs with two sets of magic values. But what you really want is a symbolic execution framework ...
manduca's user avatar
  • 351
1 vote

Unicorn emulator: find out if register is undefined

an emulator requires your input to emulate if you didn't define something you would obviously get what it was initialized with apparently unicorn starts initialized with 0 for all registers it ...
blabb's user avatar
  • 16.3k

Only top scored, non community-wiki answers of a minimum length are eligible