Skip to content
  • Hjem
  • Seneste
  • Etiketter
  • Populære
  • Verden
  • Bruger
  • Grupper
Temaer
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Kollaps
FARVEL BIG TECH
  1. Forside
  2. Ikke-kategoriseret
  3. I like how Windows managed the 32bit/64bit migration in the most sensible way, by making us pick from two copies of every installer/binary forever

I like how Windows managed the 32bit/64bit migration in the most sensible way, by making us pick from two copies of every installer/binary forever

Planlagt Fastgjort Låst Flyttet Ikke-kategoriseret
38 Indlæg 19 Posters 0 Visninger
  • Ældste til nyeste
  • Nyeste til ældste
  • Most Votes
Svar
  • Svar som emne
Login for at svare
Denne tråd er blevet slettet. Kun brugere med emne behandlings privilegier kan se den.
  • foone@digipres.clubF foone@digipres.club

    I know programmers who use fat binaries and they're all cowards

    foone@digipres.clubF This user is from outside of this forum
    foone@digipres.clubF This user is from outside of this forum
    foone@digipres.club
    wrote sidst redigeret af
    #8

    technically windows does use fat binaries, they're just DOS/windows.

    which is really only ever used to display a "you need windows to run this program" if you accidentally run it in DOS.

    foone@digipres.clubF dysfun@social.treehouse.systemsD dalias@hachyderm.ioD cinebox@masto.hackers.townC cr1901@mastodon.socialC 5 Replies Last reply
    0
    • foone@digipres.clubF foone@digipres.club

      technically windows does use fat binaries, they're just DOS/windows.

      which is really only ever used to display a "you need windows to run this program" if you accidentally run it in DOS.

      foone@digipres.clubF This user is from outside of this forum
      foone@digipres.clubF This user is from outside of this forum
      foone@digipres.club
      wrote sidst redigeret af
      #9

      I wonder if it still does that for 64bit EXEs?

      dysfun@social.treehouse.systemsD luna@catgirl.centerL jernej__s@infosec.exchangeJ 3 Replies Last reply
      0
      • foone@digipres.clubF foone@digipres.club

        technically windows does use fat binaries, they're just DOS/windows.

        which is really only ever used to display a "you need windows to run this program" if you accidentally run it in DOS.

        dysfun@social.treehouse.systemsD This user is from outside of this forum
        dysfun@social.treehouse.systemsD This user is from outside of this forum
        dysfun@social.treehouse.systems
        wrote sidst redigeret af
        #10

        @foone do you still have that in win64?

        1 Reply Last reply
        0
        • foone@digipres.clubF foone@digipres.club

          I wonder if it still does that for 64bit EXEs?

          dysfun@social.treehouse.systemsD This user is from outside of this forum
          dysfun@social.treehouse.systemsD This user is from outside of this forum
          dysfun@social.treehouse.systems
          wrote sidst redigeret af
          #11

          @foone heh, great minds

          1 Reply Last reply
          0
          • foone@digipres.clubF foone@digipres.club

            technically windows does use fat binaries, they're just DOS/windows.

            which is really only ever used to display a "you need windows to run this program" if you accidentally run it in DOS.

            dalias@hachyderm.ioD This user is from outside of this forum
            dalias@hachyderm.ioD This user is from outside of this forum
            dalias@hachyderm.io
            wrote sidst redigeret af
            #12

            @foone But you *can* use that for so much more.... 😈

            gsuberland@chaos.socialG 1 Reply Last reply
            0
            • foone@digipres.clubF foone@digipres.club

              I like how Windows managed the 32bit/64bit migration in the most sensible way, by making us pick from two copies of every installer/binary forever

              cinebox@masto.hackers.townC This user is from outside of this forum
              cinebox@masto.hackers.townC This user is from outside of this forum
              cinebox@masto.hackers.town
              wrote sidst redigeret af
              #13

              @foone don’t forget the software that also has arm64 binaries!

              1 Reply Last reply
              0
              • foone@digipres.clubF This user is from outside of this forum
                foone@digipres.clubF This user is from outside of this forum
                foone@digipres.club
                wrote sidst redigeret af
                #14

                64bit windows EXE, being run in DOSBox-X:

                foone@digipres.clubF dysfun@social.treehouse.systemsD 2 Replies Last reply
                0
                • foone@digipres.clubF foone@digipres.club

                  technically windows does use fat binaries, they're just DOS/windows.

                  which is really only ever used to display a "you need windows to run this program" if you accidentally run it in DOS.

                  cinebox@masto.hackers.townC This user is from outside of this forum
                  cinebox@masto.hackers.townC This user is from outside of this forum
                  cinebox@masto.hackers.town
                  wrote sidst redigeret af
                  #15

                  @foone surely NTFS binaries are more common these days

                  1 Reply Last reply
                  0
                  • foone@digipres.clubF foone@digipres.club

                    64bit windows EXE, being run in DOSBox-X:

                    foone@digipres.clubF This user is from outside of this forum
                    foone@digipres.clubF This user is from outside of this forum
                    foone@digipres.club
                    wrote sidst redigeret af
                    #16

                    fun fact: although that DOS stub usually just says that and quits, there's nothing that stops it from doing other things.

                    You could write a program that runs on DOS and win64, it'd just need to be implemented twice and embedded in the same binary

                    foone@digipres.clubF dosnostalgic@mastodon.socialD dryak@mstdn.scienceD kawa@mas.toK 4 Replies Last reply
                    0
                    • foone@digipres.clubF foone@digipres.club

                      64bit windows EXE, being run in DOSBox-X:

                      dysfun@social.treehouse.systemsD This user is from outside of this forum
                      dysfun@social.treehouse.systemsD This user is from outside of this forum
                      dysfun@social.treehouse.systems
                      wrote sidst redigeret af
                      #17

                      @foone i suppose it's not really a big deal, it's hardly the biggest thing you're going to ship in the binary

                      1 Reply Last reply
                      0
                      • foone@digipres.clubF foone@digipres.club

                        technically windows does use fat binaries, they're just DOS/windows.

                        which is really only ever used to display a "you need windows to run this program" if you accidentally run it in DOS.

                        cr1901@mastodon.socialC This user is from outside of this forum
                        cr1901@mastodon.socialC This user is from outside of this forum
                        cr1901@mastodon.social
                        wrote sidst redigeret af
                        #18

                        @foone I feel like I remember certain Win 3.x binaries also prepending a DOS executable of the same program, so that the same binary runs on both systems.

                        But Win 3.x isn't PE. So maybe I'm misremembering.

                        1 Reply Last reply
                        0
                        • foone@digipres.clubF foone@digipres.club

                          fun fact: although that DOS stub usually just says that and quits, there's nothing that stops it from doing other things.

                          You could write a program that runs on DOS and win64, it'd just need to be implemented twice and embedded in the same binary

                          foone@digipres.clubF This user is from outside of this forum
                          foone@digipres.clubF This user is from outside of this forum
                          foone@digipres.club
                          wrote sidst redigeret af
                          #19

                          so you could fat-binary a program to run on DOS/win32/win64 this way, by making it a 32bit program which win64 can run though backwards compatibility.

                          I'm not sure if you can include win16 though: it won't run the DOS stub, and it'll not be able to run the win32 version.

                          Unless you can set up win32s on win16 in such a way that it works in both 16bit windowses (through win32s) and 32bit-native windowses

                          max@peering.socialM kathee_hds@tech.lgbtK foone@digipres.clubF jernej__s@infosec.exchangeJ 4 Replies Last reply
                          0
                          • foone@digipres.clubF foone@digipres.club

                            I wonder if it still does that for 64bit EXEs?

                            luna@catgirl.centerL This user is from outside of this forum
                            luna@catgirl.centerL This user is from outside of this forum
                            luna@catgirl.center
                            wrote sidst redigeret af
                            #20

                            @foone@digipres.club it's even still a thing in arm64 exes (iirc with an x86 dos stub) and bootmgfw.efi, even though no reasonable person will ever try to run those on dos

                            luna@catgirl.centerL 1 Reply Last reply
                            0
                            • dalias@hachyderm.ioD dalias@hachyderm.io

                              @foone But you *can* use that for so much more.... 😈

                              gsuberland@chaos.socialG This user is from outside of this forum
                              gsuberland@chaos.socialG This user is from outside of this forum
                              gsuberland@chaos.social
                              wrote sidst redigeret af
                              #21

                              @dalias @foone I wrote a really evil CTF challenge where the Windows part was pure misdirection, it had tons of nasty anti-analysis stuff, sent people on a runaround chasing down endless threads, and the flag wasn't in there at all. if you ran it under DOS it printed the flag.

                              foone@digipres.clubF 1 Reply Last reply
                              0
                              • gsuberland@chaos.socialG gsuberland@chaos.social

                                @dalias @foone I wrote a really evil CTF challenge where the Windows part was pure misdirection, it had tons of nasty anti-analysis stuff, sent people on a runaround chasing down endless threads, and the flag wasn't in there at all. if you ran it under DOS it printed the flag.

                                foone@digipres.clubF This user is from outside of this forum
                                foone@digipres.clubF This user is from outside of this forum
                                foone@digipres.club
                                wrote sidst redigeret af
                                #22

                                @gsuberland @dalias nasty

                                1 Reply Last reply
                                0
                                • foone@digipres.clubF foone@digipres.club

                                  so you could fat-binary a program to run on DOS/win32/win64 this way, by making it a 32bit program which win64 can run though backwards compatibility.

                                  I'm not sure if you can include win16 though: it won't run the DOS stub, and it'll not be able to run the win32 version.

                                  Unless you can set up win32s on win16 in such a way that it works in both 16bit windowses (through win32s) and 32bit-native windowses

                                  max@peering.socialM This user is from outside of this forum
                                  max@peering.socialM This user is from outside of this forum
                                  max@peering.social
                                  wrote sidst redigeret af
                                  #23

                                  RE: https://digipres.club/@foone/116195447625031209

                                  @foone Does ARM somehow also fit in?

                                  foone@digipres.clubF jernej__s@infosec.exchangeJ snowfox@tech.lgbtS 3 Replies Last reply
                                  0
                                  • foone@digipres.clubF foone@digipres.club

                                    so you could fat-binary a program to run on DOS/win32/win64 this way, by making it a 32bit program which win64 can run though backwards compatibility.

                                    I'm not sure if you can include win16 though: it won't run the DOS stub, and it'll not be able to run the win32 version.

                                    Unless you can set up win32s on win16 in such a way that it works in both 16bit windowses (through win32s) and 32bit-native windowses

                                    kathee_hds@tech.lgbtK This user is from outside of this forum
                                    kathee_hds@tech.lgbtK This user is from outside of this forum
                                    kathee_hds@tech.lgbt
                                    wrote sidst redigeret af
                                    #24

                                    @foone but fat as it is tall and with tits to match or are we being cowards?

                                    foone@digipres.clubF 1 Reply Last reply
                                    0
                                    • kathee_hds@tech.lgbtK kathee_hds@tech.lgbt

                                      @foone but fat as it is tall and with tits to match or are we being cowards?

                                      foone@digipres.clubF This user is from outside of this forum
                                      foone@digipres.clubF This user is from outside of this forum
                                      foone@digipres.club
                                      wrote sidst redigeret af
                                      #25

                                      @Kathee_HDS ROUGE.EXE!

                                      kathee_hds@tech.lgbtK 1 Reply Last reply
                                      0
                                      • foone@digipres.clubF foone@digipres.club

                                        fun fact: although that DOS stub usually just says that and quits, there's nothing that stops it from doing other things.

                                        You could write a program that runs on DOS and win64, it'd just need to be implemented twice and embedded in the same binary

                                        dosnostalgic@mastodon.socialD This user is from outside of this forum
                                        dosnostalgic@mastodon.socialD This user is from outside of this forum
                                        dosnostalgic@mastodon.social
                                        wrote sidst redigeret af
                                        #26

                                        @foone An example of this is Bleep!, an NSF player for DOS/Win32
                                        https://www.zophar.net/utilities/audio-multi/bleep-.html

                                        1 Reply Last reply
                                        0
                                        • luna@catgirl.centerL luna@catgirl.center

                                          @foone@digipres.club it's even still a thing in arm64 exes (iirc with an x86 dos stub) and bootmgfw.efi, even though no reasonable person will ever try to run those on dos

                                          luna@catgirl.centerL This user is from outside of this forum
                                          luna@catgirl.centerL This user is from outside of this forum
                                          luna@catgirl.center
                                          wrote sidst redigeret af
                                          #27

                                          @foone@digipres.club the .efi file for systemd-boot on my system doesn't include a dos stub though, so that's why i specifically said bootmgfw.efi

                                          1 Reply Last reply
                                          0
                                          Svar
                                          • Svar som emne
                                          Login for at svare
                                          • Ældste til nyeste
                                          • Nyeste til ældste
                                          • Most Votes


                                          • Log ind

                                          • Har du ikke en konto? Tilmeld

                                          • Login or register to search.
                                          Powered by NodeBB Contributors
                                          Graciously hosted by data.coop
                                          • First post
                                            Last post
                                          0
                                          • Hjem
                                          • Seneste
                                          • Etiketter
                                          • Populære
                                          • Verden
                                          • Bruger
                                          • Grupper