dannymitchell / sawbuck

Automatically exported from code.google.com/p/sawbuck
0 stars 0 forks source link

SEH table needs to be sorted #42

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
We're currently outputting the LoadConfig's SEH table with the handlers in 
whatever order we found them in.
It appears that the table of handlers is expected to be sorted, which makes 
sense, as then the exception handling machinery can binary search the table.
See 
http://msdn.microsoft.com/en-us/library/windows/desktop/ms680328(v=vs.85).aspx: 

SEHandlerTable
The VA of the sorted table of RVAs of each valid, unique handler in the image. 
This member is available only for x86.

Original issue reported on code.google.com by siggi@chromium.org on 2 Nov 2011 at 8:59

GoogleCodeExporter commented 9 years ago
Fixed as of r507. http://code.google.com/p/sawbuck/source/detail?r=507

Original comment by siggi@chromium.org on 6 Nov 2011 at 2:28