28 lines
307 B
Ruby
28 lines
307 B
Ruby
#!/usr/bin/ruby
|
|
|
|
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
|