Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8342829
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T05:52:49+00:00 2026-06-09T05:52:49+00:00

I am looking find out the ways to creat in code segement size should

  • 0

I am looking find out the ways to creat in code segement size should be 16 mb (c++ byte code size is 16 MB)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T05:52:51+00:00Added an answer on June 9, 2026 at 5:52 am

    Copy and paste 16MB of nop instruction in __asm{} in a function . And dont use that function. Each nop must be 1-Byte. Then you will have the thing. Dynamically code-changing mechanisms you will need then.

    You will copy 1 nop into the 2 nops. then copy 2 nops into 4 nops. untill you do this for 24 times(24 bit equals 16 million differents am i right?)

    i was forgetting to tell you that you need to disable some optimizations for that. Or you can just use digital mars all optimizations turned off.

    Suggest you to do this in a separate file.(maybe include )

    If you want the linking be quicker, you should make it 16-Byte aligned.

    Sample of main_program.cpp

    #include<your_16MB_nop>
    #include<....
    ....
    int main(){/* whatever here */}
    

    Sample of your_16MB_nop

    void func_never_used_directly()
    {
        __asm
            {
             nop
             nop
             nop
             ... 16million times(just copy and paste each last block for 24 times)
             nop 
             }
     }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am looking to find out if a web page has changed, I was
Sorry for the fairly general question but I am looking to find out what
I'm looking for a solution to find out about the MAC number of a
we are looking for a way to find out (not modify, just find out)
I'm looking at MDN and W3C resources to find out what exactly is ownerDocument
I've been looking, but can't seem to find a RoR plugin/gem for filtering out
First off; I am not necessarily looking for Delphi code, spit it out any
I'm looking for a way to find out if there are uncommited INSERT, UPDATE
I'm experiencing an odd scenario and I'm looking for ways to figure out what's
I'm looking to find information on how to update my XCode program that has

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.