@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet


Comments:

<0> I like NASM, It's a good ***embler, But I can't get non-junk strings out for the life of me. Can someone please point me to/paste a snippet of string output? Via video or DOS interrupts I don't care, Both would be nice :)
<0> P.S. If anything I say sounds nonsensical, I'm sorry.
<1> hi. I'm guessing it's safe to ***ume that a stack with at least 2 bytes of space is set up by the MBR, but is it safe to ***ume the same for the BIOS?
<1> i.e. when a VBR is being run from the MBR, I can start off with a CALL without trashing anything useful, but when the same VBR is on a floppy, where the BIOS is the previous stage, can I safely ***ume that it too has put the stack somewhere writable with 2 bytes to spare that are not in the 0x7c00-0x7dfe range?
<1> I need to shave off a few bytes to fit something into a VBR :P
<1> I'd steal the OEMID bytes, but I'm worried they might be altered by tools that mess with the boot sector.
<2> hi, about ollydbg: I've got a simple app with two buttons, which change the text of a label. When I use ollydbg and set a breakpoint (F2) on the code for Button1, then the execution should stop, when I click on Button1, right ?
<2> A program, which is just running serial (so no userinterface interactions) stops on breakpoints, but if I click the button it doesn't stop as expected. Any idea ?
<3> embre, how about having a look into the manual?
<4> No idea.



<2> In the manual it's said F2 toggles the breakpoint. That's correct, but it doesn't stop on it, when it's an application which has a userinterface, like described.
<2> I mean it doesn't stop at the code for the button, I click on. If I set the breakpoint on the creation of the form, for example, then it's working.
<2> But after interaction (mouseclick) it doesn't.
<4> Are you sure procedure is run on event?
<5> Hi
<2> I opened the Windows view in ollydbg. Then I selected the Button1 and used FollowCl***Proc.
<2> It directs me to the start of a new codeblock. The first command (I set the breakpoint to) is "push EBP"
<5> greetings. Sorry by my english.
<5> I need a decompiler software.
<5> I nees p*** to asm file code, to C
<5> exist some app fot this?.
<6> asm to C? not that I know of
<6> C to ASM, yes
<6> binary to ASM, yes
<5> Jabberwock, ok. but asm to c or c++ not?
<5> Jabberwock, binary to c?
<5> or c++?
<6> .. no
<5> umm...
<5> thanks
<7> near impossible needs a lot of hand work
<3> sigh
<3> "join #win" .. lovely :)
<6> just the mear fact someone would ask that question makes me not want to help them
<6> they must be doing something kiddie-like
<3> dito
<8> a decompiler that will convert asm to c? wth
<8> would have told him about http://boomerang.sourceforge.net/ .. but perhaps its not the one he is looking for
<9> i've spent some time trying to find bugs in boomerang but they seem to hide themselves well
<10> Oh Gott, warum ist E-Technik so geil?
<10> Ich komme soeben superst und reinst klar mit Wechselstrom im Komplexen...
<6> ...
<3> Stormbreaker, english, wenn schon. thank you.
<3> Stormbreaker, by the way, offtopic.
<11> hey
<11> anybody here know arm ***embly?
<6> nay
<8> perhaps they do all sorts of magic just to get the "high level" they deem satisfactory
<11> lol, can you explain a few things to me?



<7> I am out of practice
<11> um, okay then
<7> hmm nearly 10 years out of practice on arm
<11> okay, ill figure it out myself
<2> I found out, the codeblock was not executed on event. Now I put a breakpoint into code that is executed on event and it's breaking the app and returning to ollydbg as expected.
<12> ?
<13> boa tarde.
<14> I think you should say good afternoon.
<15> hi
<16> hello unseen
<15> hi active :)
<16> have u ever used nasm?
<16> or anyone who uses nasm?
<9> just ask the real question
<16> (ASM) when I print a string into the terminal without the '\n' the string doesn't apper, even if there's is the terminator (0). Is there a way to force the terminal buffer to print a string without this '\n'?
<9> active: what OS?
<16> nasm under linux (x86)
<16> I tried to use the syscall sys_fsync, without any result
<9> active: can you put your program online?
<17> active: do you print the string into the terminal device?
<16> linus__^: yes, I call the libc printf.
<9> active: you call libc printf?
<9> active: maybe you should call fsync too then?
<9> no, i mean fflush(stdout)
<9> active: i don't know if you should init the c library somehow
<16> lindi-: "foobar",10,0 appears normally; "foobar",0 no
<16> the only difference is the '\n'
<9> active: yep, c library buffers it like that
<9> fflush
<9> and you'll get it
<16> lindi-: I tried call fflush: sigsegv :(
<9> active: i still haven't seen your program :)
<16> lindi-: I'll publish in a minute
<16> lindi-: http://utenti.lycos.it/r0xone/code/example.asm, sorry for the delay
<9> active: fflush takes one argument
<9> also, why are you adding 4 to esp in _start?
<9> also, please use symbolic names for syscalls
<16> I think I forgot the add from previous attempts
<16> I see that fflush takes a FILE * from the man, how to port this into asm?
<9> active: extern stdout;
<9> push stdout
<9> call fflush
<9> ?
<16> lindi-: there are still some problems, I'll investigate later. Thank you for your help anyway
<16> bye
<11> g2g, bye


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #asm
or
Go to some related logs:

xmms xgl choppy
#perl
File /usr/bin/yum, line 28, in ? import yummain
#lisp
Volume Name Icon
cedga +performance
richardeep
#linux
#nvidia
#nvidia



Home  |  disclaimer  |  contact  |  submit quotes