File: README

package info (click to toggle)
afflib 3.7.22-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,584 kB
  • sloc: cpp: 20,911; ansic: 15,912; makefile: 520; sh: 436; python: 192
file content (30 lines) | stat: -rw-r--r-- 558 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
==================================
PyAFF - Python bindings for AFFLIB
==================================

These bindings currently support a read-only file-like interface to AFFLIB and
basic metadata accessor functions. The binding is not currently complete.

--------
BUILDING
--------

python setup.py build
python setup.py install

-----
USAGE
-----

Basic usage example:

  #/usr/bin/python
  import pyaff

  fd = pyaff.open("diskimage.aff")
  data = fd.read(1000)
  fd.seek(0, SEEK_SET)

  print fd.get_seg_names()
  print fd.get_seg("afflib_version")