Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: How to access the contents of a specific memory address?

by bulk88 (Priest)
on Jul 30, 2012 at 03:59 UTC ( #984341=note: print w/replies, xml ) Need Help??


in reply to Re: How to access the contents of a specific memory address?
in thread How to access the contents of a specific memory address?

my $address = 5; refaddr( \$address ); my $new_address = \$address; $$new_address = $$new_address * 4; sigqueue( $$, &POSIX::SIGRTMIN, $address ); $thr->join(); print Dumper($address); my $smash = unsmash_sv( 0 + $address );
I can't understand what you are doing here. times 4? "(char *) 5" will of course crash, so will "(char *) 20". If you use Windows, learn what WONT seg fault, Virtual Memory Map Viewer (FOSS I think) and VMMAP more advanced.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://984341]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2017-11-21 05:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (295 votes). Check out past polls.

    Notices?