1

Topic: Prompt means for program running on addresses> 2G

About Viva64 and similar analyzers of the code I know. It would be desirable to launch the program and in wounds a time to check up it. That, for example, the program  would boot somewhere in address space of process, with addresses certainly above 2G (and it is better 4G). Also, that new\malloc too always would select storage in the given range of addresses. For example, itself faced some years ago an epic bug in With the code when one of standard  therefore function malloc was accepted returning value int (was the compiler warning) has not been connected.

2

Re: Prompt means for program running on addresses> 2G

C ASLR the program  boots devils where. For testing of selection of storage for a heap it is possible to use App Verifier. There just there is a possibility to set a range of selected addresses and many other things.

3

Re: Prompt means for program running on addresses> 2G

Hello, VTT, you wrote: VTT> C ASLR the program  boots devils where. ASLR it is included at me by default, and here the bug with int malloc () has been found out not at once (floated some time) VTT> For testing of selection of storage for a heap it is possible to use App Verifier. VTT> There just there is a possibility to set a range of selected addresses and many other things. Yes, there is such field. But a problem that App Verifier allows to specify only a 32-bit range (checked both on 64-bit version App Verifier x64 and on idle time)

4

Re: Prompt means for program running on addresses> 2G

GC> Yes, there is such field. But a problem that App Verifier allows to specify only a 32-bit range (checked both on 64-bit version App Verifier x64 and on idle time) Hmm, really. Now the sense in these options is not very clear at all. However at me in 64-bit programs from the lower range one unit is selected strictly only, all is visible with any control footing, and remaining - from upper. So here probably it is possible at all  with any indirect tools. Though App Verifier all the same it is useful to involve.