exclusive OR Instruction :-

GDB shows XOR Instruction

(gdb) disassemble 0x00007f16db50b647
Dump of assembler code for function gtk_main:
   0x00007f16db50b5a0 :	push   %r15
   0x00007f16db50b5a2 :	xor    %edi,%edi
   0x00007f16db50b5a4 :	mov    $0x1,%esi
   0x00007f16db50b5a9 :	push   %r14
   0x00007f16db50b5ab :	push   %r13
   0x00007f16db50b5ad :	push   %r12
   0x00007f16db50b5af :	push   %rbp
   0x00007f16db50b5b0 :	push   %rbx
   0x00007f16db50b5b1 :	sub    $0x38,%rsp
   0x00007f16db50b5b5 :	addl   $0x1,0x4e2af4(%rip)        # 0x7f16db9ee0b0
   0x00007f16db50b5bc :	callq  0x7f16db43d9b0
   0x00007f16db50b5c1 :	mov    0x4e2ae0(%rip),%rdi        # 0x7f16db9ee0a8
   0x00007f16db50b5c8 :	mov    %rax,%rsi

Process Involved

A Telepathy Application.
IM application and Account Manager called Empathy.

Explanation

Performs a bitwise exclusive OR (XOR) operation on the destination
(first) and source (second) operands and stores the result in the
destination operand location. The source operand can be an immediate,
a register, or a memory location; the destination operand can be a
register or a memory location. (However, two memory operands cannot
be used in one instruction.) Each bit of the result is 1 if the
corresponding bits of the operands are different; each bit is 0 if the
corresponding bits are the same.

source : http://siyobik.info/index.php?module=x86&id=330
source : http://en.wikipedia.org/wiki/XOR_gate

 

Leave a Reply

Your email address will not be published. Required fields are marked *