@@ -681,6 +681,15 @@ class Binary(lief.Binary):
681
681
682
682
def __next__ (self ) -> SubClient : ...
683
683
684
+ class it_notes :
685
+ def __getitem__ (self , arg : int , / ) -> NoteCommand : ...
686
+
687
+ def __len__ (self ) -> int : ...
688
+
689
+ def __iter__ (self ) -> Binary .it_notes : ...
690
+
691
+ def __next__ (self ) -> NoteCommand : ...
692
+
684
693
class range_t :
685
694
start : int
686
695
@@ -1043,6 +1052,12 @@ class Binary(lief.Binary):
1043
1052
@property
1044
1053
def objc_metadata (self ) -> Optional [lief .objc .Metadata ]: ...
1045
1054
1055
+ @property
1056
+ def notes (self ) -> Binary .it_notes : ...
1057
+
1058
+ @property
1059
+ def has_notes (self ) -> bool : ...
1060
+
1046
1061
def __getitem__ (self , arg : LoadCommand .TYPE , / ) -> LoadCommand : ...
1047
1062
1048
1063
def __contains__ (self , arg : LoadCommand .TYPE , / ) -> bool : ...
@@ -1138,6 +1153,12 @@ class Header(lief.Object):
1138
1153
1139
1154
KEXT_BUNDLE = 11
1140
1155
1156
+ FILESET = 12
1157
+
1158
+ GPU_EXECUTE = 13
1159
+
1160
+ GPU_DYLIB = 14
1161
+
1141
1162
class FLAGS (enum .Flag ):
1142
1163
@staticmethod
1143
1164
def from_value (arg : int , / ) -> Header .FLAGS : ...
@@ -1200,6 +1221,14 @@ class Header(lief.Object):
1200
1221
1201
1222
APP_EXTENSION_SAFE = 33554432
1202
1223
1224
+ NLIST_OUTOFSYNC_WITH_DYLDINFO = 67108864
1225
+
1226
+ SIM_SUPPORT = 134217728
1227
+
1228
+ IMPLICIT_PAGEZERO = 268435456
1229
+
1230
+ DYLIB_IN_CACHE = 2147483648
1231
+
1203
1232
magic : MACHO_TYPES
1204
1233
1205
1234
cpu_type : Header .CPU_TYPE
@@ -1364,6 +1393,12 @@ class LoadCommand(lief.Object):
1364
1393
1365
1394
ATOM_INFO = 54
1366
1395
1396
+ FUNCTION_VARIANTS = 55
1397
+
1398
+ FUNCTION_VARIANT_FIXUPS = 56
1399
+
1400
+ TARGET_TRIPLE = 57
1401
+
1367
1402
LIEF_UNKNOWN = 4293787649
1368
1403
1369
1404
command : LoadCommand .TYPE
@@ -1658,6 +1693,18 @@ class MainCommand(LoadCommand):
1658
1693
1659
1694
def __str__ (self ) -> str : ...
1660
1695
1696
+ class NoteCommand (LoadCommand ):
1697
+ note_offset : int
1698
+
1699
+ note_size : int
1700
+
1701
+ @property
1702
+ def owner_str (self ) -> str : ...
1703
+
1704
+ owner : memoryview
1705
+
1706
+ def __str__ (self ) -> str : ...
1707
+
1661
1708
class DynamicSymbolCommand (LoadCommand ):
1662
1709
class it_indirect_symbols :
1663
1710
def __getitem__ (self , arg : int , / ) -> Symbol : ...
@@ -2580,6 +2627,14 @@ class BuildVersion(LoadCommand):
2580
2627
2581
2628
TVOS_EXCLAVE_KIT = 20
2582
2629
2630
+ WATCHOS_EXCLAVE_CORE = 21
2631
+
2632
+ WATCHOS_EXCLAVE_KIT = 22
2633
+
2634
+ VISIONOS_EXCLAVE_CORE = 23
2635
+
2636
+ VISIONOS_EXCLAVE_KIT = 24
2637
+
2583
2638
ANY = 4294967295
2584
2639
2585
2640
platform : BuildVersion .PLATFORMS
@@ -2622,6 +2677,20 @@ class BuildToolVersion(lief.Object):
2622
2677
2623
2678
LLD = 4
2624
2679
2680
+ METAL = 1024
2681
+
2682
+ AIRLLD = 1025
2683
+
2684
+ AIRNT = 1026
2685
+
2686
+ AIRNT_PLUGIN = 1027
2687
+
2688
+ AIRPACK = 1028
2689
+
2690
+ GPUARCHIVER = 1031
2691
+
2692
+ METAL_FRAMEWORK = 1032
2693
+
2625
2694
class FilesetCommand (LoadCommand ):
2626
2695
name : str
2627
2696
0 commit comments