27 lines
300 B
Ruby
27 lines
300 B
Ruby
#!/usr/bin/env ruby
|
|
# -*- coding: binary -*-
|
|
|
|
module Rex
|
|
module ElfParsey
|
|
|
|
class ElfError < ::RuntimeError
|
|
end
|
|
|
|
class ParseError < ElfError
|
|
end
|
|
|
|
class ElfHeaderError < ParseError
|
|
end
|
|
|
|
class ProgramHeaderError < ParseError
|
|
end
|
|
|
|
class BoundsError < ElfError
|
|
end
|
|
|
|
class WtfError < ElfError
|
|
end
|
|
|
|
end
|
|
end
|