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 6051137
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T07:46:06+00:00 2026-05-23T07:46:06+00:00

If I reserve memory in the .BSS section of an image, am I responsable

  • 0

If I reserve memory in the .BSS section of an image, am I responsable for deallocating that memory before the process terminates and if so how do I go about doing this?

Here’s some example code to clarify

SECTIION .text
GLOBAL _start
_start:
mov edx, buffer
movb [edx], 30h ; Initializes buffer which was reserved in .bss
...

SECTION .bss
buffer: RESB 2 ; Reserves 2 bytes in .bss section
  • 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-05-23T07:46:07+00:00Added an answer on May 23, 2026 at 7:46 am

    The loader allocates that memory before your process starts executing, and the kernel will automatically reclaim it when your process exits. You do not need to worry about it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

MSDN says that GC calls the Win32 VirtualAlloc function to reserve segment of memory
I am using VirtualAllocEx in Delphi to reserve memory in a foreign process like
is there any way to reserve memory space to be used later by default
If I use .reserve(items) on a vector, the vector will allocate enough memory for
Is it possible that I reserve a asp.net code in db and load it
I have an array that is produced from people wanting to reserve a time
Is there a utility (for Windows) that uses up memory so I can create
I have created a macro to make reserve memory for my strings in C
How can I reserve and allocate shared memory without the backing of a file?
This question is derived from the topic: vector reserve c++ I am using a

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.