30 lines
319 B
Ruby
30 lines
319 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
|
|
|
|
end end
|