All Questions

Tagged with
Filter by
Sorted by
Tagged with
1
vote
1answer
71 views

Where is start symbol in cat executable?

In my Ubuntu 18.04, when I disassemble /bin/cat or the one in coreutils using IDA Pro there exists "start" symbol, usually found with name "_start" in other programs such as gimp. However, when I use ...
2
votes
1answer
455 views

What do you call the calling convention behind `int 0x80`?

I know there is a syscall convention but what do you call the calling convention that precedes it that you see when you call to int 80 rather than syscall, like this. mov rax,4 ; system call ...
0
votes
1answer
327 views

x86 Emulator for Linux with detailed debugging

I am looking for a x86 emulator so that I can run my Linux kernel inside it. I am specifically looking for an emulator that shows all the function calls in C/Assembly level from bootloader, all the ...
0
votes
2answers
2k views

Any x86-64 Linux assembler?

I want to start learning assembly language, but all the googling didn't make any sense. I got some Exec format error and even used wine which is not good for understanding. So I wonder if anyone can ...
11
votes
1answer
409 views

Where in GRUB2 source code is the handover/jump to kernel code?

I'm looking for the line of code where GRUB2 finally jumps to kernel code and thus hands over execution on x86 systems? I guess it's in an assembler file since this is very low architecture stuff. I ...
0
votes
1answer
79 views

Where is RAX-ARGOFFSET defined?

In Linux 3.16, in asm/x86/kernel/entry_64.S, the following line references RAX-ARGOFFSET (also see [src]): 424 movq %rax,RAX-ARGOFFSET(%rsp) But I can not find where RAX-ARGOFFSET is defined ...
4
votes
1answer
694 views

QEMU for ARM programs with GDB [closed]

I want to emulate an ARM processor for running the assembly programs using QEMU in RHEL. I have installed QEMU but I still have problems in running the assembly program. I got the assembly program, ...
1
vote
1answer
3k views

Fatal error: No compiled in support for x86_64

Can't use gcc on x64 debian: $ gcc a.cpp Assembler messages: Fatal error: No compiled in support for x86_64 what should I do? Some people propose installing binutils, but they are already there. (...
1
vote
2answers
961 views

Running the linux kernel and Ubuntu on custom processor

This is hardly a theoretical question as many have done this, albeit there's very little information on the underlying processes. I'm developing a custom MIPS-based processor on which I would like to ...
2
votes
1answer
1k views

VNC from host PC to Android phone running Ubuntu

While I know how to do this from my phone itself, where it loads the GUI on Ubuntu and I have a desktop environment, it's not as useful for what I'm trying to accomplish, which is to have a ...
0
votes
4answers
1k views

causing a reboot from user space

This program , written for Gnu Assembler on an x86 linux system is supposed to cause a triple fault and then reboot. .text .global _start _start: # write our string to stdout movl $len,%edx ...
9
votes
2answers
6k views

How do I debug a kernel module in which a NULL pointer appears?

I have a custom kernel module that I compiled from this patch that adds support for the logitech G19 keyboard among other G series devices. I compiled it just fine against Ubuntu's maverick kernel's ...