我试图弄清楚这个 objdump -d 的所有元素的含义。
例如我有:
08048b50 <phase_1>:
8048b50: 83 ec 1c sub $0x1c,%esp
8048b53: c7 44 24 04 68 a2 04 movl $0x804a268,0x4(%esp)
8048b5a: 08
8048b5b: 8b 44 24 20 mov 0x20(%esp),%eax
8048b5f: 89 04 24 mov %eax,(%esp)
8048b62: e8 63 04 00 00 call 8048fca <strings_not_equal>
8048b67: 85 c0 test %eax,%eax
8048b69: 74 05 je 8048b70 <phase_1+0x20>
8048b6b: e8 f5 06 00 00 call 8049265 <explode_bomb>
8048b70: 83 c4 1c add $0x1c,%esp
8048b73: c3 ret
Run Code Online (Sandbox Code Playgroud)
具体来说,我不确定第一列和中间列告诉我什么
我正在尝试编写一个正则表达式来匹配数学运算符到char.我尝试了很多不同的东西,但我一直在努力:
令牌上的语法错误,预期表达式
我的代码看起来像这样:
public static void readMath(char c) {
if(c == [+\-*/]) {
// do some stuff
}
}
Run Code Online (Sandbox Code Playgroud)
我试过逃避不同的东西等等我似乎无法让它工作.
我有以下代码生成随机数,以在条形图上绘制.但是,只有在特定行上设置了断点时,它才能正常工作,否则,所有10个新数据点都会以完全相同的数字出现.
case 3:
//Add ten data sets to go through all default colors
DatasetPairing<BarPresentation, BarGraphDataset<GraphableDouble>> datasetPairing;
foreach (HorizontalBarPlotter<GraphableDouble, GraphableDouble> graphPlotter in this.Data.GraphPlots)
{
for (int i = 1; i <= 11; i++)
{
datasetPairing = new DatasetPairing<BarPresentation, BarGraphDataset<GraphableDouble>>();
datasetPairing.DatasetPresentation = new BarPresentation();
datasetPairing.GraphableDataset = GetOneDataset(0, false);
graphPlotter.DatasetMap.Add(datasetPairing); //breakpoint set here
}
List<IAxis> xAxes;
xAxes = new List<IAxis>();
xAxes.Add(graphPlotter.DetermineXAxis());
this.Data.BottomAxes = xAxes;
this.Data.TopAxes = xAxes;
}
NextStep = "Return to a single dataset and add comment to values for tooltips";
break; …Run Code Online (Sandbox Code Playgroud)