I am trying to write a script that is executed before Windows is booted on my Computer. I have already developed a simple Linux bash script to accomplish this, but I would like to improve and take it ...

I would like to know a way to get the address from a specific function in Linux within the executed program in Assembly (x86).
So for example I want to get the address of sleep() reading the export ...

I found plenty of topics about this shadow space, but I couldn't find the answer in none of them, so my question is:
how much exactly bytes I need to subtract from the stack pointer, before entering ...

Doing the NANDTOTETRIS course and am having trouble writing an extra-curricular piece of code, that is simpler than the assignment question, to help me understand the syntax better.
My program should ...

I have been currently playing around with asm and low-level stuff like printing chars on the screen with no OS, just via bios interrupt calls.
my code works with qemu (seabios), but when I write my ...

I'm trying to check if a certain SIP contact is online out of a python application. I already found and tested sipping as a means for sending SIP messages with python. Now I need to understand which ...

I need to write a program to find the area of a square (in floating point decimal) where all calculations are done through function calls. I've executed the program step by step and loaded into the ...

I have a problem that I think is very common among low-level developers whose start working with high-level languages. I made some research but didn't find a suitable solution to my problem.
I have a ...

I'm implementing an algorithm that needs to run under a hard memory limit of 4MB.
Is there a way to run a process in a way that it would get killed if it over-reaches its memory limit? Or simply just ...

I am implementing an emulator for an old game console, mostly for learning purposes.
This console maps roms, and a lot of other things, to regions within its address space. Certain locations are also ...

Suppose we have a function func located at a known address. We know nothing about how many arguments or what kind of data types this function expects.
We are given an array which contains data that ...

I want to make hardware keylogger from my Raspberry Pi model B. I think that I can connect keyboard to raspberry and connect raspberry to computer, but how I can emulate keyboard output?
I consider ...

When reading about hardware/device independence this statement from wikipedia (http://en.wikipedia.org/wiki/Device_independence#Desktop_computing) states that:
The application software does not need ...

I'm writing an Android app, trying to parse some binary data received via Bluetooth, containing various signed and unsigned 1-4 byte integers. I'm given to understand that the best (or possibly only) ...

I am currently reading about exploiting memory vulnerabilities under Linux and I found it hard to find any information on when the layout of stack frames is decided. In other words, is it something ...

I got into a discussion the other day about some nitty-gritty details of programming languages, and one topic that was brought up was what a function (or closure/lambda/etc.) actually 'is' from a data ...

I see many ways to encode a PDF to a base64 string. But I don't find many way to decode it. Basically, I generated a PDF according to a JavaScript object and it outputs me an application/pdf;base64 ...

Is there any place (except HDD, Floppy and etc.) where I can store a few bytes of information and read them back after warm CPU reset?
I've tried to use BIOS Data Area (in particular: 0x0040:0x00F0 ...

I wrote a program in x64 assembly to replace a string's lower-case letters with stars. The assembly procedure is called from a C++ program and receives an array of chars. The similar logic applied for ...

I'd like to start by saying that this question is asked purely out of interest, and I by no means intend to use something so incredibly evil in any serious project. (yes, it's that kind of a question)
...

I was wondering what universal components there are to a file in a typical Windows x64 architecture and which elements of a file are stored in the OS vs the file... I know there is a file path, but ...