由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - distinguish load and store instruction given a segmentation fault
相关主题
gdb debugging the system call execve() ...来美15年了,还是工程师
Any one works in Intel for 64bit asm ? (转载)Scala days in sf.
dereference a NULL pointer in C湾区码工的职称
Java 问题,请教如何找出一个array里的duplicate segments?Node.js question on identifying 2 different web browser tab/pages
Principal Software Engineer,还是Architect?为什么码代码不能得奥斯卡奖
what does this statement mean?[bssd] Numbers
A Windows Programming Questionnew了指针,delete的时候出错了
Q on overloaded assignment vs copy constructor.超牛的debug
相关话题的讨论汇总
话题: fault话题: given话题: load
进入Programming版参与讨论
1 (共1页)
b***s
发帖数: 2
1
Hi there,
I'm programming segmentation fault signal handling.
I can catch the memory address and also the instruction which causes the fault
. Is there an easy
way to tell whether that instruction is a load or store instruction? Of course
, a solution would be to
derive that by decoding the instruction. Even for that solution, I'm not clear
on how to do it quickly
given the big instruction set of IA32...
Gaven
t****t
发帖数: 6806
2
grab an intel IA-32 manual, and look at the instruction code map.
it may not be as complex as you imagine.
the manual is free on intel's website. you can read online, or let them
send you a copy.

fault
course
clear

【在 b***s 的大作中提到】
: Hi there,
: I'm programming segmentation fault signal handling.
: I can catch the memory address and also the instruction which causes the fault
: . Is there an easy
: way to tell whether that instruction is a load or store instruction? Of course
: , a solution would be to
: derive that by decoding the instruction. Even for that solution, I'm not clear
: on how to do it quickly
: given the big instruction set of IA32...
: Gaven

1 (共1页)
进入Programming版参与讨论
相关主题
超牛的debugPrincipal Software Engineer,还是Architect?
Segmentation faultwhat does this statement mean?
A weird segmentation fault!A Windows Programming Question
static variable存在heap还是stack?Q on overloaded assignment vs copy constructor.
gdb debugging the system call execve() ...来美15年了,还是工程师
Any one works in Intel for 64bit asm ? (转载)Scala days in sf.
dereference a NULL pointer in C湾区码工的职称
Java 问题,请教如何找出一个array里的duplicate segments?Node.js question on identifying 2 different web browser tab/pages
相关话题的讨论汇总
话题: fault话题: given话题: load