JMP instruction (gdb) disass Dump of assembler code for function __kernel_vsyscall: 0xb77bd414 : push %ecx 0xb77bd415 : push %edx 0xb77bd416 : push %ebp 0xb77bd417 : mov %esp,%ebp 0xb77bd419 : sysenter 0xb77bd41b : nop 0xb77bd41c : nop 0xb77bd41d : nop 0xb77bd41e : nop 0xb77bd41f : nop 0xb77bd420 : nop 0xb77bd421 : nop 0xb77bd422 : jmp 0xb77bd417 …
Tag Archives: linux
division using PHP
division #!/usr/bin/php # Author : Jeffrin # jeffrin@rocketmail.com # License GNU GPL V3 # usage : php subtraction.php <?php $f=’1′; $s=’1′; echo $f – $s ; echo “\n”; ?> output Like $./divide.php # Author : Jeffrin # jeffrin@rocketmail.com # License GNU GPL V3 # usage : php divide.php 1 $
JAE instruction .
| GDB shows JAE Instruction | (gdb) disass Dump of assembler code for function __select_nocancel: 0x00007f31a021e889 : mov %rcx,%r10 0x00007f31a021e88c : mov $0x17,%eax 0x00007f31a021e891 : syscall => 0x00007f31a021e893 : cmp $0xfffffffffffff001,%rax 0x00007f31a021e899 : jae 0x7f31a021e8cf 0x00007f31a021e89b : retq End of assembler dump. Process Involved $wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.34.1.tar.bz2 –2010-07-24 01:33:15– http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.34.1.tar.bz2 Resolving www.kernel.org… 149.20.20.133, 199.6.1.164, 204.152.191.37, … …
SUB – Subtract
| SUB instruction | (gdb) disass Dump of assembler code for function *__GI___poll: 0x00007fc50ab670b0 : sub $0x28,%rsp 0x00007fc50ab670b4 : mov 0x29c52e(%rip),%eax # 0x7fc50ae035e8 0x00007fc50ab670ba : test %eax,%eax 0x00007fc50ab670bc : jne 0x7fc50ab670d5 0x00007fc50ab670be : movslq %edx,%rdx 0x00007fc50ab670c1 : mov $0x7,%eax 0x00007fc50ab670c6 : syscall => 0x00007fc50ab670c8 : cmp $0xfffffffffffff000,%rax 0x00007fc50ab670ce : ja 0x7fc50ab67121 0x00007fc50ab670d0 : add $0x28,%rsp …
addition. using PHP
addition #!/usr/bin/php # Author : Jeffrin # jeffrin@rocketmail.com # License GNU GPL V3 # usage : php addition.php <?php $f=’1′; $s=’1′; echo $f + $s ; echo “\n”; ?> A Screenshot $./addition.php # Author : Jeffrin # jeffrin@rocketmail.com # License GNU GPL V3 # usage : php addition.php 2 $
NOUVEAU modeset . HOWTO
Problem I attempted to go along with a new resolution with boot time messages, but there was a conflict, the boot time messages differed from console resolution when a [nouveau] driver took control. Debian Based Solution 1. Find out the module which which takes over. [ dmesg | grep fb ] 2. Look for the …
eip in 32-bit mode,, and rip in 64-bit mode
software | Windows | The instruction pointer is called ip in 16-bit mode, eip in 32-bit mode,, and rip in 64-bit mode. The instruction pointer register points to the memory address which the processor will next attempt to execute; it cannot be directly accessed in 16-bit or 32-bit mode, but a sequence like the following …
Continue reading “eip in 32-bit mode,, and rip in 64-bit mode”
The Intel IA32 processors have a base pointer..
software | Windows | The Intel IA32 processors have a base pointer register called EBP . The EBP register is typically set to the value of the ESP register at the beginning of a procedure, and used to address the procedure arguments and locally allocated variables throughout the procedure. Thus, the arguments are located at …
Continue reading “The Intel IA32 processors have a base pointer..”
inferior’s auxiliary vector…
(gdb) info auxv 33 AT_SYSINFO_EHDR System-supplied DSO’s ELF header 0x7fff7a9ff000 16 AT_HWCAP Machine-dependent CPU capability hints 0x78bfbff 6 AT_PAGESZ System page size 4096 17 AT_CLKTCK Frequency of times() 100 3 AT_PHDR Program headers for program 0x400040 4 AT_PHENT Size of program header entry 56 5 AT_PHNUM Number of program headers 8 7 AT_BASE Base address …
out-of order data…
$cat /proc/sys/net/ipv4/tcp_reordering 3 $ tcp_reordering – INTEGER Maximal reordering of packets in a TCP stream. Default: 3 proj-rep/kernel_code/tcp_ipv4.c 1921: tp->reordering = sysctl_tcp_reordering; 1922: nms.csail.mit.edu/~kandula/data/tcp-mult.tgz – Unknown – C irestarter-0.9.0/src/netfilter-script.c 271: fprintf (script, “# Set TCP Re-Ordering value in kernel to ‘5’\n”); 272: fprintf (script, “if [ -e /proc/sys/net/ipv4/tcp_reordering ]; then\n” 273: ” echo 5 > …