Tuesday, October 25, 2016

First AutoIt v3 script mouse click by coordinate creation

This script below will look 1000 times by clicking the 2 continuous mouse positions

Opt("Windows Title", 2)

For $i = 1 To 1000
$pos = WinGetPos("Windows Title")
$x = 439
$y = 250

WinWaitActive("Windows Title")
MouseClick("left", $pos[0] + $x, $pos[1] + $y)


$x = 371
$y = 304

WinWaitActive("Windows Title")
MouseClick("left", $pos[0] + $x, $pos[1] + $y)

Next

Wednesday, October 12, 2016

Learning /proc/kalllsyms and interpretation

http://board.issociate.de/thread/508268/prockallsyms.html


The symbol type. At least the following types are used; others are, as

well, depending on the object file format. If lowercase, the symbol is
local; if uppercase, the symbol is global (external).

A
The symbol's value is absolute, and will not be changed by
further linking.
B
The symbol is in the uninitialized data section (known as BSS).
C
The symbol is common. Common symbols are uninitialized data.
When linking, multiple common symbols may appear with the same name.
If the symbol is defined anywhere, the common symbols are treated as
undefined references.
D
The symbol is in the initialized data section.
G
The symbol is in an initialized data section for small
objects. Some object file formats permit more efficient access to
small data objects, such as a global int variable as opposed to a
large global array.
I
The symbol is an indirect reference to another symbol. This is
a GNU extension to the a.out object file format which is rarely used.
N
The symbol is a debugging symbol.
R
The symbol is in a read only data section.
S
The symbol is in an uninitialized data section for small object=
s.
T
The symbol is in the text (code) section.
U
The symbol is undefined.
V
The symbol is a weak object. When a weak defined symbol is
linked with a normal defined symbol, the normal defined symbol is used
with no error. When a weak undefined symbol is linked and the symbol
is not defined, the value of the weak symbol becomes zero with no
error.
W
The symbol is a weak symbol that has not been specifically
tagged as a weak object symbol. When a weak defined symbol is linked
with a normal defined symbol, the normal defined symbol is used with
no error. When a weak undefined symbol is linked and the symbol is not
defined, the value of the weak symbol becomes zero with no error.
-
The symbol is a stabs symbol in an a.out object file. In this
case, the next values printed are the stabs other field, the stabs
desc field, and the stab type. Stabs symbols are used to hold
debugging information.
?
The symbol type is unknown, or object file format specific.



> cat /proc/kallsyms shows below output. Wat is the second column
> represents. I could see- D, d, t, T, r etc on the second coumn.
>
>
>
> 0000000000004000 D per_cpu__gdt_page
> 0000000000005000 d per_cpu__exception_stacks
> 000000000000b000 d per_cpu__idt_desc
> 000000000000b010 d per_cpu__xen_cr0_value
> 000000000000b018 D per_cpu__xen_vcpu
> 000000000000b020 D per_cpu__xen_vcpu_info
> 000000000000b060 d per_cpu__mc_buffer
>
> ffffffff81866397 t init_trace_printk
> ffffffff8186eb4b T printk_all_partitions
> ffffffff818bdbd8 t __setup_str_setup_early_printk
> ffffffff818f0c00 t __setup_setup_early_printk
> ffffffff818f1800 t __initcall_init_trace_printkearly
> ffffffff818f1bd8 t __initcall_init_trace_printk_function_export5
> ffffffff81992fc0 b printk_buf
> ffffffffa01955a0 r __ksymtab_v4l_printk_ioctl =A0 [videodev]