33 lines
350 B
Ruby
33 lines
350 B
Ruby
#!/usr/bin/env ruby
|
|
|
|
# $Id$
|
|
|
|
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
|
|
|
|
class WtfError < PeError
|
|
end
|
|
|
|
class SkipError < PeError
|
|
end
|
|
|
|
end end
|