New answers tagged

2

Instead of creating a file, you can hook the open/read functions in the binary and make them return the data it needs. For example, using LD_PRELOAD: https://github.com/poliva/ldpreloadhook


1

In the firmware package, the /etc/int.d/rcS startup script has these lines at the end: #for fs upgrade #/bin/sd_upgrade_fs.sh /bin/sd_upgrade_fs.sh #for factory test #sh /bin/mfg_test.sh #/bin/watchdog.sh& #/lib/modules/usb_mod #exec /usr/etc/nanoX.local And in /bin/sd_upgrade_fs.sh you can see how the initial firmware is written to the device. By ...


3

The Itanium C++ ABI is sometimes not very clear about what exactly is “vtable”. In practice, the symbol such as _ZTV12DerivedClass points to the complete vtable structure, which includes the two pointer-sized slots before it (RTTI pointer and offset to top). So, to get the start of the virtual function pointers table (what is commonly understood as “the ...


4

There are plenty of non-Linux solutions for embedded systems, ranging from an RTOS such as eCos, FreeRTOS, ThreadX, Nucleus and many others to a completely monolithic, custom made firmware without any specific OS environment. About the only way to find out for sure is to start disassembling and figure out how it works. My old presentation may be of some use ...


1

Assuming you are using Linux and a loadable watchdog module (like ipmi_watchdog), you could try to modify the value of the corresponding module's action parameter, like using none instead of reset. Then the watchdog will fire, but nothing will happen (except an event log message in the BMC, maybe).


Top 50 recent answers are included