Notices

Overclockers Forums > Software > Programming Tips and Tricks
Programming Tips and Tricks
Forum Jump

reading memory

Post Reply New Thread Subscribe Search this Thread
 
 
Thread Tools
Old 05-30-05, 01:46 PM Thread Starter   #1
noob_ass
Registered



Join Date: May 2005

 
reading memory


Is there a programme to lets the user see whats running in his memory?
noob_ass is offline   QUOTE Thanks
Old 05-30-05, 01:47 PM   #2
klingens
Member



Join Date: Apr 2002
Location: Xanadu

 
press ""ctrl+shift+esc"
klingens is offline   QUOTE Thanks
Old 05-30-05, 02:06 PM Thread Starter   #3
noob_ass
Registered



Join Date: May 2005

 
mhh...

thats not memory.
noob_ass is offline   QUOTE Thanks
Old 05-30-05, 02:20 PM   #4
klingens
Member



Join Date: Apr 2002
Location: Xanadu

 
So my tasks don't run in my memory? Makes me wonder why I buy it in the first place. Thanks for helping me save money next time I buy a PC. Thanks!
klingens is offline   QUOTE Thanks
Old 05-30-05, 02:24 PM Thread Starter   #5
noob_ass
Registered



Join Date: May 2005

 
?

So is there a programme that allowes the user to see whats she/he is running in their memory.
noob_ass is offline   QUOTE Thanks
Old 05-30-05, 03:19 PM   #6
klingens
Member



Join Date: Apr 2002
Location: Xanadu

 
Yes, it's called a debugger.
Happy learning assembly language
klingens is offline   QUOTE Thanks
Old 05-30-05, 03:28 PM Thread Starter   #7
noob_ass
Registered



Join Date: May 2005

 
link.
noob_ass is offline   QUOTE Thanks
Old 05-30-05, 04:05 PM   #8
klingens
Member



Join Date: Apr 2002
Location: Xanadu

 
klingens is offline   QUOTE Thanks
Old 05-31-05, 07:35 AM   #9
mccoyn
Senior Member

 
mccoyn's Avatar 

Join Date: Nov 2003
Location: Michigan, USA

 
I don't think you understand. All programs run in memory when they run. All programs that are running are listed in the task manager under the processes tab. Therefore, all programs running in memory are listed in the task manager. There is even a menu option to show how much memory each process is using. How is this not an answer to your question? If this doesn't show you what you are looking for can you enlighten us as to what you are looking for?
mccoyn is offline   QUOTE Thanks
Old 05-31-05, 09:44 AM Thread Starter   #10
noob_ass
Registered



Join Date: May 2005

 
If you run a programme then exit the programme, that programme is still in the memory but isnt in the task manager because its isnt running.
noob_ass is offline   QUOTE Thanks
Old 05-31-05, 10:00 AM   #11
klingens
Member



Join Date: Apr 2002
Location: Xanadu

 
No it's no. DLLs are often locked a few seconds longer after the DLL using program is already closed, but that's about it. after a few seconds they're unlocked again as they should.
klingens is offline   QUOTE Thanks
Old 05-31-05, 10:35 AM Thread Starter   #12
noob_ass
Registered



Join Date: May 2005

 
ok ok, Do you know a source code for a calculator.
noob_ass is offline   QUOTE Thanks
Old 05-31-05, 11:24 AM   #13
Kevin007
Member

 
Kevin007's Avatar 

Join Date: Sep 2004
Location: 321 Florida

 
processes?

__________________
AMD Phenom II X6 1055T
4.00 GB Mushkin
Gigabyte GA-890GPA-UD3H (Socket M2)
ATI Radeon HD 4800
Kevin007 is offline   QUOTE Thanks
Old 05-31-05, 11:30 AM   #14
klingens
Member



Join Date: Apr 2002
Location: Xanadu

 
Quote:
ok ok, Do you know a source code for a calculator.
Yes. http://packages.debian.org/unstable/math/calc
klingens is offline   QUOTE Thanks
Old 05-31-05, 04:50 PM   #15
9mmCensor
Disabled



Join Date: Oct 2003
Location: Banned Camp

 
Quote:
Originally Posted by noob_ass
If you run a programme then exit the programme, that programme is still in the memory but isnt in the task manager because its isnt running.
Like a memory leak?

When a program is written (properly) memory is allocated, then used then de allocated (freed up).
9mmCensor is offline   QUOTE Thanks
Old 05-31-05, 05:49 PM   #16
JigPu
Inactive Pokémon Moderator

 
JigPu's Avatar 

Join Date: Jun 2001
Location: Vancouver, WA

10 Year Badge
 
...What exactly are you getting at? What I thought of when reading was a program which can give hex dumps of RAM (I don't know of any off the top of my head). This would let you see what's in RAM at that moment, though you wouldn't have any clue what was "running", since the data you see could be programs or data...

JigPu

__________________
.... ASRock Z68 Extreme3 Gen3
.... Intel Core i5 2500 ........................ 4 thread ...... 3300 MHz ......... -0.125 V
2x ASUS GTX 560 Ti ............................... 1 GiB ....... 830 MHz ...... 2004 MHz
.... G.SKILL Sniper Low Voltage ............. 8 GiB ..... 1600 MHz ............ 1.25 V
.... OCZ Vertex 3 ................................. 120 GB ............. nilfs2 ..... Arch Linux
.... Kingwin LZP-550 .............................. 550 W ........ 94% Eff. ....... 80+ Plat
.... Nocuta NH-D14 ................................ 20 dB ..... 0.35 C°/W ................ 7 V


"In order to combat power supply concerns, Nvidia has declared that G80 will be the first graphics card in the world to run entirely off of the souls of dead babies. This will make running the G80 much cheaper for the average end user."
"GeForce 8 Series." Wikipedia, The Free Encyclopedia. 7 Aug 2006, 20:59 UTC. Wikimedia Foundation, Inc. 8 Aug 2006.
JigPu is offline   QUOTE Thanks
Old 06-01-05, 08:49 PM   #17
Cluster



Join Date: Dec 2001
Location: Canuckistan

 
Any properly built OS wont let you just randomly read memory. You'd need to know kernel offsets, program offsets and data offsets along with what is stack and what isnt.

If you simply use C itself, you can access random memory, though like i say, any properly built OS would seg fault if you did this. The only way to read all the raw memory is to get into kernel mode, beyond any and all permissions and do a memory dump.

But like was stated, itd be a hex dump, you wouldnt be able to make any sense out of it as it would all look the same. The OS handles what goes where, and simply allowing any application to read its memory is how exploits are born.

__________________
Multi VM/SMP Folding Guide | Ram Timing Guide | Folding working on Alzheimer's cure
GPU Countdown to new years - Fold for a cure!
Asus M3A79-T ~ Phenom 9850 ~ Cell Shock DDR-1066 ~ HIS HD4850
Phenom 9850 Rank : PiFast (1st) | wPrime32 (1st) | wPrime1024 (1st) | SPi1M (1st) | SPi32M (2nd)
Cluster is offline   QUOTE Thanks
Old 06-02-05, 11:47 AM Thread Starter   #18
noob_ass
Registered



Join Date: May 2005

 
k thx

Another question is "If i have a number of words in my code is there a way to make a search feature so i enter "dog" and it says if the world is in the list.
noob_ass is offline   QUOTE Thanks
Old 06-02-05, 06:28 PM   #19
conga
New Member



Join Date: Apr 2005

 
conga is offline   QUOTE Thanks

Post Reply New Thread Subscribe


Overclockers Forums > Software > Programming Tips and Tricks
Programming Tips and Tricks
Forum Jump

Thread Tools Search this Thread
Search this Thread:

Advanced Search


Mobile Skin
All times are GMT -5. The time now is 12:27 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
You can add these icons by updating your profile information to include your Heatware ID, Benching Profile ID or your Folding/SETI profile ID. Edit your profile!
X

Welcome to Overclockers.com

Create your username to jump into the discussion!

New members like you have made this the best community on the Internet since 1998!


(4 digit year)

Why Join Us?

  • Share experience
  • Max out your hardware
  • Best forum members anywhere
  • Customized forum experience

Already a member?