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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
#![allow(dead_code,
non_camel_case_types,
non_upper_case_globals,
non_snake_case)]
use libc::{FILE, int32_t, int64_t, size_t, uint8_t, uint32_t, uint64_t};
pub type lldb_addr_t = uint64_t;
pub type lldb_break_id_t = int32_t;
pub type lldb_user_id_t = uint64_t;
pub type lldb_pid_t = uint64_t;
pub type lldb_tid_t = uint64_t;
pub type lldb_offset_t = uint64_t;
pub enum SBAddressOpaque { }
pub type SBAddressRef = *mut SBAddressOpaque;
pub enum SBAttachInfoOpaque { }
pub type SBAttachInfoRef = *mut SBAttachInfoOpaque;
pub enum SBBlockOpaque { }
pub type SBBlockRef = *mut SBBlockOpaque;
pub enum SBBreakpointOpaque { }
pub type SBBreakpointRef = *mut SBBreakpointOpaque;
pub enum SBBreakpointListOpaque { }
pub type SBBreakpointListRef = *mut SBBreakpointListOpaque;
pub enum SBBreakpointLocationOpaque { }
pub type SBBreakpointLocationRef = *mut SBBreakpointLocationOpaque;
pub enum SBBroadcasterOpaque { }
pub type SBBroadcasterRef = *mut SBBroadcasterOpaque;
pub enum SBCommandOpaque { }
pub type SBCommandRef = *mut SBCommandOpaque;
pub enum SBCommandInterpreterOpaque { }
pub type SBCommandInterpreterRef = *mut SBCommandInterpreterOpaque;
pub enum SBCommandInterpreterRunOptionsOpaque { }
pub type SBCommandInterpreterRunOptionsRef = *mut SBCommandInterpreterRunOptionsOpaque;
pub enum SBCommandPluginInterfaceOpaque { }
pub type SBCommandPluginInterfaceRef = *mut SBCommandPluginInterfaceOpaque;
pub enum SBCommandReturnObjectOpaque { }
pub type SBCommandReturnObjectRef = *mut SBCommandReturnObjectOpaque;
pub enum SBCommunicationOpaque { }
pub type SBCommunicationRef = *mut SBCommunicationOpaque;
pub enum SBCompileUnitOpaque { }
pub type SBCompileUnitRef = *mut SBCompileUnitOpaque;
pub enum SBDataOpaque { }
pub type SBDataRef = *mut SBDataOpaque;
pub enum SBDebuggerOpaque { }
pub type SBDebuggerRef = *mut SBDebuggerOpaque;
pub enum SBDeclarationOpaque { }
pub type SBDeclarationRef = *mut SBDeclarationOpaque;
pub enum SBErrorOpaque { }
pub type SBErrorRef = *mut SBErrorOpaque;
pub enum SBEventOpaque { }
pub type SBEventRef = *mut SBEventOpaque;
pub enum SBEventListOpaque { }
pub type SBEventListRef = *mut SBEventListOpaque;
pub enum SBExecutionContextOpaque { }
pub type SBExecutionContextRef = *mut SBExecutionContextOpaque;
pub enum SBExpressionOptionsOpaque { }
pub type SBExpressionOptionsRef = *mut SBExpressionOptionsOpaque;
pub enum SBFileSpecOpaque { }
pub type SBFileSpecRef = *mut SBFileSpecOpaque;
pub enum SBFileSpecListOpaque { }
pub type SBFileSpecListRef = *mut SBFileSpecListOpaque;
pub enum SBFrameOpaque { }
pub type SBFrameRef = *mut SBFrameOpaque;
pub enum SBFunctionOpaque { }
pub type SBFunctionRef = *mut SBFunctionOpaque;
pub enum SBHostOSOpaque { }
pub type SBHostOSRef = *mut SBHostOSOpaque;
pub enum SBInstructionOpaque { }
pub type SBInstructionRef = *mut SBInstructionOpaque;
pub enum SBInstructionListOpaque { }
pub type SBInstructionListRef = *mut SBInstructionListOpaque;
pub enum SBLaunchInfoOpaque { }
pub type SBLaunchInfoRef = *mut SBLaunchInfoOpaque;
pub enum SBLineEntryOpaque { }
pub type SBLineEntryRef = *mut SBLineEntryOpaque;
pub enum SBListenerOpaque { }
pub type SBListenerRef = *mut SBListenerOpaque;
pub enum SBModuleOpaque { }
pub type SBModuleRef = *mut SBModuleOpaque;
pub enum SBModuleSpecOpaque { }
pub type SBModuleSpecRef = *mut SBModuleSpecOpaque;
pub enum SBModuleSpecListOpaque { }
pub type SBModuleSpecListRef = *mut SBModuleSpecListOpaque;
pub enum SBPlatformOpaque { }
pub type SBPlatformRef = *mut SBPlatformOpaque;
pub enum SBProcessOpaque { }
pub type SBProcessRef = *mut SBProcessOpaque;
pub enum SBQueueOpaque { }
pub type SBQueueRef = *mut SBQueueOpaque;
pub enum SBQueueItemOpaque { }
pub type SBQueueItemRef = *mut SBQueueItemOpaque;
pub enum SBSectionOpaque { }
pub type SBSectionRef = *mut SBSectionOpaque;
pub enum SBSourceManagerOpaque { }
pub type SBSourceManagerRef = *mut SBSourceManagerOpaque;
pub enum SBStreamOpaque { }
pub type SBStreamRef = *mut SBStreamOpaque;
pub enum SBStringListOpaque { }
pub type SBStringListRef = *mut SBStringListOpaque;
pub enum SBStructuredDataOpaque { }
pub type SBStructuredDataRef = *mut SBStructuredDataOpaque;
pub enum SBSymbolOpaque { }
pub type SBSymbolRef = *mut SBSymbolOpaque;
pub enum SBSymbolContextOpaque { }
pub type SBSymbolContextRef = *mut SBSymbolContextOpaque;
pub enum SBSymbolContextListOpaque { }
pub type SBSymbolContextListRef = *mut SBSymbolContextListOpaque;
pub enum SBTargetRefOpaque { }
pub type SBTargetRef = *mut SBTargetRefOpaque;
pub enum SBThreadRefOpaque { }
pub type SBThreadRef = *mut SBThreadRefOpaque;
pub enum SBThreadCollectionOpaque { }
pub type SBThreadCollectionRef = *mut SBThreadCollectionOpaque;
pub enum SBThreadPlanOpaque { }
pub type SBThreadPlanRef = *mut SBThreadPlanOpaque;
pub enum SBTypeOpaque { }
pub type SBTypeRef = *mut SBTypeOpaque;
pub enum SBTypeMemberOpaque { }
pub type SBTypeMemberRef = *mut SBTypeMemberOpaque;
pub enum SBTypeCategoryOpaque { }
pub type SBTypeCategoryRef = *mut SBTypeCategoryOpaque;
pub enum SBTypeEnumMemberOpaque { }
pub type SBTypeEnumMemberRef = *mut SBTypeEnumMemberOpaque;
pub enum SBTypeEnumMemberListOpaque { }
pub type SBTypeEnumMemberListRef = *mut SBTypeEnumMemberListOpaque;
pub enum SBTypeFilterOpaque { }
pub type SBTypeFilterRef = *mut SBTypeFilterOpaque;
pub enum SBTypeFormatOpaque { }
pub type SBTypeFormatRef = *mut SBTypeFormatOpaque;
pub enum SBTypeMemberFunctionOpaque { }
pub type SBTypeMemberFunctionRef = *mut SBTypeMemberFunctionOpaque;
pub enum SBTypeNameSpecifierOpaque { }
pub type SBTypeNameSpecifierRef = *mut SBTypeNameSpecifierOpaque;
pub enum SBTypeSummaryOpaque { }
pub type SBTypeSummaryRef = *mut SBTypeSummaryOpaque;
pub enum SBTypeSummaryOptionsOpaque { }
pub type SBTypeSummaryOptionsRef = *mut SBTypeSummaryOptionsOpaque;
pub enum SBInputReaderOpaque { }
pub type SBInputReaderRef = *mut SBInputReaderOpaque;
pub enum SBPlatformConnectOptionsOpaque { }
pub type SBPlatformConnectOptionsRef = *mut SBPlatformConnectOptionsOpaque;
pub enum SBPlatformShellCommandOpaque { }
pub type SBPlatformShellCommandRef = *mut SBPlatformShellCommandOpaque;
pub enum SBTypeSyntheticOpaque { }
pub type SBTypeSyntheticRef = *mut SBTypeSyntheticOpaque;
pub enum SBTypeListOpaque { }
pub type SBTypeListRef = *mut SBTypeListOpaque;
pub enum SBValueOpaque { }
pub type SBValueRef = *mut SBValueOpaque;
pub enum SBValueListOpaque { }
pub type SBValueListRef = *mut SBValueListOpaque;
pub enum SBVariablesOptionsOpaque { }
pub type SBVariablesOptionsRef = *mut SBVariablesOptionsOpaque;
pub enum SBWatchpointOpaque { }
pub type SBWatchpointRef = *mut SBWatchpointOpaque;
pub enum SBUnixSignalsOpaque { }
pub type SBUnixSignalsRef = *mut SBUnixSignalsOpaque;
#[derive(Copy, Clone, Debug, PartialEq, PartialOrd)]
#[repr(u32)]
pub enum StateType {
Invalid = 0,
Unloaded = 1,
Connected = 2,
Attaching = 3,
Launching = 4,
Stopped = 5,
Running = 6,
Stepping = 7,
Crashed = 8,
Detached = 9,
Exited = 10,
Suspended = 11,
}
bitflags! {
#[repr(C)]
pub struct LaunchFlags: u32 {
const EXEC = 0b0000001;
const DEBUG = 0b0000010;
const STOP_AT_ENTRY = 0b0000100;
const DISABLE_ASLR = 8;
const DISABLE_STDIO = 16;
const LAUNCH_IN_TTY = 32;
const LAUNCH_IN_SHELL = 64;
const LAUNCH_IN_SEPARATE_PROCESS_GROUP = 128;
const DONT_SET_EXIT_STATUS = 256;
const DETACH_ON_ERRROR = 512;
const SHELL_EXPAND_ARGUMENTS = 1024;
const CLOSE_TTY_ON_EXIT = 2048;
}
}
#[derive(Copy, Clone, Debug, PartialEq, PartialOrd)]
#[repr(u32)]
pub enum RunMode {
OnlyThisThread = 0,
AllThreads = 1,
OnlyDuringStepping = 2,
}
#[derive(Copy, Clone, Debug, PartialEq, PartialOrd)]
#[repr(u32)]
pub enum ByteOrder {
Invalid = 0,
Big = 1,
PDP = 2,
Little = 4,
}
#[derive(Copy, Clone, Debug, PartialEq, PartialOrd)]
#[repr(u32)]
pub enum Encoding {
Invalid = 0,
Uint = 1,
Sint = 2,
IEEE754 = 3,
Vector = 4,
}
#[derive(Copy, Clone, Debug, PartialEq, PartialOrd)]
#[repr(u32)]
pub enum Format {
Default = 0,
Boolean = 1,
Binary = 2,
Bytes = 3,
BytesWithASCII = 4,
Char = 5,
CharPrintable = 6,
Complex = 7,
CString = 8,
Decimal = 9,
Enum = 10,
Hex = 11,
HexUppercase = 12,
Float = 13,
Octal = 14,
OSType = 15,
Unicode16 = 16,
Unicode32 = 17,
Unsigned = 18,
Pointer = 19,
VectorOfChar = 20,
VectorOfSInt8 = 21,
VectorOfUInt8 = 22,
VectorOfSInt16 = 23,
VectorOfUInt16 = 24,
VectorOfSInt32 = 25,
VectorOfUInt32 = 26,
VectorOfSInt64 = 27,
VectorOfUInt64 = 28,
VectorOfFloat16 = 29,
VectorOfFloat32 = 30,
VectorOfFloat64 = 31,
VectorOfUInt128 = 32,
ComplexInteger = 33,
CharArray = 34,
AddressInfo = 35,
HexFloat = 36,
Instruction = 37,
Void = 38,
kNumFormats = 39,
}
#[derive(Copy, Clone, Debug, PartialEq, PartialOrd)]
#[repr(u32)]
pub enum DescriptionLevel {
Brief = 0,
Full = 1,
Verbose = 2,
Initial = 3,
kNumDescriptionLevels = 4,
}
#[derive(Copy, Clone, Debug, PartialEq, PartialOrd)]
#[repr(u32)]
pub enum ScriptLanguage {
None = 0,
Python = 1,
}
#[derive(Copy, Clone, Debug, PartialEq, PartialOrd)]
#[repr(u32)]
pub enum RegisterKind {
EHFrame = 0,
DWARF = 1,
Generic = 2,
ProcessPlugin = 3,
LLDB = 4,
kNumRegisterKinds = 5,
}
#[derive(Copy, Clone, Debug, PartialEq, PartialOrd)]
#[repr(u32)]
pub enum StopReason {
Invalid = 0,
None = 1,
Trace = 2,
Breakpoint = 3,
Watchpoint = 4,
Signal = 5,
Exception = 6,
Exec = 7,
PlanComplete = 8,
ThreadExiting = 9,
Instrumentation = 10,
}
#[derive(Copy, Clone, Debug, PartialEq, PartialOrd)]
#[repr(u32)]
pub enum ReturnStatus {
Invalid = 0,
SuccessFinishNoResult = 1,
SuccessFinishResult = 2,
SuccessContinuingNoResult = 3,
SuccessContinuingResult = 4,
Started = 5,
Failed = 6,
Quit = 7,
}
#[derive(Copy, Clone, Debug, PartialEq, PartialOrd)]
#[repr(u32)]
pub enum ExpressionResults {
Completed = 0,
SetupError = 1,
ParseError = 2,
Discarded = 3,
Interrupted = 4,
HitBreakpoint = 5,
TimedOut = 6,
ResultUnavailable = 7,
StoppedForDebug = 8,
}
#[derive(Copy, Clone, Debug, PartialEq, PartialOrd)]
#[repr(u32)]
pub enum ConnectionStatus {
ConnectionStatusSuccess = 0,
ConnectionStatusEndOfFile = 1,
ConnectionStatusError = 2,
ConnectionStatusTimedOut = 3,
ConnectionStatusNoConnection = 4,
ConnectionStatusLostConnection = 5,
ConnectionStatusInterrupted = 6,
}
#[derive(Copy, Clone, Debug, PartialEq, PartialOrd)]
#[repr(u32)]
pub enum ErrorType {
Invalid = 0,
Generic = 1,
MachKernel = 2,
POSIX = 3,
Expression = 4,
Win32 = 5,
}
#[derive(Copy, Clone, Debug, PartialEq, PartialOrd)]
#[repr(u32)]
pub enum ValueType {
Invalid = 0,
VariableGlobal = 1,
VariableStatic = 2,
VariableArgument = 3,
VariableLocal = 4,
Register = 5,
RegisterSet = 6,
ConstResult = 7,
}
#[derive(Copy, Clone, Debug, PartialEq, PartialOrd)]
#[repr(u32)]
pub enum InputReaderGranularity {
Invalid = 0,
Byte = 1,
Word = 2,
Line = 3,
All = 4,
}
bitflags! {
#[repr(C)]
pub struct SymbolContextItem: u32 {
const TARGET = 1;
const MODULE = 2;
const COMPUNIT = 4;
const FUNCTION = 8;
const BLOCK = 16;
const LINE_ENTRY = 32;
const SYMBOL = 64;
const EVERYTHING
= Self::TARGET.bits |
Self::MODULE.bits |
Self::COMPUNIT.bits |
Self::FUNCTION.bits |
Self::BLOCK.bits |
Self::LINE_ENTRY.bits |
Self::SYMBOL.bits;
const VARIABLE = 128;
}
}
bitflags! {
#[repr(C)]
pub struct Permissions: u32 {
const WRITABLE = 1;
const READABLE = 2;
const EXECUTABLE = 4;
}
}
#[derive(Copy, Clone, Debug, PartialEq, PartialOrd)]
#[repr(u32)]
pub enum InputReaderAction {
Activate = 0,
AsynchronousOutputWritten = 1,
Reactivate = 2,
Deactivate = 3,
GotToken = 4,
Interrupt = 5,
EndOfFile = 6,
Done = 7,
}
#[derive(Copy, Clone, Debug, PartialEq, PartialOrd)]
#[repr(u32)]
pub enum BreakpointEventType {
InvalidType = 1,
Added = 2,
Removed = 4,
LocationsAdded = 8,
LocationsRemoved = 16,
LocationsResolved = 32,
Enabled = 64,
Disabled = 128,
CommandChanged = 256,
ConditionChanged = 512,
IgnoreChanged = 1024,
ThreadChanged = 2048,
}
#[derive(Copy, Clone, Debug, PartialEq, PartialOrd)]
#[repr(u32)]
pub enum WatchpointEventType {
InvalidType = 1,
Added = 2,
Removed = 4,
Enabled = 64,
Disabled = 128,
CommandChanged = 256,
ConditionChanged = 512,
IgnoreChanged = 1024,
ThreadChanged = 2048,
TypeChanged = 4096,
}
#[derive(Copy, Clone, Debug, PartialEq, PartialOrd)]
#[repr(u32)]
pub enum LanguageType {
Unknown = 0,
C89 = 1,
C = 2,
Ada83 = 3,
C_plus_plus = 4,
Cobol74 = 5,
Cobol85 = 6,
Fortran77 = 7,
Fortran90 = 8,
Pascal83 = 9,
Modula2 = 10,
Java = 11,
C99 = 12,
Ada95 = 13,
Fortran95 = 14,
PLI = 15,
ObjC = 16,
ObjC_plus_plus = 17,
UPC = 18,
D = 19,
Python = 20,
OpenCL = 21,
Go = 22,
Modula3 = 23,
Haskell = 24,
C_plus_plus_03 = 25,
C_plus_plus_11 = 26,
OCaml = 27,
Rust = 28,
C11 = 29,
Swift = 30,
Julia = 31,
Dylan = 32,
C_plus_plus_14 = 33,
Fortran03 = 34,
Fortran08 = 35,
MipsAssembler = 36,
ExtRenderScript = 37,
NumLanguageTypes = 38,
}
#[derive(Copy, Clone, Debug, PartialEq, PartialOrd)]
#[repr(u32)]
pub enum InstrumentationRuntimeType {
AddressSanitizer = 0,
ThreadSanitizer = 1,
NumInstrumentationRuntimeTypes = 2,
}
#[derive(Copy, Clone, Debug, PartialEq, PartialOrd)]
#[repr(u32)]
pub enum DynamicValueType {
NoDynamicValues = 0,
DynamicCanRunTarget = 1,
DynamicDontRunTarget = 2,
}
#[derive(Copy, Clone, Debug, PartialEq, PartialOrd)]
#[repr(u32)]
pub enum AccessType {
None = 0,
Public = 1,
Private = 2,
Protected = 3,
Package = 4,
}
#[derive(Copy, Clone, Debug, PartialEq, PartialOrd)]
#[repr(u32)]
pub enum CommandArgumentType {
Address = 0,
AddressOrExpression = 1,
AliasName = 2,
AliasOptions = 3,
Architecture = 4,
Boolean = 5,
BreakpointID = 6,
BreakpointIDRange = 7,
BreakpointName = 8,
ByteSize = 9,
ClassName = 10,
CommandName = 11,
Count = 12,
DescriptionVerbosity = 13,
DirectoryName = 14,
DisassemblyFlavor = 15,
EndAddress = 16,
Expression = 17,
ExpressionPath = 18,
ExprFormat = 19,
Filename = 20,
Format = 21,
FrameIndex = 22,
FullName = 23,
FunctionName = 24,
FunctionOrSymbol = 25,
GDBFormat = 26,
HelpText = 27,
Index = 28,
Language = 29,
LineNum = 30,
LogCategory = 31,
LogChannel = 32,
Method = 33,
Name = 34,
NewPathPrefix = 35,
NumLines = 36,
NumberPerLine = 37,
Offset = 38,
OldPathPrefix = 39,
OneLiner = 40,
Path = 41,
PermissionsNumber = 42,
PermissionsString = 43,
Pid = 44,
Plugin = 45,
ProcessName = 46,
PythonClass = 47,
PythonFunction = 48,
PythonScript = 49,
QueueName = 50,
RegisterName = 51,
RegularExpression = 52,
RunArgs = 53,
RunMode = 54,
ScriptedCommandSynchronicity = 55,
ScriptLang = 56,
SearchWord = 57,
Selector = 58,
SettingIndex = 59,
SettingKey = 60,
SettingPrefix = 61,
SettingVariableName = 62,
ShlibName = 63,
SourceFile = 64,
SortOrder = 65,
StartAddress = 66,
SummaryString = 67,
Symbol = 68,
ThreadID = 69,
ThreadIndex = 70,
ThreadName = 71,
TypeName = 72,
UnsignedInteger = 73,
UnixSignal = 74,
VarName = 75,
Value = 76,
Width = 77,
None = 78,
Platform = 79,
WatchpointID = 80,
WatchpointIDRange = 81,
WatchType = 82,
LastArg = 83,
}
#[derive(Copy, Clone, Debug, PartialEq, PartialOrd)]
#[repr(u32)]
pub enum SymbolType {
Any = 0,
Absolute = 1,
Code = 2,
Resolver = 3,
Data = 4,
Trampoline = 5,
Runtime = 6,
Exception = 7,
SourceFile = 8,
HeaderFile = 9,
ObjectFile = 10,
CommonBlock = 11,
Block = 12,
Local = 13,
Param = 14,
Variable = 15,
VariableType = 16,
LineEntry = 17,
LineHeader = 18,
ScopeBegin = 19,
ScopeEnd = 20,
Additional = 21,
Compiler = 22,
Instrumentation = 23,
Undefined = 24,
ObjCClass = 25,
ObjCMetaClass = 26,
ObjCIVar = 27,
ReExported = 28,
}
#[derive(Copy, Clone, Debug, PartialEq, PartialOrd)]
#[repr(u32)]
pub enum SectionType {
Invalid = 0,
Code = 1,
Container = 2,
Data = 3,
DataCString = 4,
DataCStringPointers = 5,
DataSymbolAddress = 6,
Data4 = 7,
Data8 = 8,
Data16 = 9,
DataPointers = 10,
Debug = 11,
ZeroFill = 12,
DataObjCMessageRefs = 13,
DataObjCCFStrings = 14,
DWARFDebugAbbrev = 15,
DWARFDebugAddr = 16,
DWARFDebugAranges = 17,
DWARFDebugFrame = 18,
DWARFDebugInfo = 19,
DWARFDebugLine = 20,
DWARFDebugLoc = 21,
DWARFDebugMacInfo = 22,
DWARFDebugMacro = 23,
DWARFDebugPubNames = 24,
DWARFDebugPubTypes = 25,
DWARFDebugRanges = 26,
DWARFDebugStr = 27,
DWARFDebugStrOffsets = 28,
DWARFAppleNames = 29,
DWARFAppleTypes = 30,
DWARFAppleNamespaces = 31,
DWARFAppleObjC = 32,
ELFSymbolTable = 33,
ELFDynamicSymbols = 34,
ELFRelocationEntries = 35,
ELFDynamicLinkInfo = 36,
EHFrame = 37,
ARMexidx = 38,
ARMextab = 39,
CompactUnwind = 40,
GoSymtab = 41,
AbsoluteAddress = 42,
Other = 43,
}
#[derive(Copy, Clone, Debug, PartialEq, PartialOrd)]
#[repr(u32)]
pub enum EmulateInstructionOptions {
None = 0,
AutoAdvancePC = 1,
IgnoreConditions = 2,
}
#[derive(Copy, Clone, Debug, PartialEq, PartialOrd)]
#[repr(u32)]
pub enum FunctionNameType {
None = 0,
Auto = 2,
Full = 4,
Base = 8,
Method = 16,
Selector = 32,
}
#[derive(Copy, Clone, Debug, PartialEq, PartialOrd)]
#[repr(u32)]
pub enum BasicType {
Invalid = 0,
Void = 1,
Char = 2,
SignedChar = 3,
UnsignedChar = 4,
WChar = 5,
SignedWChar = 6,
UnsignedWChar = 7,
Char16 = 8,
Char32 = 9,
Short = 10,
UnsignedShort = 11,
Int = 12,
UnsignedInt = 13,
Long = 14,
UnsignedLong = 15,
LongLong = 16,
UnsignedLongLong = 17,
Int128 = 18,
UnsignedInt128 = 19,
Bool = 20,
Half = 21,
Float = 22,
Double = 23,
LongDouble = 24,
FloatComplex = 25,
DoubleComplex = 26,
LongDoubleComplex = 27,
ObjCID = 28,
ObjCClass = 29,
ObjCSel = 30,
NullPtr = 31,
Other = 32,
}
#[derive(Copy, Clone, Debug, PartialEq, PartialOrd)]
#[repr(i32)]
pub enum StructuredDataType {
Invalid = -1,
Null = 0,
Generic,
Array,
Integer,
Float,
Boolean,
String,
Dictionary,
}
bitflags! {
#[repr(C)]
pub struct TypeClass: u32 {
const INVALID = 0;
const ARRAY = 1;
const BLOCKPOINTER = 2;
const BUILTIN = 4;
const CLASS = 8;
const COMPLEX_FLOAT = 16;
const COMPLEX_INTEGER = 32;
const ENUMERATION = 64;
const FUNCTION = 128;
const MEMBER_POINTER = 256;
const OBJC_OBJECT = 512;
const OBJC_INTERFACE = 1024;
const OBJC_OBJECT_POINTER = 2048;
const POINTER = 4096;
const REFERENCE = 8192;
const STRUCT = 16384;
const TYPEDEF = 32768;
const UNION = 65536;
const VECTOR = 131072;
const OTHER = 2147483648;
const ANY = 4294967295;
}
}
#[derive(Copy, Clone, Debug, PartialEq, PartialOrd)]
#[repr(u32)]
pub enum TemplateArgumentKind {
Null = 0,
Type = 1,
Declaration = 2,
Integral = 3,
Template = 4,
TemplateExpansion = 5,
Expression = 6,
Pack = 7,
}
#[derive(Copy, Clone, Debug, PartialEq, PartialOrd)]
#[repr(u32)]
pub enum TypeOptions {
None = 0,
Cascade = 1,
SkipPointers = 2,
SkipReferences = 4,
HideChildren = 8,
HideValue = 16,
ShowOneLiner = 32,
HideNames = 64,
NonCacheable = 128,
HideEmptyAggregates = 256,
}
#[derive(Copy, Clone, Debug, PartialEq, PartialOrd)]
#[repr(u32)]
pub enum FrameComparison {
Invalid = 0,
Unknown = 1,
Equal = 2,
SameParent = 3,
Younger = 4,
Older = 5,
}
#[derive(Copy, Clone, Debug, PartialEq, PartialOrd)]
#[repr(u32)]
pub enum AddressClass {
Invalid = 0,
Unknown = 1,
Code = 2,
CodeAlternateISA = 3,
Data = 4,
Debug = 5,
Runtime = 6,
}
bitflags! {
#[repr(C)]
pub struct FilePermissions: u32 {
const WORLD_EXECUTE = 1;
const WORLD_WRITE = 2;
const WORLD_READ = 4;
const GROUP_EXECUTE = 8;
const GROUP_WRITE = 16;
const GROUP_READ = 32;
const USER_EXECUTE = 64;
const USER_WRITE = 128;
const USER_READ = 256;
const WORLD_RX
= Self::WORLD_READ.bits |
Self::WORLD_EXECUTE.bits;
const WORLD_RW
= Self::WORLD_READ.bits |
Self::WORLD_WRITE.bits;
const WORLD_RWX
= Self::WORLD_READ.bits |
Self::WORLD_WRITE.bits |
Self::WORLD_EXECUTE.bits;
const GROUP_RX
= Self::GROUP_READ.bits |
Self::GROUP_EXECUTE.bits;
const GROUP_RW
= Self::GROUP_READ.bits |
Self::GROUP_WRITE.bits;
const GROUP_RWX
= Self::GROUP_READ.bits |
Self::GROUP_WRITE.bits |
Self::GROUP_EXECUTE.bits;
const USER_RX
= Self::USER_READ.bits |
Self::USER_EXECUTE.bits;
const USER_RW
= Self::USER_READ.bits |
Self::USER_WRITE.bits;
const USER_RWX
= Self::USER_READ.bits |
Self::USER_WRITE.bits |
Self::USER_EXECUTE.bits;
const EVERYONE_R
= Self::WORLD_READ.bits |
Self::GROUP_READ.bits |
Self::USER_READ.bits;
const EVERYONE_W
= Self::WORLD_WRITE.bits |
Self::GROUP_WRITE.bits |
Self::USER_WRITE.bits;
const EVERYONE_X
= Self::WORLD_EXECUTE.bits |
Self::GROUP_EXECUTE.bits |
Self::USER_EXECUTE.bits;
const EVERYONE_RW
= Self::EVERYONE_R.bits |
Self::EVERYONE_W.bits;
const EVERYONE_RX
= Self::EVERYONE_R.bits |
Self::EVERYONE_X.bits;
const EVERYONE_RWX
= Self::EVERYONE_R.bits |
Self::EVERYONE_W.bits |
Self::EVERYONE_X.bits;
const FILE_DEFAULT
= Self::USER_RW.bits;
const DIRECTORY_DEFAULT
= Self::USER_RWX.bits;
}
}
#[derive(Copy, Clone, Debug, PartialEq, PartialOrd)]
#[repr(u32)]
pub enum QueueItemKind {
Unknown = 0,
Function = 1,
Block = 2,
}
#[derive(Copy, Clone, Debug, PartialEq, PartialOrd)]
#[repr(u32)]
pub enum QueueKind {
Unknown = 0,
Serial = 1,
Concurrent = 2,
}
#[derive(Copy, Clone, Debug, PartialEq, PartialOrd)]
#[repr(u32)]
pub enum ExpressionEvaluationPhase {
EvaluationParse = 0,
EvaluationIRGen = 1,
EvaluationExecution = 2,
EvaluationComplete = 3,
}
#[derive(Copy, Clone, Debug, PartialEq, PartialOrd)]
#[repr(u32)]
pub enum WatchpointKind {
eWatchpointKindRead = 1,
eWatchpointKindWrite = 2,
}
#[derive(Copy, Clone, Debug, PartialEq, PartialOrd)]
#[repr(u32)]
pub enum GdbSignal {
BadAccess = 145,
BadInstruction = 146,
Arithmetic = 147,
Emulation = 148,
Software = 149,
Breakpoint = 150,
}
#[derive(Copy, Clone, Debug, PartialEq, PartialOrd)]
#[repr(u32)]
pub enum PathType {
LLDBShlibDir = 0,
SupportExecutableDir = 1,
HeaderDir = 2,
PythonDir = 3,
LLDBSystemPlugins = 4,
LLDBUserPlugins = 5,
LLDBTempSystemDir = 6,
GlobalLLDBTempSystemDir = 7,
ClangDir = 8,
}
#[derive(Copy, Clone, Debug, PartialEq, PartialOrd)]
#[repr(u32)]
pub enum MemberFunctionKind {
Unknown = 0,
Constructor = 1,
Destructor = 2,
InstanceMethod = 3,
StaticMethod = 4,
}
#[derive(Copy, Clone, Debug, PartialEq, PartialOrd)]
#[repr(u32)]
pub enum MatchType {
Normal = 0,
Regex = 1,
StartsWith = 2,
}
#[derive(Copy, Clone, Debug, PartialEq, PartialOrd)]
#[repr(u32)]
pub enum TypeFlags {
HasChildren = 1,
HasValue = 2,
IsArray = 4,
IsBlock = 8,
IsBuiltIn = 16,
IsClass = 32,
IsCPlusPlus = 64,
IsEnumeration = 128,
IsFuncPrototype = 256,
IsMember = 512,
IsObjC = 1024,
IsPointer = 2048,
IsReference = 4096,
IsStructUnion = 8192,
IsTemplate = 16384,
IsTypedef = 32768,
IsVector = 65536,
IsScalar = 131072,
IsInteger = 262144,
IsFloat = 524288,
IsComplex = 1048576,
IsSigned = 2097152,
InstanceIsPointer = 4194304,
}
#[derive(Copy, Clone, Debug, PartialEq, PartialOrd)]
#[repr(u32)]
pub enum CommandFlags {
RequiresTarget = 1,
RequiresProcess = 2,
RequiresThread = 4,
RequiresFrame = 8,
RequiresRegContext = 16,
TryTargetAPILock = 32,
ProcessMustBeLaunched = 64,
ProcessMustBePaused = 128,
}
#[derive(Copy, Clone, Debug, PartialEq, PartialOrd)]
#[repr(u32)]
pub enum TypeSummaryCapping {
SummaryCapped = 1,
SummaryUncapped = 0,
}
pub type ReadThreadBytesReceived =
::std::option::Option<
unsafe extern "C" fn(baton: *mut ::std::os::raw::c_void,
src: *const ::std::os::raw::c_void,
src_len: size_t),
>;
extern "C" {
pub fn CreateSBAddress() -> SBAddressRef;
pub fn CreateSBAddress2(section: SBSectionRef, offset: lldb_addr_t) -> SBAddressRef;
pub fn CreateSBAddress3(load_addr: lldb_addr_t, target: SBTargetRef) -> SBAddressRef;
pub fn DisposeSBAddress(instance: SBAddressRef);
pub fn SBAddressIsValid(instance: SBAddressRef) -> u8;
pub fn SBAddressClear(instance: SBAddressRef);
pub fn SBAddressGetFileAddress(instance: SBAddressRef) -> ::std::os::raw::c_ulonglong;
pub fn SBAddressGetLoadAddress(
instance: SBAddressRef,
target: SBTargetRef,
) -> ::std::os::raw::c_ulonglong;
pub fn SBAddressSetAddress(instance: SBAddressRef, section: SBSectionRef, offset: lldb_addr_t);
pub fn SBAddressSetLoadAddress(
instance: SBAddressRef,
load_addr: lldb_addr_t,
target: SBTargetRef,
);
pub fn SBAddressOffsetAddress(instance: SBAddressRef, offset: lldb_addr_t) -> u8;
pub fn SBAddressGetDescription(instance: SBAddressRef, description: SBStreamRef) -> u8;
pub fn SBAddressGetSymbolContext(
instance: SBAddressRef,
resolve_scope: uint32_t,
) -> SBSymbolContextRef;
pub fn SBAddressGetSection(instance: SBAddressRef) -> SBSectionRef;
pub fn SBAddressGetOffset(instance: SBAddressRef) -> ::std::os::raw::c_ulonglong;
pub fn SBAddressGetModule(instance: SBAddressRef) -> SBModuleRef;
pub fn SBAddressGetCompileUnit(instance: SBAddressRef) -> SBCompileUnitRef;
pub fn SBAddressGetFunction(instance: SBAddressRef) -> SBFunctionRef;
pub fn SBAddressGetBlock(instance: SBAddressRef) -> SBBlockRef;
pub fn SBAddressGetSymbol(instance: SBAddressRef) -> SBSymbolRef;
pub fn SBAddressGetLineEntry(instance: SBAddressRef) -> SBLineEntryRef;
pub fn SBAddressGetAddressClass(instance: SBAddressRef) -> AddressClass;
pub fn CreateSBAttachInfo() -> SBAttachInfoRef;
pub fn CreateSBAttachInfo2(pid: lldb_pid_t) -> SBAttachInfoRef;
pub fn CreateSBAttachInfo3(
path: *const ::std::os::raw::c_char,
wait_for: u8,
) -> SBAttachInfoRef;
pub fn CreateSBAttachInfo4(
path: *const ::std::os::raw::c_char,
wait_for: u8,
async: u8,
) -> SBAttachInfoRef;
pub fn DisposeSBAttachInfo(instance: SBAttachInfoRef);
pub fn SBAttachInfoGetProcessID(instance: SBAttachInfoRef) -> ::std::os::raw::c_ulonglong;
pub fn SBAttachInfoSetProcessID(instance: SBAttachInfoRef, pid: lldb_pid_t);
pub fn SBAttachInfoSetExecutable(
instance: SBAttachInfoRef,
path: *const ::std::os::raw::c_char,
);
pub fn SBAttachInfoSetExecutable2(instance: SBAttachInfoRef, exe_file: SBFileSpecRef);
pub fn SBAttachInfoGetWaitForLaunch(instance: SBAttachInfoRef) -> u8;
pub fn SBAttachInfoSetWaitForLaunch(instance: SBAttachInfoRef, b: u8);
pub fn SBAttachInfoSetWaitForLaunch2(instance: SBAttachInfoRef, b: u8, async: u8);
pub fn SBAttachInfoGetIgnoreExisting(instance: SBAttachInfoRef) -> u8;
pub fn SBAttachInfoSetIgnoreExisting(instance: SBAttachInfoRef, b: u8);
pub fn SBAttachInfoGetResumeCount(instance: SBAttachInfoRef) -> ::std::os::raw::c_uint;
pub fn SBAttachInfoSetResumeCount(instance: SBAttachInfoRef, c: uint32_t);
pub fn SBAttachInfoGetProcessPluginName(
instance: SBAttachInfoRef,
) -> *const ::std::os::raw::c_char;
pub fn SBAttachInfoSetProcessPluginName(
instance: SBAttachInfoRef,
plugin_name: *const ::std::os::raw::c_char,
);
pub fn SBAttachInfoGetUserID(instance: SBAttachInfoRef) -> ::std::os::raw::c_uint;
pub fn SBAttachInfoGetGroupID(instance: SBAttachInfoRef) -> ::std::os::raw::c_uint;
pub fn SBAttachInfoUserIDIsValid(instance: SBAttachInfoRef) -> u8;
pub fn SBAttachInfoGroupIDIsValid(instance: SBAttachInfoRef) -> u8;
pub fn SBAttachInfoSetUserID(instance: SBAttachInfoRef, uid: uint32_t);
pub fn SBAttachInfoSetGroupID(instance: SBAttachInfoRef, gid: uint32_t);
pub fn SBAttachInfoGetEffectiveUserID(instance: SBAttachInfoRef) -> ::std::os::raw::c_uint;
pub fn SBAttachInfoGetEffectiveGroupID(instance: SBAttachInfoRef) -> ::std::os::raw::c_uint;
pub fn SBAttachInfoEffectiveUserIDIsValid(instance: SBAttachInfoRef) -> u8;
pub fn SBAttachInfoEffectiveGroupIDIsValid(instance: SBAttachInfoRef) -> u8;
pub fn SBAttachInfoSetEffectiveUserID(instance: SBAttachInfoRef, uid: uint32_t);
pub fn SBAttachInfoSetEffectiveGroupID(instance: SBAttachInfoRef, gid: uint32_t);
pub fn SBAttachInfoGetParentProcessID(instance: SBAttachInfoRef)
-> ::std::os::raw::c_ulonglong;
pub fn SBAttachInfoSetParentProcessID(instance: SBAttachInfoRef, pid: lldb_pid_t);
pub fn SBAttachInfoParentProcessIDIsValid(instance: SBAttachInfoRef) -> u8;
pub fn SBAttachInfoGetListener(instance: SBAttachInfoRef) -> SBListenerRef;
pub fn SBAttachInfoSetListener(instance: SBAttachInfoRef, listener: SBListenerRef);
pub fn CreateSBBlock() -> SBBlockRef;
pub fn DisposeSBBlock(instance: SBBlockRef);
pub fn SBBlockIsInlined(instance: SBBlockRef) -> u8;
pub fn SBBlockIsValid(instance: SBBlockRef) -> u8;
pub fn SBBlockGetInlinedName(instance: SBBlockRef) -> *const ::std::os::raw::c_char;
pub fn SBBlockGetInlinedCallSiteFile(instance: SBBlockRef) -> SBFileSpecRef;
pub fn SBBlockGetInlinedCallSiteLine(instance: SBBlockRef) -> ::std::os::raw::c_uint;
pub fn SBBlockGetInlinedCallSiteColumn(instance: SBBlockRef) -> ::std::os::raw::c_uint;
pub fn SBBlockGetParent(instance: SBBlockRef) -> SBBlockRef;
pub fn SBBlockGetSibling(instance: SBBlockRef) -> SBBlockRef;
pub fn SBBlockGetFirstChild(instance: SBBlockRef) -> SBBlockRef;
pub fn SBBlockGetNumRanges(instance: SBBlockRef) -> ::std::os::raw::c_uint;
pub fn SBBlockGetRangeStartAddress(instance: SBBlockRef, idx: uint32_t) -> SBAddressRef;
pub fn SBBlockGetRangeEndAddress(instance: SBBlockRef, idx: uint32_t) -> SBAddressRef;
pub fn SBBlockGetRangeIndexForBlockAddress(
instance: SBBlockRef,
block_addr: SBAddressRef,
) -> ::std::os::raw::c_uint;
pub fn SBBlockGetVariables(
instance: SBBlockRef,
frame: SBFrameRef,
arguments: u8,
locals: u8,
statics: u8,
use_dynamic: DynamicValueType,
) -> SBValueListRef;
pub fn SBBlockGetVariables2(
instance: SBBlockRef,
target: SBTargetRef,
arguments: u8,
locals: u8,
statics: u8,
) -> SBValueListRef;
pub fn SBBlockGetContainingInlinedBlock(instance: SBBlockRef) -> SBBlockRef;
pub fn SBBlockGetDescription(instance: SBBlockRef, description: SBStreamRef) -> u8;
pub fn CreateSBBreakpoint() -> SBBreakpointRef;
pub fn DisposeSBBreakpoint(instance: SBBreakpointRef);
pub fn SBBreakpointGetID(instance: SBBreakpointRef) -> ::std::os::raw::c_int;
pub fn SBBreakpointIsValid(instance: SBBreakpointRef) -> u8;
pub fn SBBreakpointClearAllBreakpointSites(instance: SBBreakpointRef);
pub fn SBBreakpointFindLocationByAddress(
instance: SBBreakpointRef,
vm_addr: lldb_addr_t,
) -> SBBreakpointLocationRef;
pub fn SBBreakpointFindLocationIDByAddress(
instance: SBBreakpointRef,
vm_addr: lldb_addr_t,
) -> ::std::os::raw::c_int;
pub fn SBBreakpointFindLocationByID(
instance: SBBreakpointRef,
bp_loc_id: ::std::os::raw::c_int,
) -> SBBreakpointLocationRef;
pub fn SBBreakpointGetLocationAtIndex(
instance: SBBreakpointRef,
index: uint32_t,
) -> SBBreakpointLocationRef;
pub fn SBBreakpointSetEnabled(instance: SBBreakpointRef, enable: u8);
pub fn SBBreakpointIsEnabled(instance: SBBreakpointRef) -> u8;
pub fn SBBreakpointSetOneShot(instance: SBBreakpointRef, one_shot: u8);
pub fn SBBreakpointIsOneShot(instance: SBBreakpointRef) -> u8;
pub fn SBBreakpointIsInternal(instance: SBBreakpointRef) -> u8;
pub fn SBBreakpointGetHitCount(instance: SBBreakpointRef) -> ::std::os::raw::c_uint;
pub fn SBBreakpointSetIgnoreCount(instance: SBBreakpointRef, count: uint32_t);
pub fn SBBreakpointGetIgnoreCount(instance: SBBreakpointRef) -> ::std::os::raw::c_uint;
pub fn SBBreakpointSetCondition(
instance: SBBreakpointRef,
condition: *const ::std::os::raw::c_char,
);
pub fn SBBreakpointGetCondition(instance: SBBreakpointRef) -> *const ::std::os::raw::c_char;
pub fn SBBreakpointSetThreadID(instance: SBBreakpointRef, sb_thread_id: lldb_tid_t);
pub fn SBBreakpointGetThreadID(instance: SBBreakpointRef) -> ::std::os::raw::c_ulonglong;
pub fn SBBreakpointSetThreadIndex(instance: SBBreakpointRef, index: uint32_t);
pub fn SBBreakpointGetThreadIndex(instance: SBBreakpointRef) -> ::std::os::raw::c_uint;
pub fn SBBreakpointSetThreadName(
instance: SBBreakpointRef,
thread_name: *const ::std::os::raw::c_char,
);
pub fn SBBreakpointGetThreadName(instance: SBBreakpointRef) -> *const ::std::os::raw::c_char;
pub fn SBBreakpointSetQueueName(
instance: SBBreakpointRef,
queue_name: *const ::std::os::raw::c_char,
);
pub fn SBBreakpointGetQueueName(instance: SBBreakpointRef) -> *const ::std::os::raw::c_char;
pub fn SBBreakpointSetScriptCallbackFunction(
instance: SBBreakpointRef,
callback_function_name: *const ::std::os::raw::c_char,
);
pub fn SBBreakpointSetCommandLineCommands(instance: SBBreakpointRef, commands: SBStringListRef);
pub fn SBBreakpointGetCommandLineCommands(
instance: SBBreakpointRef,
commands: SBStringListRef,
) -> u8;
pub fn SBBreakpointSetScriptCallbackBody(
instance: SBBreakpointRef,
script_body_text: *const ::std::os::raw::c_char,
) -> SBErrorRef;
pub fn SBBreakpointAddName(
instance: SBBreakpointRef,
new_name: *const ::std::os::raw::c_char,
) -> u8;
pub fn SBBreakpointRemoveName(
instance: SBBreakpointRef,
name_to_remove: *const ::std::os::raw::c_char,
);
pub fn SBBreakpointMatchesName(
instance: SBBreakpointRef,
name: *const ::std::os::raw::c_char,
) -> u8;
pub fn SBBreakpointGetNames(instance: SBBreakpointRef, names: SBStringListRef);
pub fn SBBreakpointGetNumResolvedLocations(instance: SBBreakpointRef)
-> ::std::os::raw::c_uint;
pub fn SBBreakpointGetNumLocations(instance: SBBreakpointRef) -> ::std::os::raw::c_uint;
pub fn SBBreakpointGetDescription(instance: SBBreakpointRef, description: SBStreamRef) -> u8;
pub fn SBBreakpointGetDescription2(
instance: SBBreakpointRef,
description: SBStreamRef,
include_locations: u8,
) -> u8;
pub fn SBBreakpointEventIsBreakpointEvent(event: SBEventRef) -> u8;
pub fn SBBreakpointGetBreakpointEventTypeFromEvent(event: SBEventRef) -> BreakpointEventType;
pub fn SBBreakpointGetBreakpointFromEvent(event: SBEventRef) -> SBBreakpointRef;
pub fn SBBreakpointGetBreakpointLocationAtIndexFromEvent(
event: SBEventRef,
loc_idx: uint32_t,
) -> SBBreakpointLocationRef;
pub fn SBBreakpointGetNumBreakpointLocationsFromEvent(
event_sp: SBEventRef,
) -> ::std::os::raw::c_uint;
pub fn CreateSBBreakpointList(target: SBTargetRef) -> SBBreakpointListRef;
pub fn DisposeSBBreakpointList(instance: SBBreakpointListRef);
pub fn SBBreakpointListGetSize(instance: SBBreakpointListRef) -> size_t;
pub fn SBBreakpointListGetBreakpointAtIndex(
instance: SBBreakpointListRef,
idx: size_t,
) -> SBBreakpointRef;
pub fn SBBreakpointListFindBreakpointByID(
instance: SBBreakpointListRef,
break_id: lldb_break_id_t,
) -> SBBreakpointRef;
pub fn SBBreakpointListAppend(instance: SBBreakpointListRef, sb_bkpt: SBBreakpointRef);
pub fn SBBreakpointListAppendIfUnique(
instance: SBBreakpointListRef,
sb_bkpt: SBBreakpointRef,
) -> u8;
pub fn SBBreakpointListAppendByID(instance: SBBreakpointListRef, id: lldb_break_id_t);
pub fn SBBreakpointListClear(instance: SBBreakpointListRef);
pub fn CreateSBBreakpointLocation() -> SBBreakpointLocationRef;
pub fn DisposeSBBreakpointLocation(instance: SBBreakpointLocationRef);
pub fn SBBreakpointLocationGetID(instance: SBBreakpointLocationRef) -> ::std::os::raw::c_int;
pub fn SBBreakpointLocationIsValid(instance: SBBreakpointLocationRef) -> u8;
pub fn SBBreakpointLocationGetAddress(instance: SBBreakpointLocationRef) -> SBAddressRef;
pub fn SBBreakpointLocationGetLoadAddress(
instance: SBBreakpointLocationRef,
) -> ::std::os::raw::c_ulonglong;
pub fn SBBreakpointLocationSetEnabled(instance: SBBreakpointLocationRef, enabled: u8);
pub fn SBBreakpointLocationIsEnabled(instance: SBBreakpointLocationRef) -> u8;
pub fn SBBreakpointLocationGetIgnoreCount(
instance: SBBreakpointLocationRef,
) -> ::std::os::raw::c_uint;
pub fn SBBreakpointLocationSetIgnoreCount(instance: SBBreakpointLocationRef, n: uint32_t);
pub fn SBBreakpointLocationSetCondition(
instance: SBBreakpointLocationRef,
condition: *const ::std::os::raw::c_char,
);
pub fn SBBreakpointLocationGetCondition(
instance: SBBreakpointLocationRef,
) -> *const ::std::os::raw::c_char;
pub fn SBBreakpointLocationSetScriptCallbackFunction(
instance: SBBreakpointLocationRef,
callback_function_name: *const ::std::os::raw::c_char,
);
pub fn SBBreakpointLocationSetScriptCallbackBody(
instance: SBBreakpointLocationRef,
script_body_text: *const ::std::os::raw::c_char,
) -> SBErrorRef;
pub fn SBBreakpointLocationSetThreadID(
instance: SBBreakpointLocationRef,
sb_thread_id: lldb_tid_t,
);
pub fn SBBreakpointLocationGetThreadID(
instance: SBBreakpointLocationRef,
) -> ::std::os::raw::c_ulonglong;
pub fn SBBreakpointLocationSetThreadIndex(instance: SBBreakpointLocationRef, index: uint32_t);
pub fn SBBreakpointLocationGetThreadIndex(
instance: SBBreakpointLocationRef,
) -> ::std::os::raw::c_uint;
pub fn SBBreakpointLocationSetThreadName(
instance: SBBreakpointLocationRef,
thread_name: *const ::std::os::raw::c_char,
);
pub fn SBBreakpointLocationGetThreadName(
instance: SBBreakpointLocationRef,
) -> *const ::std::os::raw::c_char;
pub fn SBBreakpointLocationSetQueueName(
instance: SBBreakpointLocationRef,
queue_name: *const ::std::os::raw::c_char,
);
pub fn SBBreakpointLocationGetQueueName(
instance: SBBreakpointLocationRef,
) -> *const ::std::os::raw::c_char;
pub fn SBBreakpointLocationIsResolved(instance: SBBreakpointLocationRef) -> u8;
pub fn SBBreakpointLocationGetDescription(
instance: SBBreakpointLocationRef,
description: SBStreamRef,
level: DescriptionLevel,
) -> u8;
pub fn SBBreakpointLocationGetBreakpoint(instance: SBBreakpointLocationRef) -> SBBreakpointRef;
pub fn CreateSBBroadcaster() -> SBBroadcasterRef;
pub fn CreateSBBroadcaster2(name: *const ::std::os::raw::c_char) -> SBBroadcasterRef;
pub fn DisposeSBBroadcaster(instance: SBBroadcasterRef);
pub fn SBBroadcasterIsValid(instance: SBBroadcasterRef) -> u8;
pub fn SBBroadcasterClear(instance: SBBroadcasterRef);
pub fn SBBroadcasterBroadcastEventByType(
instance: SBBroadcasterRef,
event_type: uint32_t,
unique: u8,
);
pub fn SBBroadcasterBroadcastEvent(instance: SBBroadcasterRef, event: SBEventRef, unique: u8);
pub fn SBBroadcasterAddInitialEventsToListener(
instance: SBBroadcasterRef,
listener: SBListenerRef,
requested_events: uint32_t,
);
pub fn SBBroadcasterAddListener(
instance: SBBroadcasterRef,
listener: SBListenerRef,
event_mask: uint32_t,
) -> ::std::os::raw::c_uint;
pub fn SBBroadcasterGetName(instance: SBBroadcasterRef) -> *const ::std::os::raw::c_char;
pub fn SBBroadcasterEventTypeHasListeners(
instance: SBBroadcasterRef,
event_type: uint32_t,
) -> u8;
pub fn SBBroadcasterRemoveListener(
instance: SBBroadcasterRef,
listener: SBListenerRef,
event_mask: uint32_t,
) -> u8;
pub fn CreateSBCommandInterpreterRunOptions() -> SBCommandInterpreterRunOptionsRef;
pub fn DisposeSBCommandInterpreterRunOptions(instance: SBCommandInterpreterRunOptionsRef);
pub fn SBCommandInterpreterRunOptionsGetStopOnContinue(
instance: SBCommandInterpreterRunOptionsRef,
) -> u8;
pub fn SBCommandInterpreterRunOptionsSetStopOnContinue(
instance: SBCommandInterpreterRunOptionsRef,
arg1: u8,
);
pub fn SBCommandInterpreterRunOptionsGetStopOnError(
instance: SBCommandInterpreterRunOptionsRef,
) -> u8;
pub fn SBCommandInterpreterRunOptionsSetStopOnError(
instance: SBCommandInterpreterRunOptionsRef,
arg1: u8,
);
pub fn SBCommandInterpreterRunOptionsGetStopOnCrash(
instance: SBCommandInterpreterRunOptionsRef,
) -> u8;
pub fn SBCommandInterpreterRunOptionsSetStopOnCrash(
instance: SBCommandInterpreterRunOptionsRef,
arg1: u8,
);
pub fn SBCommandInterpreterRunOptionsGetEchoCommands(
instance: SBCommandInterpreterRunOptionsRef,
) -> u8;
pub fn SBCommandInterpreterRunOptionsSetEchoCommands(
instance: SBCommandInterpreterRunOptionsRef,
arg1: u8,
);
pub fn SBCommandInterpreterRunOptionsGetPrintResults(
instance: SBCommandInterpreterRunOptionsRef,
) -> u8;
pub fn SBCommandInterpreterRunOptionsSetPrintResults(
instance: SBCommandInterpreterRunOptionsRef,
arg1: u8,
);
pub fn SBCommandInterpreterRunOptionsGetAddToHistory(
instance: SBCommandInterpreterRunOptionsRef,
) -> u8;
pub fn SBCommandInterpreterRunOptionsSetAddToHistory(
instance: SBCommandInterpreterRunOptionsRef,
arg1: u8,
);
pub fn CreateSBCommandInterpreterRunOptions2(
arg1: SBCommandInterpreterRunOptionsRef,
) -> SBCommandInterpreterRunOptionsRef;
pub fn DisposeSBCommandInterpreter(instance: SBCommandInterpreterRef);
pub fn SBCommandInterpreterGetArgumentTypeAsCString(
arg_type: CommandArgumentType,
) -> *const ::std::os::raw::c_char;
pub fn SBCommandInterpreterGetArgumentDescriptionAsCString(
arg_type: CommandArgumentType,
) -> *const ::std::os::raw::c_char;
pub fn SBCommandInterpreterEventIsCommandInterpreterEvent(event: SBEventRef) -> u8;
pub fn SBCommandInterpreterIsValid(instance: SBCommandInterpreterRef) -> u8;
pub fn SBCommandInterpreterCommandExists(
instance: SBCommandInterpreterRef,
cmd: *const ::std::os::raw::c_char,
) -> u8;
pub fn SBCommandInterpreterAliasExists(
instance: SBCommandInterpreterRef,
cmd: *const ::std::os::raw::c_char,
) -> u8;
pub fn SBCommandInterpreterGetBroadcaster(
instance: SBCommandInterpreterRef,
) -> SBBroadcasterRef;
pub fn SBCommandInterpreterGetBroadcasterClass() -> *const ::std::os::raw::c_char;
pub fn SBCommandInterpreterHasCommands(instance: SBCommandInterpreterRef) -> u8;
pub fn SBCommandInterpreterHasAliases(instance: SBCommandInterpreterRef) -> u8;
pub fn SBCommandInterpreterHasAliasOptions(instance: SBCommandInterpreterRef) -> u8;
pub fn SBCommandInterpreterGetProcess(instance: SBCommandInterpreterRef) -> SBProcessRef;
pub fn SBCommandInterpreterGetDebugger(instance: SBCommandInterpreterRef) -> SBDebuggerRef;
pub fn SBCommandInterpreterAddMultiwordCommand(
instance: SBCommandInterpreterRef,
name: *const ::std::os::raw::c_char,
help: *const ::std::os::raw::c_char,
) -> SBCommandRef;
pub fn SBCommandInterpreterAddCommand(
instance: SBCommandInterpreterRef,
name: *const ::std::os::raw::c_char,
impl_: SBCommandPluginInterfaceRef,
help: *const ::std::os::raw::c_char,
) -> SBCommandRef;
pub fn SBCommandInterpreterSourceInitFileInHomeDirectory(
instance: SBCommandInterpreterRef,
result: SBCommandReturnObjectRef,
);
pub fn SBCommandInterpreterSourceInitFileInCurrentWorkingDirectory(
instance: SBCommandInterpreterRef,
result: SBCommandReturnObjectRef,
);
pub fn SBCommandInterpreterHandleCommand(
instance: SBCommandInterpreterRef,
command_line: *const ::std::os::raw::c_char,
result: SBCommandReturnObjectRef,
add_to_history: u8,
) -> ReturnStatus;
pub fn SBCommandInterpreterHandleCommand2(
instance: SBCommandInterpreterRef,
command_line: *const ::std::os::raw::c_char,
exe_ctx: SBExecutionContextRef,
result: SBCommandReturnObjectRef,
add_to_history: u8,
) -> ReturnStatus;
pub fn SBCommandInterpreterHandleCommandsFromFile(
instance: SBCommandInterpreterRef,
file: SBFileSpecRef,
override_context: SBExecutionContextRef,
options: SBCommandInterpreterRunOptionsRef,
result: SBCommandReturnObjectRef,
);
pub fn SBCommandInterpreterHandleCompletion(
instance: SBCommandInterpreterRef,
current_line: *const ::std::os::raw::c_char,
cursor: *const ::std::os::raw::c_char,
last_char: *const ::std::os::raw::c_char,
match_start_point: ::std::os::raw::c_int,
max_return_elements: ::std::os::raw::c_int,
matches: SBStringListRef,
) -> ::std::os::raw::c_int;
pub fn SBCommandInterpreterHandleCompletion2(
instance: SBCommandInterpreterRef,
current_line: *const ::std::os::raw::c_char,
cursor_pos: uint32_t,
match_start_point: ::std::os::raw::c_int,
max_return_elements: ::std::os::raw::c_int,
matches: SBStringListRef,
) -> ::std::os::raw::c_int;
pub fn SBCommandInterpreterIsActive(instance: SBCommandInterpreterRef) -> u8;
pub fn SBCommandInterpreterGetIOHandlerControlSequence(
instance: SBCommandInterpreterRef,
ch: ::std::os::raw::c_char,
) -> *const ::std::os::raw::c_char;
pub fn SBCommandInterpreterGetPromptOnQuit(instance: SBCommandInterpreterRef) -> u8;
pub fn SBCommandInterpreterSetPromptOnQuit(instance: SBCommandInterpreterRef, b: u8);
pub fn SBCommandPluginInterfaceDoExecute(
instance: SBCommandPluginInterfaceRef,
arg1: SBDebuggerRef,
arg2: *mut *mut ::std::os::raw::c_char,
arg3: SBCommandReturnObjectRef,
) -> u8;
pub fn DisposeSBCommandPluginInterface(instance: SBCommandPluginInterfaceRef);
pub fn CreateSBCommand() -> SBCommandRef;
pub fn SBCommandIsValid(instance: SBCommandRef) -> u8;
pub fn SBCommandGetName(instance: SBCommandRef) -> *const ::std::os::raw::c_char;
pub fn SBCommandGetHelp(instance: SBCommandRef) -> *const ::std::os::raw::c_char;
pub fn SBCommandGetHelpLong(instance: SBCommandRef) -> *const ::std::os::raw::c_char;
pub fn SBCommandSetHelp(instance: SBCommandRef, arg1: *const ::std::os::raw::c_char);
pub fn SBCommandSetHelpLong(instance: SBCommandRef, arg1: *const ::std::os::raw::c_char);
pub fn SBCommandAddMultiwordCommand(
instance: SBCommandRef,
name: *const ::std::os::raw::c_char,
help: *const ::std::os::raw::c_char,
) -> SBCommandRef;
pub fn SBCommandAddCommand(
instance: SBCommandRef,
name: *const ::std::os::raw::c_char,
impl_: SBCommandPluginInterfaceRef,
help: *const ::std::os::raw::c_char,
) -> SBCommandRef;
pub fn DisposeSBCommand(instance: SBCommandRef);
pub fn CreateSBCommandReturnObject() -> SBCommandReturnObjectRef;
pub fn SBCommandReturnObjectRelease(
instance: SBCommandReturnObjectRef,
) -> *mut ::std::os::raw::c_void;
pub fn DisposeSBCommandReturnObject(instance: SBCommandReturnObjectRef);
pub fn SBCommandReturnObjectIsValid(instance: SBCommandReturnObjectRef) -> u8;
pub fn SBCommandReturnObjectGetOutput(
instance: SBCommandReturnObjectRef,
) -> *const ::std::os::raw::c_char;
pub fn SBCommandReturnObjectGetError(
instance: SBCommandReturnObjectRef,
) -> *const ::std::os::raw::c_char;
pub fn SBCommandReturnObjectPutOutput(
instance: SBCommandReturnObjectRef,
fh: *mut FILE,
) -> ::std::os::raw::c_uint;
pub fn SBCommandReturnObjectGetOutputSize(
instance: SBCommandReturnObjectRef,
) -> ::std::os::raw::c_uint;
pub fn SBCommandReturnObjectGetErrorSize(
instance: SBCommandReturnObjectRef,
) -> ::std::os::raw::c_uint;
pub fn SBCommandReturnObjectPutError(
instance: SBCommandReturnObjectRef,
fh: *mut FILE,
) -> ::std::os::raw::c_uint;
pub fn SBCommandReturnObjectClear(instance: SBCommandReturnObjectRef);
pub fn SBCommandReturnObjectGetStatus(instance: SBCommandReturnObjectRef) -> ReturnStatus;
pub fn SBCommandReturnObjectSetStatus(instance: SBCommandReturnObjectRef, status: ReturnStatus);
pub fn SBCommandReturnObjectSucceeded(instance: SBCommandReturnObjectRef) -> u8;
pub fn SBCommandReturnObjectHasResult(instance: SBCommandReturnObjectRef) -> u8;
pub fn SBCommandReturnObjectAppendMessage(
instance: SBCommandReturnObjectRef,
message: *const ::std::os::raw::c_char,
);
pub fn SBCommandReturnObjectAppendWarning(
instance: SBCommandReturnObjectRef,
message: *const ::std::os::raw::c_char,
);
pub fn SBCommandReturnObjectGetDescription(
instance: SBCommandReturnObjectRef,
description: SBStreamRef,
) -> u8;
pub fn SBCommandReturnObjectSetImmediateOutputFile(
instance: SBCommandReturnObjectRef,
fh: *mut FILE,
);
pub fn SBCommandReturnObjectSetImmediateErrorFile(
instance: SBCommandReturnObjectRef,
fh: *mut FILE,
);
pub fn SBCommandReturnObjectPutCString(
instance: SBCommandReturnObjectRef,
string: *const ::std::os::raw::c_char,
len: ::std::os::raw::c_int,
);
pub fn SBCommandReturnObjectPrintf(
instance: SBCommandReturnObjectRef,
format: *const ::std::os::raw::c_char,
...
) -> ::std::os::raw::c_uint;
pub fn SBCommandReturnObjectGetOutput2(
instance: SBCommandReturnObjectRef,
only_if_no_immediate: u8,
) -> *const ::std::os::raw::c_char;
pub fn SBCommandReturnObjectGetError2(
instance: SBCommandReturnObjectRef,
only_if_no_immediate: u8,
) -> *const ::std::os::raw::c_char;
pub fn SBCommandReturnObjectSetError(
instance: SBCommandReturnObjectRef,
error: SBErrorRef,
fallback_error_cstr: *const ::std::os::raw::c_char,
);
pub fn SBCommandReturnObjectSetError2(
instance: SBCommandReturnObjectRef,
error_cstr: *const ::std::os::raw::c_char,
);
pub fn CreateSBCommunication() -> SBCommunicationRef;
pub fn CreateSBCommunication2(
broadcaster_name: *const ::std::os::raw::c_char,
) -> SBCommunicationRef;
pub fn DisposeSBCommunication(instance: SBCommunicationRef);
pub fn SBCommunicationIsValid(instance: SBCommunicationRef) -> u8;
pub fn SBCommunicationGetBroadcaster(instance: SBCommunicationRef) -> SBBroadcasterRef;
pub fn SBCommunicationGetBroadcasterClass() -> *const ::std::os::raw::c_char;
pub fn SBCommunicationAdoptFileDesriptor(
instance: SBCommunicationRef,
fd: ::std::os::raw::c_int,
owns_fd: u8,
) -> ConnectionStatus;
pub fn SBCommunicationConnect(
instance: SBCommunicationRef,
url: *const ::std::os::raw::c_char,
) -> ConnectionStatus;
pub fn SBCommunicationDisconnect(instance: SBCommunicationRef) -> ConnectionStatus;
pub fn SBCommunicationIsConnected(instance: SBCommunicationRef) -> u8;
pub fn SBCommunicationGetCloseOnEOF(instance: SBCommunicationRef) -> u8;
pub fn SBCommunicationSetCloseOnEOF(instance: SBCommunicationRef, b: u8);
pub fn SBCommunicationRead(
instance: SBCommunicationRef,
dst: *mut ::std::os::raw::c_void,
dst_len: size_t,
timeout_usec: uint32_t,
status: ConnectionStatus,
) -> ::std::os::raw::c_uint;
pub fn SBCommunicationWrite(
instance: SBCommunicationRef,
src: *mut ::std::os::raw::c_void,
src_len: size_t,
status: ConnectionStatus,
) -> ::std::os::raw::c_uint;
pub fn SBCommunicationReadThreadStart(instance: SBCommunicationRef) -> u8;
pub fn SBCommunicationReadThreadStop(instance: SBCommunicationRef) -> u8;
pub fn SBCommunicationReadThreadIsRunning(instance: SBCommunicationRef) -> u8;
pub fn SBCommunicationSetReadThreadBytesReceivedCallback(
instance: SBCommunicationRef,
callback: ReadThreadBytesReceived,
callback_baton: *mut ::std::os::raw::c_void,
) -> u8;
pub fn CreateSBCompileUnit() -> SBCompileUnitRef;
pub fn DisposeSBCompileUnit(instance: SBCompileUnitRef);
pub fn SBCompileUnitIsValid(instance: SBCompileUnitRef) -> u8;
pub fn SBCompileUnitGetFileSpec(instance: SBCompileUnitRef) -> SBFileSpecRef;
pub fn SBCompileUnitGetNumLineEntries(instance: SBCompileUnitRef) -> ::std::os::raw::c_uint;
pub fn SBCompileUnitGetLineEntryAtIndex(
instance: SBCompileUnitRef,
idx: uint32_t,
) -> SBLineEntryRef;
pub fn SBCompileUnitFindLineEntryIndex(
instance: SBCompileUnitRef,
start_idx: uint32_t,
line: uint32_t,
inline_file_spec: SBFileSpecRef,
) -> ::std::os::raw::c_uint;
pub fn SBCompileUnitFindLineEntryIndex2(
instance: SBCompileUnitRef,
start_idx: uint32_t,
line: uint32_t,
inline_file_spec: SBFileSpecRef,
exact: u8,
) -> ::std::os::raw::c_uint;
pub fn SBCompileUnitGetSupportFileAtIndex(
instance: SBCompileUnitRef,
idx: uint32_t,
) -> SBFileSpecRef;
pub fn SBCompileUnitGetNumSupportFiles(instance: SBCompileUnitRef) -> ::std::os::raw::c_uint;
pub fn SBCompileUnitFindSupportFileIndex(
instance: SBCompileUnitRef,
start_idx: uint32_t,
sb_file: SBFileSpecRef,
full: u8,
) -> ::std::os::raw::c_uint;
pub fn SBCompileUnitGetTypes(instance: SBCompileUnitRef, type_mask: uint32_t) -> SBTypeListRef;
pub fn SBCompileUnitGetLanguage(instance: SBCompileUnitRef) -> LanguageType;
pub fn SBCompileUnitGetDescription(instance: SBCompileUnitRef, description: SBStreamRef) -> u8;
pub fn CreateSBData() -> SBDataRef;
pub fn DisposeSBData(instance: SBDataRef);
pub fn SBDataGetAddressByteSize(instance: SBDataRef) -> ::std::os::raw::c_uchar;
pub fn SBDataSetAddressByteSize(instance: SBDataRef, addr_byte_size: uint8_t);
pub fn SBDataClear(instance: SBDataRef);
pub fn SBDataIsValid(instance: SBDataRef) -> u8;
pub fn SBDataGetByteSize(instance: SBDataRef) -> ::std::os::raw::c_uint;
pub fn SBDataGetByteOrder(instance: SBDataRef) -> ByteOrder;
pub fn SBDataSetByteOrder(instance: SBDataRef, endian: ByteOrder);
pub fn SBDataGetFloat(
instance: SBDataRef,
error: SBErrorRef,
offset: lldb_offset_t,
) -> ::std::os::raw::c_float;
pub fn SBDataGetDouble(
instance: SBDataRef,
error: SBErrorRef,
offset: lldb_offset_t,
) -> ::std::os::raw::c_double;
pub fn SBDataGetLongDouble(
instance: SBDataRef,
error: SBErrorRef,
offset: lldb_offset_t,
) -> ::std::os::raw::c_double;
pub fn SBDataGetAddress(
instance: SBDataRef,
error: SBErrorRef,
offset: lldb_offset_t,
) -> ::std::os::raw::c_ulonglong;
pub fn SBDataGetUnsignedInt8(
instance: SBDataRef,
error: SBErrorRef,
offset: lldb_offset_t,
) -> ::std::os::raw::c_uchar;
pub fn SBDataGetUnsignedInt16(
instance: SBDataRef,
error: SBErrorRef,
offset: lldb_offset_t,
) -> ::std::os::raw::c_ushort;
pub fn SBDataGetUnsignedInt32(
instance: SBDataRef,
error: SBErrorRef,
offset: lldb_offset_t,
) -> ::std::os::raw::c_uint;
pub fn SBDataGetUnsignedInt64(
instance: SBDataRef,
error: SBErrorRef,
offset: lldb_offset_t,
) -> ::std::os::raw::c_ulonglong;
pub fn SBDataGetSignedInt8(
instance: SBDataRef,
error: SBErrorRef,
offset: lldb_offset_t,
) -> ::std::os::raw::c_char;
pub fn SBDataGetSignedInt16(
instance: SBDataRef,
error: SBErrorRef,
offset: lldb_offset_t,
) -> ::std::os::raw::c_short;
pub fn SBDataGetSignedInt32(
instance: SBDataRef,
error: SBErrorRef,
offset: lldb_offset_t,
) -> ::std::os::raw::c_int;
pub fn SBDataGetSignedInt64(
instance: SBDataRef,
error: SBErrorRef,
offset: lldb_offset_t,
) -> ::std::os::raw::c_longlong;
pub fn SBDataGetString(
instance: SBDataRef,
error: SBErrorRef,
offset: lldb_offset_t,
) -> *const ::std::os::raw::c_char;
pub fn SBDataReadRawData(
instance: SBDataRef,
error: SBErrorRef,
offset: lldb_offset_t,
buf: *mut ::std::os::raw::c_void,
size: size_t,
) -> ::std::os::raw::c_uint;
pub fn SBDataGetDescription(
instance: SBDataRef,
description: SBStreamRef,
base_addr: lldb_addr_t,
) -> u8;
pub fn SBDataSetData(
instance: SBDataRef,
error: SBErrorRef,
buf: *mut ::std::os::raw::c_void,
size: size_t,
endian: ByteOrder,
addr_size: uint8_t,
);
pub fn SBDataAppend(instance: SBDataRef, rhs: SBDataRef) -> u8;
pub fn SBDataCreateDataFromCString(
endian: ByteOrder,
addr_byte_size: uint32_t,
data: *const ::std::os::raw::c_char,
) -> SBDataRef;
pub fn SBDataCreateDataFromUInt64Array(
endian: ByteOrder,
addr_byte_size: uint32_t,
array: *mut uint64_t,
array_len: size_t,
) -> SBDataRef;
pub fn SBDataCreateDataFromUInt32Array(
endian: ByteOrder,
addr_byte_size: uint32_t,
array: *mut uint32_t,
array_len: size_t,
) -> SBDataRef;
pub fn SBDataCreateDataFromSInt64Array(
endian: ByteOrder,
addr_byte_size: uint32_t,
array: *mut int64_t,
array_len: size_t,
) -> SBDataRef;
pub fn SBDataCreateDataFromSInt32Array(
endian: ByteOrder,
addr_byte_size: uint32_t,
array: *mut int32_t,
array_len: size_t,
) -> SBDataRef;
pub fn SBDataCreateDataFromDoubleArray(
endian: ByteOrder,
addr_byte_size: uint32_t,
array: *mut ::std::os::raw::c_double,
array_len: size_t,
) -> SBDataRef;
pub fn SBDataSetDataFromCString(instance: SBDataRef, data: *const ::std::os::raw::c_char)
-> u8;
pub fn SBDataSetDataFromUInt64Array(
instance: SBDataRef,
array: *mut uint64_t,
array_len: size_t,
) -> u8;
pub fn SBDataSetDataFromUInt32Array(
instance: SBDataRef,
array: *mut uint32_t,
array_len: size_t,
) -> u8;
pub fn SBDataSetDataFromSInt64Array(
instance: SBDataRef,
array: *mut int64_t,
array_len: size_t,
) -> u8;
pub fn SBDataSetDataFromSInt32Array(
instance: SBDataRef,
array: *mut int32_t,
array_len: size_t,
) -> u8;
pub fn SBDataSetDataFromDoubleArray(
instance: SBDataRef,
array: *mut ::std::os::raw::c_double,
array_len: size_t,
) -> u8;
pub fn CreateSBInputReader() -> SBInputReaderRef;
pub fn DisposeSBInputReader(instance: SBInputReaderRef);
pub fn SBInputReaderSetIsDone(instance: SBInputReaderRef, arg1: u8);
pub fn SBInputReaderIsActive(instance: SBInputReaderRef) -> u8;
pub fn SBDebuggerInitialize();
pub fn SBDebuggerTerminate();
pub fn SBDebuggerCreate() -> SBDebuggerRef;
pub fn SBDebuggerCreate2(source_init_files: u8) -> SBDebuggerRef;
pub fn SBDebuggerDestroy(debugger: SBDebuggerRef);
pub fn SBDebuggerMemoryPressureDetected();
pub fn CreateSBDebugger() -> SBDebuggerRef;
pub fn DisposeSBDebugger(instance: SBDebuggerRef);
pub fn SBDebuggerIsValid(instance: SBDebuggerRef) -> u8;
pub fn SBDebuggerClear(instance: SBDebuggerRef);
pub fn SBDebuggerSetAsync(instance: SBDebuggerRef, b: u8);
pub fn SBDebuggerGetAsync(instance: SBDebuggerRef) -> u8;
pub fn SBDebuggerSkipLLDBInitFiles(instance: SBDebuggerRef, b: u8);
pub fn SBDebuggerSkipAppInitFiles(instance: SBDebuggerRef, b: u8);
pub fn SBDebuggerSetInputFileHandle(
instance: SBDebuggerRef,
f: *mut FILE,
transfer_ownership: u8,
);
pub fn SBDebuggerSetOutputFileHandle(
instance: SBDebuggerRef,
f: *mut FILE,
transfer_ownership: u8,
);
pub fn SBDebuggerSetErrorFileHandle(
instance: SBDebuggerRef,
f: *mut FILE,
transfer_ownership: u8,
);
pub fn SBDebuggerGetInputFileHandle(instance: SBDebuggerRef) -> *mut FILE;
pub fn SBDebuggerGetOutputFileHandle(instance: SBDebuggerRef) -> *mut FILE;
pub fn SBDebuggerGetErrorFileHandle(instance: SBDebuggerRef) -> *mut FILE;
pub fn SBDebuggerSaveInputTerminalState(instance: SBDebuggerRef);
pub fn SBDebuggerRestoreInputTerminalState(instance: SBDebuggerRef);
pub fn SBDebuggerGetCommandInterpreter(instance: SBDebuggerRef) -> SBCommandInterpreterRef;
pub fn SBDebuggerHandleCommand(instance: SBDebuggerRef, command: *const ::std::os::raw::c_char);
pub fn SBDebuggerGetListener(instance: SBDebuggerRef) -> SBListenerRef;
pub fn SBDebuggerHandleProcessEvent(
instance: SBDebuggerRef,
process: SBProcessRef,
event: SBEventRef,
out: *mut FILE,
err: *mut FILE,
);
pub fn SBDebuggerCreateTarget(
instance: SBDebuggerRef,
filename: *const ::std::os::raw::c_char,
target_triple: *const ::std::os::raw::c_char,
platform_name: *const ::std::os::raw::c_char,
add_dependent_modules: u8,
error: SBErrorRef,
) -> SBTargetRef;
pub fn SBDebuggerCreateTargetWithFileAndTargetTriple(
instance: SBDebuggerRef,
filename: *const ::std::os::raw::c_char,
target_triple: *const ::std::os::raw::c_char,
) -> SBTargetRef;
pub fn SBDebuggerCreateTargetWithFileAndArch(
instance: SBDebuggerRef,
filename: *const ::std::os::raw::c_char,
archname: *const ::std::os::raw::c_char,
) -> SBTargetRef;
pub fn SBDebuggerCreateTarget2(
instance: SBDebuggerRef,
filename: *const ::std::os::raw::c_char,
) -> SBTargetRef;
pub fn SBDebuggerDeleteTarget(instance: SBDebuggerRef, target: SBTargetRef) -> u8;
pub fn SBDebuggerGetTargetAtIndex(instance: SBDebuggerRef, idx: uint32_t) -> SBTargetRef;
pub fn SBDebuggerGetIndexOfTarget(
instance: SBDebuggerRef,
target: SBTargetRef,
) -> ::std::os::raw::c_uint;
pub fn SBDebuggerFindTargetWithProcessID(
instance: SBDebuggerRef,
pid: lldb_pid_t,
) -> SBTargetRef;
pub fn SBDebuggerFindTargetWithFileAndArch(
instance: SBDebuggerRef,
filename: *const ::std::os::raw::c_char,
arch: *const ::std::os::raw::c_char,
) -> SBTargetRef;
pub fn SBDebuggerGetNumTargets(instance: SBDebuggerRef) -> ::std::os::raw::c_uint;
pub fn SBDebuggerGetSelectedTarget(instance: SBDebuggerRef) -> SBTargetRef;
pub fn SBDebuggerSetSelectedTarget(instance: SBDebuggerRef, target: SBTargetRef);
pub fn SBDebuggerGetSelectedPlatform(instance: SBDebuggerRef) -> SBPlatformRef;
pub fn SBDebuggerSetSelectedPlatform(instance: SBDebuggerRef, platform: SBPlatformRef);
pub fn SBDebuggerGetSourceManager(instance: SBDebuggerRef) -> SBSourceManagerRef;
pub fn SBDebuggerSetCurrentPlatform(
instance: SBDebuggerRef,
platform_name: *const ::std::os::raw::c_char,
) -> SBErrorRef;
pub fn SBDebuggerSetCurrentPlatformSDKRoot(
instance: SBDebuggerRef,
sysroot: *const ::std::os::raw::c_char,
) -> u8;
pub fn SBDebuggerSetUseExternalEditor(instance: SBDebuggerRef, input: u8) -> u8;
pub fn SBDebuggerGetUseExternalEditor(instance: SBDebuggerRef) -> u8;
pub fn SBDebuggerSetUseColor(instance: SBDebuggerRef, use_color: u8) -> u8;
pub fn SBDebuggerGetUseColor(instance: SBDebuggerRef) -> u8;
pub fn SBDebuggerGetDefaultArchitecture(
arch_name: *mut ::std::os::raw::c_char,
arch_name_len: size_t,
) -> u8;
pub fn SBDebuggerSetDefaultArchitecture(arch_name: *const ::std::os::raw::c_char) -> u8;
pub fn SBDebuggerGetScriptingLanguage(
instance: SBDebuggerRef,
script_language_name: *const ::std::os::raw::c_char,
) -> ScriptLanguage;
pub fn SBDebuggerGetVersionString() -> *const ::std::os::raw::c_char;
pub fn SBDebuggerStateAsCString(state: StateType) -> *const ::std::os::raw::c_char;
pub fn SBDebuggerStateIsRunningState(state: StateType) -> u8;
pub fn SBDebuggerStateIsStoppedState(state: StateType) -> u8;
pub fn SBDebuggerEnableLog(
instance: SBDebuggerRef,
channel: *const ::std::os::raw::c_char,
categories: *mut *const ::std::os::raw::c_char,
) -> u8;
pub fn SBDebuggerDispatchInput(
instance: SBDebuggerRef,
baton: *mut ::std::os::raw::c_void,
data: *const ::std::os::raw::c_void,
data_len: size_t,
);
pub fn SBDebuggerDispatchInput2(
instance: SBDebuggerRef,
data: *const ::std::os::raw::c_void,
data_len: size_t,
);
pub fn SBDebuggerDispatchInputInterrupt(instance: SBDebuggerRef);
pub fn SBDebuggerDispatchInputEndOfFile(instance: SBDebuggerRef);
pub fn SBDebuggerPushInputReader(instance: SBDebuggerRef, reader: SBInputReaderRef);
pub fn SBDebuggerGetInstanceName(instance: SBDebuggerRef) -> *const ::std::os::raw::c_char;
pub fn SBDebuggerFindDebuggerWithID(id: ::std::os::raw::c_int) -> SBDebuggerRef;
pub fn SBDebuggerSetInternalVariable(
var_name: *const ::std::os::raw::c_char,
value: *const ::std::os::raw::c_char,
debugger_instance_name: *const ::std::os::raw::c_char,
) -> SBErrorRef;
pub fn SBDebuggerGetInternalVariableValue(
var_name: *const ::std::os::raw::c_char,
debugger_instance_name: *const ::std::os::raw::c_char,
) -> SBStringListRef;
pub fn SBDebuggerGetDescription(instance: SBDebuggerRef, description: SBStreamRef) -> u8;
pub fn SBDebuggerGetTerminalWidth(instance: SBDebuggerRef) -> ::std::os::raw::c_uint;
pub fn SBDebuggerSetTerminalWidth(instance: SBDebuggerRef, term_width: uint32_t);
pub fn SBDebuggerGetID(instance: SBDebuggerRef) -> ::std::os::raw::c_ulonglong;
pub fn SBDebuggerGetPrompt(instance: SBDebuggerRef) -> *const ::std::os::raw::c_char;
pub fn SBDebuggerSetPrompt(instance: SBDebuggerRef, prompt: *const ::std::os::raw::c_char);
pub fn SBDebuggerGetScriptLanguage(instance: SBDebuggerRef) -> ScriptLanguage;
pub fn SBDebuggerSetScriptLanguage(instance: SBDebuggerRef, script_lang: ScriptLanguage);
pub fn SBDebuggerGetCloseInputOnEOF(instance: SBDebuggerRef) -> u8;
pub fn SBDebuggerSetCloseInputOnEOF(instance: SBDebuggerRef, b: u8);
pub fn SBDebuggerGetCategory(
instance: SBDebuggerRef,
category_name: *const ::std::os::raw::c_char,
) -> SBTypeCategoryRef;
pub fn SBDebuggerCreateCategory(
instance: SBDebuggerRef,
category_name: *const ::std::os::raw::c_char,
) -> SBTypeCategoryRef;
pub fn SBDebuggerDeleteCategory(
instance: SBDebuggerRef,
category_name: *const ::std::os::raw::c_char,
) -> u8;
pub fn SBDebuggerGetNumCategories(instance: SBDebuggerRef) -> ::std::os::raw::c_uint;
pub fn SBDebuggerGetCategoryAtIndex(
instance: SBDebuggerRef,
arg1: uint32_t,
) -> SBTypeCategoryRef;
pub fn SBDebuggerGetDefaultCategory(instance: SBDebuggerRef) -> SBTypeCategoryRef;
pub fn SBDebuggerGetFormatForType(
instance: SBDebuggerRef,
arg1: SBTypeNameSpecifierRef,
) -> SBTypeFormatRef;
pub fn SBDebuggerGetSummaryForType(
instance: SBDebuggerRef,
arg1: SBTypeNameSpecifierRef,
) -> SBTypeSummaryRef;
pub fn SBDebuggerGetFilterForType(
instance: SBDebuggerRef,
arg1: SBTypeNameSpecifierRef,
) -> SBTypeFilterRef;
pub fn SBDebuggerGetSyntheticForType(
instance: SBDebuggerRef,
arg1: SBTypeNameSpecifierRef,
) -> SBTypeSyntheticRef;
pub fn SBDebuggerRunCommandInterpreter(
instance: SBDebuggerRef,
auto_handle_events: u8,
spawn_thread: u8,
);
pub fn SBDebuggerRunCommandInterpreter2(
instance: SBDebuggerRef,
auto_handle_events: u8,
spawn_thread: u8,
options: SBCommandInterpreterRunOptionsRef,
num_errors: ::std::os::raw::c_int,
quit_requested: u8,
stopped_for_crash: u8,
);
pub fn CreateSBDeclaration() -> SBDeclarationRef;
pub fn DisposeSBDeclaration(instance: SBDeclarationRef);
pub fn SBDeclarationIsValid(instance: SBDeclarationRef) -> u8;
pub fn SBDeclarationGetFileSpec(instance: SBDeclarationRef) -> SBFileSpecRef;
pub fn SBDeclarationGetLine(instance: SBDeclarationRef) -> ::std::os::raw::c_uint;
pub fn SBDeclarationGetColumn(instance: SBDeclarationRef) -> ::std::os::raw::c_uint;
pub fn SBDeclarationSetFileSpec(instance: SBDeclarationRef, filespec: SBFileSpecRef);
pub fn SBDeclarationSetLine(instance: SBDeclarationRef, line: uint32_t);
pub fn SBDeclarationSetColumn(instance: SBDeclarationRef, column: uint32_t);
pub fn SBDeclarationGetDescription(instance: SBDeclarationRef, description: SBStreamRef) -> u8;
pub fn CreateSBError() -> SBErrorRef;
pub fn DisposeSBError(instance: SBErrorRef);
pub fn SBErrorGetCString(instance: SBErrorRef) -> *const ::std::os::raw::c_char;
pub fn SBErrorClear(instance: SBErrorRef);
pub fn SBErrorFail(instance: SBErrorRef) -> u8;
pub fn SBErrorSuccess(instance: SBErrorRef) -> u8;
pub fn SBErrorGetError(instance: SBErrorRef) -> ::std::os::raw::c_uint;
pub fn SBErrorGetType(instance: SBErrorRef) -> ErrorType;
pub fn SBErrorSetError(instance: SBErrorRef, err: uint32_t, type_: ErrorType);
pub fn SBErrorSetErrorToErrno(instance: SBErrorRef);
pub fn SBErrorSetErrorToGenericError(instance: SBErrorRef);
pub fn SBErrorSetErrorString(instance: SBErrorRef, err_str: *const ::std::os::raw::c_char);
pub fn SBErrorSetErrorStringWithFormat(
instance: SBErrorRef,
format: *const ::std::os::raw::c_char,
...
) -> ::std::os::raw::c_int;
pub fn SBErrorIsValid(instance: SBErrorRef) -> u8;
pub fn SBErrorGetDescription(instance: SBErrorRef, description: SBStreamRef) -> u8;
pub fn CreateSBEvent() -> SBEventRef;
pub fn CreateSBEvent2(
event: uint32_t,
cstr: *const ::std::os::raw::c_char,
cstr_len: uint32_t,
) -> SBEventRef;
pub fn DisposeSBEvent(instance: SBEventRef);
pub fn SBEventIsValid(instance: SBEventRef) -> u8;
pub fn SBEventGetDataFlavor(instance: SBEventRef) -> *const ::std::os::raw::c_char;
pub fn SBEventGetType(instance: SBEventRef) -> ::std::os::raw::c_uint;
pub fn SBEventGetBroadcaster(instance: SBEventRef) -> SBBroadcasterRef;
pub fn SBEventGetBroadcasterClass(instance: SBEventRef) -> *const ::std::os::raw::c_char;
pub fn SBEventBroadcasterMatchesPtr(instance: SBEventRef, broadcaster: SBBroadcasterRef) -> u8;
pub fn SBEventBroadcasterMatchesRef(instance: SBEventRef, broadcaster: SBBroadcasterRef) -> u8;
pub fn SBEventClear(instance: SBEventRef);
pub fn SBEventGetCStringFromEvent(event: SBEventRef) -> *const ::std::os::raw::c_char;
pub fn SBEventGetDescription(instance: SBEventRef, description: SBStreamRef) -> u8;
pub fn CreateSBExecutionContext() -> SBExecutionContextRef;
pub fn CreateSBExecutionContext2(target: SBTargetRef) -> SBExecutionContextRef;
pub fn CreateSBExecutionContext3(process: SBProcessRef) -> SBExecutionContextRef;
pub fn CreateSBExecutionContext4(thread: SBThreadRef) -> SBExecutionContextRef;
pub fn CreateSBExecutionContext5(frame: SBFrameRef) -> SBExecutionContextRef;
pub fn DisposeSBExecutionContext(instance: SBExecutionContextRef);
pub fn SBExecutionContextGetTarget(instance: SBExecutionContextRef) -> SBTargetRef;
pub fn SBExecutionContextGetProcess(instance: SBExecutionContextRef) -> SBProcessRef;
pub fn SBExecutionContextGetThread(instance: SBExecutionContextRef) -> SBThreadRef;
pub fn SBExecutionContextGetFrame(instance: SBExecutionContextRef) -> SBFrameRef;
pub fn CreateSBExpressionOptions() -> SBExpressionOptionsRef;
pub fn DisposeSBExpressionOptions(instance: SBExpressionOptionsRef);
pub fn SBExpressionOptionsGetCoerceResultToId(instance: SBExpressionOptionsRef) -> u8;
pub fn SBExpressionOptionsSetCoerceResultToId(instance: SBExpressionOptionsRef, coerce: u8);
pub fn SBExpressionOptionsGetUnwindOnError(instance: SBExpressionOptionsRef) -> u8;
pub fn SBExpressionOptionsSetUnwindOnError(instance: SBExpressionOptionsRef, unwind: u8);
pub fn SBExpressionOptionsGetIgnoreBreakpoints(instance: SBExpressionOptionsRef) -> u8;
pub fn SBExpressionOptionsSetIgnoreBreakpoints(instance: SBExpressionOptionsRef, ignore: u8);
pub fn SBExpressionOptionsGetFetchDynamicValue(
instance: SBExpressionOptionsRef,
) -> DynamicValueType;
pub fn SBExpressionOptionsSetFetchDynamicValue(
instance: SBExpressionOptionsRef,
dynamic: DynamicValueType,
);
pub fn SBExpressionOptionsGetTimeoutInMicroSeconds(
instance: SBExpressionOptionsRef,
) -> ::std::os::raw::c_uint;
pub fn SBExpressionOptionsSetTimeoutInMicroSeconds(
instance: SBExpressionOptionsRef,
timeout: uint32_t,
);
pub fn SBExpressionOptionsGetOneThreadTimeoutInMicroSeconds(
instance: SBExpressionOptionsRef,
) -> ::std::os::raw::c_uint;
pub fn SBExpressionOptionsSetOneThreadTimeoutInMicroSeconds(
instance: SBExpressionOptionsRef,
timeout: uint32_t,
);
pub fn SBExpressionOptionsGetTryAllThreads(instance: SBExpressionOptionsRef) -> u8;
pub fn SBExpressionOptionsSetTryAllThreads(instance: SBExpressionOptionsRef, run_others: u8);
pub fn SBExpressionOptionsGetStopOthers(instance: SBExpressionOptionsRef) -> u8;
pub fn SBExpressionOptionsSetStopOthers(instance: SBExpressionOptionsRef, stop_others: u8);
pub fn SBExpressionOptionsGetTrapExceptions(instance: SBExpressionOptionsRef) -> u8;
pub fn SBExpressionOptionsSetTrapExceptions(
instance: SBExpressionOptionsRef,
trap_exceptions: u8,
);
pub fn SBExpressionOptionsSetLanguage(instance: SBExpressionOptionsRef, language: LanguageType);
pub fn SBExpressionOptionsGetGenerateDebugInfo(instance: SBExpressionOptionsRef) -> u8;
pub fn SBExpressionOptionsSetGenerateDebugInfo(instance: SBExpressionOptionsRef, b: u8);
pub fn SBExpressionOptionsGetSuppressPersistentResult(instance: SBExpressionOptionsRef) -> u8;
pub fn SBExpressionOptionsSetSuppressPersistentResult(instance: SBExpressionOptionsRef, b: u8);
pub fn CreateSBFileSpec() -> SBFileSpecRef;
pub fn CreateSBFileSpec2(path: *const ::std::os::raw::c_char) -> SBFileSpecRef;
pub fn CreateSBFileSpec3(path: *const ::std::os::raw::c_char, resolve: u8) -> SBFileSpecRef;
pub fn DisposeSBFileSpec(instance: SBFileSpecRef);
pub fn SBFileSpecIsValid(instance: SBFileSpecRef) -> u8;
pub fn SBFileSpecExists(instance: SBFileSpecRef) -> u8;
pub fn SBFileSpecResolveExecutableLocation(instance: SBFileSpecRef) -> u8;
pub fn SBFileSpecGetFilename(instance: SBFileSpecRef) -> *const ::std::os::raw::c_char;
pub fn SBFileSpecGetDirectory(instance: SBFileSpecRef) -> *const ::std::os::raw::c_char;
pub fn SBFileSpecSetFilename(instance: SBFileSpecRef, filename: *const ::std::os::raw::c_char);
pub fn SBFileSpecSetDirectory(
instance: SBFileSpecRef,
directory: *const ::std::os::raw::c_char,
);
pub fn SBFileSpecGetPath(
instance: SBFileSpecRef,
dst_path: *mut ::std::os::raw::c_char,
dst_len: size_t,
) -> ::std::os::raw::c_uint;
pub fn SBFileSpecResolvePath(
src_path: *const ::std::os::raw::c_char,
dst_path: *mut ::std::os::raw::c_char,
dst_len: size_t,
) -> ::std::os::raw::c_int;
pub fn SBFileSpecGetDescription(instance: SBFileSpecRef, description: SBStreamRef) -> u8;
pub fn CreateSBFileSpecList() -> SBFileSpecListRef;
pub fn DisposeSBFileSpecList(instance: SBFileSpecListRef);
pub fn SBFileSpecListGetSize(instance: SBFileSpecListRef) -> ::std::os::raw::c_uint;
pub fn SBFileSpecListGetDescription(
instance: SBFileSpecListRef,
description: SBStreamRef,
) -> u8;
pub fn SBFileSpecListAppend(instance: SBFileSpecListRef, sb_file: SBFileSpecRef);
pub fn SBFileSpecListAppendIfUnique(instance: SBFileSpecListRef, sb_file: SBFileSpecRef) -> u8;
pub fn SBFileSpecListClear(instance: SBFileSpecListRef);
pub fn SBFileSpecListFindFileIndex(
instance: SBFileSpecListRef,
idx: uint32_t,
sb_file: SBFileSpecRef,
full: u8,
) -> ::std::os::raw::c_uint;
pub fn SBFileSpecListGetFileSpecAtIndex(
instance: SBFileSpecListRef,
idx: uint32_t,
) -> SBFileSpecRef;
pub fn CreateSBFrame() -> SBFrameRef;
pub fn DisposeSBFrame(instance: SBFrameRef);
pub fn SBFrameIsEqual(instance: SBFrameRef, that: SBFrameRef) -> u8;
pub fn SBFrameIsValid(instance: SBFrameRef) -> u8;
pub fn SBFrameGetFrameID(instance: SBFrameRef) -> ::std::os::raw::c_uint;
pub fn SBFrameGetCFA(instance: SBFrameRef) -> ::std::os::raw::c_ulonglong;
pub fn SBFrameGetPC(instance: SBFrameRef) -> ::std::os::raw::c_ulonglong;
pub fn SBFrameSetPC(instance: SBFrameRef, new_pc: lldb_addr_t) -> u8;
pub fn SBFrameGetSP(instance: SBFrameRef) -> ::std::os::raw::c_ulonglong;
pub fn SBFrameGetFP(instance: SBFrameRef) -> ::std::os::raw::c_ulonglong;
pub fn SBFrameGetPCAddress(instance: SBFrameRef) -> SBAddressRef;
pub fn SBFrameGetSymbolContext(
instance: SBFrameRef,
resolve_scope: uint32_t,
) -> SBSymbolContextRef;
pub fn SBFrameGetModule(instance: SBFrameRef) -> SBModuleRef;
pub fn SBFrameGetCompileUnit(instance: SBFrameRef) -> SBCompileUnitRef;
pub fn SBFrameGetFunction(instance: SBFrameRef) -> SBFunctionRef;
pub fn SBFrameGetSymbol(instance: SBFrameRef) -> SBSymbolRef;
pub fn SBFrameGetBlock(instance: SBFrameRef) -> SBBlockRef;
pub fn SBFrameGetFunctionName(instance: SBFrameRef) -> *const ::std::os::raw::c_char;
pub fn SBFrameGetDisplayFunctionName(instance: SBFrameRef) -> *const ::std::os::raw::c_char;
pub fn SBFrameIsInlined(instance: SBFrameRef) -> u8;
pub fn SBFrameEvaluateExpression(
instance: SBFrameRef,
expr: *const ::std::os::raw::c_char,
options: SBExpressionOptionsRef,
) -> SBValueRef;
pub fn SBFrameGetFrameBlock(instance: SBFrameRef) -> SBBlockRef;
pub fn SBFrameGetLineEntry(instance: SBFrameRef) -> SBLineEntryRef;
pub fn SBFrameGetThread(instance: SBFrameRef) -> SBThreadRef;
pub fn SBFrameDisassemble(instance: SBFrameRef) -> *const ::std::os::raw::c_char;
pub fn SBFrameClear(instance: SBFrameRef);
pub fn SBFrameGetVariables(
instance: SBFrameRef,
options: SBVariablesOptionsRef,
) -> SBValueListRef;
pub fn SBFrameGetRegisters(instance: SBFrameRef) -> SBValueListRef;
pub fn SBFrameFindRegister(
instance: SBFrameRef,
name: *const ::std::os::raw::c_char,
) -> SBValueRef;
pub fn SBFrameFindVariable(
instance: SBFrameRef,
var_name: *const ::std::os::raw::c_char,
) -> SBValueRef;
pub fn SBFrameFindVariable2(
instance: SBFrameRef,
var_name: *const ::std::os::raw::c_char,
use_dynamic: DynamicValueType,
) -> SBValueRef;
pub fn SBFrameGetValueForVariablePath(
instance: SBFrameRef,
var_expr_cstr: *const ::std::os::raw::c_char,
use_dynamic: DynamicValueType,
) -> SBValueRef;
pub fn SBFrameGetValueForVariablePath2(
instance: SBFrameRef,
var_path: *const ::std::os::raw::c_char,
) -> SBValueRef;
pub fn SBFrameFindValue(
instance: SBFrameRef,
name: *const ::std::os::raw::c_char,
value_type: ValueType,
) -> SBValueRef;
pub fn SBFrameFindValue2(
instance: SBFrameRef,
name: *const ::std::os::raw::c_char,
value_type: ValueType,
use_dynamic: DynamicValueType,
) -> SBValueRef;
pub fn SBFrameGetDescription(instance: SBFrameRef, description: SBStreamRef) -> u8;
pub fn CreateSBFunction() -> SBFunctionRef;
pub fn DisposeSBFunction(instance: SBFunctionRef);
pub fn SBFunctionIsValid(instance: SBFunctionRef) -> u8;
pub fn SBFunctionGetName(instance: SBFunctionRef) -> *const ::std::os::raw::c_char;
pub fn SBFunctionGetDisplayName(instance: SBFunctionRef) -> *const ::std::os::raw::c_char;
pub fn SBFunctionGetMangledName(instance: SBFunctionRef) -> *const ::std::os::raw::c_char;
pub fn SBFunctionGetInstructions(
instance: SBFunctionRef,
target: SBTargetRef,
) -> SBInstructionListRef;
pub fn SBFunctionGetInstructions2(
instance: SBFunctionRef,
target: SBTargetRef,
flavor: *const ::std::os::raw::c_char,
) -> SBInstructionListRef;
pub fn SBFunctionGetStartAddress(instance: SBFunctionRef) -> SBAddressRef;
pub fn SBFunctionGetEndAddress(instance: SBFunctionRef) -> SBAddressRef;
pub fn SBFunctionGetPrologueByteSize(instance: SBFunctionRef) -> ::std::os::raw::c_uint;
pub fn SBFunctionGetType(instance: SBFunctionRef) -> SBTypeRef;
pub fn SBFunctionGetBlock(instance: SBFunctionRef) -> SBBlockRef;
pub fn SBFunctionGetLanguage(instance: SBFunctionRef) -> LanguageType;
pub fn SBFunctionGetIsOptimized(instance: SBFunctionRef) -> u8;
pub fn SBFunctionGetDescription(instance: SBFunctionRef, description: SBStreamRef) -> u8;
pub fn SBHostOSGetProgramFileSpec() -> SBFileSpecRef;
pub fn SBHostOSGetLLDBPythonPath() -> SBFileSpecRef;
pub fn SBHostOSGetLLDBPath(path_type: PathType) -> SBFileSpecRef;
pub fn CreateSBInstruction() -> SBInstructionRef;
pub fn DisposeSBInstruction(instance: SBInstructionRef);
pub fn SBInstructionIsValid(instance: SBInstructionRef) -> u8;
pub fn SBInstructionGetAddress(instance: SBInstructionRef) -> SBAddressRef;
pub fn SBInstructionGetAddressClass(instance: SBInstructionRef) -> AddressClass;
pub fn SBInstructionGetMnemonic(
instance: SBInstructionRef,
target: SBTargetRef,
) -> *const ::std::os::raw::c_char;
pub fn SBInstructionGetOperands(
instance: SBInstructionRef,
target: SBTargetRef,
) -> *const ::std::os::raw::c_char;
pub fn SBInstructionGetComment(
instance: SBInstructionRef,
target: SBTargetRef,
) -> *const ::std::os::raw::c_char;
pub fn SBInstructionGetData(instance: SBInstructionRef, target: SBTargetRef) -> SBDataRef;
pub fn SBInstructionGetByteSize(instance: SBInstructionRef) -> ::std::os::raw::c_uint;
pub fn SBInstructionDoesBranch(instance: SBInstructionRef) -> u8;
pub fn SBInstructionHasDelaySlot(instance: SBInstructionRef) -> u8;
pub fn SBInstructionPrint(instance: SBInstructionRef, out: *mut FILE);
pub fn SBInstructionGetDescription(instance: SBInstructionRef, description: SBStreamRef) -> u8;
pub fn SBInstructionEmulateWithFrame(
instance: SBInstructionRef,
frame: SBFrameRef,
evaluate_options: uint32_t,
) -> u8;
pub fn SBInstructionDumpEmulation(
instance: SBInstructionRef,
triple: *const ::std::os::raw::c_char,
) -> u8;
pub fn SBInstructionTestEmulation(
instance: SBInstructionRef,
output_stream: SBStreamRef,
test_file: *const ::std::os::raw::c_char,
) -> u8;
pub fn CreateSBInstructionList() -> SBInstructionListRef;
pub fn DisposeSBInstructionList(instance: SBInstructionListRef);
pub fn SBInstructionListIsValid(instance: SBInstructionListRef) -> u8;
pub fn SBInstructionListGetSize(instance: SBInstructionListRef) -> ::std::os::raw::c_uint;
pub fn SBInstructionListGetInstructionAtIndex(
instance: SBInstructionListRef,
idx: uint32_t,
) -> SBInstructionRef;
pub fn SBInstructionListClear(instance: SBInstructionListRef);
pub fn SBInstructionListAppendInstruction(
instance: SBInstructionListRef,
inst: SBInstructionRef,
);
pub fn SBInstructionListPrint(instance: SBInstructionListRef, out: *mut FILE);
pub fn SBInstructionListGetDescription(
instance: SBInstructionListRef,
description: SBStreamRef,
) -> u8;
pub fn SBInstructionListDumpEmulationForAllInstructions(
instance: SBInstructionListRef,
triple: *const ::std::os::raw::c_char,
) -> u8;
pub fn SBLanguageRuntimeGetLanguageTypeFromString(
string: *const ::std::os::raw::c_char,
) -> LanguageType;
pub fn SBLanguageRuntimeGetNameForLanguageType(
language: LanguageType,
) -> *const ::std::os::raw::c_char;
pub fn CreateSBLaunchInfo(argv: *mut *const ::std::os::raw::c_char) -> SBLaunchInfoRef;
pub fn DisposeSBLaunchInfo(instance: SBLaunchInfoRef);
pub fn SBLaunchInfoGetProcessID(instance: SBLaunchInfoRef) -> ::std::os::raw::c_ulonglong;
pub fn SBLaunchInfoGetUserID(instance: SBLaunchInfoRef) -> ::std::os::raw::c_uint;
pub fn SBLaunchInfoGetGroupID(instance: SBLaunchInfoRef) -> ::std::os::raw::c_uint;
pub fn SBLaunchInfoUserIDIsValid(instance: SBLaunchInfoRef) -> u8;
pub fn SBLaunchInfoGroupIDIsValid(instance: SBLaunchInfoRef) -> u8;
pub fn SBLaunchInfoSetUserID(instance: SBLaunchInfoRef, uid: uint32_t);
pub fn SBLaunchInfoSetGroupID(instance: SBLaunchInfoRef, gid: uint32_t);
pub fn SBLaunchInfoGetExecutableFile(instance: SBLaunchInfoRef) -> SBFileSpecRef;
pub fn SBLaunchInfoSetExecutableFile(
instance: SBLaunchInfoRef,
exe_file: SBFileSpecRef,
add_as_first_arg: u8,
);
pub fn SBLaunchInfoGetListener(instance: SBLaunchInfoRef) -> SBListenerRef;
pub fn SBLaunchInfoSetListener(instance: SBLaunchInfoRef, listener: SBListenerRef);
pub fn SBLaunchInfoGetNumArguments(instance: SBLaunchInfoRef) -> ::std::os::raw::c_uint;
pub fn SBLaunchInfoGetArgumentAtIndex(
instance: SBLaunchInfoRef,
idx: uint32_t,
) -> *const ::std::os::raw::c_char;
pub fn SBLaunchInfoSetArguments(
instance: SBLaunchInfoRef,
argv: *mut *const ::std::os::raw::c_char,
append: u8,
);
pub fn SBLaunchInfoGetNumEnvironmentEntries(
instance: SBLaunchInfoRef,
) -> ::std::os::raw::c_uint;
pub fn SBLaunchInfoGetEnvironmentEntryAtIndex(
instance: SBLaunchInfoRef,
idx: uint32_t,
) -> *const ::std::os::raw::c_char;
pub fn SBLaunchInfoSetEnvironmentEntries(
instance: SBLaunchInfoRef,
envp: *mut *const ::std::os::raw::c_char,
append: u8,
);
pub fn SBLaunchInfoClear(instance: SBLaunchInfoRef);
pub fn SBLaunchInfoGetWorkingDirectory(
instance: SBLaunchInfoRef,
) -> *const ::std::os::raw::c_char;
pub fn SBLaunchInfoSetWorkingDirectory(
instance: SBLaunchInfoRef,
working_dir: *const ::std::os::raw::c_char,
);
pub fn SBLaunchInfoGetLaunchFlags(instance: SBLaunchInfoRef) -> ::std::os::raw::c_uint;
pub fn SBLaunchInfoSetLaunchFlags(instance: SBLaunchInfoRef, flags: uint32_t);
pub fn SBLaunchInfoGetProcessPluginName(
instance: SBLaunchInfoRef,
) -> *const ::std::os::raw::c_char;
pub fn SBLaunchInfoSetProcessPluginName(
instance: SBLaunchInfoRef,
plugin_name: *const ::std::os::raw::c_char,
);
pub fn SBLaunchInfoGetShell(instance: SBLaunchInfoRef) -> *const ::std::os::raw::c_char;
pub fn SBLaunchInfoSetShell(instance: SBLaunchInfoRef, path: *const ::std::os::raw::c_char);
pub fn SBLaunchInfoGetShellExpandArguments(instance: SBLaunchInfoRef) -> u8;
pub fn SBLaunchInfoSetShellExpandArguments(instance: SBLaunchInfoRef, glob: u8);
pub fn SBLaunchInfoGetResumeCount(instance: SBLaunchInfoRef) -> ::std::os::raw::c_uint;
pub fn SBLaunchInfoSetResumeCount(instance: SBLaunchInfoRef, c: uint32_t);
pub fn SBLaunchInfoAddCloseFileAction(
instance: SBLaunchInfoRef,
fd: ::std::os::raw::c_int,
) -> u8;
pub fn SBLaunchInfoAddDuplicateFileAction(
instance: SBLaunchInfoRef,
fd: ::std::os::raw::c_int,
dup_fd: ::std::os::raw::c_int,
) -> u8;
pub fn SBLaunchInfoAddOpenFileAction(
instance: SBLaunchInfoRef,
fd: ::std::os::raw::c_int,
path: *const ::std::os::raw::c_char,
read: u8,
write: u8,
) -> u8;
pub fn SBLaunchInfoAddSuppressFileAction(
instance: SBLaunchInfoRef,
fd: ::std::os::raw::c_int,
read: u8,
write: u8,
) -> u8;
pub fn SBLaunchInfoSetLaunchEventData(
instance: SBLaunchInfoRef,
data: *const ::std::os::raw::c_char,
);
pub fn SBLaunchInfoGetLaunchEventData(
instance: SBLaunchInfoRef,
) -> *const ::std::os::raw::c_char;
pub fn SBLaunchInfoGetDetachOnError(instance: SBLaunchInfoRef) -> u8;
pub fn SBLaunchInfoSetDetachOnError(instance: SBLaunchInfoRef, enable: u8);
pub fn CreateSBLineEntry() -> SBLineEntryRef;
pub fn DisposeSBLineEntry(instance: SBLineEntryRef);
pub fn SBLineEntryGetStartAddress(instance: SBLineEntryRef) -> SBAddressRef;
pub fn SBLineEntryGetEndAddress(instance: SBLineEntryRef) -> SBAddressRef;
pub fn SBLineEntryIsValid(instance: SBLineEntryRef) -> u8;
pub fn SBLineEntryGetFileSpec(instance: SBLineEntryRef) -> SBFileSpecRef;
pub fn SBLineEntryGetLine(instance: SBLineEntryRef) -> ::std::os::raw::c_uint;
pub fn SBLineEntryGetColumn(instance: SBLineEntryRef) -> ::std::os::raw::c_uint;
pub fn SBLineEntrySetFileSpec(instance: SBLineEntryRef, filespec: SBFileSpecRef);
pub fn SBLineEntrySetLine(instance: SBLineEntryRef, line: uint32_t);
pub fn SBLineEntrySetColumn(instance: SBLineEntryRef, column: uint32_t);
pub fn SBLineEntryGetDescription(instance: SBLineEntryRef, description: SBStreamRef) -> u8;
pub fn CreateSBListener() -> SBListenerRef;
pub fn CreateSBListener2(name: *const ::std::os::raw::c_char) -> SBListenerRef;
pub fn DisposeSBListener(instance: SBListenerRef);
pub fn SBListenerAddEvent(instance: SBListenerRef, event: SBEventRef);
pub fn SBListenerClear(instance: SBListenerRef);
pub fn SBListenerIsValid(instance: SBListenerRef) -> u8;
pub fn SBListenerStartListeningForEventClass(
instance: SBListenerRef,
debugger: SBDebuggerRef,
broadcaster_class: *const ::std::os::raw::c_char,
event_mask: uint32_t,
) -> ::std::os::raw::c_uint;
pub fn SBListenerStopListeningForEventClass(
instance: SBListenerRef,
debugger: SBDebuggerRef,
broadcaster_class: *const ::std::os::raw::c_char,
event_mask: uint32_t,
) -> u8;
pub fn SBListenerStartListeningForEvents(
instance: SBListenerRef,
broadcaster: SBBroadcasterRef,
event_mask: uint32_t,
) -> ::std::os::raw::c_uint;
pub fn SBListenerStopListeningForEvents(
instance: SBListenerRef,
broadcaster: SBBroadcasterRef,
event_mask: uint32_t,
) -> u8;
pub fn SBListenerWaitForEvent(
instance: SBListenerRef,
num_seconds: uint32_t,
event: SBEventRef,
) -> u8;
pub fn SBListenerWaitForEventForBroadcaster(
instance: SBListenerRef,
num_seconds: uint32_t,
broadcaster: SBBroadcasterRef,
sb_event: SBEventRef,
) -> u8;
pub fn SBListenerWaitForEventForBroadcasterWithType(
instance: SBListenerRef,
num_seconds: uint32_t,
broadcaster: SBBroadcasterRef,
event_type_mask: uint32_t,
sb_event: SBEventRef,
) -> u8;
pub fn SBListenerPeekAtNextEvent(instance: SBListenerRef, sb_event: SBEventRef) -> u8;
pub fn SBListenerPeekAtNextEventForBroadcaster(
instance: SBListenerRef,
broadcaster: SBBroadcasterRef,
sb_event: SBEventRef,
) -> u8;
pub fn SBListenerPeekAtNextEventForBroadcasterWithType(
instance: SBListenerRef,
broadcaster: SBBroadcasterRef,
event_type_mask: uint32_t,
sb_event: SBEventRef,
) -> u8;
pub fn SBListenerGetNextEvent(instance: SBListenerRef, sb_event: SBEventRef) -> u8;
pub fn SBListenerGetNextEventForBroadcaster(
instance: SBListenerRef,
broadcaster: SBBroadcasterRef,
sb_event: SBEventRef,
) -> u8;
pub fn SBListenerGetNextEventForBroadcasterWithType(
instance: SBListenerRef,
broadcaster: SBBroadcasterRef,
event_type_mask: uint32_t,
sb_event: SBEventRef,
) -> u8;
pub fn SBListenerHandleBroadcastEvent(instance: SBListenerRef, event: SBEventRef) -> u8;
pub fn CreateSBModule() -> SBModuleRef;
pub fn CreateSBModule2(module_spec: SBModuleSpecRef) -> SBModuleRef;
pub fn CreateSBModule3(process: SBProcessRef, header_addr: lldb_addr_t) -> SBModuleRef;
pub fn DisposeSBModule(instance: SBModuleRef);
pub fn SBModuleIsValid(instance: SBModuleRef) -> u8;
pub fn SBModuleClear(instance: SBModuleRef);
pub fn SBModuleGetFileSpec(instance: SBModuleRef) -> SBFileSpecRef;
pub fn SBModuleGetPlatformFileSpec(instance: SBModuleRef) -> SBFileSpecRef;
pub fn SBModuleSetPlatformFileSpec(instance: SBModuleRef, platform_file: SBFileSpecRef) -> u8;
pub fn SBModuleGetRemoteInstallFileSpec(instance: SBModuleRef) -> SBFileSpecRef;
pub fn SBModuleSetRemoteInstallFileSpec(instance: SBModuleRef, file: SBFileSpecRef) -> u8;
pub fn SBModuleGetByteOrder(instance: SBModuleRef) -> ByteOrder;
pub fn SBModuleGetAddressByteSize(instance: SBModuleRef) -> ::std::os::raw::c_uint;
pub fn SBModuleGetTriple(instance: SBModuleRef) -> *const ::std::os::raw::c_char;
pub fn SBModuleGetUUIDBytes(instance: SBModuleRef) -> *const uint8_t;
pub fn SBModuleGetUUIDString(instance: SBModuleRef) -> *const ::std::os::raw::c_char;
pub fn SBModuleFindSection(
instance: SBModuleRef,
sect_name: *const ::std::os::raw::c_char,
) -> SBSectionRef;
pub fn SBModuleResolveFileAddress(instance: SBModuleRef, vm_addr: lldb_addr_t) -> SBAddressRef;
pub fn SBModuleResolveSymbolContextForAddress(
instance: SBModuleRef,
addr: SBAddressRef,
resolve_scope: uint32_t,
) -> SBSymbolContextRef;
pub fn SBModuleGetDescription(instance: SBModuleRef, description: SBStreamRef) -> u8;
pub fn SBModuleGetNumCompileUnits(instance: SBModuleRef) -> ::std::os::raw::c_uint;
pub fn SBModuleGetCompileUnitAtIndex(instance: SBModuleRef, arg1: uint32_t)
-> SBCompileUnitRef;
pub fn SBModuleGetNumSymbols(instance: SBModuleRef) -> ::std::os::raw::c_uint;
pub fn SBModuleGetSymbolAtIndex(instance: SBModuleRef, idx: size_t) -> SBSymbolRef;
pub fn SBModuleFindSymbol(
instance: SBModuleRef,
name: *const ::std::os::raw::c_char,
type_: SymbolType,
) -> SBSymbolRef;
pub fn SBModuleFindSymbols(
instance: SBModuleRef,
name: *const ::std::os::raw::c_char,
type_: SymbolType,
) -> SBSymbolContextListRef;
pub fn SBModuleGetNumSections(instance: SBModuleRef) -> ::std::os::raw::c_uint;
pub fn SBModuleGetSectionAtIndex(instance: SBModuleRef, idx: size_t) -> SBSectionRef;
pub fn SBModuleFindFunctions(
instance: SBModuleRef,
name: *const ::std::os::raw::c_char,
name_type_mask: uint32_t,
) -> SBSymbolContextListRef;
pub fn SBModuleFindGlobalVariables(
instance: SBModuleRef,
target: SBTargetRef,
name: *const ::std::os::raw::c_char,
max_matches: uint32_t,
) -> SBValueListRef;
pub fn SBModuleFindFirstGlobalVariable(
instance: SBModuleRef,
target: SBTargetRef,
name: *const ::std::os::raw::c_char,
) -> SBValueRef;
pub fn SBModuleFindFirstType(
instance: SBModuleRef,
name: *const ::std::os::raw::c_char,
) -> SBTypeRef;
pub fn SBModuleFindTypes(
instance: SBModuleRef,
type_: *const ::std::os::raw::c_char,
) -> SBTypeListRef;
pub fn SBModuleGetTypeByID(instance: SBModuleRef, uid: lldb_user_id_t) -> SBTypeRef;
pub fn SBModuleGetBasicType(instance: SBModuleRef, type_: BasicType) -> SBTypeRef;
pub fn SBModuleGetTypes(instance: SBModuleRef, type_mask: uint32_t) -> SBTypeListRef;
pub fn SBModuleGetVersion(
instance: SBModuleRef,
versions: *mut uint32_t,
num_versions: uint32_t,
) -> ::std::os::raw::c_uint;
pub fn SBModuleGetSymbolFileSpec(instance: SBModuleRef) -> SBFileSpecRef;
pub fn SBModuleGetObjectFileHeaderAddress(instance: SBModuleRef) -> SBAddressRef;
pub fn CreateSBModuleSpec() -> SBModuleSpecRef;
pub fn DisposeSBModuleSpec(instance: SBModuleSpecRef);
pub fn SBModuleSpecIsValid(instance: SBModuleSpecRef) -> u8;
pub fn SBModuleSpecClear(instance: SBModuleSpecRef);
pub fn SBModuleSpecGetFileSpec(instance: SBModuleSpecRef) -> SBFileSpecRef;
pub fn SBModuleSpecSetFileSpec(instance: SBModuleSpecRef, fspec: SBFileSpecRef);
pub fn SBModuleSpecGetPlatformFileSpec(instance: SBModuleSpecRef) -> SBFileSpecRef;
pub fn SBModuleSpecSetPlatformFileSpec(instance: SBModuleSpecRef, fspec: SBFileSpecRef);
pub fn SBModuleSpecGetSymbolFileSpec(instance: SBModuleSpecRef) -> SBFileSpecRef;
pub fn SBModuleSpecSetSymbolFileSpec(instance: SBModuleSpecRef, fspec: SBFileSpecRef);
pub fn SBModuleSpecGetObjectName(instance: SBModuleSpecRef) -> *const ::std::os::raw::c_char;
pub fn SBModuleSpecSetObjectName(
instance: SBModuleSpecRef,
name: *const ::std::os::raw::c_char,
);
pub fn SBModuleSpecGetTriple(instance: SBModuleSpecRef) -> *const ::std::os::raw::c_char;
pub fn SBModuleSpecSetTriple(instance: SBModuleSpecRef, triple: *const ::std::os::raw::c_char);
pub fn SBModuleSpecGetUUIDBytes(instance: SBModuleSpecRef) -> *const uint8_t;
pub fn SBModuleSpecGetUUIDLength(instance: SBModuleSpecRef) -> ::std::os::raw::c_uint;
pub fn SBModuleSpecSetUUIDBytes(
instance: SBModuleSpecRef,
uuid: *const uint8_t,
uuid_len: size_t,
) -> u8;
pub fn SBModuleSpecGetDescription(instance: SBModuleSpecRef, description: SBStreamRef) -> u8;
pub fn CreateSBModuleSpecList() -> SBModuleSpecListRef;
pub fn DisposeSBModuleSpecList(instance: SBModuleSpecListRef);
pub fn SBModuleSpecListGetModuleSpecifications(
path: *const ::std::os::raw::c_char,
) -> SBModuleSpecListRef;
pub fn SBModuleSpecListAppend(instance: SBModuleSpecListRef, spec: SBModuleSpecRef);
pub fn SBModuleSpecListAppend2(instance: SBModuleSpecListRef, spec_list: SBModuleSpecListRef);
pub fn SBModuleSpecListFindFirstMatchingSpec(
instance: SBModuleSpecListRef,
match_spec: SBModuleSpecRef,
) -> SBModuleSpecRef;
pub fn SBModuleSpecListFindMatchingSpecs(
instance: SBModuleSpecListRef,
match_spec: SBModuleSpecRef,
) -> SBModuleSpecListRef;
pub fn SBModuleSpecListGetSize(instance: SBModuleSpecListRef) -> ::std::os::raw::c_uint;
pub fn SBModuleSpecListGetSpecAtIndex(
instance: SBModuleSpecListRef,
i: size_t,
) -> SBModuleSpecRef;
pub fn SBModuleSpecListGetDescription(
instance: SBModuleSpecListRef,
description: SBStreamRef,
) -> u8;
pub fn CreateSBPlatformConnectOptions(
url: *const ::std::os::raw::c_char,
) -> SBPlatformConnectOptionsRef;
pub fn DisposeSBPlatformConnectOptions(instance: SBPlatformConnectOptionsRef);
pub fn SBPlatformConnectOptionsGetURL(
instance: SBPlatformConnectOptionsRef,
) -> *const ::std::os::raw::c_char;
pub fn SBPlatformConnectOptionsSetURL(
instance: SBPlatformConnectOptionsRef,
url: *const ::std::os::raw::c_char,
);
pub fn SBPlatformConnectOptionsGetRsyncEnabled(instance: SBPlatformConnectOptionsRef) -> u8;
pub fn SBPlatformConnectOptionsEnableRsync(
instance: SBPlatformConnectOptionsRef,
options: *const ::std::os::raw::c_char,
remote_path_prefix: *const ::std::os::raw::c_char,
omit_remote_hostname: u8,
);
pub fn SBPlatformConnectOptionsDisableRsync(instance: SBPlatformConnectOptionsRef);
pub fn SBPlatformConnectOptionsGetLocalCacheDirectory(
instance: SBPlatformConnectOptionsRef,
) -> *const ::std::os::raw::c_char;
pub fn SBPlatformConnectOptionsSetLocalCacheDirectory(
instance: SBPlatformConnectOptionsRef,
path: *const ::std::os::raw::c_char,
);
pub fn CreateSBPlatformShellCommand(
shell_command: *const ::std::os::raw::c_char,
) -> SBPlatformShellCommandRef;
pub fn DisposeSBPlatformShellCommand(instance: SBPlatformShellCommandRef);
pub fn SBPlatformShellCommandClear(instance: SBPlatformShellCommandRef);
pub fn SBPlatformShellCommandGetCommand(
instance: SBPlatformShellCommandRef,
) -> *const ::std::os::raw::c_char;
pub fn SBPlatformShellCommandSetCommand(
instance: SBPlatformShellCommandRef,
shell_command: *const ::std::os::raw::c_char,
);
pub fn SBPlatformShellCommandGetWorkingDirectory(
instance: SBPlatformShellCommandRef,
) -> *const ::std::os::raw::c_char;
pub fn SBPlatformShellCommandSetWorkingDirectory(
instance: SBPlatformShellCommandRef,
path: *const ::std::os::raw::c_char,
);
pub fn SBPlatformShellCommandGetTimeoutSeconds(
instance: SBPlatformShellCommandRef,
) -> ::std::os::raw::c_uint;
pub fn SBPlatformShellCommandSetTimeoutSeconds(
instance: SBPlatformShellCommandRef,
sec: uint32_t,
);
pub fn SBPlatformShellCommandGetSignal(
instance: SBPlatformShellCommandRef,
) -> ::std::os::raw::c_int;
pub fn SBPlatformShellCommandGetStatus(
instance: SBPlatformShellCommandRef,
) -> ::std::os::raw::c_int;
pub fn SBPlatformShellCommandGetOutput(
instance: SBPlatformShellCommandRef,
) -> *const ::std::os::raw::c_char;
pub fn CreateSBPlatform() -> SBPlatformRef;
pub fn CreateSBPlatform2(platform_name: *const ::std::os::raw::c_char) -> SBPlatformRef;
pub fn DisposeSBPlatform(instance: SBPlatformRef);
pub fn SBPlatformIsValid(instance: SBPlatformRef) -> u8;
pub fn SBPlatformClear(instance: SBPlatformRef);
pub fn SBPlatformGetWorkingDirectory(instance: SBPlatformRef) -> *const ::std::os::raw::c_char;
pub fn SBPlatformSetWorkingDirectory(
instance: SBPlatformRef,
path: *const ::std::os::raw::c_char,
) -> u8;
pub fn SBPlatformGetName(instance: SBPlatformRef) -> *const ::std::os::raw::c_char;
pub fn SBPlatformConnectRemote(
instance: SBPlatformRef,
connect_options: SBPlatformConnectOptionsRef,
) -> SBErrorRef;
pub fn SBPlatformDisconnectRemote(instance: SBPlatformRef);
pub fn SBPlatformIsConnected(instance: SBPlatformRef) -> u8;
pub fn SBPlatformGetTriple(instance: SBPlatformRef) -> *const ::std::os::raw::c_char;
pub fn SBPlatformGetHostname(instance: SBPlatformRef) -> *const ::std::os::raw::c_char;
pub fn SBPlatformGetOSBuild(instance: SBPlatformRef) -> *const ::std::os::raw::c_char;
pub fn SBPlatformGetOSDescription(instance: SBPlatformRef) -> *const ::std::os::raw::c_char;
pub fn SBPlatformGetOSMajorVersion(instance: SBPlatformRef) -> ::std::os::raw::c_uint;
pub fn SBPlatformGetOSMinorVersion(instance: SBPlatformRef) -> ::std::os::raw::c_uint;
pub fn SBPlatformGetOSUpdateVersion(instance: SBPlatformRef) -> ::std::os::raw::c_uint;
pub fn SBPlatformPut(
instance: SBPlatformRef,
src: SBFileSpecRef,
dst: SBFileSpecRef,
) -> SBErrorRef;
pub fn SBPlatformGet(
instance: SBPlatformRef,
src: SBFileSpecRef,
dst: SBFileSpecRef,
) -> SBErrorRef;
pub fn SBPlatformInstall(
instance: SBPlatformRef,
src: SBFileSpecRef,
dst: SBFileSpecRef,
) -> SBErrorRef;
pub fn SBPlatformRun(
instance: SBPlatformRef,
shell_command: SBPlatformShellCommandRef,
) -> SBErrorRef;
pub fn SBPlatformLaunch(instance: SBPlatformRef, launch_info: SBLaunchInfoRef) -> SBErrorRef;
pub fn SBPlatformKill(instance: SBPlatformRef, pid: lldb_pid_t) -> SBErrorRef;
pub fn SBPlatformMakeDirectory(
instance: SBPlatformRef,
path: *const ::std::os::raw::c_char,
file_permissions: uint32_t,
) -> SBErrorRef;
pub fn SBPlatformGetFilePermissions(
instance: SBPlatformRef,
path: *const ::std::os::raw::c_char,
) -> ::std::os::raw::c_uint;
pub fn SBPlatformSetFilePermissions(
instance: SBPlatformRef,
path: *const ::std::os::raw::c_char,
file_permissions: uint32_t,
) -> SBErrorRef;
pub fn CreateSBProcess() -> SBProcessRef;
pub fn DisposeSBProcess(instance: SBProcessRef);
pub fn SBProcessGetBroadcasterClassName() -> *const ::std::os::raw::c_char;
pub fn SBProcessGetPluginName(instance: SBProcessRef) -> *const ::std::os::raw::c_char;
pub fn SBProcessGetShortPluginName(instance: SBProcessRef) -> *const ::std::os::raw::c_char;
pub fn SBProcessClear(instance: SBProcessRef);
pub fn SBProcessIsValid(instance: SBProcessRef) -> u8;
pub fn SBProcessGetTarget(instance: SBProcessRef) -> SBTargetRef;
pub fn SBProcessGetByteOrder(instance: SBProcessRef) -> ByteOrder;
pub fn SBProcessPutSTDIN(
instance: SBProcessRef,
src: *const ::std::os::raw::c_char,
src_len: size_t,
) -> ::std::os::raw::c_uint;
pub fn SBProcessGetSTDOUT(
instance: SBProcessRef,
dst: *mut ::std::os::raw::c_char,
dst_len: size_t,
) -> ::std::os::raw::c_uint;
pub fn SBProcessGetSTDERR(
instance: SBProcessRef,
dst: *mut ::std::os::raw::c_char,
dst_len: size_t,
) -> ::std::os::raw::c_uint;
pub fn SBProcessGetAsyncProfileData(
instance: SBProcessRef,
dst: *mut ::std::os::raw::c_char,
dst_len: size_t,
) -> ::std::os::raw::c_uint;
pub fn SBProcessReportEventState(instance: SBProcessRef, event: SBEventRef, out: *mut FILE);
pub fn SBProcessAppendEventStateReport(
instance: SBProcessRef,
event: SBEventRef,
result: SBCommandReturnObjectRef,
);
pub fn SBProcessRemoteAttachToProcessWithID(
instance: SBProcessRef,
pid: lldb_pid_t,
error: SBErrorRef,
) -> u8;
pub fn SBProcessRemoteLaunch(
instance: SBProcessRef,
argv: *mut *const ::std::os::raw::c_char,
envp: *mut *const ::std::os::raw::c_char,
stdin_path: *const ::std::os::raw::c_char,
stdout_path: *const ::std::os::raw::c_char,
stderr_path: *const ::std::os::raw::c_char,
working_directory: *const ::std::os::raw::c_char,
launch_flags: uint32_t,
stop_at_entry: u8,
error: SBErrorRef,
) -> u8;
pub fn SBProcessGetNumThreads(instance: SBProcessRef) -> ::std::os::raw::c_uint;
pub fn SBProcessGetThreadAtIndex(instance: SBProcessRef, index: size_t) -> SBThreadRef;
pub fn SBProcessGetThreadByID(instance: SBProcessRef, sb_thread_id: lldb_tid_t) -> SBThreadRef;
pub fn SBProcessGetThreadByIndexID(instance: SBProcessRef, index_id: uint32_t) -> SBThreadRef;
pub fn SBProcessGetSelectedThread(instance: SBProcessRef) -> SBThreadRef;
pub fn SBProcessCreateOSPluginThread(
instance: SBProcessRef,
tid: lldb_tid_t,
context: lldb_addr_t,
) -> SBThreadRef;
pub fn SBProcessSetSelectedThread(instance: SBProcessRef, thread: SBThreadRef) -> u8;
pub fn SBProcessSetSelectedThreadByID(instance: SBProcessRef, tid: lldb_tid_t) -> u8;
pub fn SBProcessSetSelectedThreadByIndexID(instance: SBProcessRef, index_id: uint32_t) -> u8;
pub fn SBProcessGetNumQueues(instance: SBProcessRef) -> ::std::os::raw::c_uint;
pub fn SBProcessGetQueueAtIndex(instance: SBProcessRef, index: size_t) -> SBQueueRef;
pub fn SBProcessGetState(instance: SBProcessRef) -> StateType;
pub fn SBProcessGetExitStatus(instance: SBProcessRef) -> ::std::os::raw::c_int;
pub fn SBProcessGetExitDescription(instance: SBProcessRef) -> *const ::std::os::raw::c_char;
pub fn SBProcessGetProcessID(instance: SBProcessRef) -> ::std::os::raw::c_ulonglong;
pub fn SBProcessGetUniqueID(instance: SBProcessRef) -> ::std::os::raw::c_uint;
pub fn SBProcessGetAddressByteSize(instance: SBProcessRef) -> ::std::os::raw::c_uint;
pub fn SBProcessDestroy(instance: SBProcessRef) -> SBErrorRef;
pub fn SBProcessContinue(instance: SBProcessRef) -> SBErrorRef;
pub fn SBProcessStop(instance: SBProcessRef) -> SBErrorRef;
pub fn SBProcessKill(instance: SBProcessRef) -> SBErrorRef;
pub fn SBProcessDetach(instance: SBProcessRef) -> SBErrorRef;
pub fn SBProcessDetach2(instance: SBProcessRef, keep_stopped: u8) -> SBErrorRef;
pub fn SBProcessSignal(instance: SBProcessRef, signal: ::std::os::raw::c_int) -> SBErrorRef;
pub fn SBProcessGetUnixSignals(instance: SBProcessRef) -> SBUnixSignalsRef;
pub fn SBProcessSendAsyncInterrupt(instance: SBProcessRef);
pub fn SBProcessGetStopID(
instance: SBProcessRef,
include_expression_stops: u8,
) -> ::std::os::raw::c_uint;
pub fn SBProcessReadMemory(
instance: SBProcessRef,
addr: lldb_addr_t,
buf: *mut ::std::os::raw::c_void,
size: size_t,
error: SBErrorRef,
) -> ::std::os::raw::c_uint;
pub fn SBProcessWriteMemory(
instance: SBProcessRef,
addr: lldb_addr_t,
buf: *mut ::std::os::raw::c_void,
size: size_t,
error: SBErrorRef,
) -> ::std::os::raw::c_uint;
pub fn SBProcessReadCStringFromMemory(
instance: SBProcessRef,
addr: lldb_addr_t,
buf: *mut ::std::os::raw::c_void,
size: size_t,
error: SBErrorRef,
) -> ::std::os::raw::c_uint;
pub fn SBProcessReadUnsignedFromMemory(
instance: SBProcessRef,
addr: lldb_addr_t,
byte_size: uint32_t,
error: SBErrorRef,
) -> ::std::os::raw::c_ulonglong;
pub fn SBProcessReadPointerFromMemory(
instance: SBProcessRef,
addr: lldb_addr_t,
error: SBErrorRef,
) -> ::std::os::raw::c_ulonglong;
pub fn SBProcessGetStateFromEvent(event: SBEventRef) -> StateType;
pub fn SBProcessGetRestartedFromEvent(event: SBEventRef) -> u8;
pub fn SBProcessGetNumRestartedReasonsFromEvent(event: SBEventRef) -> ::std::os::raw::c_uint;
pub fn SBProcessGetRestartedReasonAtIndexFromEvent(
event: SBEventRef,
idx: size_t,
) -> *const ::std::os::raw::c_char;
pub fn SBProcessGetProcessFromEvent(event: SBEventRef) -> SBProcessRef;
pub fn SBProcessGetInterruptedFromEvent(event: SBEventRef) -> u8;
pub fn SBProcessGetStructuredDataFromEvent(event: SBEventRef) -> SBStructuredDataRef;
pub fn SBProcessEventIsProcessEvent(event: SBEventRef) -> u8;
pub fn SBProcessEventIsStructuredDataEvent(event: SBEventRef) -> u8;
pub fn SBProcessGetBroadcaster(instance: SBProcessRef) -> SBBroadcasterRef;
pub fn SBProcessGetBroadcasterClass() -> *const ::std::os::raw::c_char;
pub fn SBProcessGetDescription(instance: SBProcessRef, description: SBStreamRef) -> u8;
pub fn SBProcessGetNumSupportedHardwareWatchpoints(
instance: SBProcessRef,
error: SBErrorRef,
) -> ::std::os::raw::c_uint;
pub fn SBProcessLoadImage(
instance: SBProcessRef,
image_spec: SBFileSpecRef,
error: SBErrorRef,
) -> ::std::os::raw::c_uint;
pub fn SBProcessUnloadImage(instance: SBProcessRef, image_token: uint32_t) -> SBErrorRef;
pub fn SBProcessSendEventData(
instance: SBProcessRef,
data: *const ::std::os::raw::c_char,
) -> SBErrorRef;
pub fn SBProcessGetNumExtendedBacktraceTypes(instance: SBProcessRef) -> ::std::os::raw::c_uint;
pub fn SBProcessGetExtendedBacktraceTypeAtIndex(
instance: SBProcessRef,
idx: uint32_t,
) -> *const ::std::os::raw::c_char;
pub fn SBProcessGetHistoryThreads(
instance: SBProcessRef,
addr: lldb_addr_t,
) -> SBThreadCollectionRef;
pub fn SBProcessIsInstrumentationRuntimePresent(
instance: SBProcessRef,
type_: InstrumentationRuntimeType,
) -> u8;
pub fn SBProcessSaveCore(
instance: SBProcessRef,
file_name: *const ::std::os::raw::c_char,
) -> SBErrorRef;
pub fn CreateSBQueue() -> SBQueueRef;
pub fn DisposeSBQueue(instance: SBQueueRef);
pub fn SBQueueIsValid(instance: SBQueueRef) -> u8;
pub fn SBQueueClear(instance: SBQueueRef);
pub fn SBQueueGetProcess(instance: SBQueueRef) -> SBProcessRef;
pub fn SBQueueGetQueueID(instance: SBQueueRef) -> ::std::os::raw::c_ulonglong;
pub fn SBQueueGetName(instance: SBQueueRef) -> *const ::std::os::raw::c_char;
pub fn SBQueueGetIndexID(instance: SBQueueRef) -> ::std::os::raw::c_uint;
pub fn SBQueueGetNumThreads(instance: SBQueueRef) -> ::std::os::raw::c_uint;
pub fn SBQueueGetThreadAtIndex(instance: SBQueueRef, arg1: uint32_t) -> SBThreadRef;
pub fn SBQueueGetNumPendingItems(instance: SBQueueRef) -> ::std::os::raw::c_uint;
pub fn SBQueueGetPendingItemAtIndex(instance: SBQueueRef, arg1: uint32_t) -> SBQueueItemRef;
pub fn SBQueueGetNumRunningItems(instance: SBQueueRef) -> ::std::os::raw::c_uint;
pub fn SBQueueGetKind(instance: SBQueueRef) -> QueueKind;
pub fn CreateSBQueueItem() -> SBQueueItemRef;
pub fn DisposeSBQueueItem(instance: SBQueueItemRef);
pub fn SBQueueItemIsValid(instance: SBQueueItemRef) -> u8;
pub fn SBQueueItemClear(instance: SBQueueItemRef);
pub fn SBQueueItemGetKind(instance: SBQueueItemRef) -> QueueItemKind;
pub fn SBQueueItemSetKind(instance: SBQueueItemRef, kind: QueueItemKind);
pub fn SBQueueItemGetAddress(instance: SBQueueItemRef) -> SBAddressRef;
pub fn SBQueueItemSetAddress(instance: SBQueueItemRef, addr: SBAddressRef);
pub fn SBQueueItemGetExtendedBacktraceThread(
instance: SBQueueItemRef,
type_: *const ::std::os::raw::c_char,
) -> SBThreadRef;
pub fn CreateSBSection() -> SBSectionRef;
pub fn DisposeSBSection(instance: SBSectionRef);
pub fn SBSectionIsValid(instance: SBSectionRef) -> u8;
pub fn SBSectionGetName(instance: SBSectionRef) -> *const ::std::os::raw::c_char;
pub fn SBSectionGetParent(instance: SBSectionRef) -> SBSectionRef;
pub fn SBSectionFindSubSection(
instance: SBSectionRef,
sect_name: *const ::std::os::raw::c_char,
) -> SBSectionRef;
pub fn SBSectionGetNumSubSections(instance: SBSectionRef) -> ::std::os::raw::c_uint;
pub fn SBSectionGetSubSectionAtIndex(instance: SBSectionRef, idx: size_t) -> SBSectionRef;
pub fn SBSectionGetFileAddress(instance: SBSectionRef) -> ::std::os::raw::c_ulonglong;
pub fn SBSectionGetLoadAddress(
instance: SBSectionRef,
target: SBTargetRef,
) -> ::std::os::raw::c_ulonglong;
pub fn SBSectionGetByteSize(instance: SBSectionRef) -> ::std::os::raw::c_ulonglong;
pub fn SBSectionGetFileOffset(instance: SBSectionRef) -> ::std::os::raw::c_ulonglong;
pub fn SBSectionGetFileByteSize(instance: SBSectionRef) -> ::std::os::raw::c_ulonglong;
pub fn SBSectionGetSectionData(instance: SBSectionRef) -> SBDataRef;
pub fn SBSectionGetSectionData2(
instance: SBSectionRef,
offset: uint64_t,
size: uint64_t,
) -> SBDataRef;
pub fn SBSectionGetSectionType(instance: SBSectionRef) -> SectionType;
pub fn SBSectionGetTargetByteSize(instance: SBSectionRef) -> ::std::os::raw::c_uint;
pub fn SBSectionGetDescription(instance: SBSectionRef, description: SBStreamRef) -> u8;
pub fn CreateSBSourceManager(debugger: SBDebuggerRef) -> SBSourceManagerRef;
pub fn CreateSBSourceManager2(target: SBTargetRef) -> SBSourceManagerRef;
pub fn DisposeSBSourceManager(instance: SBSourceManagerRef);
pub fn SBSourceManagerDisplaySourceLinesWithLineNumbers(
instance: SBSourceManagerRef,
file: SBFileSpecRef,
line: uint32_t,
context_before: uint32_t,
context_after: uint32_t,
current_line_cstr: *const ::std::os::raw::c_char,
s: SBStreamRef,
) -> ::std::os::raw::c_uint;
pub fn CreateSBStream() -> SBStreamRef;
pub fn DisposeSBStream(instance: SBStreamRef);
pub fn SBStreamIsValid(instance: SBStreamRef) -> u8;
pub fn SBStreamGetData(instance: SBStreamRef) -> *const ::std::os::raw::c_char;
pub fn SBStreamGetSize(instance: SBStreamRef) -> ::std::os::raw::c_uint;
pub fn SBStreamPrintf(instance: SBStreamRef, format: *const ::std::os::raw::c_char, ...);
pub fn SBStreamRedirectToFile(
instance: SBStreamRef,
path: *const ::std::os::raw::c_char,
append: u8,
);
pub fn SBStreamRedirectToFileHandle(
instance: SBStreamRef,
fh: *mut FILE,
transfer_fh_ownership: u8,
);
pub fn SBStreamRedirectToFileDescriptor(
instance: SBStreamRef,
fd: ::std::os::raw::c_int,
transfer_fh_ownership: u8,
);
pub fn SBStreamClear(instance: SBStreamRef);
pub fn CreateSBStringList() -> SBStringListRef;
pub fn DisposeSBStringList(instance: SBStringListRef);
pub fn SBStringListIsValid(instance: SBStringListRef) -> u8;
pub fn SBStringListAppendString(instance: SBStringListRef, str: *const ::std::os::raw::c_char);
pub fn SBStringListAppendList(
instance: SBStringListRef,
strv: *mut *const ::std::os::raw::c_char,
strc: ::std::os::raw::c_int,
);
pub fn SBStringListAppendList2(instance: SBStringListRef, strings: SBStringListRef);
pub fn SBStringListGetSize(instance: SBStringListRef) -> ::std::os::raw::c_uint;
pub fn SBStringListGetStringAtIndex(
instance: SBStringListRef,
idx: size_t,
) -> *const ::std::os::raw::c_char;
pub fn SBStringListClear(instance: SBStringListRef);
pub fn CreateSBStructuredData() -> SBStructuredDataRef;
pub fn DisposeSBStructuredData(instance: SBStructuredDataRef);
pub fn SBStructuredDataIsValid(instance: SBStructuredDataRef) -> u8;
pub fn SBStructuredDataClear(instance: SBStructuredDataRef);
pub fn SBStructuredDataSetFromJSON(
instance: SBStructuredDataRef,
stream: SBStreamRef,
) -> SBErrorRef;
pub fn SBStructuredDataGetAsJSON(
instance: SBStructuredDataRef,
stream: SBStreamRef,
) -> SBErrorRef;
pub fn SBStructuredDataGetDescription(
instance: SBStructuredDataRef,
stream: SBStreamRef,
) -> SBErrorRef;
pub fn SBStructuredDataGetType(instance: SBStructuredDataRef) -> StructuredDataType;
pub fn SBStructuredDataGetSize(instance: SBStructuredDataRef) -> size_t;
pub fn SBStructuredDataGetValueForKey(
instance: SBStructuredDataRef,
key: *const ::std::os::raw::c_char,
) -> SBStructuredDataRef;
pub fn SBStructuredDataGetItemAtIndex(
instance: SBStructuredDataRef,
idx: size_t,
) -> SBStructuredDataRef;
pub fn SBStructuredDataGetIntegerValue(
instance: SBStructuredDataRef,
fail_value: uint64_t,
) -> uint64_t;
pub fn SBStructuredDataGetFloatValue(
instance: SBStructuredDataRef,
fail_value: ::std::os::raw::c_double,
) -> ::std::os::raw::c_double;
pub fn SBStructuredDataGetBooleanValue(instance: SBStructuredDataRef, fail_value: u8) -> u8;
pub fn SBStructuredDataGetStringValue(
instance: SBStructuredDataRef,
dst: *mut ::std::os::raw::c_char,
dstlen: size_t,
) -> size_t;
pub fn CreateSBSymbol() -> SBSymbolRef;
pub fn DisposeSBSymbol(instance: SBSymbolRef);
pub fn SBSymbolIsValid(instance: SBSymbolRef) -> u8;
pub fn SBSymbolGetName(instance: SBSymbolRef) -> *const ::std::os::raw::c_char;
pub fn SBSymbolGetDisplayName(instance: SBSymbolRef) -> *const ::std::os::raw::c_char;
pub fn SBSymbolGetMangledName(instance: SBSymbolRef) -> *const ::std::os::raw::c_char;
pub fn SBSymbolGetInstructions(
instance: SBSymbolRef,
target: SBTargetRef,
) -> SBInstructionListRef;
pub fn SBSymbolGetInstructions2(
instance: SBSymbolRef,
target: SBTargetRef,
flavor_string: *const ::std::os::raw::c_char,
) -> SBInstructionListRef;
pub fn SBSymbolGetStartAddress(instance: SBSymbolRef) -> SBAddressRef;
pub fn SBSymbolGetEndAddress(instance: SBSymbolRef) -> SBAddressRef;
pub fn SBSymbolGetPrologueByteSize(instance: SBSymbolRef) -> ::std::os::raw::c_uint;
pub fn SBSymbolGetType(instance: SBSymbolRef) -> SymbolType;
pub fn SBSymbolGetDescription(instance: SBSymbolRef, description: SBStreamRef) -> u8;
pub fn SBSymbolIsExternal(instance: SBSymbolRef) -> u8;
pub fn SBSymbolIsSynthetic(instance: SBSymbolRef) -> u8;
pub fn CreateSBSymbolContext() -> SBSymbolContextRef;
pub fn DisposeSBSymbolContext(instance: SBSymbolContextRef);
pub fn SBSymbolContextIsValid(instance: SBSymbolContextRef) -> u8;
pub fn SBSymbolContextGetModule(instance: SBSymbolContextRef) -> SBModuleRef;
pub fn SBSymbolContextGetCompileUnit(instance: SBSymbolContextRef) -> SBCompileUnitRef;
pub fn SBSymbolContextGetFunction(instance: SBSymbolContextRef) -> SBFunctionRef;
pub fn SBSymbolContextGetBlock(instance: SBSymbolContextRef) -> SBBlockRef;
pub fn SBSymbolContextGetLineEntry(instance: SBSymbolContextRef) -> SBLineEntryRef;
pub fn SBSymbolContextGetSymbol(instance: SBSymbolContextRef) -> SBSymbolRef;
pub fn SBSymbolContextSetModule(instance: SBSymbolContextRef, module: SBModuleRef);
pub fn SBSymbolContextSetCompileUnit(
instance: SBSymbolContextRef,
compile_unit: SBCompileUnitRef,
);
pub fn SBSymbolContextSetFunction(instance: SBSymbolContextRef, function: SBFunctionRef);
pub fn SBSymbolContextSetBlock(instance: SBSymbolContextRef, block: SBBlockRef);
pub fn SBSymbolContextSetLineEntry(instance: SBSymbolContextRef, line_entry: SBLineEntryRef);
pub fn SBSymbolContextSetSymbol(instance: SBSymbolContextRef, symbol: SBSymbolRef);
pub fn SBSymbolContextGetParentOfInlinedScope(
instance: SBSymbolContextRef,
curr_frame_pc: SBAddressRef,
parent_frame_addr: SBAddressRef,
) -> SBSymbolContextRef;
pub fn SBSymbolContextGetDescription(
instance: SBSymbolContextRef,
description: SBStreamRef,
) -> u8;
pub fn CreateSBSymbolContextList() -> SBSymbolContextListRef;
pub fn DisposeSBSymbolContextList(instance: SBSymbolContextListRef);
pub fn SBSymbolContextListIsValid(instance: SBSymbolContextListRef) -> u8;
pub fn SBSymbolContextListGetSize(instance: SBSymbolContextListRef) -> ::std::os::raw::c_uint;
pub fn SBSymbolContextListGetContextAtIndex(
instance: SBSymbolContextListRef,
idx: uint32_t,
) -> SBSymbolContextRef;
pub fn SBSymbolContextListGetDescription(
instance: SBSymbolContextListRef,
description: SBStreamRef,
) -> u8;
pub fn SBSymbolContextListAppend(instance: SBSymbolContextListRef, sc: SBSymbolContextRef);
pub fn SBSymbolContextListAppend2(
instance: SBSymbolContextListRef,
sc_list: SBSymbolContextListRef,
);
pub fn SBSymbolContextListClear(instance: SBSymbolContextListRef);
pub fn CreateSBTarget() -> SBTargetRef;
pub fn DisposeSBTarget(instance: SBTargetRef);
pub fn SBTargetIsValid(instance: SBTargetRef) -> u8;
pub fn SBTargetEventIsTargetEvent(event: SBEventRef) -> u8;
pub fn SBTargetGetTargetFromEvent(event: SBEventRef) -> SBTargetRef;
pub fn SBTargetGetNumModulesFromEvent(event: SBEventRef) -> ::std::os::raw::c_uint;
pub fn SBTargetGetModuleAtIndexFromEvent(idx: uint32_t, event: SBEventRef) -> SBModuleRef;
pub fn SBTargetGetBroadcasterClassName() -> *const ::std::os::raw::c_char;
pub fn SBTargetGetProcess(instance: SBTargetRef) -> SBProcessRef;
pub fn SBTargetGetPlatform(instance: SBTargetRef) -> SBPlatformRef;
pub fn SBTargetInstall(instance: SBTargetRef) -> SBErrorRef;
pub fn SBTargetLaunch(
instance: SBTargetRef,
listener: SBListenerRef,
argv: *mut *const ::std::os::raw::c_char,
envp: *mut *const ::std::os::raw::c_char,
stdin_path: *const ::std::os::raw::c_char,
stdout_path: *const ::std::os::raw::c_char,
stderr_path: *const ::std::os::raw::c_char,
working_directory: *const ::std::os::raw::c_char,
launch_flags: uint32_t,
stop_at_entry: u8,
error: SBErrorRef,
) -> SBProcessRef;
pub fn SBTargetLaunchSimple(
instance: SBTargetRef,
argv: *mut *const ::std::os::raw::c_char,
envp: *mut *const ::std::os::raw::c_char,
working_directory: *const ::std::os::raw::c_char,
) -> SBProcessRef;
pub fn SBTargetLaunch2(
instance: SBTargetRef,
launch_info: SBLaunchInfoRef,
error: SBErrorRef,
) -> SBProcessRef;
pub fn SBTargetLoadCore(
instance: SBTargetRef,
core_file: *const ::std::os::raw::c_char,
) -> SBProcessRef;
pub fn SBTargetAttach(
instance: SBTargetRef,
attach_info: SBAttachInfoRef,
error: SBErrorRef,
) -> SBProcessRef;
pub fn SBTargetAttachToProcessWithID(
instance: SBTargetRef,
listener: SBListenerRef,
pid: lldb_pid_t,
error: SBErrorRef,
) -> SBProcessRef;
pub fn SBTargetAttachToProcessWithName(
instance: SBTargetRef,
listener: SBListenerRef,
name: *const ::std::os::raw::c_char,
wait_for: u8,
error: SBErrorRef,
) -> SBProcessRef;
pub fn SBTargetConnectRemote(
instance: SBTargetRef,
listener: SBListenerRef,
url: *const ::std::os::raw::c_char,
plugin_name: *const ::std::os::raw::c_char,
error: SBErrorRef,
) -> SBProcessRef;
pub fn SBTargetGetExecutable(instance: SBTargetRef) -> SBFileSpecRef;
pub fn SBTargetAddModule(instance: SBTargetRef, module: SBModuleRef) -> u8;
pub fn SBTargetAddModuleSpec(
instance: SBTargetRef,
module_spec: SBModuleSpecRef,
) -> SBModuleRef;
pub fn SBTargetGetNumModules(instance: SBTargetRef) -> ::std::os::raw::c_uint;
pub fn SBTargetGetModuleAtIndex(instance: SBTargetRef, idx: uint32_t) -> SBModuleRef;
pub fn SBTargetRemoveModule(instance: SBTargetRef, module: SBModuleRef) -> u8;
pub fn SBTargetGetDebugger(instance: SBTargetRef) -> SBDebuggerRef;
pub fn SBTargetFindModule(instance: SBTargetRef, file_spec: SBFileSpecRef) -> SBModuleRef;
pub fn SBTargetGetByteOrder(instance: SBTargetRef) -> ByteOrder;
pub fn SBTargetGetAddressByteSize(instance: SBTargetRef) -> ::std::os::raw::c_uint;
pub fn SBTargetGetTriple(instance: SBTargetRef) -> *const ::std::os::raw::c_char;
pub fn SBTargetGetDataByteSize(instance: SBTargetRef) -> ::std::os::raw::c_uint;
pub fn SBTargetGetCodeByteSize(instance: SBTargetRef) -> ::std::os::raw::c_uint;
pub fn SBTargetSetSectionLoadAddress(
instance: SBTargetRef,
section: SBSectionRef,
section_base_addr: lldb_addr_t,
) -> SBErrorRef;
pub fn SBTargetClearSectionLoadAddress(
instance: SBTargetRef,
section: SBSectionRef,
) -> SBErrorRef;
pub fn SBTargetSetModuleLoadAddress(
instance: SBTargetRef,
module: SBModuleRef,
sections_offset: int64_t,
) -> SBErrorRef;
pub fn SBTargetClearModuleLoadAddress(instance: SBTargetRef, module: SBModuleRef)
-> SBErrorRef;
pub fn SBTargetFindFunctions(
instance: SBTargetRef,
name: *const ::std::os::raw::c_char,
name_type_mask: uint32_t,
) -> SBSymbolContextListRef;
pub fn SBTargetFindGlobalVariables(
instance: SBTargetRef,
name: *const ::std::os::raw::c_char,
max_matches: uint32_t,
) -> SBValueListRef;
pub fn SBTargetFindFirstGlobalVariable(
instance: SBTargetRef,
name: *const ::std::os::raw::c_char,
) -> SBValueRef;
pub fn SBTargetFindGlobalVariables2(
instance: SBTargetRef,
name: *const ::std::os::raw::c_char,
max_matches: uint32_t,
matchtype: MatchType,
) -> SBValueListRef;
pub fn SBTargetFindGlobalFunctions(
instance: SBTargetRef,
name: *const ::std::os::raw::c_char,
max_matches: uint32_t,
matchtype: MatchType,
) -> SBSymbolContextListRef;
pub fn SBTargetClear(instance: SBTargetRef);
pub fn SBTargetResolveFileAddress(
instance: SBTargetRef,
file_addr: lldb_addr_t,
) -> SBAddressRef;
pub fn SBTargetResolveLoadAddress(instance: SBTargetRef, vm_addr: lldb_addr_t) -> SBAddressRef;
pub fn SBTargetResolvePastLoadAddress(
instance: SBTargetRef,
stop_id: uint32_t,
vm_addr: lldb_addr_t,
) -> SBAddressRef;
pub fn SBTargetResolveSymbolContextForAddress(
instance: SBTargetRef,
addr: SBAddressRef,
resolve_scope: uint32_t,
) -> SBSymbolContextRef;
pub fn SBTargetReadMemory(
instance: SBTargetRef,
addr: SBAddressRef,
buf: *mut ::std::os::raw::c_void,
size: size_t,
error: SBErrorRef,
) -> ::std::os::raw::c_uint;
pub fn SBTargetBreakpointCreateByLocation(
instance: SBTargetRef,
file: *const ::std::os::raw::c_char,
line: uint32_t,
) -> SBBreakpointRef;
pub fn SBTargetBreakpointCreateByLocation2(
instance: SBTargetRef,
file_spec: SBFileSpecRef,
line: uint32_t,
) -> SBBreakpointRef;
pub fn SBTargetBreakpointCreateByLocation3(
instance: SBTargetRef,
file_spec: SBFileSpecRef,
line: uint32_t,
offset: lldb_addr_t,
) -> SBBreakpointRef;
pub fn SBTargetBreakpointCreateByLocation4(
instance: SBTargetRef,
file_spec: SBFileSpecRef,
line: uint32_t,
offset: lldb_addr_t,
module_list: SBFileSpecListRef,
) -> SBBreakpointRef;
pub fn SBTargetBreakpointCreateByName(
instance: SBTargetRef,
symbol_name: *const ::std::os::raw::c_char,
module_name: *const ::std::os::raw::c_char,
) -> SBBreakpointRef;
pub fn SBTargetBreakpointCreateByName2(
instance: SBTargetRef,
symbol_name: *const ::std::os::raw::c_char,
module_list: SBFileSpecListRef,
comp_unit_list: SBFileSpecListRef,
) -> SBBreakpointRef;
pub fn SBTargetBreakpointCreateByName3(
instance: SBTargetRef,
symbol_name: *const ::std::os::raw::c_char,
name_type_mask: uint32_t,
module_list: SBFileSpecListRef,
comp_unit_list: SBFileSpecListRef,
) -> SBBreakpointRef;
pub fn SBTargetBreakpointCreateByNames(
instance: SBTargetRef,
symbol_name: *mut *const ::std::os::raw::c_char,
num_names: uint32_t,
name_type_mask: uint32_t,
module_list: SBFileSpecListRef,
comp_unit_list: SBFileSpecListRef,
) -> SBBreakpointRef;
pub fn SBTargetBreakpointCreateByNames2(
instance: SBTargetRef,
symbol_name: *mut *const ::std::os::raw::c_char,
num_names: uint32_t,
name_type_mask: uint32_t,
symbol_language: LanguageType,
module_list: SBFileSpecListRef,
comp_unit_list: SBFileSpecListRef,
) -> SBBreakpointRef;
pub fn SBTargetBreakpointCreateByNames3(
instance: SBTargetRef,
symbol_name: *mut *const ::std::os::raw::c_char,
num_names: uint32_t,
name_type_mask: uint32_t,
symbol_language: LanguageType,
offset: lldb_addr_t,
module_list: SBFileSpecListRef,
comp_unit_list: SBFileSpecListRef,
) -> SBBreakpointRef;
pub fn SBTargetBreakpointCreateByRegex(
instance: SBTargetRef,
symbol_name_regex: *const ::std::os::raw::c_char,
module_name: *const ::std::os::raw::c_char,
) -> SBBreakpointRef;
pub fn SBTargetBreakpointCreateByRegex2(
instance: SBTargetRef,
symbol_name_regex: *const ::std::os::raw::c_char,
module_list: SBFileSpecListRef,
comp_unit_list: SBFileSpecListRef,
) -> SBBreakpointRef;
pub fn SBTargetBreakpointCreateByRegex3(
instance: SBTargetRef,
symbol_name_regex: *const ::std::os::raw::c_char,
symbol_language: LanguageType,
module_list: SBFileSpecListRef,
comp_unit_list: SBFileSpecListRef,
) -> SBBreakpointRef;
pub fn SBTargetBreakpointCreateBySourceRegex(
instance: SBTargetRef,
source_regex: *const ::std::os::raw::c_char,
source_file: SBFileSpecRef,
module_name: *const ::std::os::raw::c_char,
) -> SBBreakpointRef;
pub fn SBTargetBreakpointCreateBySourceRegex2(
instance: SBTargetRef,
source_regex: *const ::std::os::raw::c_char,
module_list: SBFileSpecListRef,
source_file: SBFileSpecListRef,
) -> SBBreakpointRef;
pub fn SBTargetBreakpointCreateBySourceRegex3(
instance: SBTargetRef,
source_regex: *const ::std::os::raw::c_char,
module_list: SBFileSpecListRef,
source_file: SBFileSpecListRef,
func_names: SBStringListRef,
) -> SBBreakpointRef;
pub fn SBTargetBreakpointCreateForException(
instance: SBTargetRef,
language: LanguageType,
catch_bp: u8,
throw_bp: u8,
) -> SBBreakpointRef;
pub fn SBTargetBreakpointCreateByAddress(
instance: SBTargetRef,
address: lldb_addr_t,
) -> SBBreakpointRef;
pub fn SBTargetBreakpointCreateBySBAddress(
instance: SBTargetRef,
address: SBAddressRef,
) -> SBBreakpointRef;
pub fn SBTargetBreakpointsCreateFromFile(
instance: SBTargetRef,
source_file: SBFileSpecRef,
new_bps: SBBreakpointListRef,
) -> SBErrorRef;
pub fn SBTargetBreakpointsCreateFromFile2(
instance: SBTargetRef,
source_file: SBFileSpecRef,
matching_names: SBStringListRef,
new_bps: SBBreakpointListRef,
) -> SBErrorRef;
pub fn SBTargetBreakpointsWriteToFile(
instance: SBTargetRef,
dest_file: SBFileSpecRef,
) -> SBErrorRef;
pub fn SBTargetBreakpointsWriteToFile2(
instance: SBTargetRef,
dest_file: SBFileSpecRef,
bkpt_list: SBBreakpointListRef,
append: u8,
) -> SBErrorRef;
pub fn SBTargetGetNumBreakpoints(instance: SBTargetRef) -> ::std::os::raw::c_uint;
pub fn SBTargetGetBreakpointAtIndex(instance: SBTargetRef, idx: uint32_t) -> SBBreakpointRef;
pub fn SBTargetBreakpointDelete(instance: SBTargetRef, break_id: ::std::os::raw::c_int) -> u8;
pub fn SBTargetFindBreakpointByID(
instance: SBTargetRef,
break_id: ::std::os::raw::c_int,
) -> SBBreakpointRef;
pub fn SBTargetFindBreakpointsByName(
instance: SBTargetRef,
name: *const ::std::os::raw::c_char,
bkpt_list: SBBreakpointListRef,
) -> u8;
pub fn SBTargetEnableAllBreakpoints(instance: SBTargetRef) -> u8;
pub fn SBTargetDisableAllBreakpoints(instance: SBTargetRef) -> u8;
pub fn SBTargetDeleteAllBreakpoints(instance: SBTargetRef) -> u8;
pub fn SBTargetGetNumWatchpoints(instance: SBTargetRef) -> ::std::os::raw::c_uint;
pub fn SBTargetGetWatchpointAtIndex(instance: SBTargetRef, idx: uint32_t) -> SBWatchpointRef;
pub fn SBTargetDeleteWatchpoint(instance: SBTargetRef, watch_id: ::std::os::raw::c_int) -> u8;
pub fn SBTargetFindWatchpointByID(
instance: SBTargetRef,
watch_id: ::std::os::raw::c_int,
) -> SBWatchpointRef;
pub fn SBTargetWatchAddress(
instance: SBTargetRef,
addr: lldb_addr_t,
size: size_t,
read: u8,
write: u8,
error: SBErrorRef,
) -> SBWatchpointRef;
pub fn SBTargetEnableAllWatchpoints(instance: SBTargetRef) -> u8;
pub fn SBTargetDisableAllWatchpoints(instance: SBTargetRef) -> u8;
pub fn SBTargetDeleteAllWatchpoints(instance: SBTargetRef) -> u8;
pub fn SBTargetGetBroadcaster(instance: SBTargetRef) -> SBBroadcasterRef;
pub fn SBTargetFindFirstType(
instance: SBTargetRef,
type_: *const ::std::os::raw::c_char,
) -> SBTypeRef;
pub fn SBTargetFindTypes(
instance: SBTargetRef,
type_: *const ::std::os::raw::c_char,
) -> SBTypeListRef;
pub fn SBTargetGetBasicType(instance: SBTargetRef, type_: BasicType) -> SBTypeRef;
pub fn SBTargetCreateValueFromAddress(
instance: SBTargetRef,
name: *const ::std::os::raw::c_char,
addr: SBAddressRef,
type_: SBTypeRef,
) -> SBValueRef;
pub fn SBTargetCreateValueFromData(
instance: SBTargetRef,
name: *const ::std::os::raw::c_char,
data: SBDataRef,
type_: SBTypeRef,
) -> SBValueRef;
pub fn SBTargetCreateValueFromExpression(
instance: SBTargetRef,
name: *const ::std::os::raw::c_char,
expr: *const ::std::os::raw::c_char,
) -> SBValueRef;
pub fn SBTargetGetSourceManager(instance: SBTargetRef) -> SBSourceManagerRef;
pub fn SBTargetReadInstructions(
instance: SBTargetRef,
base_addr: SBAddressRef,
count: uint32_t,
) -> SBInstructionListRef;
pub fn SBTargetReadInstructions2(
instance: SBTargetRef,
base_addr: SBAddressRef,
count: uint32_t,
flavor_string: *const ::std::os::raw::c_char,
) -> SBInstructionListRef;
pub fn SBTargetGetInstructions(
instance: SBTargetRef,
base_addr: SBAddressRef,
buf: *mut ::std::os::raw::c_void,
size: size_t,
) -> SBInstructionListRef;
pub fn SBTargetGetInstructionsWithFlavor(
instance: SBTargetRef,
base_addr: SBAddressRef,
flavor_string: *const ::std::os::raw::c_char,
buf: *mut ::std::os::raw::c_void,
size: size_t,
) -> SBInstructionListRef;
pub fn SBTargetGetInstructions2(
instance: SBTargetRef,
base_addr: lldb_addr_t,
buf: *mut ::std::os::raw::c_void,
size: size_t,
) -> SBInstructionListRef;
pub fn SBTargetGetInstructionsWithFlavor2(
instance: SBTargetRef,
base_addr: lldb_addr_t,
flavor_string: *const ::std::os::raw::c_char,
buf: *mut ::std::os::raw::c_void,
size: size_t,
) -> SBInstructionListRef;
pub fn SBTargetFindSymbols(
instance: SBTargetRef,
name: *const ::std::os::raw::c_char,
type_: SymbolType,
) -> SBSymbolContextListRef;
pub fn SBTargetGetDescription(
instance: SBTargetRef,
description: SBStreamRef,
description_level: DescriptionLevel,
) -> u8;
pub fn SBTargetEvaluateExpression(
instance: SBTargetRef,
expr: *const ::std::os::raw::c_char,
options: SBExpressionOptionsRef,
) -> SBValueRef;
pub fn SBTargetGetStackRedZoneSize(instance: SBTargetRef) -> lldb_addr_t;
pub fn SBTargetGetLaunchInfo(instance: SBTargetRef) -> SBLaunchInfoRef;
pub fn SBTargetSetLaunchInfo(instance: SBTargetRef, launch_info: SBLaunchInfoRef);
pub fn SBThreadGetBroadcasterClassName() -> *const ::std::os::raw::c_char;
pub fn CreateSBThread() -> SBThreadRef;
pub fn DisposeSBThread(instance: SBThreadRef);
pub fn SBThreadGetQueue(instance: SBThreadRef) -> SBQueueRef;
pub fn SBThreadIsValid(instance: SBThreadRef) -> u8;
pub fn SBThreadClear(instance: SBThreadRef);
pub fn SBThreadGetStopReason(instance: SBThreadRef) -> StopReason;
pub fn SBThreadGetStopReasonDataCount(instance: SBThreadRef) -> ::std::os::raw::c_uint;
pub fn SBThreadGetStopReasonDataAtIndex(
instance: SBThreadRef,
idx: uint32_t,
) -> ::std::os::raw::c_ulonglong;
pub fn SBThreadGetStopReasonExtendedInfoAsJSON(
instance: SBThreadRef,
stream: SBStreamRef,
) -> u8;
pub fn SBThreadGetStopDescription(
instance: SBThreadRef,
dst: *mut ::std::os::raw::c_char,
dst_len: size_t,
) -> ::std::os::raw::c_uint;
pub fn SBThreadGetStopReturnValue(instance: SBThreadRef) -> SBValueRef;
pub fn SBThreadGetThreadID(instance: SBThreadRef) -> ::std::os::raw::c_ulonglong;
pub fn SBThreadGetIndexID(instance: SBThreadRef) -> ::std::os::raw::c_uint;
pub fn SBThreadGetName(instance: SBThreadRef) -> *const ::std::os::raw::c_char;
pub fn SBThreadGetQueueName(instance: SBThreadRef) -> *const ::std::os::raw::c_char;
pub fn SBThreadGetQueueID(instance: SBThreadRef) -> ::std::os::raw::c_ulonglong;
pub fn SBThreadGetInfoItemByPathAsString(
instance: SBThreadRef,
path: *const ::std::os::raw::c_char,
strm: SBStreamRef,
) -> u8;
pub fn SBThreadStepOver(instance: SBThreadRef, stop_other_threads: RunMode);
pub fn SBThreadStepInto(instance: SBThreadRef, stop_other_threads: RunMode);
pub fn SBThreadStepInto2(
instance: SBThreadRef,
target_name: *const ::std::os::raw::c_char,
stop_other_threads: RunMode,
);
pub fn SBThreadStepInto3(
instance: SBThreadRef,
target_name: *const ::std::os::raw::c_char,
end_line: u32,
error: SBErrorRef,
stop_other_threads: RunMode,
);
pub fn SBThreadStepOut(instance: SBThreadRef);
pub fn SBThreadStepOutOfFrame(instance: SBThreadRef, frame: SBFrameRef);
pub fn SBThreadStepInstruction(instance: SBThreadRef, step_over: u8);
pub fn SBThreadStepOverUntil(
instance: SBThreadRef,
frame: SBFrameRef,
file_spec: SBFileSpecRef,
line: uint32_t,
) -> SBErrorRef;
pub fn SBThreadStepUsingScriptedThreadPlan(
instance: SBThreadRef,
script_class_name: *const ::std::os::raw::c_char,
) -> SBErrorRef;
pub fn SBThreadStepUsingScriptedThreadPlan3(
instance: SBThreadRef,
script_class_name: *const ::std::os::raw::c_char,
resume_immediately: RunMode,
) -> SBErrorRef;
pub fn SBThreadJumpToLine(
instance: SBThreadRef,
file_spec: SBFileSpecRef,
line: uint32_t,
) -> SBErrorRef;
pub fn SBThreadRunToAddress(instance: SBThreadRef, addr: lldb_addr_t);
pub fn SBThreadReturnFromFrame(
instance: SBThreadRef,
frame: SBFrameRef,
return_value: SBValueRef,
) -> SBErrorRef;
pub fn SBThreadUnwindInnermostExpression(instance: SBThreadRef) -> SBErrorRef;
pub fn SBThreadSuspend(instance: SBThreadRef) -> u8;
pub fn SBThreadResume(instance: SBThreadRef) -> u8;
pub fn SBThreadIsSuspended(instance: SBThreadRef) -> u8;
pub fn SBThreadIsStopped(instance: SBThreadRef) -> u8;
pub fn SBThreadGetNumFrames(instance: SBThreadRef) -> ::std::os::raw::c_uint;
pub fn SBThreadGetFrameAtIndex(instance: SBThreadRef, idx: uint32_t) -> SBFrameRef;
pub fn SBThreadGetSelectedFrame(instance: SBThreadRef) -> SBFrameRef;
pub fn SBThreadSetSelectedFrame(instance: SBThreadRef, frame_idx: uint32_t) -> SBFrameRef;
pub fn SBThreadEventIsThreadEvent(event: SBEventRef) -> u8;
pub fn SBThreadGetStackFrameFromEvent(event: SBEventRef) -> SBFrameRef;
pub fn SBThreadGetThreadFromEvent(event: SBEventRef) -> SBThreadRef;
pub fn SBThreadGetProcess(instance: SBThreadRef) -> SBProcessRef;
pub fn SBThreadGetDescription(instance: SBThreadRef, description: SBStreamRef) -> u8;
pub fn SBThreadGetStatus(instance: SBThreadRef, status: SBStreamRef) -> u8;
pub fn SBThreadGetExtendedBacktraceThread(
instance: SBThreadRef,
type_: *const ::std::os::raw::c_char,
) -> SBThreadRef;
pub fn SBThreadGetExtendedBacktraceOriginatingIndexID(
instance: SBThreadRef,
) -> ::std::os::raw::c_uint;
pub fn SBThreadSafeToCallFunctions(instance: SBThreadRef) -> u8;
pub fn CreateSBThreadCollection() -> SBThreadCollectionRef;
pub fn DisposeSBThreadCollection(instance: SBThreadCollectionRef);
pub fn SBThreadCollectionIsValid(instance: SBThreadCollectionRef) -> u8;
pub fn SBThreadCollectionGetSize(instance: SBThreadCollectionRef) -> ::std::os::raw::c_uint;
pub fn SBThreadCollectionGetThreadAtIndex(
instance: SBThreadCollectionRef,
idx: size_t,
) -> SBThreadRef;
pub fn CreateSBThreadPlan() -> SBThreadPlanRef;
pub fn CreateSBThreadPlan2(
thread: SBThreadRef,
class_name: *const ::std::os::raw::c_char,
) -> SBThreadPlanRef;
pub fn DisposeSBThreadPlan(instance: SBThreadPlanRef);
pub fn SBThreadPlanIsValid(instance: SBThreadPlanRef) -> u8;
pub fn SBThreadPlanClear(instance: SBThreadPlanRef);
pub fn SBThreadPlanGetStopReason(instance: SBThreadPlanRef) -> StopReason;
pub fn SBThreadPlanGetStopReasonDataCount(instance: SBThreadPlanRef) -> ::std::os::raw::c_uint;
pub fn SBThreadPlanGetStopReasonDataAtIndex(
instance: SBThreadPlanRef,
idx: uint32_t,
) -> ::std::os::raw::c_ulonglong;
pub fn SBThreadPlanGetThread(instance: SBThreadPlanRef) -> SBThreadRef;
pub fn SBThreadPlanGetDescription(instance: SBThreadPlanRef, description: SBStreamRef) -> u8;
pub fn SBThreadPlanSetPlanComplete(instance: SBThreadPlanRef, success: u8);
pub fn SBThreadPlanIsPlanComplete(instance: SBThreadPlanRef) -> u8;
pub fn SBThreadPlanQueueThreadPlanForStepOverRange(
instance: SBThreadPlanRef,
start_address: SBAddressRef,
range_size: lldb_addr_t,
) -> SBThreadPlanRef;
pub fn SBThreadPlanQueueThreadPlanForStepInRange(
instance: SBThreadPlanRef,
start_address: SBAddressRef,
range_size: lldb_addr_t,
) -> SBThreadPlanRef;
pub fn SBThreadPlanQueueThreadPlanForStepOut(
instance: SBThreadPlanRef,
frame_idx_to_step_to: uint32_t,
first_insn: u8,
) -> SBThreadPlanRef;
pub fn SBThreadPlanQueueThreadPlanForRunToAddress(
instance: SBThreadPlanRef,
address: SBAddressRef,
) -> SBThreadPlanRef;
pub fn CreateSBTypeMember() -> SBTypeMemberRef;
pub fn DisposeSBTypeMember(instance: SBTypeMemberRef);
pub fn SBTypeMemberIsValid(instance: SBTypeMemberRef) -> u8;
pub fn SBTypeMemberGetName(instance: SBTypeMemberRef) -> *const ::std::os::raw::c_char;
pub fn SBTypeMemberGetType(instance: SBTypeMemberRef) -> SBTypeRef;
pub fn SBTypeMemberGetOffsetInBytes(instance: SBTypeMemberRef) -> ::std::os::raw::c_ulonglong;
pub fn SBTypeMemberGetOffsetInBits(instance: SBTypeMemberRef) -> ::std::os::raw::c_ulonglong;
pub fn SBTypeMemberIsBitfield(instance: SBTypeMemberRef) -> u8;
pub fn SBTypeMemberGetBitfieldSizeInBits(instance: SBTypeMemberRef) -> ::std::os::raw::c_uint;
pub fn SBTypeMemberGetDescription(
instance: SBTypeMemberRef,
description: SBStreamRef,
description_level: DescriptionLevel,
) -> u8;
pub fn CreateSBTypeMemberFunction() -> SBTypeMemberFunctionRef;
pub fn CreateSBTypeMemberFunction2(rhs: SBTypeMemberFunctionRef) -> SBTypeMemberFunctionRef;
pub fn DisposeSBTypeMemberFunction(instance: SBTypeMemberFunctionRef);
pub fn SBTypeMemberFunctionIsValid(instance: SBTypeMemberFunctionRef) -> u8;
pub fn SBTypeMemberFunctionGetName(
instance: SBTypeMemberFunctionRef,
) -> *const ::std::os::raw::c_char;
pub fn SBTypeMemberFunctionGetType(instance: SBTypeMemberFunctionRef) -> SBTypeRef;
pub fn SBTypeMemberFunctionGetReturnType(instance: SBTypeMemberFunctionRef) -> SBTypeRef;
pub fn SBTypeMemberFunctionGetNumberOfArguments(
instance: SBTypeMemberFunctionRef,
) -> ::std::os::raw::c_uint;
pub fn SBTypeMemberFunctionGetArgumentTypeAtIndex(
instance: SBTypeMemberFunctionRef,
arg1: uint32_t,
) -> SBTypeRef;
pub fn SBTypeMemberFunctionGetKind(instance: SBTypeMemberFunctionRef) -> MemberFunctionKind;
pub fn SBTypeMemberFunctionGetDescription(
instance: SBTypeMemberFunctionRef,
description: SBStreamRef,
description_level: DescriptionLevel,
) -> u8;
pub fn CreateSBType() -> SBTypeRef;
pub fn DisposeSBType(instance: SBTypeRef);
pub fn SBTypeIsValid(instance: SBTypeRef) -> u8;
pub fn SBTypeGetByteSize(instance: SBTypeRef) -> ::std::os::raw::c_ulonglong;
pub fn SBTypeIsPointerType(instance: SBTypeRef) -> u8;
pub fn SBTypeIsReferenceType(instance: SBTypeRef) -> u8;
pub fn SBTypeIsFunctionType(instance: SBTypeRef) -> u8;
pub fn SBTypeIsPolymorphicClass(instance: SBTypeRef) -> u8;
pub fn SBTypeIsArrayType(instance: SBTypeRef) -> u8;
pub fn SBTypeIsVectorType(instance: SBTypeRef) -> u8;
pub fn SBTypeIsTypedefType(instance: SBTypeRef) -> u8;
pub fn SBTypeGetPointerType(instance: SBTypeRef) -> SBTypeRef;
pub fn SBTypeGetPointeeType(instance: SBTypeRef) -> SBTypeRef;
pub fn SBTypeGetReferenceType(instance: SBTypeRef) -> SBTypeRef;
pub fn SBTypeGetTypedefedType(instance: SBTypeRef) -> SBTypeRef;
pub fn SBTypeGetDereferencedType(instance: SBTypeRef) -> SBTypeRef;
pub fn SBTypeGetUnqualifiedType(instance: SBTypeRef) -> SBTypeRef;
pub fn SBTypeGetArrayElementType(instance: SBTypeRef) -> SBTypeRef;
pub fn SBTypeGetVectorElementType(instance: SBTypeRef) -> SBTypeRef;
pub fn SBTypeGetCanonicalType(instance: SBTypeRef) -> SBTypeRef;
pub fn SBTypeGetBasicType(instance: SBTypeRef) -> BasicType;
pub fn SBTypeGetBasicType2(instance: SBTypeRef, type_: BasicType) -> SBTypeRef;
pub fn SBTypeGetNumberOfFields(instance: SBTypeRef) -> ::std::os::raw::c_uint;
pub fn SBTypeGetNumberOfDirectBaseClasses(instance: SBTypeRef) -> ::std::os::raw::c_uint;
pub fn SBTypeGetNumberOfVirtualBaseClasses(instance: SBTypeRef) -> ::std::os::raw::c_uint;
pub fn SBTypeGetFieldAtIndex(instance: SBTypeRef, idx: uint32_t) -> SBTypeMemberRef;
pub fn SBTypeGetDirectBaseClassAtIndex(instance: SBTypeRef, idx: uint32_t) -> SBTypeMemberRef;
pub fn SBTypeGetVirtualBaseClassAtIndex(instance: SBTypeRef, idx: uint32_t) -> SBTypeMemberRef;
pub fn SBTypeGetEnumMembers(instance: SBTypeRef) -> SBTypeEnumMemberListRef;
pub fn SBTypeGetNumberOfTemplateArguments(instance: SBTypeRef) -> ::std::os::raw::c_uint;
pub fn SBTypeGetTemplateArgumentType(instance: SBTypeRef, idx: uint32_t) -> SBTypeRef;
pub fn SBTypeGetTemplateArgumentKind(
instance: SBTypeRef,
idx: uint32_t,
) -> TemplateArgumentKind;
pub fn SBTypeGetFunctionReturnType(instance: SBTypeRef) -> SBTypeRef;
pub fn SBTypeGetFunctionArgumentTypes(instance: SBTypeRef) -> SBTypeListRef;
pub fn SBTypeGetNumberOfMemberFunctions(instance: SBTypeRef) -> ::std::os::raw::c_uint;
pub fn SBTypeGetMemberFunctionAtIndex(
instance: SBTypeRef,
idx: uint32_t,
) -> SBTypeMemberFunctionRef;
pub fn SBTypeGetName(instance: SBTypeRef) -> *const ::std::os::raw::c_char;
pub fn SBTypeGetDisplayTypeName(instance: SBTypeRef) -> *const ::std::os::raw::c_char;
pub fn SBTypeGetTypeClass(instance: SBTypeRef) -> TypeClass;
pub fn SBTypeIsTypeComplete(instance: SBTypeRef) -> u8;
pub fn SBTypeGetTypeFlags(instance: SBTypeRef) -> ::std::os::raw::c_uint;
pub fn SBTypeGetDescription(
instance: SBTypeRef,
description: SBStreamRef,
description_level: DescriptionLevel,
) -> u8;
pub fn CreateSBTypeList() -> SBTypeListRef;
pub fn DisposeSBTypeList(instance: SBTypeListRef);
pub fn SBTypeListIsValid(instance: SBTypeListRef) -> u8;
pub fn SBTypeListAppend(instance: SBTypeListRef, type_: SBTypeRef);
pub fn SBTypeListGetTypeAtIndex(instance: SBTypeListRef, index: uint32_t) -> SBTypeRef;
pub fn SBTypeListGetSize(instance: SBTypeListRef) -> ::std::os::raw::c_uint;
pub fn CreateSBTypeCategory() -> SBTypeCategoryRef;
pub fn DisposeSBTypeCategory(instance: SBTypeCategoryRef);
pub fn SBTypeCategoryIsValid(instance: SBTypeCategoryRef) -> u8;
pub fn SBTypeCategoryGetEnabled(instance: SBTypeCategoryRef) -> u8;
pub fn SBTypeCategorySetEnabled(instance: SBTypeCategoryRef, arg1: u8);
pub fn SBTypeCategoryGetName(instance: SBTypeCategoryRef) -> *const ::std::os::raw::c_char;
pub fn SBTypeCategoryGetDescription(
instance: SBTypeCategoryRef,
description: SBStreamRef,
description_level: DescriptionLevel,
) -> u8;
pub fn SBTypeCategoryGetNumFormats(instance: SBTypeCategoryRef) -> ::std::os::raw::c_uint;
pub fn SBTypeCategoryGetNumSummaries(instance: SBTypeCategoryRef) -> ::std::os::raw::c_uint;
pub fn SBTypeCategoryGetNumFilters(instance: SBTypeCategoryRef) -> ::std::os::raw::c_uint;
pub fn SBTypeCategoryGetNumSynthetics(instance: SBTypeCategoryRef) -> ::std::os::raw::c_uint;
pub fn SBTypeCategoryGetTypeNameSpecifierForFilterAtIndex(
instance: SBTypeCategoryRef,
arg1: uint32_t,
) -> SBTypeNameSpecifierRef;
pub fn SBTypeCategoryGetTypeNameSpecifierForFormatAtIndex(
instance: SBTypeCategoryRef,
arg1: uint32_t,
) -> SBTypeNameSpecifierRef;
pub fn SBTypeCategoryGetTypeNameSpecifierForSummaryAtIndex(
instance: SBTypeCategoryRef,
arg1: uint32_t,
) -> SBTypeNameSpecifierRef;
pub fn SBTypeCategoryGetTypeNameSpecifierForSyntheticAtIndex(
instance: SBTypeCategoryRef,
arg1: uint32_t,
) -> SBTypeNameSpecifierRef;
pub fn SBTypeCategoryGetFilterForType(
instance: SBTypeCategoryRef,
arg1: SBTypeNameSpecifierRef,
) -> SBTypeFilterRef;
pub fn SBTypeCategoryGetFormatForType(
instance: SBTypeCategoryRef,
arg1: SBTypeNameSpecifierRef,
) -> SBTypeFormatRef;
pub fn SBTypeCategoryGetSummaryForType(
instance: SBTypeCategoryRef,
arg1: SBTypeNameSpecifierRef,
) -> SBTypeSummaryRef;
pub fn SBTypeCategoryGetSyntheticForType(
instance: SBTypeCategoryRef,
arg1: SBTypeNameSpecifierRef,
) -> SBTypeSyntheticRef;
pub fn SBTypeCategoryGetFilterAtIndex(
instance: SBTypeCategoryRef,
arg1: uint32_t,
) -> SBTypeFilterRef;
pub fn SBTypeCategoryGetFormatAtIndex(
instance: SBTypeCategoryRef,
arg1: uint32_t,
) -> SBTypeFormatRef;
pub fn SBTypeCategoryGetSummaryAtIndex(
instance: SBTypeCategoryRef,
arg1: uint32_t,
) -> SBTypeSummaryRef;
pub fn SBTypeCategoryGetSyntheticAtIndex(
instance: SBTypeCategoryRef,
arg1: uint32_t,
) -> SBTypeSyntheticRef;
pub fn SBTypeCategoryAddTypeFormat(
instance: SBTypeCategoryRef,
arg1: SBTypeNameSpecifierRef,
arg2: SBTypeFormatRef,
) -> u8;
pub fn SBTypeCategoryDeleteTypeFormat(
instance: SBTypeCategoryRef,
arg1: SBTypeNameSpecifierRef,
) -> u8;
pub fn SBTypeCategoryAddTypeSummary(
instance: SBTypeCategoryRef,
arg1: SBTypeNameSpecifierRef,
arg2: SBTypeSummaryRef,
) -> u8;
pub fn SBTypeCategoryDeleteTypeSummary(
instance: SBTypeCategoryRef,
arg1: SBTypeNameSpecifierRef,
) -> u8;
pub fn SBTypeCategoryAddTypeFilter(
instance: SBTypeCategoryRef,
arg1: SBTypeNameSpecifierRef,
arg2: SBTypeFilterRef,
) -> u8;
pub fn SBTypeCategoryDeleteTypeFilter(
instance: SBTypeCategoryRef,
arg1: SBTypeNameSpecifierRef,
) -> u8;
pub fn SBTypeCategoryAddTypeSynthetic(
instance: SBTypeCategoryRef,
arg1: SBTypeNameSpecifierRef,
arg2: SBTypeSyntheticRef,
) -> u8;
pub fn SBTypeCategoryDeleteTypeSynthetic(
instance: SBTypeCategoryRef,
arg1: SBTypeNameSpecifierRef,
) -> u8;
pub fn CreateSBTypeEnumMember() -> SBTypeEnumMemberRef;
pub fn DisposeSBTypeEnumMember(instance: SBTypeEnumMemberRef);
pub fn SBTypeEnumMemberIsValid(instance: SBTypeEnumMemberRef) -> u8;
pub fn SBTypeEnumMemberGetValueAsSigned(
instance: SBTypeEnumMemberRef,
) -> ::std::os::raw::c_longlong;
pub fn SBTypeEnumMemberGetValueAsUnsigned(
instance: SBTypeEnumMemberRef,
) -> ::std::os::raw::c_ulonglong;
pub fn SBTypeEnumMemberGetName(instance: SBTypeEnumMemberRef) -> *const ::std::os::raw::c_char;
pub fn SBTypeEnumMemberGetType(instance: SBTypeEnumMemberRef) -> SBTypeRef;
pub fn SBTypeEnumMemberGetDescription(
instance: SBTypeEnumMemberRef,
description: SBStreamRef,
description_level: DescriptionLevel,
) -> u8;
pub fn CreateSBTypeEnumMemberList() -> SBTypeEnumMemberListRef;
pub fn DisposeSBTypeEnumMemberList(instance: SBTypeEnumMemberListRef);
pub fn SBTypeEnumMemberListIsValid(instance: SBTypeEnumMemberListRef) -> u8;
pub fn SBTypeEnumMemberListAppend(
instance: SBTypeEnumMemberListRef,
entry: SBTypeEnumMemberRef,
);
pub fn SBTypeEnumMemberListGetTypeEnumMemberAtIndex(
instance: SBTypeEnumMemberListRef,
index: uint32_t,
) -> SBTypeEnumMemberRef;
pub fn SBTypeEnumMemberListGetSize(instance: SBTypeEnumMemberListRef)
-> ::std::os::raw::c_uint;
pub fn CreateSBTypeFilter() -> SBTypeFilterRef;
pub fn CreateSBTypeFilter2(options: uint32_t) -> SBTypeFilterRef;
pub fn DisposeSBTypeFilter(instance: SBTypeFilterRef);
pub fn SBTypeFilterIsValid(instance: SBTypeFilterRef) -> u8;
pub fn SBTypeFilterGetNumberOfExpressionPaths(
instance: SBTypeFilterRef,
) -> ::std::os::raw::c_uint;
pub fn SBTypeFilterGetExpressionPathAtIndex(
instance: SBTypeFilterRef,
i: uint32_t,
) -> *const ::std::os::raw::c_char;
pub fn SBTypeFilterReplaceExpressionPathAtIndex(
instance: SBTypeFilterRef,
i: uint32_t,
item: *const ::std::os::raw::c_char,
) -> u8;
pub fn SBTypeFilterAppendExpressionPath(
instance: SBTypeFilterRef,
item: *const ::std::os::raw::c_char,
);
pub fn SBTypeFilterClear(instance: SBTypeFilterRef);
pub fn SBTypeFilterGetOptions(instance: SBTypeFilterRef) -> ::std::os::raw::c_uint;
pub fn SBTypeFilterSetOptions(instance: SBTypeFilterRef, arg1: uint32_t);
pub fn SBTypeFilterGetDescription(
instance: SBTypeFilterRef,
description: SBStreamRef,
description_level: DescriptionLevel,
) -> u8;
pub fn SBTypeFilterIsEqualTo(instance: SBTypeFilterRef, rhs: SBTypeFilterRef) -> u8;
pub fn CreateSBTypeFormat() -> SBTypeFormatRef;
pub fn CreateSBTypeFormat2(format: Format, options: uint32_t) -> SBTypeFormatRef;
pub fn CreateSBTypeFormat3(
type_: *const ::std::os::raw::c_char,
options: uint32_t,
) -> SBTypeFormatRef;
pub fn DisposeSBTypeFormat(instance: SBTypeFormatRef);
pub fn SBTypeFormatIsValid(instance: SBTypeFormatRef) -> u8;
pub fn SBTypeFormatGetFormat(instance: SBTypeFormatRef) -> Format;
pub fn SBTypeFormatGetTypeName(instance: SBTypeFormatRef) -> *const ::std::os::raw::c_char;
pub fn SBTypeFormatGetOptions(instance: SBTypeFormatRef) -> ::std::os::raw::c_uint;
pub fn SBTypeFormatSetFormat(instance: SBTypeFormatRef, arg1: Format);
pub fn SBTypeFormatSetTypeName(instance: SBTypeFormatRef, arg1: *const ::std::os::raw::c_char);
pub fn SBTypeFormatSetOptions(instance: SBTypeFormatRef, arg1: uint32_t);
pub fn SBTypeFormatGetDescription(
instance: SBTypeFormatRef,
description: SBStreamRef,
description_level: DescriptionLevel,
) -> u8;
pub fn SBTypeFormatIsEqualTo(instance: SBTypeFormatRef, rhs: SBTypeFormatRef) -> u8;
pub fn CreateSBTypeNameSpecifier() -> SBTypeNameSpecifierRef;
pub fn CreateSBTypeNameSpecifier2(
name: *const ::std::os::raw::c_char,
is_regex: u8,
) -> SBTypeNameSpecifierRef;
pub fn CreateSBTypeNameSpecifier3(type_: SBTypeRef) -> SBTypeNameSpecifierRef;
pub fn DisposeSBTypeNameSpecifier(instance: SBTypeNameSpecifierRef);
pub fn SBTypeNameSpecifierIsValid(instance: SBTypeNameSpecifierRef) -> u8;
pub fn SBTypeNameSpecifierGetName(
instance: SBTypeNameSpecifierRef,
) -> *const ::std::os::raw::c_char;
pub fn SBTypeNameSpecifierGetType(instance: SBTypeNameSpecifierRef) -> SBTypeRef;
pub fn SBTypeNameSpecifierIsRegex(instance: SBTypeNameSpecifierRef) -> u8;
pub fn SBTypeNameSpecifierGetDescription(
instance: SBTypeNameSpecifierRef,
description: SBStreamRef,
description_level: DescriptionLevel,
) -> u8;
pub fn SBTypeNameSpecifierIsEqualTo(
instance: SBTypeNameSpecifierRef,
rhs: SBTypeNameSpecifierRef,
) -> u8;
pub fn CreateSBTypeSummaryOptions() -> SBTypeSummaryOptionsRef;
pub fn DisposeSBTypeSummaryOptions(instance: SBTypeSummaryOptionsRef);
pub fn SBTypeSummaryOptionsIsValid(instance: SBTypeSummaryOptionsRef) -> u8;
pub fn SBTypeSummaryOptionsGetLanguage(instance: SBTypeSummaryOptionsRef) -> LanguageType;
pub fn SBTypeSummaryOptionsGetCapping(instance: SBTypeSummaryOptionsRef) -> TypeSummaryCapping;
pub fn SBTypeSummaryOptionsSetLanguage(instance: SBTypeSummaryOptionsRef, arg1: LanguageType);
pub fn SBTypeSummaryOptionsSetCapping(
instance: SBTypeSummaryOptionsRef,
arg1: TypeSummaryCapping,
);
pub fn CreateSBTypeSummary() -> SBTypeSummaryRef;
pub fn SBTypeSummaryCreateWithSummaryString(
data: *const ::std::os::raw::c_char,
options: uint32_t,
) -> SBTypeSummaryRef;
pub fn SBTypeSummaryCreateWithFunctionName(
data: *const ::std::os::raw::c_char,
options: uint32_t,
) -> SBTypeSummaryRef;
pub fn SBTypeSummaryCreateWithScriptCode(
data: *const ::std::os::raw::c_char,
options: uint32_t,
) -> SBTypeSummaryRef;
pub fn DisposeSBTypeSummary(instance: SBTypeSummaryRef);
pub fn SBTypeSummaryIsValid(instance: SBTypeSummaryRef) -> u8;
pub fn SBTypeSummaryIsFunctionCode(instance: SBTypeSummaryRef) -> u8;
pub fn SBTypeSummaryIsFunctionName(instance: SBTypeSummaryRef) -> u8;
pub fn SBTypeSummaryIsSummaryString(instance: SBTypeSummaryRef) -> u8;
pub fn SBTypeSummaryGetData(instance: SBTypeSummaryRef) -> *const ::std::os::raw::c_char;
pub fn SBTypeSummarySetSummaryString(
instance: SBTypeSummaryRef,
data: *const ::std::os::raw::c_char,
);
pub fn SBTypeSummarySetFunctionName(
instance: SBTypeSummaryRef,
data: *const ::std::os::raw::c_char,
);
pub fn SBTypeSummarySetFunctionCode(
instance: SBTypeSummaryRef,
data: *const ::std::os::raw::c_char,
);
pub fn SBTypeSummaryGetOptions(instance: SBTypeSummaryRef) -> ::std::os::raw::c_uint;
pub fn SBTypeSummarySetOptions(instance: SBTypeSummaryRef, arg1: uint32_t);
pub fn SBTypeSummaryGetDescription(
instance: SBTypeSummaryRef,
description: SBStreamRef,
description_level: DescriptionLevel,
) -> u8;
pub fn SBTypeSummaryIsEqualTo(instance: SBTypeSummaryRef, rhs: SBTypeSummaryRef) -> u8;
pub fn CreateSBTypeSynthetic() -> SBTypeSyntheticRef;
pub fn SBTypeSyntheticCreateWithClassName(
data: *const ::std::os::raw::c_char,
options: uint32_t,
) -> SBTypeSyntheticRef;
pub fn SBTypeSyntheticCreateWithScriptCode(
data: *const ::std::os::raw::c_char,
options: uint32_t,
) -> SBTypeSyntheticRef;
pub fn DisposeSBTypeSynthetic(instance: SBTypeSyntheticRef);
pub fn SBTypeSyntheticIsValid(instance: SBTypeSyntheticRef) -> u8;
pub fn SBTypeSyntheticIsClassCode(instance: SBTypeSyntheticRef) -> u8;
pub fn SBTypeSyntheticIsClassName(instance: SBTypeSyntheticRef) -> u8;
pub fn SBTypeSyntheticGetData(instance: SBTypeSyntheticRef) -> *const ::std::os::raw::c_char;
pub fn SBTypeSyntheticSetClassName(
instance: SBTypeSyntheticRef,
data: *const ::std::os::raw::c_char,
);
pub fn SBTypeSyntheticSetClassCode(
instance: SBTypeSyntheticRef,
data: *const ::std::os::raw::c_char,
);
pub fn SBTypeSyntheticGetOptions(instance: SBTypeSyntheticRef) -> ::std::os::raw::c_uint;
pub fn SBTypeSyntheticSetOptions(instance: SBTypeSyntheticRef, arg1: uint32_t);
pub fn SBTypeSyntheticGetDescription(
instance: SBTypeSyntheticRef,
description: SBStreamRef,
description_level: DescriptionLevel,
) -> u8;
pub fn SBTypeSyntheticIsEqualTo(instance: SBTypeSyntheticRef, rhs: SBTypeSyntheticRef) -> u8;
pub fn CreateSBUnixSignals() -> SBUnixSignalsRef;
pub fn DisposeSBUnixSignals(instance: SBUnixSignalsRef);
pub fn SBUnixSignalsClear(instance: SBUnixSignalsRef);
pub fn SBUnixSignalsIsValid(instance: SBUnixSignalsRef) -> u8;
pub fn SBUnixSignalsGetSignalAsCString(
instance: SBUnixSignalsRef,
signo: ::std::os::raw::c_int,
) -> *const ::std::os::raw::c_char;
pub fn SBUnixSignalsGetSignalNumberFromName(
instance: SBUnixSignalsRef,
name: *const ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
pub fn SBUnixSignalsGetShouldSuppress(
instance: SBUnixSignalsRef,
signo: ::std::os::raw::c_int,
) -> u8;
pub fn SBUnixSignalsSetShouldSuppress(
instance: SBUnixSignalsRef,
signo: ::std::os::raw::c_int,
value: u8,
) -> u8;
pub fn SBUnixSignalsGetShouldStop(
instance: SBUnixSignalsRef,
signo: ::std::os::raw::c_int,
) -> u8;
pub fn SBUnixSignalsSetShouldStop(
instance: SBUnixSignalsRef,
signo: ::std::os::raw::c_int,
value: u8,
) -> u8;
pub fn SBUnixSignalsGetShouldNotify(
instance: SBUnixSignalsRef,
signo: ::std::os::raw::c_int,
) -> u8;
pub fn SBUnixSignalsSetShouldNotify(
instance: SBUnixSignalsRef,
signo: ::std::os::raw::c_int,
value: u8,
) -> u8;
pub fn SBUnixSignalsGetNumSignals(instance: SBUnixSignalsRef) -> ::std::os::raw::c_int;
pub fn SBUnixSignalsGetSignalAtIndex(
instance: SBUnixSignalsRef,
index: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
pub fn CreateSBValue() -> SBValueRef;
pub fn DisposeSBValue(instance: SBValueRef);
pub fn SBValueIsValid(instance: SBValueRef) -> u8;
pub fn SBValueClear(instance: SBValueRef);
pub fn SBValueGetError(instance: SBValueRef) -> SBErrorRef;
pub fn SBValueGetID(instance: SBValueRef) -> ::std::os::raw::c_ulonglong;
pub fn SBValueGetName(instance: SBValueRef) -> *const ::std::os::raw::c_char;
pub fn SBValueGetTypeName(instance: SBValueRef) -> *const ::std::os::raw::c_char;
pub fn SBValueGetDisplayTypeName(instance: SBValueRef) -> *const ::std::os::raw::c_char;
pub fn SBValueGetByteSize(instance: SBValueRef) -> ::std::os::raw::c_uint;
pub fn SBValueIsInScope(instance: SBValueRef) -> u8;
pub fn SBValueGetFormat(instance: SBValueRef) -> Format;
pub fn SBValueSetFormat(instance: SBValueRef, format: Format);
pub fn SBValueGetValue(instance: SBValueRef) -> *const ::std::os::raw::c_char;
pub fn SBValueGetValueAsSigned(
instance: SBValueRef,
error: SBErrorRef,
fail_value: int64_t,
) -> ::std::os::raw::c_longlong;
pub fn SBValueGetValueAsUnsigned(
instance: SBValueRef,
error: SBErrorRef,
fail_value: uint64_t,
) -> ::std::os::raw::c_ulonglong;
pub fn SBValueGetValueAsSigned2(
instance: SBValueRef,
fail_value: int64_t,
) -> ::std::os::raw::c_longlong;
pub fn SBValueGetValueAsUnsigned2(
instance: SBValueRef,
fail_value: uint64_t,
) -> ::std::os::raw::c_ulonglong;
pub fn SBValueGetValueType(instance: SBValueRef) -> ValueType;
pub fn SBValueGetValueDidChange(instance: SBValueRef) -> u8;
pub fn SBValueGetSummary(instance: SBValueRef) -> *const ::std::os::raw::c_char;
pub fn SBValueGetSummary2(
instance: SBValueRef,
stream: SBStreamRef,
options: SBTypeSummaryOptionsRef,
) -> *const ::std::os::raw::c_char;
pub fn SBValueGetObjectDescription(instance: SBValueRef) -> *const ::std::os::raw::c_char;
pub fn SBValueGetTypeValidatorResult(instance: SBValueRef) -> *const ::std::os::raw::c_char;
pub fn SBValueGetDynamicValue(
instance: SBValueRef,
use_dynamic: DynamicValueType,
) -> SBValueRef;
pub fn SBValueGetStaticValue(instance: SBValueRef) -> SBValueRef;
pub fn SBValueGetNonSyntheticValue(instance: SBValueRef) -> SBValueRef;
pub fn SBValueGetPreferDynamicValue(instance: SBValueRef) -> DynamicValueType;
pub fn SBValueSetPreferDynamicValue(instance: SBValueRef, use_dynamic: DynamicValueType);
pub fn SBValueGetPreferSyntheticValue(instance: SBValueRef) -> u8;
pub fn SBValueSetPreferSyntheticValue(instance: SBValueRef, use_synthetic: u8);
pub fn SBValueIsDynamic(instance: SBValueRef) -> u8;
pub fn SBValueIsSynthetic(instance: SBValueRef) -> u8;
pub fn SBValueGetLocation(instance: SBValueRef) -> *const ::std::os::raw::c_char;
pub fn SBValueSetValueFromCString(
instance: SBValueRef,
value_str: *const ::std::os::raw::c_char,
) -> u8;
pub fn SBValueSetValueFromCString2(
instance: SBValueRef,
value_str: *const ::std::os::raw::c_char,
error: SBErrorRef,
) -> u8;
pub fn SBValueGetTypeFormat(instance: SBValueRef) -> SBTypeFormatRef;
pub fn SBValueGetTypeSummary(instance: SBValueRef) -> SBTypeSummaryRef;
pub fn SBValueGetTypeFilter(instance: SBValueRef) -> SBTypeFilterRef;
pub fn SBValueGetTypeSynthetic(instance: SBValueRef) -> SBTypeSyntheticRef;
pub fn SBValueGetChildAtIndex(instance: SBValueRef, idx: uint32_t) -> SBValueRef;
pub fn SBValueCreateChildAtOffset(
instance: SBValueRef,
name: *const ::std::os::raw::c_char,
offset: uint32_t,
type_: SBTypeRef,
) -> SBValueRef;
pub fn SBValueCast(instance: SBValueRef, type_: SBTypeRef) -> SBValueRef;
pub fn SBValueCreateValueFromExpression(
instance: SBValueRef,
name: *const ::std::os::raw::c_char,
expression: *const ::std::os::raw::c_char,
) -> SBValueRef;
pub fn SBValueCreateValueFromExpression2(
instance: SBValueRef,
name: *const ::std::os::raw::c_char,
expression: *const ::std::os::raw::c_char,
options: SBExpressionOptionsRef,
) -> SBValueRef;
pub fn SBValueCreateValueFromAddress(
instance: SBValueRef,
name: *const ::std::os::raw::c_char,
address: lldb_addr_t,
type_: SBTypeRef,
) -> SBValueRef;
pub fn SBValueCreateValueFromData(
instance: SBValueRef,
name: *const ::std::os::raw::c_char,
data: SBDataRef,
type_: SBTypeRef,
) -> SBValueRef;
pub fn SBValueGetChildAtIndex2(
instance: SBValueRef,
idx: uint32_t,
use_dynamic: DynamicValueType,
can_create_synthetic: u8,
) -> SBValueRef;
pub fn SBValueGetIndexOfChildWithName(
instance: SBValueRef,
name: *const ::std::os::raw::c_char,
) -> ::std::os::raw::c_uint;
pub fn SBValueGetChildMemberWithName(
instance: SBValueRef,
name: *const ::std::os::raw::c_char,
) -> SBValueRef;
pub fn SBValueGetChildMemberWithName2(
instance: SBValueRef,
name: *const ::std::os::raw::c_char,
use_dynamic: DynamicValueType,
) -> SBValueRef;
pub fn SBValueGetValueForExpressionPath(
instance: SBValueRef,
expr_path: *const ::std::os::raw::c_char,
) -> SBValueRef;
pub fn SBValueAddressOf(instance: SBValueRef) -> SBValueRef;
pub fn SBValueGetLoadAddress(instance: SBValueRef) -> ::std::os::raw::c_ulonglong;
pub fn SBValueGetAddress(instance: SBValueRef) -> SBAddressRef;
pub fn SBValueGetPointeeData(
instance: SBValueRef,
item_idx: uint32_t,
item_count: uint32_t,
) -> SBDataRef;
pub fn SBValueGetData(instance: SBValueRef) -> SBDataRef;
pub fn SBValueSetData(instance: SBValueRef, data: SBDataRef, error: SBErrorRef) -> u8;
pub fn SBValueGetDeclaration(instance: SBValueRef) -> SBDeclarationRef;
pub fn SBValueMightHaveChildren(instance: SBValueRef) -> u8;
pub fn SBValueIsRuntimeSupportValue(instance: SBValueRef) -> u8;
pub fn SBValueGetNumChildren(instance: SBValueRef) -> ::std::os::raw::c_uint;
pub fn SBValueGetOpaqueType(instance: SBValueRef) -> *mut ::std::os::raw::c_void;
pub fn SBValueGetTarget(instance: SBValueRef) -> SBTargetRef;
pub fn SBValueGetProcess(instance: SBValueRef) -> SBProcessRef;
pub fn SBValueGetThread(instance: SBValueRef) -> SBThreadRef;
pub fn SBValueGetFrame(instance: SBValueRef) -> SBFrameRef;
pub fn SBValueDereference(instance: SBValueRef) -> SBValueRef;
pub fn SBValueTypeIsPointerType(instance: SBValueRef) -> u8;
pub fn SBValueGetType(instance: SBValueRef) -> SBTypeRef;
pub fn SBValuePersist(instance: SBValueRef) -> SBValueRef;
pub fn SBValueGetDescription(instance: SBValueRef, description: SBStreamRef) -> u8;
pub fn SBValueGetExpressionPath(instance: SBValueRef, description: SBStreamRef) -> u8;
pub fn SBValueGetExpressionPath2(
instance: SBValueRef,
description: SBStreamRef,
qualify_cxx_base_classes: u8,
) -> u8;
pub fn SBValueWatch(
instance: SBValueRef,
resolve_location: u8,
read: u8,
write: u8,
error: SBErrorRef,
) -> SBWatchpointRef;
pub fn SBValueWatch2(
instance: SBValueRef,
resolve_location: u8,
read: u8,
write: u8,
) -> SBWatchpointRef;
pub fn SBValueWatchPointee(
instance: SBValueRef,
resolve_location: u8,
read: u8,
write: u8,
error: SBErrorRef,
) -> SBWatchpointRef;
pub fn CreateSBValueList() -> SBValueListRef;
pub fn DisposeSBValueList(instance: SBValueListRef);
pub fn SBValueListIsValid(instance: SBValueListRef) -> u8;
pub fn SBValueListClear(instance: SBValueListRef);
pub fn SBValueListAppend(instance: SBValueListRef, val_obj: SBValueRef);
pub fn SBValueListAppend2(instance: SBValueListRef, value_list: SBValueListRef);
pub fn SBValueListGetSize(instance: SBValueListRef) -> ::std::os::raw::c_uint;
pub fn SBValueListGetValueAtIndex(instance: SBValueListRef, idx: uint32_t) -> SBValueRef;
pub fn SBValueListGetFirstValueByName(
instance: SBValueListRef,
name: *const ::std::os::raw::c_char,
) -> SBValueRef;
pub fn SBValueListFindValueObjectByUID(
instance: SBValueListRef,
uid: lldb_user_id_t,
) -> SBValueRef;
pub fn CreateSBVariablesOptions() -> SBVariablesOptionsRef;
pub fn CreateSBVariablesOptions2(options: SBVariablesOptionsRef) -> SBVariablesOptionsRef;
pub fn DisposeSBVariablesOptions(instance: SBVariablesOptionsRef);
pub fn SBVariablesOptionsIsValid(instance: SBVariablesOptionsRef) -> u8;
pub fn SBVariablesOptionsGetIncludeArguments(instance: SBVariablesOptionsRef) -> u8;
pub fn SBVariablesOptionsSetIncludeArguments(instance: SBVariablesOptionsRef, arg1: u8);
pub fn SBVariablesOptionsGetIncludeLocals(instance: SBVariablesOptionsRef) -> u8;
pub fn SBVariablesOptionsSetIncludeLocals(instance: SBVariablesOptionsRef, arg1: u8);
pub fn SBVariablesOptionsGetIncludeStatics(instance: SBVariablesOptionsRef) -> u8;
pub fn SBVariablesOptionsSetIncludeStatics(instance: SBVariablesOptionsRef, arg1: u8);
pub fn SBVariablesOptionsGetInScopeOnly(instance: SBVariablesOptionsRef) -> u8;
pub fn SBVariablesOptionsSetInScopeOnly(instance: SBVariablesOptionsRef, arg1: u8);
pub fn SBVariablesOptionsGetIncludeRuntimeSupportValues(instance: SBVariablesOptionsRef) -> u8;
pub fn SBVariablesOptionsSetIncludeRuntimeSupportValues(
instance: SBVariablesOptionsRef,
arg1: u8,
);
pub fn SBVariablesOptionsGetUseDynamic(instance: SBVariablesOptionsRef) -> DynamicValueType;
pub fn SBVariablesOptionsSetUseDynamic(instance: SBVariablesOptionsRef, arg1: DynamicValueType);
pub fn CreateSBWatchpoint() -> SBWatchpointRef;
pub fn DisposeSBWatchpoint(instance: SBWatchpointRef);
pub fn SBWatchpointIsValid(instance: SBWatchpointRef) -> u8;
pub fn SBWatchpointGetError(instance: SBWatchpointRef) -> SBErrorRef;
pub fn SBWatchpointGetID(instance: SBWatchpointRef) -> ::std::os::raw::c_int;
pub fn SBWatchpointGetHardwareIndex(instance: SBWatchpointRef) -> ::std::os::raw::c_int;
pub fn SBWatchpointGetWatchAddress(instance: SBWatchpointRef) -> ::std::os::raw::c_ulonglong;
pub fn SBWatchpointGetWatchSize(instance: SBWatchpointRef) -> ::std::os::raw::c_uint;
pub fn SBWatchpointSetEnabled(instance: SBWatchpointRef, enabled: u8);
pub fn SBWatchpointIsEnabled(instance: SBWatchpointRef) -> u8;
pub fn SBWatchpointGetHitCount(instance: SBWatchpointRef) -> ::std::os::raw::c_uint;
pub fn SBWatchpointGetIgnoreCount(instance: SBWatchpointRef) -> ::std::os::raw::c_uint;
pub fn SBWatchpointSetIgnoreCount(instance: SBWatchpointRef, n: uint32_t);
pub fn SBWatchpointGetCondition(instance: SBWatchpointRef) -> *const ::std::os::raw::c_char;
pub fn SBWatchpointSetCondition(
instance: SBWatchpointRef,
condition: *const ::std::os::raw::c_char,
);
pub fn SBWatchpointGetDescription(
instance: SBWatchpointRef,
description: SBStreamRef,
level: DescriptionLevel,
) -> u8;
pub fn SBWatchpointClear(instance: SBWatchpointRef);
pub fn SBWatchpointEventIsWatchpointEvent(event: SBEventRef) -> u8;
pub fn SBWatchpointGetWatchpointEventTypeFromEvent(event: SBEventRef) -> WatchpointEventType;
pub fn SBWatchpointGetWatchpointFromEvent(event: SBEventRef) -> SBWatchpointRef;
}