Recent

Author Topic: Question about the PE flag for large awareness in 64 bit.  (Read 385 times)

jamie

  • Hero Member
  • *****
  • Posts: 6685
Question about the PE flag for large awareness in 64 bit.
« on: October 15, 2024, 12:12:46 am »
 I am currently using 3.2.2-64 and 32 , is the compiler setting the Flag for large memory awareness?
The only true wisdom is knowing you know nothing

440bx

  • Hero Member
  • *****
  • Posts: 4648
Re: Question about the PE flag for large awareness in 64 bit.
« Reply #1 on: October 15, 2024, 01:01:33 am »
Use of a PE dump program shows the answer to your question is yes, the IMAGE_FILE_LARGE_ADDRESS_AWARE flag is set.

HTH.
(FPC v3.0.4 and Lazarus 1.8.2) or (FPC v3.2.2 and Lazarus v3.2) on Windows 7 SP1 64bit.

jamie

  • Hero Member
  • *****
  • Posts: 6685
Re: Question about the PE flag for large awareness in 64 bit.
« Reply #2 on: October 15, 2024, 01:08:44 am »
ok, I don't have many external debugging tools of that nature, I do have a test app somewhere where I did break down the PE for info but that was for a totally different agenda, and I only did the minimum needed to obtain the data I was looking for.

 Thank you for confirming that, I am getting a little concerned about data accumulation building in an app that most likely will not be able to run at 32 bits, if so, it would be restrictive.

 The app I am working on is being done on both lazarus/Fpc and Delphi 11, because that is the newest I have access to and it seems I maybe already be running into issues on long runs with the Delphi side. and I don't have any leaks that I can detect.



The only true wisdom is knowing you know nothing

440bx

  • Hero Member
  • *****
  • Posts: 4648
Re: Question about the PE flag for large awareness in 64 bit.
« Reply #3 on: October 15, 2024, 01:40:51 am »
You're welcome.

In case you'd like to have a PE dump program, here is a link to the one I wrote (therefore the one I use :) )

https://forum.lazarus.freepascal.org/index.php/topic,46617.msg459635.html#msg459635

Without bragging, I can say there is no other program anywhere that gives you the level of detail that one does and, the output, unlike in most other similar programs, is nicely formatted and easy to understand.

HTH.
(FPC v3.0.4 and Lazarus 1.8.2) or (FPC v3.2.2 and Lazarus v3.2) on Windows 7 SP1 64bit.

jamie

  • Hero Member
  • *****
  • Posts: 6685
Re: Question about the PE flag for large awareness in 64 bit.
« Reply #4 on: October 15, 2024, 02:31:33 am »
Ok, I just incremented your download counter for you :o

I took Version 1.30 as that was the newest and biggest one, I saw!  :D

I need to install 7z first, yest that's correct, I don't have that installed here, I try to keep my PCs naked!  :D
The only true wisdom is knowing you know nothing

440bx

  • Hero Member
  • *****
  • Posts: 4648
Re: Question about the PE flag for large awareness in 64 bit.
« Reply #5 on: October 15, 2024, 03:07:04 am »
v1.30 is the newest one.   I hope you like it. 

I thought I kept my PC very clean but, even I have 7zip installed. <chuckle>


ETA:

I forgot to mention, the output is very wide.  if you run it from a console prompt, set the console width to about 140 columns.  Of course if you redirect the output to a text file then your editor or text viewer will have to handle wide output (they normally all do.)
« Last Edit: October 15, 2024, 03:09:48 am by 440bx »
(FPC v3.0.4 and Lazarus 1.8.2) or (FPC v3.2.2 and Lazarus v3.2) on Windows 7 SP1 64bit.

 

TinyPortal © 2005-2018