DOS386 23.07.2007, 02:42 |
VESAMTTR (recovered from Google) (DOSX) |
Japheth wrote: |
RayeR CZ, 03.09.2007, 20:45 @ DOS386 |
VESAMTTR (recovered from Google) |
> > - Shoot a hole into the protection and jump to Ring0 (VESAMTRR) |
RayeR CZ, 03.09.2007, 20:58 @ DOS386 |
VESAMTTR (recovered from Google) |
> > Looks like very bad design He uses DGJPP, and then goes "real" for |
Rugxulo Usono, 04.09.2007, 02:01 @ RayeR |
VESAMTTR (recovered from Google) |
> BTW this program MTRRLFBE is only a side product, it's part of my gfx --- |
RayeR CZ, 04.09.2007, 12:59 @ Rugxulo |
VESAMTTR (recovered from Google) |
I dopn't need anything extra, just if here someone knows AT&T inline ASM for DJGPP: --- |
Japheth Germany (South), 04.09.2007, 16:41 @ RayeR |
VESAMTTR (recovered from Google) |
Hello RayeR, --- |
RayeR CZ, 04.09.2007, 20:25 @ Japheth |
VESAMTTR (recovered from Google) |
> The "pusha/popa" is harmless and shouldn't crash. --- |
Japheth Germany (South), 04.09.2007, 22:32 @ RayeR |
VESAMTTR (recovered from Google) |
> Do you have DJGPP to compile it or do you want both binaries with compiled --- |
DOS386 05.09.2007, 02:17 @ Japheth |
VESAMTTR (recovered from Google) |
> > Do you have DJGPP to compile it or --- |
RayeR CZ, 05.09.2007, 09:53 @ Japheth |
VESAMTTR (recovered from Google) |
> Just the binary of the crashing version. Debug info is not important. I --- |
Japheth Germany (South), 06.09.2007, 08:27 @ RayeR |
VESAMTTR (recovered from Google) |
> BTW I tried to play with code under WinXP VDM. I can read GDTR and LDTR, I --- |
DOS386 11.09.2007, 06:54 @ Japheth |
VESAMTTR (recovered from Google) |
Japheth wrote: --- |
RayeR CZ, 12.09.2007, 20:31 @ DOS386 |
VESAMTTR (recovered from Google) |
> Any benefit from jumping via IDT (VESAMTRR) from GDT ( RayeR's coming up --- |
DOS386 13.09.2007, 02:21 @ RayeR |
VESAMTTR (recovered from Google) |
> I think it would be easier to hack NT from NT, I mean to use kernel mode --- |
Rugxulo Usono, 05.09.2007, 14:51 @ RayeR |
VESAMTTR (recovered from Google) |
> If I have pushal/popal around the call, then DJGPP crashes (but mingw32 --- |
RayeR CZ, 05.09.2007, 16:22 @ Rugxulo |
VESAMTTR (recovered from Google) |
> What compiler options are you using, -O2 and / or -fomit-frame-pointer ?? --- |
Rugxulo Usono, 05.09.2007, 20:56 @ RayeR |
VESAMTTR (recovered from Google) |
> Yes I have -O2 and -fomit-frame-pointer as default set in RHIDE... Good --- |
RayeR CZ, 06.09.2007, 01:08 @ Rugxulo |
VESAMTTR (recovered from Google) |
> Try without using "-fomit-frame-pointer" since that changes the stack --- |
Rugxulo Usono, 06.09.2007, 04:40 @ RayeR |
VESAMTTR (recovered from Google) |
> Yes dude, you was right. -fomit-frame-pointer made the evil, it works with --- |
rr Berlin, Germany, 06.09.2007, 16:56 @ Rugxulo |
VESAMTTR (recovered from Google) |
> Actually, I think -Os and similar are documented to always use --- |
Rugxulo Usono, 07.09.2007, 04:12 @ rr |
VESAMTTR (recovered from Google) |
> "-Os" is basically "-O2" with a few tweaks. Search for --- |
RayeR CZ, 06.09.2007, 22:35 @ Rugxulo |
VESAMTTR (recovered from Google) |
> Try using -fomit-frame-pointer -masm=intel -S -o myfile.asm and --- |
Rugxulo Usono, 07.09.2007, 04:14 @ RayeR |
VESAMTTR (recovered from Google) |
> > Try using -fomit-frame-pointer -masm=intel -S -o myfile.asm and --- |
RayeR CZ, 07.09.2007, 10:18 @ Rugxulo |
VESAMTTR (recovered from Google) |
> That means your GAS (AS.EXE) is old. Try upgrading to --- |
rr Berlin, Germany, 07.09.2007, 10:45 @ RayeR |
VESAMTTR (recovered from Google) |
> But I already have latest binutils 2.17 from DJ site I will try if it --- |
RayeR CZ, 08.09.2007, 01:46 @ rr |
VESAMTTR (recovered from Google) |
> > But I already have latest binutils 2.17 from DJ site I will try if it --- |
Rugxulo Usono, 08.09.2007, 07:03 @ RayeR |
VESAMTTR (recovered from Google) |
> > > But I already have latest binutils 2.17 from DJ site I will try if it --- |
RayeR CZ, 08.09.2007, 22:03 @ Rugxulo |
VESAMTTR (recovered from Google) |
> > bin/as.exe --- |
rr Berlin, Germany, 08.09.2007, 22:49 @ RayeR |
VESAMTTR (recovered from Google) |
> if i rember, i updated from dj/aplha/gnu or beta/gnu site --- |
RayeR CZ, 10.09.2007, 14:18 @ rr |
VESAMTTR (recovered from Google) |
> That's beta. --- |
Japheth Germany (South), 06.09.2007, 07:17 @ RayeR |
VESAMTTR (recovered from Google) |
this is the crashing context: --- |
RayeR CZ, 06.09.2007, 22:34 @ Japheth |
VESAMTTR (recovered from Google) |
> the crash is at 1E7B, the far call (which is your call gate). --- |
rr Berlin, Germany, 06.09.2007, 16:51 @ RayeR |
VESAMTTR (recovered from Google) |
> Yes dude, you was right. -fomit-frame-pointer made the evil, it works with --- |
RayeR CZ, 06.09.2007, 22:33 @ rr |
VESAMTTR (recovered from Google) |
> There is no "-O6". You may wish to look at GCC's --- |
Rugxulo Usono, 07.09.2007, 05:11 @ RayeR |
VESAMTTR (recovered from Google) |
> > There is no "-O6". You may wish to look at GCC's --- |
rr Berlin, Germany, 07.09.2007, 10:40 @ Rugxulo |
VESAMTTR (recovered from Google) |
> I could be wrong, but I think EGCS used to support -O6. --- |
rr Berlin, Germany, 07.09.2007, 10:40 @ RayeR |
VESAMTTR (recovered from Google) |
> > There is no "-O6". You may wish to look at GCC's --- |