@@ -414,7 +414,7 @@ class ParserConfig:
414414
415415 all : ParserConfig = ...
416416
417- def parse (obj : Union [io .IOBase | os .PathLike | bytes | list [int ]], config : ParserConfig = ...) -> Optional [Binary ]: ...
417+ def parse (obj : Union [str | io .IOBase | os .PathLike | bytes | list [int ]], config : ParserConfig = ...) -> Optional [Binary ]: ...
418418
419419class SymbolVersion (lief .Object ):
420420 @overload
@@ -853,6 +853,10 @@ class Binary(lief.Binary):
853853
854854 def get_relocated_dynamic_array (self , array_tag : DynamicEntry .TAG ) -> list [int ]: ...
855855
856+ def find_version_requirement (self , libname : str ) -> SymbolVersionRequirement : ...
857+
858+ def remove_version_requirement (self , libname : str ) -> bool : ...
859+
856860 @overload
857861 def __iadd__ (self , arg : Segment , / ) -> Binary : ...
858862
@@ -4776,13 +4780,19 @@ class SysvHash(lief.Object):
47764780 def __str__ (self ) -> str : ...
47774781
47784782class Builder :
4779- def __init__ (self , elf_binary : Binary ) -> None : ...
4783+ @overload
4784+ def __init__ (self , elf : Binary ) -> None : ...
4785+
4786+ @overload
4787+ def __init__ (self , elf : Binary , config : Builder .config_t ) -> None : ...
47804788
47814789 class config_t :
47824790 def __init__ (self ) -> None : ...
47834791
47844792 force_relocate : bool
47854793
4794+ skip_dynamic : bool
4795+
47864796 dt_hash : bool
47874797
47884798 dyn_str : bool
@@ -4819,9 +4829,12 @@ class Builder:
48194829
48204830 coredump_notes : bool
48214831
4832+ keep_empty_version_requirement : bool
4833+
48224834 def build (self ) -> None : ...
48234835
4824- config : Builder .config_t
4836+ @property
4837+ def config (self ) -> Builder .config_t : ...
48254838
48264839 def write (self , output : str ) -> None : ...
48274840
0 commit comments