logs archiveIRC Archive / Undernet / #asm / 2006 / September / 8 / 1
johnjohn
http://rafb.net/paste/results/3P3tOW30.html <--- can someone tell me why leal is used instead of movl?
KaLkUlAtOr
se razbira nekoj od kladenje?
bitblt
I need help
gigr
yes
dbtid
what is it?
bitblt
what are the parameters passed in RtlRandom
edcba
how many parameters there are ?
bitblt
it seems that one
edcba
usually you have only the maximum bound
so you call rand(10) and you have a number 0..9
         

bitblt
I better need some example
source
is a long a quadword?
dbtid
double word in x86
x86 word is 16 bits
c-bot .uz
c-bot
dbtid, here you go: Uzbekistan
bitblt
it says error
too many arguments to function int rand()
dbtid
c-bot rand
c-bot
dbtid, here you go: rand - #include <stdlib.h> int rand (void) ISO C Random Number Functions (ISO) see - http://www.msunix.co.uk/manual/glibc-2.2.3/html_chapter/libc_19.html#SEC395
dbtid
c-bot srand
c-bot
dbtid, here you go: srand - #include <stdlib.h> void srand (unsigned int seed) ISO C Random Number Functions (ISO) see - http://www.msunix.co.uk/manual/glibc-2.2.3/html_chapter/libc_19.html#SEC395
bitblt
well I was trying to use RtlRandom from ntdll
it's: ulong RtlRandom ( blah blah)
dbtid
15:39:29 < bitblt> too many arguments to function int rand()
that is what you said
which is it?
bitblt
I did a mistake
there's a way for dump the assembly using CodeBlocks, using the compiler Mingw
« prev next »