Pkg.IFPS — API for parsing IFPS files¶
Overview¶
The Pkg.IFPS module contains the API for parsing Inno Setup Pascal Script compiled bytecode (IFPS) files.
Disassembling an IFPS File¶
The following code example demonstrates how to disassemble an IFPS file:
from Pro.Core import *
from Pkg.IFPS import *
def disassembleIFPS(fname):
c = createContainerFromFile(fname)
if c.isNull():
return
obj = IFPSObject()
if not obj.Load(c) or not obj.Initialize():
return
print(obj.Disassemble())
Module API¶
Pkg.IFPS module API.
Classes:
This class represents an Inno Setup Pascal Script compiled bytecode (IFPS) file.
- class IFPSObject¶
Bases:
Pro.Core.CFFObjectThis class represents an Inno Setup Pascal Script compiled bytecode (IFPS) file.
Methods:
Disassemble([wo])Disassembles the entire IFPS file to a human-readable form.
- Disassemble(wo: Optional[Pro.Core.NTIWait] = None) → str¶
Disassembles the entire IFPS file to a human-readable form.
- Parameters
wo (Optional[NTIWait]) – Optional wait object for long-running operations.
- Returns
Returns the disassembly text.
- Return type
str