For some reason, the synatax for setting a hardware watchpoint in GDB is impossible to find in google. Or rather, there are misleading instructions on how to set the watchpoint. The instructions you'll find say "watch for when variable x gets changed by writing 'watch x'". But this never solves a memory corruption bug. At least for me.
This post is for my own purposes. I never want to waste 10 minutes searching for the proper syntax again.
Let's say I know that location 0xABCD1234 is getting corrupted.
Then the gdb command is:
> watch *((int*) 0xABCD1234)
Monday, November 12, 2007
Sunday, November 04, 2007
Mukasey
The president of the Uninted States continues to violate the constitution he swore to uphold in torturing prisoners. He has asked congress to replace his former torture-enabler, the embattled Gonzales, with a new puppet, Robert Mukasey. When Mukasey went before the Senate, he would not say that waterboarding is torture. Waterboarding is torture. Mukasey has publicly expressed his willingness to allow Bush to continue torturing, to continue breaking international treatries in violation of the constitution.
Charles Schumer, a senior democrat, is now supporting Mukasey's confirmation based on a private conversation he had with Mukasey. What's his rationale? He says that Mukasey agreed with a hypothetical: if Congress were to pass legistation saying that waterboarding is torture, then it would not be out-of-line with its constitutionally granted powers and the President wouldn't have any recourse (except of course, to veto the bill).
The logic here is tortured. Schumer seems to think this consession is a hat-tip to the separation-of-powers provisions of the constitution. When did the constitution need consessions made to it?
Moreover, its a circuitous consession. It makes congress do much more work than it needs to! Congress does not need to say that waterboarding is torture. Legal precident and human decency defines it as torture. Worst of all, if congress were to legistlate that waterboarding is torture, then it effectively grants immunity to water-boarders up until this point: "Oh, I just water boarded that guy because it wasn't illegal at the time."
Schumer is doing a grave disservice to the anit-torture camp. Why is toture so hard to stand against?
Charles Schumer, a senior democrat, is now supporting Mukasey's confirmation based on a private conversation he had with Mukasey. What's his rationale? He says that Mukasey agreed with a hypothetical: if Congress were to pass legistation saying that waterboarding is torture, then it would not be out-of-line with its constitutionally granted powers and the President wouldn't have any recourse (except of course, to veto the bill).
The logic here is tortured. Schumer seems to think this consession is a hat-tip to the separation-of-powers provisions of the constitution. When did the constitution need consessions made to it?
Moreover, its a circuitous consession. It makes congress do much more work than it needs to! Congress does not need to say that waterboarding is torture. Legal precident and human decency defines it as torture. Worst of all, if congress were to legistlate that waterboarding is torture, then it effectively grants immunity to water-boarders up until this point: "Oh, I just water boarded that guy because it wasn't illegal at the time."
Schumer is doing a grave disservice to the anit-torture camp. Why is toture so hard to stand against?
Wednesday, September 26, 2007
Religion is evil
A catholic bishop makes up a story about how condoms give you AIDS. Does he have any proof for his claim? No. Of course not. But that's the thing. Religious authority has never been constrainted by the burden of proof, so people are used to just listening to whatever lunatic ideas they have.
This bishop has blood on his hands.
This bishop has blood on his hands.
Wednesday, September 12, 2007
not surprised
The Post declares Putin's move a surprise. I disagree. He's always behaved like a dictator. Now he's just assuming the mantle.
Monday, August 20, 2007
Dead air
As we drove from North Dakota into Montana on Wednesday evening, the sun was setting and I was getting tired. We'd been driving since 9 that morning (central time) and it was almost 8 (mountain time). I scanned through the chanels on the truck's radio and stopped on a classic rock station which was finishing off some song I didn't recognize from the early 80's I figured. It went to a comercial break, but I stuck with the station because my other two options were a country station and an all-jesus-all-the-time station.
As the station returned from break, it went through its call sign
"One hundred point five. The rock."
< Dead silence >
I kept glancing down at the dial and started to chuckle to myself. They were broadcasting dead air; how embarassing. Thirty seconds passed. I was cracking up. These idiots clearly didn't have a very high value on their air time if they were letting thirty seconds go by without broadcasting anything. How unprofessional. A minute passed. I started to get a little peeved. The sun was setting into my eyes, so I adjusted the sun visor -- I was only able to see the road up to the horizon in front of me. Two minutes passed, still no music. Man, these guys seriously need work. I started to forget that I was listening to the radio. Five minutes passed. Then I finally hear
"One hundred point five. The rock"
< Dead silence >
Someone's clearly gone to take a shit after queueing up a whole bunch of music. The call signs keep coming but the music they've queued is not. Well surely their boss is listening to the radio and will jump into the booth and straighten the mess out. Five more minutes pass; my mind wanders and I start to get sleepy. Fortunately, the radio comes to its senses and I hear
"One hundred point five. The rock"
< Dead silence >
AAAAAAAAA. Play something goddamnit!
I switched to the country station.
As the station returned from break, it went through its call sign
"One hundred point five. The rock."
< Dead silence >
I kept glancing down at the dial and started to chuckle to myself. They were broadcasting dead air; how embarassing. Thirty seconds passed. I was cracking up. These idiots clearly didn't have a very high value on their air time if they were letting thirty seconds go by without broadcasting anything. How unprofessional. A minute passed. I started to get a little peeved. The sun was setting into my eyes, so I adjusted the sun visor -- I was only able to see the road up to the horizon in front of me. Two minutes passed, still no music. Man, these guys seriously need work. I started to forget that I was listening to the radio. Five minutes passed. Then I finally hear
"One hundred point five. The rock"
< Dead silence >
Someone's clearly gone to take a shit after queueing up a whole bunch of music. The call signs keep coming but the music they've queued is not. Well surely their boss is listening to the radio and will jump into the booth and straighten the mess out. Five more minutes pass; my mind wanders and I start to get sleepy. Fortunately, the radio comes to its senses and I hear
"One hundred point five. The rock"
< Dead silence >
AAAAAAAAA. Play something goddamnit!
I switched to the country station.
Thursday, June 28, 2007
Putin shutters Journalist Group over $2500
The head of the Educated Media Foundation is facing charges of 5 years in jail for accidentally walking through customs without declaring $2500 over the legal limit of $10000.
The foundation has been shut down, its computers seized, its accounts frozen.
Over $2500.
Putin is an enemy of the world.
The foundation has been shut down, its computers seized, its accounts frozen.
Over $2500.
Putin is an enemy of the world.
Tuesday, June 26, 2007
Thursday, June 21, 2007
Rove To Abramoff: It's safe to break the law now
An uncovered email from Rove's secretary to Abramoff's secretary:
"I now have an RNC BlackBerry, which you can use to e-mail me at any time. No security issues like my WH e-mail."
Willing violation of the Presidential Records Act of 1978 by Bush's #2. (And yes, I do mean to imply Rove is a little shit.)
Impeach!
"I now have an RNC BlackBerry, which you can use to e-mail me at any time. No security issues like my WH e-mail."
Willing violation of the Presidential Records Act of 1978 by Bush's #2. (And yes, I do mean to imply Rove is a little shit.)
Impeach!
Tuesday, June 19, 2007
Sensitivity toward Islam
Pakistan is threatening to cut its ties with Britain over the knighting of the author of a literary work of fiction.
This work of fiction inflames Islamists and is insensitive toward moderates. Everyone knows that offending a great religion is blasphemy and punishable by death. Surely the British should have been more sensitive than to give any praise for a man who has lived under threat of death for 20 years. Moderates agree that he should be murdered, and if the moderates agree, then Britain is offensive in not carrying out the execution themselves!
In the name of world peace and sensitivity, murder the author!
This work of fiction inflames Islamists and is insensitive toward moderates. Everyone knows that offending a great religion is blasphemy and punishable by death. Surely the British should have been more sensitive than to give any praise for a man who has lived under threat of death for 20 years. Moderates agree that he should be murdered, and if the moderates agree, then Britain is offensive in not carrying out the execution themselves!
In the name of world peace and sensitivity, murder the author!
Monday, June 11, 2007
Star Wars

The evil emporer squelches the vote by positioning his Storm Troopers outside polling stations in areas of great unrest.
Monday, May 28, 2007
Cheney's hatred for America
He wages war on the principles that founded this country. His weapon: calling the Constitution a rallying point for pussies and terrorists.
That's the Republican party. A bunch of fascists.
Can we afford a Giuliani presidency? He's clearly in the Cheney camp when it comes to reckless disreguard for the Constitution.
That's the Republican party. A bunch of fascists.
Can we afford a Giuliani presidency? He's clearly in the Cheney camp when it comes to reckless disreguard for the Constitution.
Wednesday, May 23, 2007
Goodling had something to hide
For Gonzales, the shit hit the fan today. I can't see him remaining in office another week.
Goodling testified that McNulty lied to congress and that hiring inside the Justice department for *career positions* was politically motivated.
Goodline stalled the hiring of a layer from Harvard law specifically because of his political leanings.
The hiring of career layers and the appointments to political positions fall under different categories. Bush and Gonzales have presided over the worst politicization of the US govenerment ever.
Both should be tried for treason. They intentionally sought to violate the constitution they swore to uphold.
Goodling testified that McNulty lied to congress and that hiring inside the Justice department for *career positions* was politically motivated.
Goodline stalled the hiring of a layer from Harvard law specifically because of his political leanings.
The hiring of career layers and the appointments to political positions fall under different categories. Bush and Gonzales have presided over the worst politicization of the US govenerment ever.
Both should be tried for treason. They intentionally sought to violate the constitution they swore to uphold.
Wednesday, May 16, 2007
Monday, May 14, 2007
Wolfowitz non-scandal
I'm disappointed in the media for neglecting all facts surrounding the Wolfowitz case in their reporting of it. All that gets reported are the accuasations of a scandal. "The europeans are upset over a promotion of Wolfowitz's girlfriend" is all that gets reported. Since that's all that gets reported, it seems like that's all there is to the case and anyone can draw the conclusion that Wolfowitz has acted inapporpiately. This is a terrible sin of omission.
Again, I have to admire Hitchens for taking a firm stand when no one else will: Wolfowitz has been more than open with the world bank about his relationship with Riza, and the World Bank's decision to promote Riza so as to alleviate any conflict of interest is now being portrayed as Wolfowitz's decision based on nepotism or something even less seemly -- showering a girlfriend with money.
Hitchens has two articles that should be read.
From when the "controversy" first emerged: here
and from today: here.
I have no love lost for Wolfowitz. But men should only be convicted for crimes they commit. The press's attempt to try him the court of public opinion while not presenting any facts is shameful.
Again, I have to admire Hitchens for taking a firm stand when no one else will: Wolfowitz has been more than open with the world bank about his relationship with Riza, and the World Bank's decision to promote Riza so as to alleviate any conflict of interest is now being portrayed as Wolfowitz's decision based on nepotism or something even less seemly -- showering a girlfriend with money.
Hitchens has two articles that should be read.
From when the "controversy" first emerged: here
and from today: here.
I have no love lost for Wolfowitz. But men should only be convicted for crimes they commit. The press's attempt to try him the court of public opinion while not presenting any facts is shameful.
Saturday, April 14, 2007
Kasparov Jailed For Disagreeing with Putin
Friday, April 13, 2007
march on washington
Seriously; the errosion of habeas corpus demands a response from the US citizenry. The stance this administration has consistently taken is that they don't have to follow any of the laws/constitutions that were written before they came to power. They can imprisson whomever for whatever reason for however long and be accountable to no one.
I'm not much of an organizer, but I'll march on DC if/when a civil liberties march gets organized.
From Sullivan's website, I got this link to a Harpers story about an imprissoned Pullizer-prize winning photojournalist. He's been imprissoned for a year. No charges have been filed against him.
I'm not much of an organizer, but I'll march on DC if/when a civil liberties march gets organized.
From Sullivan's website, I got this link to a Harpers story about an imprissoned Pullizer-prize winning photojournalist. He's been imprissoned for a year. No charges have been filed against him.
Tuesday, April 03, 2007
Redacted
Big Brother Bush tortured a confession out of a suspected terrorist, Abd al-Rahim al-Nashiri. What did that torture buy us? What he confessed can't be trusted or believed. Bush has tainted America's good standing in the world and emboldened totalitarians like Putin and Ahmadinejad.
Nashiri described his torture. Bush redacted the transcript.
Nashiri described his torture. Bush redacted the transcript.
Sunday, April 01, 2007
Subscribe to:
Posts (Atom)