2012-06-29 05:18:28 +00:00
|
|
|
# -*- coding: binary -*-
|
2008-02-09 04:35:21 +00:00
|
|
|
|
2006-04-15 20:26:41 +00:00
|
|
|
module Rex
|
|
|
|
module PeParsey
|
|
|
|
|
|
|
|
class PeError < ::RuntimeError
|
|
|
|
end
|
|
|
|
|
|
|
|
class ParseError < PeError
|
|
|
|
end
|
|
|
|
|
|
|
|
class DosHeaderError < ParseError
|
|
|
|
end
|
|
|
|
|
|
|
|
class FileHeaderError < ParseError
|
|
|
|
end
|
|
|
|
|
|
|
|
class OptionalHeaderError < ParseError
|
|
|
|
end
|
|
|
|
|
|
|
|
class BoundsError < PeError
|
|
|
|
end
|
|
|
|
|
2015-02-21 02:09:58 +00:00
|
|
|
class PeParseyError < PeError
|
2006-04-15 20:26:41 +00:00
|
|
|
end
|
|
|
|
|
2008-11-10 21:18:12 +00:00
|
|
|
class SkipError < PeError
|
|
|
|
end
|
|
|
|
|
|
|
|
end end
|