==> Building on Q ==> Attempt to run pkgver()... ==> Making package: r2ghidra 5.4.1-2 (Sat 19 Feb 2022 03:49:56 AM EET) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources...  -> Updating r2ghidra git repo... Fetching origin From https://github.com/radareorg/r2ghidra - [deleted] (none) -> fix-object-order - [deleted] (none) -> force-ts remote: Enumerating objects: 293, done. remote: Counting objects: 0% (1/293) remote: Counting objects: 1% (3/293) remote: Counting objects: 2% (6/293) remote: Counting objects: 3% (9/293) remote: Counting objects: 4% (12/293) remote: Counting objects: 5% (15/293) remote: Counting objects: 6% (18/293) remote: Counting objects: 7% (21/293) remote: Counting objects: 8% (24/293) remote: Counting objects: 9% (27/293) remote: Counting objects: 10% (30/293) remote: Counting objects: 11% (33/293) remote: Counting objects: 12% (36/293) remote: Counting objects: 13% (39/293) remote: Counting objects: 14% (42/293) remote: Counting objects: 15% (44/293) remote: Counting objects: 16% (47/293) remote: Counting objects: 17% (50/293) remote: Counting objects: 18% (53/293) remote: Counting objects: 19% (56/293) remote: Counting objects: 20% (59/293) remote: Counting objects: 21% (62/293) remote: Counting objects: 22% (65/293) remote: Counting objects: 23% (68/293) remote: Counting objects: 24% (71/293) remote: Counting objects: 25% (74/293) remote: Counting objects: 26% (77/293) remote: Counting objects: 27% (80/293) remote: Counting objects: 28% (83/293) remote: Counting objects: 29% (85/293) remote: Counting objects: 30% (88/293) remote: Counting objects: 31% (91/293) remote: Counting objects: 32% (94/293) remote: Counting objects: 33% (97/293) remote: Counting objects: 34% (100/293) remote: Counting objects: 35% (103/293) remote: Counting objects: 36% (106/293) remote: Counting objects: 37% (109/293) remote: Counting objects: 38% (112/293) remote: Counting objects: 39% (115/293) remote: Counting objects: 40% (118/293) remote: Counting objects: 41% (121/293) remote: Counting objects: 42% (124/293) remote: Counting objects: 43% (126/293) remote: Counting objects: 44% (129/293) remote: Counting objects: 45% (132/293) remote: Counting objects: 46% (135/293) remote: Counting objects: 47% (138/293) remote: Counting objects: 48% (141/293) remote: Counting objects: 49% (144/293) remote: Counting objects: 50% (147/293) remote: Counting objects: 51% (150/293) remote: Counting objects: 52% (153/293) remote: Counting objects: 53% (156/293) remote: Counting objects: 54% (159/293) remote: Counting objects: 55% (162/293) remote: Counting objects: 56% (165/293) remote: Counting objects: 57% (168/293) remote: Counting objects: 58% (170/293) remote: Counting objects: 59% (173/293) remote: Counting objects: 60% (176/293) remote: Counting objects: 61% (179/293) remote: Counting objects: 62% (182/293) remote: Counting objects: 63% (185/293) remote: Counting objects: 64% (188/293) remote: Counting objects: 65% (191/293) remote: Counting objects: 66% (194/293) remote: Counting objects: 67% (197/293) remote: Counting objects: 68% (200/293) remote: Counting objects: 69% (203/293) remote: Counting objects: 70% (206/293) remote: Counting objects: 71% (209/293) remote: Counting objects: 72% (211/293) remote: Counting objects: 73% (214/293) remote: Counting objects: 74% (217/293) remote: Counting objects: 75% (220/293) remote: Counting objects: 76% (223/293) remote: Counting objects: 77% (226/293) remote: Counting objects: 78% (229/293) remote: Counting objects: 79% (232/293) remote: Counting objects: 80% (235/293) remote: Counting objects: 81% (238/293) remote: Counting objects: 82% (241/293) remote: Counting objects: 83% (244/293) remote: Counting objects: 84% (247/293) remote: Counting objects: 85% (250/293) remote: Counting objects: 86% (252/293) remote: Counting objects: 87% (255/293) remote: Counting objects: 88% (258/293) remote: Counting objects: 89% (261/293) remote: Counting objects: 90% (264/293) remote: Counting objects: 91% (267/293) remote: Counting objects: 92% (270/293) remote: Counting objects: 93% (273/293) remote: Counting objects: 94% (276/293) remote: Counting objects: 95% (279/293) remote: Counting objects: 96% (282/293) remote: Counting objects: 97% (285/293) remote: Counting objects: 98% (288/293) remote: Counting objects: 99% (291/293) remote: Counting objects: 100% (293/293) remote: Counting objects: 100% (293/293), done. remote: Compressing objects: 0% (1/135) remote: Compressing objects: 1% (2/135) remote: Compressing objects: 2% (3/135) remote: Compressing objects: 3% (5/135) remote: Compressing objects: 4% (6/135) remote: Compressing objects: 5% (7/135) remote: Compressing objects: 6% (9/135) remote: Compressing objects: 7% (10/135) remote: Compressing objects: 8% (11/135) remote: Compressing objects: 9% (13/135) remote: Compressing objects: 10% (14/135) remote: Compressing objects: 11% (15/135) remote: Compressing objects: 12% (17/135) remote: Compressing objects: 13% (18/135) remote: Compressing objects: 14% (19/135) remote: Compressing objects: 15% (21/135) remote: Compressing objects: 16% (22/135) remote: Compressing objects: 17% (23/135) remote: Compressing objects: 18% (25/135) remote: Compressing objects: 19% (26/135) remote: Compressing objects: 20% (27/135) remote: Compressing objects: 21% (29/135) remote: Compressing objects: 22% (30/135) remote: Compressing objects: 23% (32/135) remote: Compressing objects: 24% (33/135) remote: Compressing objects: 25% (34/135) remote: Compressing objects: 26% (36/135) remote: Compressing objects: 27% (37/135) remote: Compressing objects: 28% (38/135) remote: Compressing objects: 29% (40/135) remote: Compressing objects: 30% (41/135) remote: Compressing objects: 31% (42/135) remote: Compressing objects: 32% (44/135) remote: Compressing objects: 33% (45/135) remote: Compressing objects: 34% (46/135) remote: Compressing objects: 35% (48/135) remote: Compressing objects: 36% (49/135) remote: Compressing objects: 37% (50/135) remote: Compressing objects: 38% (52/135) remote: Compressing objects: 39% (53/135) remote: Compressing objects: 40% (54/135) remote: Compressing objects: 41% (56/135) remote: Compressing objects: 42% (57/135) remote: Compressing objects: 43% (59/135) remote: Compressing objects: 44% (60/135) remote: Compressing objects: 45% (61/135) remote: Compressing objects: 46% (63/135) remote: Compressing objects: 47% (64/135) remote: Compressing objects: 48% (65/135) remote: Compressing objects: 49% (67/135) remote: Compressing objects: 50% (68/135) remote: Compressing objects: 51% (69/135) remote: Compressing objects: 52% (71/135) remote: Compressing objects: 53% (72/135) remote: Compressing objects: 54% (73/135) remote: Compressing objects: 55% (75/135) remote: Compressing objects: 56% (76/135) remote: Compressing objects: 57% (77/135) remote: Compressing objects: 58% (79/135) remote: Compressing objects: 59% (80/135) remote: Compressing objects: 60% (81/135) remote: Compressing objects: 61% (83/135) remote: Compressing objects: 62% (84/135) remote: Compressing objects: 63% (86/135) remote: Compressing objects: 64% (87/135) remote: Compressing objects: 65% (88/135) remote: Compressing objects: 66% (90/135) remote: Compressing objects: 67% (91/135) remote: Compressing objects: 68% (92/135) remote: Compressing objects: 69% (94/135) remote: Compressing objects: 70% (95/135) remote: Compressing objects: 71% (96/135) remote: Compressing objects: 72% (98/135) remote: Compressing objects: 73% (99/135) remote: Compressing objects: 74% (100/135) remote: Compressing objects: 75% (102/135) remote: Compressing objects: 76% (103/135) remote: Compressing objects: 77% (104/135) remote: Compressing objects: 78% (106/135) remote: Compressing objects: 79% (107/135) remote: Compressing objects: 80% (108/135) remote: Compressing objects: 81% (110/135) remote: Compressing objects: 82% (111/135) remote: Compressing objects: 83% (113/135) remote: Compressing objects: 84% (114/135) remote: Compressing objects: 85% (115/135) remote: Compressing objects: 86% (117/135) remote: Compressing objects: 87% (118/135) remote: Compressing objects: 88% (119/135) remote: Compressing objects: 89% (121/135) remote: Compressing objects: 90% (122/135) remote: Compressing objects: 91% (123/135) remote: Compressing objects: 92% (125/135) remote: Compressing objects: 93% (126/135) remote: Compressing objects: 94% (127/135) remote: Compressing objects: 95% (129/135) remote: Compressing objects: 96% (130/135) remote: Compressing objects: 97% (131/135) remote: Compressing objects: 98% (133/135) remote: Compressing objects: 99% (134/135) remote: Compressing objects: 100% (135/135) remote: Compressing objects: 100% (135/135), done. Receiving objects: 0% (1/246) Receiving objects: 1% (3/246) Receiving objects: 2% (5/246) Receiving objects: 3% (8/246) Receiving objects: 4% (10/246) Receiving objects: 5% (13/246) Receiving objects: 6% (15/246) Receiving objects: 7% (18/246) Receiving objects: 8% (20/246) Receiving objects: 9% (23/246) Receiving objects: 10% (25/246) Receiving objects: 11% (28/246) Receiving objects: 12% (30/246) Receiving objects: 13% (32/246) Receiving objects: 14% (35/246) Receiving objects: 15% (37/246) Receiving objects: 16% (40/246) Receiving objects: 17% (42/246) Receiving objects: 18% (45/246) Receiving objects: 19% (47/246) Receiving objects: 20% (50/246) Receiving objects: 21% (52/246) Receiving objects: 22% (55/246) Receiving objects: 23% (57/246) Receiving objects: 24% (60/246) Receiving objects: 25% (62/246) Receiving objects: 26% (64/246) Receiving objects: 27% (67/246) Receiving objects: 28% (69/246) Receiving objects: 29% (72/246) Receiving objects: 30% (74/246) Receiving objects: 31% (77/246) Receiving objects: 32% (79/246) Receiving objects: 33% (82/246) Receiving objects: 34% (84/246) Receiving objects: 35% (87/246) Receiving objects: 36% (89/246) Receiving objects: 37% (92/246) Receiving objects: 38% (94/246) Receiving objects: 39% (96/246) Receiving objects: 40% (99/246) Receiving objects: 41% (101/246) Receiving objects: 42% (104/246) Receiving objects: 43% (106/246) Receiving objects: 44% (109/246) Receiving objects: 45% (111/246) Receiving objects: 46% (114/246) Receiving objects: 47% (116/246) Receiving objects: 48% (119/246) Receiving objects: 49% (121/246) Receiving objects: 50% (123/246) Receiving objects: 51% (126/246) Receiving objects: 52% (128/246) Receiving objects: 53% (131/246) Receiving objects: 54% (133/246) Receiving objects: 55% (136/246) Receiving objects: 56% (138/246) Receiving objects: 57% (141/246) Receiving objects: 58% (143/246) Receiving objects: 59% (146/246) Receiving objects: 60% (148/246) Receiving objects: 61% (151/246) Receiving objects: 62% (153/246) Receiving objects: 63% (155/246) Receiving objects: 64% (158/246) Receiving objects: 65% (160/246) Receiving objects: 66% (163/246) Receiving objects: 67% (165/246) Receiving objects: 68% (168/246) Receiving objects: 69% (170/246) Receiving objects: 70% (173/246) Receiving objects: 71% (175/246) Receiving objects: 72% (178/246) Receiving objects: 73% (180/246) Receiving objects: 74% (183/246) Receiving objects: 75% (185/246) Receiving objects: 76% (187/246) Receiving objects: 77% (190/246) Receiving objects: 78% (192/246) Receiving objects: 79% (195/246) Receiving objects: 80% (197/246) Receiving objects: 81% (200/246) Receiving objects: 82% (202/246) remote: Total 246 (delta 176), reused 163 (delta 99), pack-reused 0 Receiving objects: 83% (205/246) Receiving objects: 84% (207/246) Receiving objects: 85% (210/246) Receiving objects: 86% (212/246) Receiving objects: 87% (215/246) Receiving objects: 88% (217/246) Receiving objects: 89% (219/246) Receiving objects: 90% (222/246) Receiving objects: 91% (224/246) Receiving objects: 92% (227/246) Receiving objects: 93% (229/246) Receiving objects: 94% (232/246) Receiving objects: 95% (234/246) Receiving objects: 96% (237/246) Receiving objects: 97% (239/246) Receiving objects: 98% (242/246) Receiving objects: 99% (244/246) Receiving objects: 100% (246/246) Receiving objects: 100% (246/246), 53.78 KiB | 216.00 KiB/s, done. Resolving deltas: 0% (0/176) Resolving deltas: 1% (2/176) Resolving deltas: 2% (4/176) Resolving deltas: 3% (6/176) Resolving deltas: 4% (8/176) Resolving deltas: 5% (9/176) Resolving deltas: 6% (11/176) Resolving deltas: 7% (13/176) Resolving deltas: 8% (15/176) Resolving deltas: 9% (16/176) Resolving deltas: 10% (18/176) Resolving deltas: 11% (20/176) Resolving deltas: 12% (22/176) Resolving deltas: 13% (23/176) Resolving deltas: 14% (25/176) Resolving deltas: 15% (27/176) Resolving deltas: 16% (29/176) Resolving deltas: 17% (30/176) Resolving deltas: 18% (32/176) Resolving deltas: 19% (34/176) Resolving deltas: 20% (36/176) Resolving deltas: 21% (37/176) Resolving deltas: 22% (39/176) Resolving deltas: 23% (41/176) Resolving deltas: 24% (43/176) Resolving deltas: 25% (44/176) Resolving deltas: 26% (46/176) Resolving deltas: 27% (48/176) Resolving deltas: 28% (50/176) Resolving deltas: 29% (52/176) Resolving deltas: 30% (53/176) Resolving deltas: 31% (55/176) Resolving deltas: 32% (57/176) Resolving deltas: 33% (59/176) Resolving deltas: 34% (60/176) Resolving deltas: 35% (62/176) Resolving deltas: 36% (64/176) Resolving deltas: 37% (66/176) Resolving deltas: 38% (67/176) Resolving deltas: 39% (69/176) Resolving deltas: 40% (71/176) Resolving deltas: 41% (73/176) Resolving deltas: 42% (74/176) Resolving deltas: 43% (76/176) Resolving deltas: 44% (78/176) Resolving deltas: 45% (80/176) Resolving deltas: 46% (81/176) Resolving deltas: 47% (83/176) Resolving deltas: 48% (85/176) Resolving deltas: 49% (87/176) Resolving deltas: 50% (88/176) Resolving deltas: 51% (90/176) Resolving deltas: 52% (92/176) Resolving deltas: 53% (94/176) Resolving deltas: 54% (96/176) Resolving deltas: 55% (97/176) Resolving deltas: 56% (99/176) Resolving deltas: 57% (101/176) Resolving deltas: 58% (103/176) Resolving deltas: 59% (104/176) Resolving deltas: 60% (106/176) Resolving deltas: 61% (108/176) Resolving deltas: 62% (110/176) Resolving deltas: 63% (111/176) Resolving deltas: 64% (113/176) Resolving deltas: 65% (115/176) Resolving deltas: 66% (117/176) Resolving deltas: 67% (118/176) Resolving deltas: 68% (120/176) Resolving deltas: 69% (122/176) Resolving deltas: 70% (124/176) Resolving deltas: 71% (125/176) Resolving deltas: 72% (127/176) Resolving deltas: 73% (129/176) Resolving deltas: 74% (131/176) Resolving deltas: 75% (132/176) Resolving deltas: 76% (134/176) Resolving deltas: 77% (136/176) Resolving deltas: 78% (138/176) Resolving deltas: 79% (140/176) Resolving deltas: 80% (141/176) Resolving deltas: 81% (143/176) Resolving deltas: 82% (145/176) Resolving deltas: 83% (147/176) Resolving deltas: 84% (148/176) Resolving deltas: 85% (150/176) Resolving deltas: 86% (152/176) Resolving deltas: 87% (154/176) Resolving deltas: 88% (155/176) Resolving deltas: 89% (157/176) Resolving deltas: 90% (159/176) Resolving deltas: 91% (161/176) Resolving deltas: 92% (162/176) Resolving deltas: 93% (164/176) Resolving deltas: 94% (166/176) Resolving deltas: 95% (168/176) Resolving deltas: 96% (169/176) Resolving deltas: 97% (171/176) Resolving deltas: 98% (173/176) Resolving deltas: 99% (175/176) Resolving deltas: 100% (176/176) Resolving deltas: 100% (176/176), completed with 42 local objects. 35ddf052..0a1e015c master -> master + f68b1f43...06b81a41 parsle -> parsle (forced update) * [new branch] pdga -> pdga * [new branch] reindent -> reindent + f68b1f43...06b81a41 refs/pull/46/head -> refs/pull/46/head (forced update) * [new ref] refs/pull/46/merge -> refs/pull/46/merge * [new ref] refs/pull/51/head -> refs/pull/51/head * [new ref] refs/pull/53/head -> refs/pull/53/head * [new ref] refs/pull/59/head -> refs/pull/59/head * [new tag] 5.5.0 -> 5.5.0 * [new tag] 5.5.2 -> 5.5.2 * [new tag] v5.5.0 -> v5.5.0 * [new tag] v5.5.4 -> v5.5.4 * [new tag] v5.6.0 -> v5.6.0  -> Updating ghidra-native git repo... Fetching origin From https://github.com/radareorg/ghidra-native - [deleted] (none) -> refs/pull/2/merge - [deleted] (none) -> refs/pull/3/merge remote: Enumerating objects: 619, done. remote: Counting objects: 0% (1/619) remote: Counting objects: 1% (7/619) remote: Counting objects: 2% (13/619) remote: Counting objects: 3% (19/619) remote: Counting objects: 4% (25/619) remote: Counting objects: 5% (31/619) remote: Counting objects: 6% (38/619) remote: Counting objects: 7% (44/619) remote: Counting objects: 8% (50/619) remote: Counting objects: 9% (56/619) remote: Counting objects: 10% (62/619) remote: Counting objects: 11% (69/619) remote: Counting objects: 12% (75/619) remote: Counting objects: 13% (81/619) remote: Counting objects: 14% (87/619) remote: Counting objects: 15% (93/619) remote: Counting objects: 16% (100/619) remote: Counting objects: 17% (106/619) remote: Counting objects: 18% (112/619) remote: Counting objects: 19% (118/619) remote: Counting objects: 20% (124/619) remote: Counting objects: 21% (130/619) remote: Counting objects: 22% (137/619) remote: Counting objects: 23% (143/619) remote: Counting objects: 24% (149/619) remote: Counting objects: 25% (155/619) remote: Counting objects: 26% (161/619) remote: Counting objects: 27% (168/619) remote: Counting objects: 28% (174/619) remote: Counting objects: 29% (180/619) remote: Counting objects: 30% (186/619) remote: Counting objects: 31% (192/619) remote: Counting objects: 32% (199/619) remote: Counting objects: 33% (205/619) remote: Counting objects: 34% (211/619) remote: Counting objects: 35% (217/619) remote: Counting objects: 36% (223/619) remote: Counting objects: 37% (230/619) remote: Counting objects: 38% (236/619) remote: Counting objects: 39% (242/619) remote: Counting objects: 40% (248/619) remote: Counting objects: 41% (254/619) remote: Counting objects: 42% (260/619) remote: Counting objects: 43% (267/619) remote: Counting objects: 44% (273/619) remote: Counting objects: 45% (279/619) remote: Counting objects: 46% (285/619) remote: Counting objects: 47% (291/619) remote: Counting objects: 48% (298/619) remote: Counting objects: 49% (304/619) remote: Counting objects: 50% (310/619) remote: Counting objects: 51% (316/619) remote: Counting objects: 52% (322/619) remote: Counting objects: 53% (329/619) remote: Counting objects: 54% (335/619) remote: Counting objects: 55% (341/619) remote: Counting objects: 56% (347/619) remote: Counting objects: 57% (353/619) remote: Counting objects: 58% (360/619) remote: Counting objects: 59% (366/619) remote: Counting objects: 60% (372/619) remote: Counting objects: 61% (378/619) remote: Counting objects: 62% (384/619) remote: Counting objects: 63% (390/619) remote: Counting objects: 64% (397/619) remote: Counting objects: 65% (403/619) remote: Counting objects: 66% (409/619) remote: Counting objects: 67% (415/619) remote: Counting objects: 68% (421/619) remote: Counting objects: 69% (428/619) remote: Counting objects: 70% (434/619) remote: Counting objects: 71% (440/619) remote: Counting objects: 72% (446/619) remote: Counting objects: 73% (452/619) remote: Counting objects: 74% (459/619) remote: Counting objects: 75% (465/619) remote: Counting objects: 76% (471/619) remote: Counting objects: 77% (477/619) remote: Counting objects: 78% (483/619) remote: Counting objects: 79% (490/619) remote: Counting objects: 80% (496/619) remote: Counting objects: 81% (502/619) remote: Counting objects: 82% (508/619) remote: Counting objects: 83% (514/619) remote: Counting objects: 84% (520/619) remote: Counting objects: 85% (527/619) remote: Counting objects: 86% (533/619) remote: Counting objects: 87% (539/619) remote: Counting objects: 88% (545/619) remote: Counting objects: 89% (551/619) remote: Counting objects: 90% (558/619) remote: Counting objects: 91% (564/619) remote: Counting objects: 92% (570/619) remote: Counting objects: 93% (576/619) remote: Counting objects: 94% (582/619) remote: Counting objects: 95% (589/619) remote: Counting objects: 96% (595/619) remote: Counting objects: 97% (601/619) remote: Counting objects: 98% (607/619) remote: Counting objects: 99% (613/619) remote: Counting objects: 100% (619/619) remote: Counting objects: 100% (619/619), done. remote: Compressing objects: 0% (1/136) remote: Compressing objects: 1% (2/136) remote: Compressing objects: 2% (3/136) remote: Compressing objects: 3% (5/136) remote: Compressing objects: 4% (6/136) remote: Compressing objects: 5% (7/136) remote: Compressing objects: 6% (9/136) remote: Compressing objects: 7% (10/136) remote: Compressing objects: 8% (11/136) remote: Compressing objects: 9% (13/136) remote: Compressing objects: 10% (14/136) remote: Compressing objects: 11% (15/136) remote: Compressing objects: 12% (17/136) remote: Compressing objects: 13% (18/136) remote: Compressing objects: 14% (20/136) remote: Compressing objects: 15% (21/136) remote: Compressing objects: 16% (22/136) remote: Compressing objects: 17% (24/136) remote: Compressing objects: 18% (25/136) remote: Compressing objects: 19% (26/136) remote: Compressing objects: 20% (28/136) remote: Compressing objects: 21% (29/136) remote: Compressing objects: 22% (30/136) remote: Compressing objects: 23% (32/136) remote: Compressing objects: 24% (33/136) remote: Compressing objects: 25% (34/136) remote: Compressing objects: 26% (36/136) remote: Compressing objects: 27% (37/136) remote: Compressing objects: 28% (39/136) remote: Compressing objects: 29% (40/136) remote: Compressing objects: 30% (41/136) remote: Compressing objects: 31% (43/136) remote: Compressing objects: 32% (44/136) remote: Compressing objects: 33% (45/136) remote: Compressing objects: 34% (47/136) remote: Compressing objects: 35% (48/136) remote: Compressing objects: 36% (49/136) remote: Compressing objects: 37% (51/136) remote: Compressing objects: 38% (52/136) remote: Compressing objects: 39% (54/136) remote: Compressing objects: 40% (55/136) remote: Compressing objects: 41% (56/136) remote: Compressing objects: 42% (58/136) remote: Compressing objects: 43% (59/136) remote: Compressing objects: 44% (60/136) remote: Compressing objects: 45% (62/136) remote: Compressing objects: 46% (63/136) remote: Compressing objects: 47% (64/136) remote: Compressing objects: 48% (66/136) remote: Compressing objects: 49% (67/136) remote: Compressing objects: 50% (68/136) remote: Compressing objects: 51% (70/136) remote: Compressing objects: 52% (71/136) remote: Compressing objects: 53% (73/136) remote: Compressing objects: 54% (74/136) remote: Compressing objects: 55% (75/136) remote: Compressing objects: 56% (77/136) remote: Compressing objects: 57% (78/136) remote: Compressing objects: 58% (79/136) remote: Compressing objects: 59% (81/136) remote: Compressing objects: 60% (82/136) remote: Compressing objects: 61% (83/136) remote: Compressing objects: 62% (85/136) remote: Compressing objects: 63% (86/136) remote: Compressing objects: 64% (88/136) remote: Compressing objects: 65% (89/136) remote: Compressing objects: 66% (90/136) remote: Compressing objects: 67% (92/136) remote: Compressing objects: 68% (93/136) remote: Compressing objects: 69% (94/136) remote: Compressing objects: 70% (96/136) remote: Compressing objects: 71% (97/136) remote: Compressing objects: 72% (98/136) remote: Compressing objects: 73% (100/136) remote: Compressing objects: 74% (101/136) remote: Compressing objects: 75% (102/136) remote: Compressing objects: 76% (104/136) remote: Compressing objects: 77% (105/136) remote: Compressing objects: 78% (107/136) remote: Compressing objects: 79% (108/136) remote: Compressing objects: 80% (109/136) remote: Compressing objects: 81% (111/136) remote: Compressing objects: 82% (112/136) remote: Compressing objects: 83% (113/136) remote: Compressing objects: 84% (115/136) remote: Compressing objects: 85% (116/136) remote: Compressing objects: 86% (117/136) remote: Compressing objects: 87% (119/136) remote: Compressing objects: 88% (120/136) remote: Compressing objects: 89% (122/136) remote: Compressing objects: 90% (123/136) remote: Compressing objects: 91% (124/136) remote: Compressing objects: 92% (126/136) remote: Compressing objects: 93% (127/136) remote: Compressing objects: 94% (128/136) remote: Compressing objects: 95% (130/136) remote: Compressing objects: 96% (131/136) remote: Compressing objects: 97% (132/136) remote: Compressing objects: 98% (134/136) remote: Compressing objects: 99% (135/136) remote: Compressing objects: 100% (136/136) remote: Compressing objects: 100% (136/136), done. Receiving objects: 0% (1/382) Receiving objects: 1% (4/382) Receiving objects: 2% (8/382) Receiving objects: 3% (12/382) Receiving objects: 4% (16/382) Receiving objects: 5% (20/382) Receiving objects: 6% (23/382) Receiving objects: 7% (27/382) Receiving objects: 8% (31/382) Receiving objects: 9% (35/382) Receiving objects: 10% (39/382) Receiving objects: 11% (43/382) Receiving objects: 12% (46/382) Receiving objects: 13% (50/382) Receiving objects: 14% (54/382) Receiving objects: 15% (58/382) Receiving objects: 16% (62/382) Receiving objects: 17% (65/382) Receiving objects: 18% (69/382) Receiving objects: 19% (73/382) Receiving objects: 20% (77/382) Receiving objects: 21% (81/382) Receiving objects: 22% (85/382) Receiving objects: 23% (88/382) Receiving objects: 24% (92/382) Receiving objects: 25% (96/382) Receiving objects: 26% (100/382) Receiving objects: 27% (104/382) Receiving objects: 28% (107/382) Receiving objects: 29% (111/382) Receiving objects: 30% (115/382) Receiving objects: 31% (119/382) Receiving objects: 32% (123/382) Receiving objects: 33% (127/382) Receiving objects: 34% (130/382) Receiving objects: 35% (134/382) Receiving objects: 36% (138/382), 76.00 KiB | 131.00 KiB/s Receiving objects: 37% (142/382), 76.00 KiB | 131.00 KiB/s Receiving objects: 38% (146/382), 76.00 KiB | 131.00 KiB/s Receiving objects: 39% (149/382), 76.00 KiB | 131.00 KiB/s Receiving objects: 40% (153/382), 76.00 KiB | 131.00 KiB/s Receiving objects: 41% (157/382), 76.00 KiB | 131.00 KiB/s Receiving objects: 42% (161/382), 76.00 KiB | 131.00 KiB/s Receiving objects: 43% (165/382), 76.00 KiB | 131.00 KiB/s Receiving objects: 44% (169/382), 76.00 KiB | 131.00 KiB/s Receiving objects: 45% (172/382), 76.00 KiB | 131.00 KiB/s Receiving objects: 46% (176/382), 76.00 KiB | 131.00 KiB/s Receiving objects: 47% (180/382), 76.00 KiB | 131.00 KiB/s Receiving objects: 48% (184/382), 76.00 KiB | 131.00 KiB/s Receiving objects: 49% (188/382), 76.00 KiB | 131.00 KiB/s Receiving objects: 50% (191/382), 76.00 KiB | 131.00 KiB/s Receiving objects: 51% (195/382), 76.00 KiB | 131.00 KiB/s Receiving objects: 52% (199/382), 76.00 KiB | 131.00 KiB/s Receiving objects: 53% (203/382), 76.00 KiB | 131.00 KiB/s Receiving objects: 54% (207/382), 76.00 KiB | 131.00 KiB/s Receiving objects: 55% (211/382), 76.00 KiB | 131.00 KiB/s Receiving objects: 56% (214/382), 76.00 KiB | 131.00 KiB/s Receiving objects: 57% (218/382), 76.00 KiB | 131.00 KiB/s Receiving objects: 58% (222/382), 76.00 KiB | 131.00 KiB/s Receiving objects: 59% (226/382), 76.00 KiB | 131.00 KiB/s Receiving objects: 60% (230/382), 76.00 KiB | 131.00 KiB/s Receiving objects: 61% (234/382), 76.00 KiB | 131.00 KiB/s Receiving objects: 62% (237/382), 76.00 KiB | 131.00 KiB/s Receiving objects: 63% (241/382), 76.00 KiB | 131.00 KiB/s Receiving objects: 64% (245/382), 76.00 KiB | 131.00 KiB/s Receiving objects: 65% (249/382), 76.00 KiB | 131.00 KiB/s Receiving objects: 66% (253/382), 76.00 KiB | 131.00 KiB/s Receiving objects: 67% (256/382), 76.00 KiB | 131.00 KiB/s Receiving objects: 68% (260/382), 76.00 KiB | 131.00 KiB/s Receiving objects: 68% (261/382), 76.00 KiB | 131.00 KiB/s Receiving objects: 69% (264/382), 76.00 KiB | 131.00 KiB/s Receiving objects: 70% (268/382), 76.00 KiB | 131.00 KiB/s Receiving objects: 71% (272/382), 76.00 KiB | 131.00 KiB/s Receiving objects: 72% (276/382), 172.00 KiB | 158.00 KiB/s Receiving objects: 73% (279/382), 172.00 KiB | 158.00 KiB/s Receiving objects: 74% (283/382), 172.00 KiB | 158.00 KiB/s Receiving objects: 75% (287/382), 172.00 KiB | 158.00 KiB/s Receiving objects: 76% (291/382), 172.00 KiB | 158.00 KiB/s Receiving objects: 77% (295/382), 172.00 KiB | 158.00 KiB/s Receiving objects: 78% (298/382), 172.00 KiB | 158.00 KiB/s Receiving objects: 79% (302/382), 172.00 KiB | 158.00 KiB/s Receiving objects: 80% (306/382), 172.00 KiB | 158.00 KiB/s Receiving objects: 81% (310/382), 172.00 KiB | 158.00 KiB/s Receiving objects: 82% (314/382), 172.00 KiB | 158.00 KiB/s Receiving objects: 83% (318/382), 172.00 KiB | 158.00 KiB/s Receiving objects: 84% (321/382), 172.00 KiB | 158.00 KiB/s Receiving objects: 85% (325/382), 172.00 KiB | 158.00 KiB/s Receiving objects: 86% (329/382), 172.00 KiB | 158.00 KiB/s Receiving objects: 87% (333/382), 172.00 KiB | 158.00 KiB/s Receiving objects: 88% (337/382), 172.00 KiB | 158.00 KiB/s Receiving objects: 89% (340/382), 172.00 KiB | 158.00 KiB/s Receiving objects: 90% (344/382), 172.00 KiB | 158.00 KiB/s Receiving objects: 91% (348/382), 172.00 KiB | 158.00 KiB/s Receiving objects: 92% (352/382), 172.00 KiB | 158.00 KiB/s Receiving objects: 93% (356/382), 172.00 KiB | 158.00 KiB/s remote: Total 382 (delta 290), reused 330 (delta 238), pack-reused 0 Receiving objects: 94% (360/382), 172.00 KiB | 158.00 KiB/s Receiving objects: 95% (363/382), 172.00 KiB | 158.00 KiB/s Receiving objects: 96% (367/382), 172.00 KiB | 158.00 KiB/s Receiving objects: 97% (371/382), 172.00 KiB | 158.00 KiB/s Receiving objects: 98% (375/382), 172.00 KiB | 158.00 KiB/s Receiving objects: 99% (379/382), 172.00 KiB | 158.00 KiB/s Receiving objects: 100% (382/382), 172.00 KiB | 158.00 KiB/s Receiving objects: 100% (382/382), 238.93 KiB | 168.00 KiB/s, done. Resolving deltas: 0% (0/290) Resolving deltas: 1% (3/290) Resolving deltas: 2% (6/290) Resolving deltas: 3% (9/290) Resolving deltas: 4% (12/290) Resolving deltas: 5% (15/290) Resolving deltas: 6% (18/290) Resolving deltas: 7% (21/290) Resolving deltas: 8% (24/290) Resolving deltas: 9% (27/290) Resolving deltas: 10% (29/290) Resolving deltas: 11% (32/290) Resolving deltas: 12% (35/290) Resolving deltas: 13% (38/290) Resolving deltas: 14% (41/290) Resolving deltas: 15% (44/290) Resolving deltas: 16% (47/290) Resolving deltas: 17% (50/290) Resolving deltas: 18% (53/290) Resolving deltas: 19% (56/290) Resolving deltas: 20% (58/290) Resolving deltas: 21% (61/290) Resolving deltas: 22% (64/290) Resolving deltas: 23% (67/290) Resolving deltas: 24% (70/290) Resolving deltas: 25% (73/290) Resolving deltas: 26% (76/290) Resolving deltas: 27% (79/290) Resolving deltas: 28% (82/290) Resolving deltas: 29% (85/290) Resolving deltas: 30% (87/290) Resolving deltas: 31% (90/290) Resolving deltas: 32% (93/290) Resolving deltas: 33% (96/290) Resolving deltas: 34% (99/290) Resolving deltas: 35% (102/290) Resolving deltas: 36% (105/290) Resolving deltas: 37% (108/290) Resolving deltas: 38% (111/290) Resolving deltas: 39% (114/290) Resolving deltas: 40% (116/290) Resolving deltas: 41% (119/290) Resolving deltas: 42% (122/290) Resolving deltas: 43% (125/290) Resolving deltas: 44% (128/290) Resolving deltas: 45% (131/290) Resolving deltas: 46% (134/290) Resolving deltas: 47% (137/290) Resolving deltas: 48% (140/290) Resolving deltas: 49% (143/290) Resolving deltas: 50% (145/290) Resolving deltas: 51% (148/290) Resolving deltas: 52% (151/290) Resolving deltas: 53% (154/290) Resolving deltas: 54% (157/290) Resolving deltas: 55% (160/290) Resolving deltas: 56% (163/290) Resolving deltas: 57% (166/290) Resolving deltas: 58% (169/290) Resolving deltas: 59% (172/290) Resolving deltas: 60% (174/290) Resolving deltas: 61% (177/290) Resolving deltas: 62% (180/290) Resolving deltas: 63% (183/290) Resolving deltas: 64% (186/290) Resolving deltas: 65% (189/290) Resolving deltas: 66% (192/290) Resolving deltas: 67% (195/290) Resolving deltas: 68% (198/290) Resolving deltas: 69% (201/290) Resolving deltas: 70% (203/290) Resolving deltas: 71% (206/290) Resolving deltas: 72% (209/290) Resolving deltas: 73% (212/290) Resolving deltas: 74% (215/290) Resolving deltas: 75% (218/290) Resolving deltas: 76% (221/290) Resolving deltas: 77% (224/290) Resolving deltas: 78% (227/290) Resolving deltas: 79% (230/290) Resolving deltas: 80% (232/290) Resolving deltas: 81% (235/290) Resolving deltas: 82% (238/290) Resolving deltas: 83% (241/290) Resolving deltas: 84% (244/290) Resolving deltas: 85% (247/290) Resolving deltas: 86% (250/290) Resolving deltas: 87% (253/290) Resolving deltas: 88% (256/290) Resolving deltas: 89% (259/290) Resolving deltas: 90% (261/290) Resolving deltas: 91% (264/290) Resolving deltas: 92% (267/290) Resolving deltas: 93% (270/290) Resolving deltas: 94% (273/290) Resolving deltas: 95% (276/290) Resolving deltas: 96% (279/290) Resolving deltas: 97% (282/290) Resolving deltas: 98% (285/290) Resolving deltas: 99% (288/290) Resolving deltas: 100% (290/290) Resolving deltas: 100% (290/290), completed with 195 local objects. 3581328..d7b95de master -> master * [new tag] 0.1.1 -> 0.1.1 * [new tag] 0.1.2 -> 0.1.2 * [new tag] 0.1.3 -> 0.1.3 * [new tag] 0.1.4 -> 0.1.4 * [new tag] 0.1.5 -> 0.1.5 * [new tag] 0.1.6 -> 0.1.6  -> Updating pugixml git repo... Fetching origin From https://github.com/zeux/pugixml - [deleted] (none) -> refs/pull/381/merge remote: Enumerating objects: 311, done. remote: Counting objects: 0% (1/311) remote: Counting objects: 1% (4/311) remote: Counting objects: 2% (7/311) remote: Counting objects: 3% (10/311) remote: Counting objects: 4% (13/311) remote: Counting objects: 5% (16/311) remote: Counting objects: 6% (19/311) remote: Counting objects: 7% (22/311) remote: Counting objects: 8% (25/311) remote: Counting objects: 9% (28/311) remote: Counting objects: 10% (32/311) remote: Counting objects: 11% (35/311) remote: Counting objects: 12% (38/311) remote: Counting objects: 13% (41/311) remote: Counting objects: 14% (44/311) remote: Counting objects: 15% (47/311) remote: Counting objects: 16% (50/311) remote: Counting objects: 17% (53/311) remote: Counting objects: 18% (56/311) remote: Counting objects: 19% (60/311) remote: Counting objects: 20% (63/311) remote: Counting objects: 21% (66/311) remote: Counting objects: 22% (69/311) remote: Counting objects: 23% (72/311) remote: Counting objects: 24% (75/311) remote: Counting objects: 25% (78/311) remote: Counting objects: 26% (81/311) remote: Counting objects: 27% (84/311) remote: Counting objects: 28% (88/311) remote: Counting objects: 29% (91/311) remote: Counting objects: 30% (94/311) remote: Counting objects: 31% (97/311) remote: Counting objects: 32% (100/311) remote: Counting objects: 33% (103/311) remote: Counting objects: 34% (106/311) remote: Counting objects: 35% (109/311) remote: Counting objects: 36% (112/311) remote: Counting objects: 37% (116/311) remote: Counting objects: 38% (119/311) remote: Counting objects: 39% (122/311) remote: Counting objects: 40% (125/311) remote: Counting objects: 41% (128/311) remote: Counting objects: 42% (131/311) remote: Counting objects: 43% (134/311) remote: Counting objects: 44% (137/311) remote: Counting objects: 45% (140/311) remote: Counting objects: 46% (144/311) remote: Counting objects: 47% (147/311) remote: Counting objects: 48% (150/311) remote: Counting objects: 49% (153/311) remote: Counting objects: 50% (156/311) remote: Counting objects: 51% (159/311) remote: Counting objects: 52% (162/311) remote: Counting objects: 53% (165/311) remote: Counting objects: 54% (168/311) remote: Counting objects: 55% (172/311) remote: Counting objects: 56% (175/311) remote: Counting objects: 57% (178/311) remote: Counting objects: 58% (181/311) remote: Counting objects: 59% (184/311) remote: Counting objects: 60% (187/311) remote: Counting objects: 61% (190/311) remote: Counting objects: 62% (193/311) remote: Counting objects: 63% (196/311) remote: Counting objects: 64% (200/311) remote: Counting objects: 65% (203/311) remote: Counting objects: 66% (206/311) remote: Counting objects: 67% (209/311) remote: Counting objects: 68% (212/311) remote: Counting objects: 69% (215/311) remote: Counting objects: 70% (218/311) remote: Counting objects: 71% (221/311) remote: Counting objects: 72% (224/311) remote: Counting objects: 73% (228/311) remote: Counting objects: 74% (231/311) remote: Counting objects: 75% (234/311) remote: Counting objects: 76% (237/311) remote: Counting objects: 77% (240/311) remote: Counting objects: 78% (243/311) remote: Counting objects: 79% (246/311) remote: Counting objects: 80% (249/311) remote: Counting objects: 81% (252/311) remote: Counting objects: 82% (256/311) remote: Counting objects: 83% (259/311) remote: Counting objects: 84% (262/311) remote: Counting objects: 85% (265/311) remote: Counting objects: 86% (268/311) remote: Counting objects: 87% (271/311) remote: Counting objects: 88% (274/311) remote: Counting objects: 89% (277/311) remote: Counting objects: 90% (280/311) remote: Counting objects: 91% (284/311) remote: Counting objects: 92% (287/311) remote: Counting objects: 93% (290/311) remote: Counting objects: 94% (293/311) remote: Counting objects: 95% (296/311) remote: Counting objects: 96% (299/311) remote: Counting objects: 97% (302/311) remote: Counting objects: 98% (305/311) remote: Counting objects: 99% (308/311) remote: Counting objects: 100% (311/311) remote: Counting objects: 100% (311/311), done. remote: Compressing objects: 0% (1/132) remote: Compressing objects: 1% (2/132) remote: Compressing objects: 2% (3/132) remote: Compressing objects: 3% (4/132) remote: Compressing objects: 4% (6/132) remote: Compressing objects: 5% (7/132) remote: Compressing objects: 6% (8/132) remote: Compressing objects: 7% (10/132) remote: Compressing objects: 8% (11/132) remote: Compressing objects: 9% (12/132) remote: Compressing objects: 10% (14/132) remote: Compressing objects: 11% (15/132) remote: Compressing objects: 12% (16/132) remote: Compressing objects: 13% (18/132) remote: Compressing objects: 14% (19/132) remote: Compressing objects: 15% (20/132) remote: Compressing objects: 16% (22/132) remote: Compressing objects: 17% (23/132) remote: Compressing objects: 18% (24/132) remote: Compressing objects: 19% (26/132) remote: Compressing objects: 20% (27/132) remote: Compressing objects: 21% (28/132) remote: Compressing objects: 22% (30/132) remote: Compressing objects: 23% (31/132) remote: Compressing objects: 24% (32/132) remote: Compressing objects: 25% (33/132) remote: Compressing objects: 26% (35/132) remote: Compressing objects: 27% (36/132) remote: Compressing objects: 28% (37/132) remote: Compressing objects: 29% (39/132) remote: Compressing objects: 30% (40/132) remote: Compressing objects: 31% (41/132) remote: Compressing objects: 32% (43/132) remote: Compressing objects: 33% (44/132) remote: Compressing objects: 34% (45/132) remote: Compressing objects: 35% (47/132) remote: Compressing objects: 36% (48/132) remote: Compressing objects: 37% (49/132) remote: Compressing objects: 38% (51/132) remote: Compressing objects: 39% (52/132) remote: Compressing objects: 40% (53/132) remote: Compressing objects: 41% (55/132) remote: Compressing objects: 42% (56/132) remote: Compressing objects: 43% (57/132) remote: Compressing objects: 44% (59/132) remote: Compressing objects: 45% (60/132) remote: Compressing objects: 46% (61/132) remote: Compressing objects: 47% (63/132) remote: Compressing objects: 48% (64/132) remote: Compressing objects: 49% (65/132) remote: Compressing objects: 50% (66/132) remote: Compressing objects: 51% (68/132) remote: Compressing objects: 52% (69/132) remote: Compressing objects: 53% (70/132) remote: Compressing objects: 54% (72/132) remote: Compressing objects: 55% (73/132) remote: Compressing objects: 56% (74/132) remote: Compressing objects: 57% (76/132) remote: Compressing objects: 58% (77/132) remote: Compressing objects: 59% (78/132) remote: Compressing objects: 60% (80/132) remote: Compressing objects: 61% (81/132) remote: Compressing objects: 62% (82/132) remote: Compressing objects: 63% (84/132) remote: Compressing objects: 64% (85/132) remote: Compressing objects: 65% (86/132) remote: Compressing objects: 66% (88/132) remote: Compressing objects: 67% (89/132) remote: Compressing objects: 68% (90/132) remote: Compressing objects: 69% (92/132) remote: Compressing objects: 70% (93/132) remote: Compressing objects: 71% (94/132) remote: Compressing objects: 72% (96/132) remote: Compressing objects: 73% (97/132) remote: Compressing objects: 74% (98/132) remote: Compressing objects: 75% (99/132) remote: Compressing objects: 76% (101/132) remote: Compressing objects: 77% (102/132) remote: Compressing objects: 78% (103/132) remote: Compressing objects: 79% (105/132) remote: Compressing objects: 80% (106/132) remote: Compressing objects: 81% (107/132) remote: Compressing objects: 82% (109/132) remote: Compressing objects: 83% (110/132) remote: Compressing objects: 84% (111/132) remote: Compressing objects: 85% (113/132) remote: Compressing objects: 86% (114/132) remote: Compressing objects: 87% (115/132) remote: Compressing objects: 88% (117/132) remote: Compressing objects: 89% (118/132) remote: Compressing objects: 90% (119/132) remote: Compressing objects: 91% (121/132) remote: Compressing objects: 92% (122/132) remote: Compressing objects: 93% (123/132) remote: Compressing objects: 94% (125/132) remote: Compressing objects: 95% (126/132) remote: Compressing objects: 96% (127/132) remote: Compressing objects: 97% (129/132) remote: Compressing objects: 98% (130/132) remote: Compressing objects: 99% (131/132) remote: Compressing objects: 100% (132/132) remote: Compressing objects: 100% (132/132), done. Receiving objects: 0% (1/311) Receiving objects: 1% (4/311) Receiving objects: 2% (7/311) Receiving objects: 3% (10/311) Receiving objects: 4% (13/311) Receiving objects: 5% (16/311) Receiving objects: 6% (19/311) Receiving objects: 7% (22/311) Receiving objects: 8% (25/311) Receiving objects: 9% (28/311) Receiving objects: 10% (32/311) Receiving objects: 11% (35/311) Receiving objects: 12% (38/311) Receiving objects: 13% (41/311) Receiving objects: 14% (44/311) Receiving objects: 15% (47/311) Receiving objects: 16% (50/311) Receiving objects: 17% (53/311) Receiving objects: 18% (56/311) Receiving objects: 19% (60/311) Receiving objects: 20% (63/311) Receiving objects: 21% (66/311) Receiving objects: 22% (69/311) Receiving objects: 23% (72/311) Receiving objects: 24% (75/311) Receiving objects: 25% (78/311) Receiving objects: 26% (81/311) Receiving objects: 27% (84/311) Receiving objects: 28% (88/311) Receiving objects: 29% (91/311) Receiving objects: 30% (94/311) Receiving objects: 31% (97/311) Receiving objects: 32% (100/311) Receiving objects: 33% (103/311) Receiving objects: 34% (106/311) Receiving objects: 35% (109/311) Receiving objects: 36% (112/311) Receiving objects: 37% (116/311) Receiving objects: 38% (119/311) Receiving objects: 39% (122/311) Receiving objects: 40% (125/311) Receiving objects: 41% (128/311) Receiving objects: 42% (131/311) Receiving objects: 43% (134/311) Receiving objects: 44% (137/311) Receiving objects: 45% (140/311) Receiving objects: 46% (144/311) Receiving objects: 47% (147/311), 68.00 KiB | 116.00 KiB/s Receiving objects: 48% (150/311), 68.00 KiB | 116.00 KiB/s Receiving objects: 49% (153/311), 68.00 KiB | 116.00 KiB/s Receiving objects: 50% (156/311), 68.00 KiB | 116.00 KiB/s Receiving objects: 51% (159/311), 68.00 KiB | 116.00 KiB/s Receiving objects: 52% (162/311), 68.00 KiB | 116.00 KiB/s Receiving objects: 53% (165/311), 68.00 KiB | 116.00 KiB/s Receiving objects: 54% (168/311), 68.00 KiB | 116.00 KiB/s Receiving objects: 55% (172/311), 68.00 KiB | 116.00 KiB/s Receiving objects: 56% (175/311), 68.00 KiB | 116.00 KiB/s Receiving objects: 57% (178/311), 68.00 KiB | 116.00 KiB/s Receiving objects: 58% (181/311), 68.00 KiB | 116.00 KiB/s Receiving objects: 59% (184/311), 68.00 KiB | 116.00 KiB/s Receiving objects: 60% (187/311), 68.00 KiB | 116.00 KiB/s Receiving objects: 61% (190/311), 68.00 KiB | 116.00 KiB/s Receiving objects: 62% (193/311), 68.00 KiB | 116.00 KiB/s Receiving objects: 63% (196/311), 68.00 KiB | 116.00 KiB/s Receiving objects: 64% (200/311), 68.00 KiB | 116.00 KiB/s Receiving objects: 65% (203/311), 68.00 KiB | 116.00 KiB/s Receiving objects: 66% (206/311), 68.00 KiB | 116.00 KiB/s Receiving objects: 67% (209/311), 68.00 KiB | 116.00 KiB/s Receiving objects: 68% (212/311), 68.00 KiB | 116.00 KiB/s Receiving objects: 69% (215/311), 68.00 KiB | 116.00 KiB/s Receiving objects: 70% (218/311), 68.00 KiB | 116.00 KiB/s Receiving objects: 71% (221/311), 68.00 KiB | 116.00 KiB/s Receiving objects: 72% (224/311), 68.00 KiB | 116.00 KiB/s Receiving objects: 72% (226/311), 196.00 KiB | 181.00 KiB/s Receiving objects: 73% (228/311), 196.00 KiB | 181.00 KiB/s Receiving objects: 74% (231/311), 196.00 KiB | 181.00 KiB/s Receiving objects: 75% (234/311), 196.00 KiB | 181.00 KiB/s Receiving objects: 76% (237/311), 196.00 KiB | 181.00 KiB/s Receiving objects: 77% (240/311), 196.00 KiB | 181.00 KiB/s Receiving objects: 78% (243/311), 196.00 KiB | 181.00 KiB/s Receiving objects: 79% (246/311), 196.00 KiB | 181.00 KiB/s Receiving objects: 80% (249/311), 196.00 KiB | 181.00 KiB/s Receiving objects: 81% (252/311), 196.00 KiB | 181.00 KiB/s Receiving objects: 82% (256/311), 196.00 KiB | 181.00 KiB/s Receiving objects: 83% (259/311), 196.00 KiB | 181.00 KiB/s Receiving objects: 84% (262/311), 196.00 KiB | 181.00 KiB/s Receiving objects: 85% (265/311), 196.00 KiB | 181.00 KiB/s Receiving objects: 86% (268/311), 196.00 KiB | 181.00 KiB/s Receiving objects: 87% (271/311), 196.00 KiB | 181.00 KiB/s Receiving objects: 88% (274/311), 196.00 KiB | 181.00 KiB/s Receiving objects: 89% (277/311), 196.00 KiB | 181.00 KiB/s Receiving objects: 90% (280/311), 196.00 KiB | 181.00 KiB/s Receiving objects: 91% (284/311), 196.00 KiB | 181.00 KiB/s Receiving objects: 92% (287/311), 196.00 KiB | 181.00 KiB/s Receiving objects: 93% (290/311), 196.00 KiB | 181.00 KiB/s Receiving objects: 94% (293/311), 196.00 KiB | 181.00 KiB/s remote: Total 311 (delta 206), reused 266 (delta 177), pack-reused 0 Receiving objects: 95% (296/311), 196.00 KiB | 181.00 KiB/s Receiving objects: 96% (299/311), 196.00 KiB | 181.00 KiB/s Receiving objects: 97% (302/311), 196.00 KiB | 181.00 KiB/s Receiving objects: 98% (305/311), 196.00 KiB | 181.00 KiB/s Receiving objects: 99% (308/311), 196.00 KiB | 181.00 KiB/s Receiving objects: 100% (311/311), 196.00 KiB | 181.00 KiB/s Receiving objects: 100% (311/311), 218.81 KiB | 203.00 KiB/s, done. Resolving deltas: 0% (0/206) Resolving deltas: 1% (3/206) Resolving deltas: 2% (5/206) Resolving deltas: 3% (7/206) Resolving deltas: 4% (9/206) Resolving deltas: 5% (11/206) Resolving deltas: 6% (13/206) Resolving deltas: 7% (15/206) Resolving deltas: 8% (17/206) Resolving deltas: 9% (19/206) Resolving deltas: 10% (21/206) Resolving deltas: 11% (23/206) Resolving deltas: 12% (25/206) Resolving deltas: 13% (27/206) Resolving deltas: 14% (29/206) Resolving deltas: 15% (31/206) Resolving deltas: 16% (33/206) Resolving deltas: 17% (36/206) Resolving deltas: 18% (38/206) Resolving deltas: 19% (40/206) Resolving deltas: 20% (42/206) Resolving deltas: 21% (44/206) Resolving deltas: 22% (46/206) Resolving deltas: 23% (48/206) Resolving deltas: 24% (50/206) Resolving deltas: 25% (52/206) Resolving deltas: 26% (54/206) Resolving deltas: 27% (56/206) Resolving deltas: 28% (58/206) Resolving deltas: 29% (61/206) Resolving deltas: 30% (62/206) Resolving deltas: 31% (65/206) Resolving deltas: 32% (66/206) Resolving deltas: 33% (68/206) Resolving deltas: 34% (71/206) Resolving deltas: 35% (73/206) Resolving deltas: 36% (75/206) Resolving deltas: 37% (77/206) Resolving deltas: 38% (79/206) Resolving deltas: 39% (81/206) Resolving deltas: 40% (83/206) Resolving deltas: 41% (85/206) Resolving deltas: 42% (87/206) Resolving deltas: 43% (89/206) Resolving deltas: 44% (91/206) Resolving deltas: 45% (93/206) Resolving deltas: 46% (95/206) Resolving deltas: 47% (97/206) Resolving deltas: 48% (99/206) Resolving deltas: 49% (101/206) Resolving deltas: 50% (103/206) Resolving deltas: 51% (106/206) Resolving deltas: 52% (108/206) Resolving deltas: 53% (110/206) Resolving deltas: 54% (112/206) Resolving deltas: 55% (114/206) Resolving deltas: 56% (116/206) Resolving deltas: 57% (118/206) Resolving deltas: 58% (120/206) Resolving deltas: 59% (122/206) Resolving deltas: 60% (124/206) Resolving deltas: 61% (126/206) Resolving deltas: 62% (128/206) Resolving deltas: 63% (130/206) Resolving deltas: 64% (132/206) Resolving deltas: 65% (134/206) Resolving deltas: 66% (136/206) Resolving deltas: 67% (139/206) Resolving deltas: 68% (141/206) Resolving deltas: 69% (143/206) Resolving deltas: 70% (145/206) Resolving deltas: 71% (147/206) Resolving deltas: 72% (149/206) Resolving deltas: 73% (151/206) Resolving deltas: 74% (153/206) Resolving deltas: 75% (155/206) Resolving deltas: 76% (157/206) Resolving deltas: 77% (159/206) Resolving deltas: 78% (161/206) Resolving deltas: 79% (163/206) Resolving deltas: 80% (165/206) Resolving deltas: 81% (167/206) Resolving deltas: 82% (169/206) Resolving deltas: 83% (171/206) Resolving deltas: 84% (174/206) Resolving deltas: 85% (176/206) Resolving deltas: 86% (178/206) Resolving deltas: 87% (180/206) Resolving deltas: 88% (182/206) Resolving deltas: 89% (184/206) Resolving deltas: 90% (186/206) Resolving deltas: 91% (188/206) Resolving deltas: 92% (190/206) Resolving deltas: 93% (192/206) Resolving deltas: 94% (194/206) Resolving deltas: 95% (196/206) Resolving deltas: 96% (198/206) Resolving deltas: 97% (200/206) Resolving deltas: 98% (202/206) Resolving deltas: 99% (204/206) Resolving deltas: 100% (206/206) Resolving deltas: 100% (206/206), completed with 33 local objects. * [new branch] compactopt -> compactopt 6021f2e..c849aae gh-pages -> gh-pages 9e382f9..363ebdd master -> master 4426c49..e4fed64 refs/pull/373/head -> refs/pull/373/head + 5bd21ab...e2520ae refs/pull/373/merge -> refs/pull/373/merge (forced update) + 5c45688...9e382f9 refs/pull/381/head -> refs/pull/381/head (forced update) + 7c4279f...e13ee6f refs/pull/406/head -> refs/pull/406/head (forced update) + 0e05cae...dd4af56 refs/pull/406/merge -> refs/pull/406/merge (forced update) * [new ref] refs/pull/441/head -> refs/pull/441/head * [new ref] refs/pull/442/head -> refs/pull/442/head * [new ref] refs/pull/443/head -> refs/pull/443/head * [new ref] refs/pull/443/merge -> refs/pull/443/merge * [new ref] refs/pull/457/head -> refs/pull/457/head * [new ref] refs/pull/457/merge -> refs/pull/457/merge * [new ref] refs/pull/468/head -> refs/pull/468/head * [new ref] refs/pull/470/head -> refs/pull/470/head * [new ref] refs/pull/470/merge -> refs/pull/470/merge * [new ref] refs/pull/477/head -> refs/pull/477/head * [new ref] refs/pull/477/merge -> refs/pull/477/merge * [new ref] refs/pull/482/head -> refs/pull/482/head t [tag update] latest -> latest * [new tag] v1.12 -> v1.12 * [new tag] v1.12.1 -> v1.12.1 ==> Validating source files with sha512sums... r2ghidra ... Skipped ghidra-native ... Skipped pugixml ... Skipped ==> Extracting sources...  -> Creating working copy of r2ghidra git repo... Cloning into 'r2ghidra'... done. Switched to a new branch 'makepkg'  -> Creating working copy of ghidra-native git repo... Cloning into 'ghidra-native'... done. Switched to a new branch 'makepkg'  -> Creating working copy of pugixml git repo... Cloning into 'pugixml'... done. ==> Starting prepare()... Submodule 'third-party/pugixml' (https://github.com/zeux/pugixml.git) registered for path 'third-party/pugixml' Cloning into '/tmp/tmpnrqup_kh/r2ghidra/trunk/src/r2ghidra/third-party/pugixml'... done. Submodule path 'third-party/pugixml': checked out '0e3f1699ffab5f820060fe99c61f0f9495c0c5b6' ==> Starting pkgver()... ==> Sources are ready. ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list created directory packages/r2ghidra ./ PKGBUILD 1,656 100% 0.00kB/s 0:00:00 1,656 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=0/2) sent 958 bytes received 78 bytes 690.67 bytes/sec total size is 1,656 speedup is 1.60 ==> Patching arch to riscv64... ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l felix4 on remote host... [?25l:: Synchronizing package databases... core downloading... extra downloading... community downloading... :: Starting full system upgrade... there is nothing to do [?25h==> Building in chroot for [extra] (riscv64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [felix4]...done ==> Making package: r2ghidra 5.4.1-2 (Sat Feb 19 02:50:12 2022) ==> Retrieving sources...  -> Cloning r2ghidra git repo... Cloning into bare repository '/home/felix/packages/r2ghidra/r2ghidra'... remote: Enumerating objects: 18727, done. remote: Counting objects: 0% (1/832) remote: Counting objects: 1% (9/832) remote: Counting objects: 2% (17/832) remote: Counting objects: 3% (25/832) remote: Counting objects: 4% (34/832) remote: Counting objects: 5% (42/832) remote: Counting objects: 6% (50/832) remote: Counting objects: 7% (59/832) remote: Counting objects: 8% (67/832) remote: Counting objects: 9% (75/832) remote: Counting objects: 10% (84/832) remote: Counting objects: 11% (92/832) remote: Counting objects: 12% (100/832) remote: Counting objects: 13% (109/832) remote: Counting objects: 14% (117/832) remote: Counting objects: 15% (125/832) remote: Counting objects: 16% (134/832) remote: Counting objects: 17% (142/832) remote: Counting objects: 18% (150/832) remote: Counting objects: 19% (159/832) remote: Counting objects: 20% (167/832) remote: Counting objects: 21% (175/832) remote: Counting objects: 22% (184/832) remote: Counting objects: 23% (192/832) remote: Counting objects: 24% (200/832) remote: Counting objects: 25% (208/832) remote: Counting objects: 26% (217/832) remote: Counting objects: 27% (225/832) remote: Counting objects: 28% (233/832) remote: Counting objects: 29% (242/832) remote: Counting objects: 30% (250/832) remote: Counting objects: 31% (258/832) remote: Counting objects: 32% (267/832) remote: Counting objects: 33% (275/832) remote: Counting objects: 34% (283/832) remote: Counting objects: 35% (292/832) remote: Counting objects: 36% (300/832) remote: Counting objects: 37% (308/832) remote: Counting objects: 38% (317/832) remote: Counting objects: 39% (325/832) remote: Counting objects: 40% (333/832) remote: Counting objects: 41% (342/832) remote: Counting objects: 42% (350/832) remote: Counting objects: 43% (358/832) remote: Counting objects: 44% (367/832) remote: Counting objects: 45% (375/832) remote: Counting objects: 46% (383/832) remote: Counting objects: 47% (392/832) remote: Counting objects: 48% (400/832) remote: Counting objects: 49% (408/832) remote: Counting objects: 50% (416/832) remote: Counting objects: 51% (425/832) remote: Counting objects: 52% (433/832) remote: Counting objects: 53% (441/832) remote: Counting objects: 54% (450/832) remote: Counting objects: 55% (458/832) remote: Counting objects: 56% (466/832) remote: Counting objects: 57% (475/832) remote: Counting objects: 58% (483/832) remote: Counting objects: 59% (491/832) remote: Counting objects: 60% (500/832) remote: Counting objects: 61% (508/832) remote: Counting objects: 62% (516/832) remote: Counting objects: 63% (525/832) remote: Counting objects: 64% (533/832) remote: Counting objects: 65% (541/832) remote: Counting objects: 66% (550/832) remote: Counting objects: 67% (558/832) remote: Counting objects: 68% (566/832) remote: Counting objects: 69% (575/832) remote: Counting objects: 70% (583/832) remote: Counting objects: 71% (591/832) remote: Counting objects: 72% (600/832) remote: Counting objects: 73% (608/832) remote: Counting objects: 74% (616/832) remote: Counting objects: 75% (624/832) remote: Counting objects: 76% (633/832) remote: Counting objects: 77% (641/832) remote: Counting objects: 78% (649/832) remote: Counting objects: 79% (658/832) remote: Counting objects: 80% (666/832) remote: Counting objects: 81% (674/832) remote: Counting objects: 82% (683/832) remote: Counting objects: 83% (691/832) remote: Counting objects: 84% (699/832) remote: Counting objects: 85% (708/832) remote: Counting objects: 86% (716/832) remote: Counting objects: 87% (724/832) remote: Counting objects: 88% (733/832) remote: Counting objects: 89% (741/832) remote: Counting objects: 90% (749/832) remote: Counting objects: 91% (758/832) remote: Counting objects: 92% (766/832) remote: Counting objects: 93% (774/832) remote: Counting objects: 94% (783/832) remote: Counting objects: 95% (791/832) remote: Counting objects: 96% (799/832) remote: Counting objects: 97% (808/832) remote: Counting objects: 98% (816/832) remote: Counting objects: 99% (824/832) remote: Counting objects: 100% (832/832) remote: Counting objects: 100% (832/832), done. remote: Compressing objects: 0% (1/521) remote: Compressing objects: 1% (6/521) remote: Compressing objects: 2% (11/521) remote: Compressing objects: 3% (16/521) remote: Compressing objects: 4% (21/521) remote: Compressing objects: 5% (27/521) remote: Compressing objects: 6% (32/521) remote: Compressing objects: 7% (37/521) remote: Compressing objects: 8% (42/521) remote: Compressing objects: 9% (47/521) remote: Compressing objects: 10% (53/521) remote: Compressing objects: 11% (58/521) remote: Compressing objects: 12% (63/521) remote: Compressing objects: 13% (68/521) remote: Compressing objects: 14% (73/521) remote: Compressing objects: 15% (79/521) remote: Compressing objects: 16% (84/521) remote: Compressing objects: 17% (89/521) remote: Compressing objects: 18% (94/521) remote: Compressing objects: 19% (99/521) remote: Compressing objects: 20% (105/521) remote: Compressing objects: 21% (110/521) remote: Compressing objects: 22% (115/521) remote: Compressing objects: 23% (120/521) remote: Compressing objects: 24% (126/521) remote: Compressing objects: 25% (131/521) remote: Compressing objects: 26% (136/521) remote: Compressing objects: 27% (141/521) remote: Compressing objects: 28% (146/521) remote: Compressing objects: 29% (152/521) remote: Compressing objects: 30% (157/521) remote: Compressing objects: 31% (162/521) remote: Compressing objects: 32% (167/521) remote: Compressing objects: 33% (172/521) remote: Compressing objects: 34% (178/521) remote: Compressing objects: 35% (183/521) remote: Compressing objects: 36% (188/521) remote: Compressing objects: 37% (193/521) remote: Compressing objects: 38% (198/521) remote: Compressing objects: 39% (204/521) remote: Compressing objects: 40% (209/521) remote: Compressing objects: 41% (214/521) remote: Compressing objects: 42% (219/521) remote: Compressing objects: 43% (225/521) remote: Compressing objects: 44% (230/521) remote: Compressing objects: 45% (235/521) remote: Compressing objects: 46% (240/521) remote: Compressing objects: 47% (245/521) remote: Compressing objects: 48% (251/521) remote: Compressing objects: 49% (256/521) remote: Compressing objects: 50% (261/521) remote: Compressing objects: 51% (266/521) remote: Compressing objects: 52% (271/521) remote: Compressing objects: 53% (277/521) remote: Compressing objects: 54% (282/521) remote: Compressing objects: 55% (287/521) remote: Compressing objects: 56% (292/521) remote: Compressing objects: 57% (297/521) remote: Compressing objects: 58% (303/521) remote: Compressing objects: 59% (308/521) remote: Compressing objects: 60% (313/521) remote: Compressing objects: 61% (318/521) remote: Compressing objects: 62% (324/521) remote: Compressing objects: 63% (329/521) remote: Compressing objects: 64% (334/521) remote: Compressing objects: 65% (339/521) remote: Compressing objects: 66% (344/521) remote: Compressing objects: 67% (350/521) remote: Compressing objects: 68% (355/521) remote: Compressing objects: 69% (360/521) remote: Compressing objects: 70% (365/521) remote: Compressing objects: 71% (370/521) remote: Compressing objects: 72% (376/521) remote: Compressing objects: 73% (381/521) remote: Compressing objects: 74% (386/521) remote: Compressing objects: 75% (391/521) remote: Compressing objects: 76% (396/521) remote: Compressing objects: 77% (402/521) remote: Compressing objects: 78% (407/521) remote: Compressing objects: 79% (412/521) remote: Compressing objects: 80% (417/521) remote: Compressing objects: 81% (423/521) remote: Compressing objects: 82% (428/521) remote: Compressing objects: 83% (433/521) remote: Compressing objects: 84% (438/521) remote: Compressing objects: 85% (443/521) remote: Compressing objects: 86% (449/521) remote: Compressing objects: 87% (454/521) remote: Compressing objects: 88% (459/521) remote: Compressing objects: 89% (464/521) remote: Compressing objects: 90% (469/521) remote: Compressing objects: 91% (475/521) remote: Compressing objects: 92% (480/521) remote: Compressing objects: 93% (485/521) remote: Compressing objects: 94% (490/521) remote: Compressing objects: 95% (495/521) remote: Compressing objects: 96% (501/521) remote: Compressing objects: 97% (506/521) remote: Compressing objects: 98% (511/521) remote: Compressing objects: 99% (516/521) remote: Compressing objects: 100% (521/521) remote: Compressing objects: 100% (521/521), done. Receiving objects: 0% (1/18727) Receiving objects: 1% (188/18727) Receiving objects: 2% (375/18727) Receiving objects: 3% (562/18727) Receiving objects: 4% (750/18727) Receiving objects: 5% (937/18727) Receiving objects: 6% (1124/18727) Receiving objects: 7% (1311/18727) Receiving objects: 8% (1499/18727) Receiving objects: 9% (1686/18727) Receiving objects: 10% (1873/18727) Receiving objects: 10% (1917/18727), 1.94 MiB | 1.85 MiB/s Receiving objects: 11% (2060/18727), 3.60 MiB | 2.31 MiB/s Receiving objects: 12% (2248/18727), 3.60 MiB | 2.31 MiB/s Receiving objects: 12% (2390/18727), 3.60 MiB | 2.31 MiB/s Receiving objects: 12% (2416/18727), 8.57 MiB | 3.30 MiB/s Receiving objects: 12% (2423/18727), 25.09 MiB | 6.10 MiB/s Receiving objects: 13% (2435/18727), 25.09 MiB | 6.10 MiB/s Receiving objects: 14% (2622/18727), 25.09 MiB | 6.10 MiB/s Receiving objects: 15% (2810/18727), 25.09 MiB | 6.10 MiB/s Receiving objects: 16% (2997/18727), 25.09 MiB | 6.10 MiB/s Receiving objects: 17% (3184/18727), 25.09 MiB | 6.10 MiB/s Receiving objects: 18% (3371/18727), 35.45 MiB | 7.64 MiB/s Receiving objects: 19% (3559/18727), 35.45 MiB | 7.64 MiB/s Receiving objects: 20% (3746/18727), 35.45 MiB | 7.64 MiB/s Receiving objects: 21% (3933/18727), 35.45 MiB | 7.64 MiB/s Receiving objects: 22% (4120/18727), 35.45 MiB | 7.64 MiB/s Receiving objects: 23% (4308/18727), 35.45 MiB | 7.64 MiB/s Receiving objects: 24% (4495/18727), 35.45 MiB | 7.64 MiB/s Receiving objects: 25% (4682/18727), 35.45 MiB | 7.64 MiB/s Receiving objects: 26% (4870/18727), 35.45 MiB | 7.64 MiB/s Receiving objects: 27% (5057/18727), 35.45 MiB | 7.64 MiB/s Receiving objects: 28% (5244/18727), 35.45 MiB | 7.64 MiB/s Receiving objects: 29% (5431/18727), 35.45 MiB | 7.64 MiB/s Receiving objects: 30% (5619/18727), 35.45 MiB | 7.64 MiB/s Receiving objects: 31% (5806/18727), 35.45 MiB | 7.64 MiB/s Receiving objects: 32% (5993/18727), 35.45 MiB | 7.64 MiB/s Receiving objects: 33% (6180/18727), 35.45 MiB | 7.64 MiB/s Receiving objects: 34% (6368/18727), 35.45 MiB | 7.64 MiB/s Receiving objects: 35% (6555/18727), 35.45 MiB | 7.64 MiB/s Receiving objects: 36% (6742/18727), 35.45 MiB | 7.64 MiB/s Receiving objects: 37% (6929/18727), 35.45 MiB | 7.64 MiB/s Receiving objects: 38% (7117/18727), 35.45 MiB | 7.64 MiB/s Receiving objects: 39% (7304/18727), 35.45 MiB | 7.64 MiB/s Receiving objects: 40% (7491/18727), 35.45 MiB | 7.64 MiB/s Receiving objects: 41% (7679/18727), 35.45 MiB | 7.64 MiB/s Receiving objects: 42% (7866/18727), 35.45 MiB | 7.64 MiB/s Receiving objects: 43% (8053/18727), 35.45 MiB | 7.64 MiB/s Receiving objects: 43% (8095/18727), 35.45 MiB | 7.64 MiB/s Receiving objects: 44% (8240/18727), 35.45 MiB | 7.64 MiB/s Receiving objects: 45% (8428/18727), 35.45 MiB | 7.64 MiB/s Receiving objects: 46% (8615/18727), 35.45 MiB | 7.64 MiB/s Receiving objects: 47% (8802/18727), 35.45 MiB | 7.64 MiB/s Receiving objects: 48% (8989/18727), 35.45 MiB | 7.64 MiB/s Receiving objects: 49% (9177/18727), 35.45 MiB | 7.64 MiB/s Receiving objects: 50% (9364/18727), 35.45 MiB | 7.64 MiB/s Receiving objects: 51% (9551/18727), 35.45 MiB | 7.64 MiB/s Receiving objects: 52% (9739/18727), 35.45 MiB | 7.64 MiB/s Receiving objects: 53% (9926/18727), 35.45 MiB | 7.64 MiB/s Receiving objects: 54% (10113/18727), 35.45 MiB | 7.64 MiB/s Receiving objects: 55% (10300/18727), 35.45 MiB | 7.64 MiB/s Receiving objects: 56% (10488/18727), 35.45 MiB | 7.64 MiB/s Receiving objects: 57% (10675/18727), 48.64 MiB | 10.32 MiB/s Receiving objects: 58% (10862/18727), 48.64 MiB | 10.32 MiB/s Receiving objects: 59% (11049/18727), 48.64 MiB | 10.32 MiB/s Receiving objects: 60% (11237/18727), 48.64 MiB | 10.32 MiB/s Receiving objects: 61% (11424/18727), 48.64 MiB | 10.32 MiB/s Receiving objects: 62% (11611/18727), 48.64 MiB | 10.32 MiB/s Receiving objects: 63% (11799/18727), 48.64 MiB | 10.32 MiB/s Receiving objects: 64% (11986/18727), 48.64 MiB | 10.32 MiB/s Receiving objects: 65% (12173/18727), 48.64 MiB | 10.32 MiB/s Receiving objects: 66% (12360/18727), 48.64 MiB | 10.32 MiB/s Receiving objects: 67% (12548/18727), 48.64 MiB | 10.32 MiB/s Receiving objects: 68% (12735/18727), 48.64 MiB | 10.32 MiB/s Receiving objects: 69% (12922/18727), 48.64 MiB | 10.32 MiB/s Receiving objects: 70% (13109/18727), 48.64 MiB | 10.32 MiB/s Receiving objects: 71% (13297/18727), 48.64 MiB | 10.32 MiB/s Receiving objects: 72% (13484/18727), 48.64 MiB | 10.32 MiB/s Receiving objects: 73% (13671/18727), 48.64 MiB | 10.32 MiB/s Receiving objects: 74% (13858/18727), 48.64 MiB | 10.32 MiB/s Receiving objects: 75% (14046/18727), 48.64 MiB | 10.32 MiB/s Receiving objects: 76% (14233/18727), 48.64 MiB | 10.32 MiB/s Receiving objects: 77% (14420/18727), 48.64 MiB | 10.32 MiB/s Receiving objects: 78% (14608/18727), 48.64 MiB | 10.32 MiB/s Receiving objects: 79% (14795/18727), 48.64 MiB | 10.32 MiB/s Receiving objects: 80% (14982/18727), 48.64 MiB | 10.32 MiB/s Receiving objects: 81% (15169/18727), 48.64 MiB | 10.32 MiB/s Receiving objects: 82% (15357/18727), 48.64 MiB | 10.32 MiB/s Receiving objects: 83% (15544/18727), 48.64 MiB | 10.32 MiB/s Receiving objects: 84% (15731/18727), 48.64 MiB | 10.32 MiB/s Receiving objects: 85% (15918/18727), 48.64 MiB | 10.32 MiB/s Receiving objects: 86% (16106/18727), 48.64 MiB | 10.32 MiB/s Receiving objects: 87% (16293/18727), 48.64 MiB | 10.32 MiB/s Receiving objects: 88% (16480/18727), 48.64 MiB | 10.32 MiB/s Receiving objects: 89% (16668/18727), 48.64 MiB | 10.32 MiB/s Receiving objects: 90% (16855/18727), 48.64 MiB | 10.32 MiB/s Receiving objects: 91% (17042/18727), 48.64 MiB | 10.32 MiB/s Receiving objects: 92% (17229/18727), 48.64 MiB | 10.32 MiB/s Receiving objects: 93% (17417/18727), 48.64 MiB | 10.32 MiB/s Receiving objects: 94% (17604/18727), 48.64 MiB | 10.32 MiB/s Receiving objects: 95% (17791/18727), 48.64 MiB | 10.32 MiB/s Receiving objects: 96% (17978/18727), 48.64 MiB | 10.32 MiB/s Receiving objects: 97% (18166/18727), 48.64 MiB | 10.32 MiB/s Receiving objects: 98% (18353/18727), 48.64 MiB | 10.32 MiB/s Receiving objects: 99% (18540/18727), 48.64 MiB | 10.32 MiB/s remote: Total 18727 (delta 469), reused 554 (delta 229), pack-reused 17895 Receiving objects: 100% (18727/18727), 48.64 MiB | 10.32 MiB/s Receiving objects: 100% (18727/18727), 61.94 MiB | 11.05 MiB/s, done. Resolving deltas: 0% (0/6193) Resolving deltas: 1% (62/6193) Resolving deltas: 2% (124/6193) Resolving deltas: 3% (188/6193) Resolving deltas: 4% (248/6193) Resolving deltas: 5% (310/6193) Resolving deltas: 6% (372/6193) Resolving deltas: 7% (434/6193) Resolving deltas: 8% (496/6193) Resolving deltas: 9% (558/6193) Resolving deltas: 10% (621/6193) Resolving deltas: 11% (682/6193) Resolving deltas: 12% (744/6193) Resolving deltas: 13% (806/6193) Resolving deltas: 14% (868/6193) Resolving deltas: 15% (929/6193) Resolving deltas: 16% (991/6193) Resolving deltas: 17% (1053/6193) Resolving deltas: 18% (1115/6193) Resolving deltas: 19% (1178/6193) Resolving deltas: 20% (1239/6193) Resolving deltas: 21% (1302/6193) Resolving deltas: 22% (1364/6193) Resolving deltas: 23% (1425/6193) Resolving deltas: 24% (1488/6193) Resolving deltas: 25% (1549/6193) Resolving deltas: 26% (1611/6193) Resolving deltas: 27% (1674/6193) Resolving deltas: 28% (1735/6193) Resolving deltas: 29% (1796/6193) Resolving deltas: 30% (1858/6193) Resolving deltas: 31% (1920/6193) Resolving deltas: 32% (1982/6193) Resolving deltas: 33% (2044/6193) Resolving deltas: 34% (2106/6193) Resolving deltas: 35% (2168/6193) Resolving deltas: 36% (2230/6193) Resolving deltas: 37% (2292/6193) Resolving deltas: 38% (2356/6193) Resolving deltas: 39% (2416/6193) Resolving deltas: 40% (2478/6193) Resolving deltas: 41% (2540/6193) Resolving deltas: 42% (2602/6193) Resolving deltas: 43% (2663/6193) Resolving deltas: 44% (2725/6193) Resolving deltas: 45% (2787/6193) Resolving deltas: 46% (2849/6193) Resolving deltas: 47% (2911/6193) Resolving deltas: 48% (2973/6193) Resolving deltas: 49% (3035/6193) Resolving deltas: 50% (3097/6193) Resolving deltas: 51% (3159/6193) Resolving deltas: 52% (3221/6193) Resolving deltas: 53% (3283/6193) Resolving deltas: 54% (3345/6193) Resolving deltas: 55% (3408/6193) Resolving deltas: 56% (3469/6193) Resolving deltas: 57% (3531/6193) Resolving deltas: 58% (3592/6193) Resolving deltas: 59% (3654/6193) Resolving deltas: 60% (3718/6193) Resolving deltas: 61% (3778/6193) Resolving deltas: 62% (3841/6193) Resolving deltas: 63% (3902/6193) Resolving deltas: 64% (3964/6193) Resolving deltas: 65% (4026/6193) Resolving deltas: 66% (4088/6193) Resolving deltas: 67% (4150/6193) Resolving deltas: 68% (4212/6193) Resolving deltas: 69% (4274/6193) Resolving deltas: 70% (4336/6193) Resolving deltas: 71% (4398/6193) Resolving deltas: 72% (4459/6193) Resolving deltas: 73% (4521/6193) Resolving deltas: 74% (4583/6193) Resolving deltas: 75% (4645/6193) Resolving deltas: 76% (4707/6193) Resolving deltas: 77% (4769/6193) Resolving deltas: 78% (4831/6193) Resolving deltas: 79% (4893/6193) Resolving deltas: 80% (4955/6193) Resolving deltas: 81% (5017/6193) Resolving deltas: 82% (5079/6193) Resolving deltas: 83% (5141/6193) Resolving deltas: 84% (5203/6193) Resolving deltas: 85% (5265/6193) Resolving deltas: 86% (5326/6193) Resolving deltas: 87% (5388/6193) Resolving deltas: 88% (5450/6193) Resolving deltas: 89% (5513/6193) Resolving deltas: 90% (5574/6193) Resolving deltas: 91% (5636/6193) Resolving deltas: 92% (5698/6193) Resolving deltas: 93% (5760/6193) Resolving deltas: 94% (5822/6193) Resolving deltas: 95% (5884/6193) Resolving deltas: 96% (5946/6193) Resolving deltas: 97% (6008/6193) Resolving deltas: 98% (6070/6193) Resolving deltas: 99% (6132/6193) Resolving deltas: 100% (6193/6193) Resolving deltas: 100% (6193/6193), done.  -> Cloning ghidra-native git repo... Cloning into bare repository '/home/felix/packages/r2ghidra/ghidra-native'... remote: Enumerating objects: 2169, done. remote: Counting objects: 0% (1/2169) remote: Counting objects: 1% (22/2169) remote: Counting objects: 2% (44/2169) remote: Counting objects: 3% (66/2169) remote: Counting objects: 4% (87/2169) remote: Counting objects: 5% (109/2169) remote: Counting objects: 6% (131/2169) remote: Counting objects: 7% (152/2169) remote: Counting objects: 8% (174/2169) remote: Counting objects: 9% (196/2169) remote: Counting objects: 10% (217/2169) remote: Counting objects: 11% (239/2169) remote: Counting objects: 12% (261/2169) remote: Counting objects: 13% (282/2169) remote: Counting objects: 14% (304/2169) remote: Counting objects: 15% (326/2169) remote: Counting objects: 16% (348/2169) remote: Counting objects: 17% (369/2169) remote: Counting objects: 18% (391/2169) remote: Counting objects: 19% (413/2169) remote: Counting objects: 20% (434/2169) remote: Counting objects: 21% (456/2169) remote: Counting objects: 22% (478/2169) remote: Counting objects: 23% (499/2169) remote: Counting objects: 24% (521/2169) remote: Counting objects: 25% (543/2169) remote: Counting objects: 26% (564/2169) remote: Counting objects: 27% (586/2169) remote: Counting objects: 28% (608/2169) remote: Counting objects: 29% (630/2169) remote: Counting objects: 30% (651/2169) remote: Counting objects: 31% (673/2169) remote: Counting objects: 32% (695/2169) remote: Counting objects: 33% (716/2169) remote: Counting objects: 34% (738/2169) remote: Counting objects: 35% (760/2169) remote: Counting objects: 36% (781/2169) remote: Counting objects: 37% (803/2169) remote: Counting objects: 38% (825/2169) remote: Counting objects: 39% (846/2169) remote: Counting objects: 40% (868/2169) remote: Counting objects: 41% (890/2169) remote: Counting objects: 42% (911/2169) remote: Counting objects: 43% (933/2169) remote: Counting objects: 44% (955/2169) remote: Counting objects: 45% (977/2169) remote: Counting objects: 46% (998/2169) remote: Counting objects: 47% (1020/2169) remote: Counting objects: 48% (1042/2169) remote: Counting objects: 49% (1063/2169) remote: Counting objects: 50% (1085/2169) remote: Counting objects: 51% (1107/2169) remote: Counting objects: 52% (1128/2169) remote: Counting objects: 53% (1150/2169) remote: Counting objects: 54% (1172/2169) remote: Counting objects: 55% (1193/2169) remote: Counting objects: 56% (1215/2169) remote: Counting objects: 57% (1237/2169) remote: Counting objects: 58% (1259/2169) remote: Counting objects: 59% (1280/2169) remote: Counting objects: 60% (1302/2169) remote: Counting objects: 61% (1324/2169) remote: Counting objects: 62% (1345/2169) remote: Counting objects: 63% (1367/2169) remote: Counting objects: 64% (1389/2169) remote: Counting objects: 65% (1410/2169) remote: Counting objects: 66% (1432/2169) remote: Counting objects: 67% (1454/2169) remote: Counting objects: 68% (1475/2169) remote: Counting objects: 69% (1497/2169) remote: Counting objects: 70% (1519/2169) remote: Counting objects: 71% (1540/2169) remote: Counting objects: 72% (1562/2169) remote: Counting objects: 73% (1584/2169) remote: Counting objects: 74% (1606/2169) remote: Counting objects: 75% (1627/2169) remote: Counting objects: 76% (1649/2169) remote: Counting objects: 77% (1671/2169) remote: Counting objects: 78% (1692/2169) remote: Counting objects: 79% (1714/2169) remote: Counting objects: 80% (1736/2169) remote: Counting objects: 81% (1757/2169) remote: Counting objects: 82% (1779/2169) remote: Counting objects: 83% (1801/2169) remote: Counting objects: 84% (1822/2169) remote: Counting objects: 85% (1844/2169) remote: Counting objects: 86% (1866/2169) remote: Counting objects: 87% (1888/2169) remote: Counting objects: 88% (1909/2169) remote: Counting objects: 89% (1931/2169) remote: Counting objects: 90% (1953/2169) remote: Counting objects: 91% (1974/2169) remote: Counting objects: 92% (1996/2169) remote: Counting objects: 93% (2018/2169) remote: Counting objects: 94% (2039/2169) remote: Counting objects: 95% (2061/2169) remote: Counting objects: 96% (2083/2169) remote: Counting objects: 97% (2104/2169) remote: Counting objects: 98% (2126/2169) remote: Counting objects: 99% (2148/2169) remote: Counting objects: 100% (2169/2169) remote: Counting objects: 100% (2169/2169), done. remote: Compressing objects: 0% (1/1152) remote: Compressing objects: 1% (12/1152) remote: Compressing objects: 2% (24/1152) remote: Compressing objects: 3% (35/1152) remote: Compressing objects: 4% (47/1152) remote: Compressing objects: 5% (58/1152) remote: Compressing objects: 6% (70/1152) remote: Compressing objects: 7% (81/1152) remote: Compressing objects: 8% (93/1152) remote: Compressing objects: 9% (104/1152) remote: Compressing objects: 10% (116/1152) remote: Compressing objects: 11% (127/1152) remote: Compressing objects: 12% (139/1152) remote: Compressing objects: 13% (150/1152) remote: Compressing objects: 14% (162/1152) remote: Compressing objects: 15% (173/1152) remote: Compressing objects: 16% (185/1152) remote: Compressing objects: 17% (196/1152) remote: Compressing objects: 18% (208/1152) remote: Compressing objects: 19% (219/1152) remote: Compressing objects: 20% (231/1152) remote: Compressing objects: 21% (242/1152) remote: Compressing objects: 22% (254/1152) remote: Compressing objects: 23% (265/1152) remote: Compressing objects: 24% (277/1152) remote: Compressing objects: 25% (288/1152) remote: Compressing objects: 26% (300/1152) remote: Compressing objects: 27% (312/1152) remote: Compressing objects: 28% (323/1152) remote: Compressing objects: 29% (335/1152) remote: Compressing objects: 30% (346/1152) remote: Compressing objects: 31% (358/1152) remote: Compressing objects: 32% (369/1152) remote: Compressing objects: 33% (381/1152) remote: Compressing objects: 34% (392/1152) remote: Compressing objects: 35% (404/1152) remote: Compressing objects: 36% (415/1152) remote: Compressing objects: 37% (427/1152) remote: Compressing objects: 38% (438/1152) remote: Compressing objects: 39% (450/1152) remote: Compressing objects: 40% (461/1152) remote: Compressing objects: 41% (473/1152) remote: Compressing objects: 42% (484/1152) remote: Compressing objects: 43% (496/1152) remote: Compressing objects: 44% (507/1152) remote: Compressing objects: 45% (519/1152) remote: Compressing objects: 46% (530/1152) remote: Compressing objects: 47% (542/1152) remote: Compressing objects: 48% (553/1152) remote: Compressing objects: 49% (565/1152) remote: Compressing objects: 50% (576/1152) remote: Compressing objects: 51% (588/1152) remote: Compressing objects: 52% (600/1152) remote: Compressing objects: 53% (611/1152) remote: Compressing objects: 54% (623/1152) remote: Compressing objects: 55% (634/1152) remote: Compressing objects: 56% (646/1152) remote: Compressing objects: 57% (657/1152) remote: Compressing objects: 58% (669/1152) remote: Compressing objects: 59% (680/1152) remote: Compressing objects: 60% (692/1152) remote: Compressing objects: 61% (703/1152) remote: Compressing objects: 62% (715/1152) remote: Compressing objects: 63% (726/1152) remote: Compressing objects: 64% (738/1152) remote: Compressing objects: 65% (749/1152) remote: Compressing objects: 66% (761/1152) remote: Compressing objects: 67% (772/1152) remote: Compressing objects: 68% (784/1152) remote: Compressing objects: 69% (795/1152) remote: Compressing objects: 70% (807/1152) remote: Compressing objects: 71% (818/1152) remote: Compressing objects: 72% (830/1152) remote: Compressing objects: 73% (841/1152) remote: Compressing objects: 74% (853/1152) remote: Compressing objects: 75% (864/1152) remote: Compressing objects: 76% (876/1152) remote: Compressing objects: 77% (888/1152) remote: Compressing objects: 78% (899/1152) remote: Compressing objects: 79% (911/1152) remote: Compressing objects: 80% (922/1152) remote: Compressing objects: 81% (934/1152) remote: Compressing objects: 82% (945/1152) remote: Compressing objects: 83% (957/1152) remote: Compressing objects: 84% (968/1152) remote: Compressing objects: 85% (980/1152) remote: Compressing objects: 86% (991/1152) remote: Compressing objects: 87% (1003/1152) remote: Compressing objects: 88% (1014/1152) remote: Compressing objects: 89% (1026/1152) remote: Compressing objects: 90% (1037/1152) remote: Compressing objects: 91% (1049/1152) remote: Compressing objects: 92% (1060/1152) remote: Compressing objects: 93% (1072/1152) remote: Compressing objects: 94% (1083/1152) remote: Compressing objects: 95% (1095/1152) remote: Compressing objects: 96% (1106/1152) remote: Compressing objects: 97% (1118/1152) remote: Compressing objects: 98% (1129/1152) remote: Compressing objects: 99% (1141/1152) remote: Compressing objects: 100% (1152/1152) remote: Compressing objects: 100% (1152/1152), done. Receiving objects: 0% (1/2169) Receiving objects: 1% (22/2169) Receiving objects: 2% (44/2169) Receiving objects: 3% (66/2169) Receiving objects: 4% (87/2169) Receiving objects: 5% (109/2169) Receiving objects: 6% (131/2169) Receiving objects: 7% (152/2169) Receiving objects: 8% (174/2169) Receiving objects: 9% (196/2169) Receiving objects: 10% (217/2169) Receiving objects: 11% (239/2169) Receiving objects: 12% (261/2169) Receiving objects: 13% (282/2169) Receiving objects: 14% (304/2169) Receiving objects: 15% (326/2169) Receiving objects: 16% (348/2169) Receiving objects: 17% (369/2169) Receiving objects: 18% (391/2169) Receiving objects: 19% (413/2169) Receiving objects: 20% (434/2169) Receiving objects: 21% (456/2169) Receiving objects: 22% (478/2169) Receiving objects: 23% (499/2169) Receiving objects: 24% (521/2169) Receiving objects: 25% (543/2169) Receiving objects: 26% (564/2169) Receiving objects: 27% (586/2169) Receiving objects: 28% (608/2169) Receiving objects: 29% (630/2169) Receiving objects: 30% (651/2169) Receiving objects: 31% (673/2169) Receiving objects: 32% (695/2169) Receiving objects: 33% (716/2169) Receiving objects: 34% (738/2169) Receiving objects: 35% (760/2169) Receiving objects: 36% (781/2169) Receiving objects: 37% (803/2169) Receiving objects: 38% (825/2169) Receiving objects: 39% (846/2169) Receiving objects: 40% (868/2169) Receiving objects: 41% (890/2169) Receiving objects: 42% (911/2169) Receiving objects: 43% (933/2169) Receiving objects: 44% (955/2169) Receiving objects: 45% (977/2169) Receiving objects: 46% (998/2169) Receiving objects: 47% (1020/2169) Receiving objects: 48% (1042/2169) Receiving objects: 49% (1063/2169) Receiving objects: 50% (1085/2169) Receiving objects: 51% (1107/2169) Receiving objects: 52% (1128/2169) Receiving objects: 53% (1150/2169) Receiving objects: 54% (1172/2169) Receiving objects: 55% (1193/2169) Receiving objects: 56% (1215/2169) Receiving objects: 57% (1237/2169) Receiving objects: 58% (1259/2169) Receiving objects: 59% (1280/2169) Receiving objects: 60% (1302/2169) Receiving objects: 61% (1324/2169) Receiving objects: 62% (1345/2169) Receiving objects: 63% (1367/2169) Receiving objects: 64% (1389/2169) Receiving objects: 65% (1410/2169) Receiving objects: 66% (1432/2169) Receiving objects: 67% (1454/2169) Receiving objects: 68% (1475/2169) Receiving objects: 69% (1497/2169) Receiving objects: 70% (1519/2169) Receiving objects: 71% (1540/2169) Receiving objects: 72% (1562/2169) Receiving objects: 73% (1584/2169) Receiving objects: 74% (1606/2169) Receiving objects: 75% (1627/2169) Receiving objects: 76% (1649/2169) Receiving objects: 77% (1671/2169) Receiving objects: 78% (1692/2169) Receiving objects: 79% (1714/2169) Receiving objects: 80% (1736/2169) Receiving objects: 81% (1757/2169) Receiving objects: 82% (1779/2169) Receiving objects: 83% (1801/2169) Receiving objects: 84% (1822/2169) Receiving objects: 85% (1844/2169) Receiving objects: 86% (1866/2169) Receiving objects: 87% (1888/2169) Receiving objects: 88% (1909/2169) Receiving objects: 89% (1931/2169) Receiving objects: 90% (1953/2169) Receiving objects: 91% (1974/2169) Receiving objects: 92% (1996/2169) Receiving objects: 93% (2018/2169) Receiving objects: 94% (2039/2169) Receiving objects: 95% (2061/2169) Receiving objects: 96% (2083/2169) Receiving objects: 97% (2104/2169) Receiving objects: 98% (2126/2169) remote: Total 2169 (delta 876), reused 2045 (delta 757), pack-reused 0 Receiving objects: 99% (2148/2169) Receiving objects: 100% (2169/2169) Receiving objects: 100% (2169/2169), 3.35 MiB | 18.86 MiB/s, done. Resolving deltas: 0% (0/876) Resolving deltas: 1% (9/876) Resolving deltas: 2% (19/876) Resolving deltas: 3% (27/876) Resolving deltas: 4% (36/876) Resolving deltas: 5% (44/876) Resolving deltas: 6% (53/876) Resolving deltas: 7% (62/876) Resolving deltas: 8% (71/876) Resolving deltas: 9% (79/876) Resolving deltas: 10% (88/876) Resolving deltas: 11% (97/876) Resolving deltas: 12% (106/876) Resolving deltas: 13% (114/876) Resolving deltas: 14% (123/876) Resolving deltas: 15% (132/876) Resolving deltas: 16% (141/876) Resolving deltas: 17% (149/876) Resolving deltas: 18% (158/876) Resolving deltas: 19% (169/876) Resolving deltas: 20% (177/876) Resolving deltas: 21% (184/876) Resolving deltas: 22% (193/876) Resolving deltas: 23% (202/876) Resolving deltas: 24% (211/876) Resolving deltas: 25% (220/876) Resolving deltas: 26% (228/876) Resolving deltas: 27% (239/876) Resolving deltas: 28% (246/876) Resolving deltas: 29% (257/876) Resolving deltas: 30% (263/876) Resolving deltas: 31% (274/876) Resolving deltas: 32% (281/876) Resolving deltas: 33% (290/876) Resolving deltas: 34% (298/876) Resolving deltas: 35% (307/876) Resolving deltas: 36% (317/876) Resolving deltas: 37% (325/876) Resolving deltas: 38% (335/876) Resolving deltas: 39% (342/876) Resolving deltas: 40% (351/876) Resolving deltas: 41% (360/876) Resolving deltas: 42% (368/876) Resolving deltas: 43% (377/876) Resolving deltas: 44% (387/876) Resolving deltas: 45% (395/876) Resolving deltas: 46% (403/876) Resolving deltas: 47% (412/876) Resolving deltas: 48% (421/876) Resolving deltas: 49% (431/876) Resolving deltas: 50% (438/876) Resolving deltas: 51% (447/876) Resolving deltas: 52% (456/876) Resolving deltas: 53% (465/876) Resolving deltas: 54% (474/876) Resolving deltas: 55% (482/876) Resolving deltas: 56% (491/876) Resolving deltas: 57% (500/876) Resolving deltas: 58% (509/876) Resolving deltas: 59% (517/876) Resolving deltas: 60% (526/876) Resolving deltas: 61% (535/876) Resolving deltas: 62% (544/876) Resolving deltas: 63% (552/876) Resolving deltas: 64% (561/876) Resolving deltas: 65% (570/876) Resolving deltas: 66% (579/876) Resolving deltas: 67% (587/876) Resolving deltas: 68% (596/876) Resolving deltas: 69% (605/876) Resolving deltas: 70% (614/876) Resolving deltas: 71% (622/876) Resolving deltas: 72% (631/876) Resolving deltas: 73% (640/876) Resolving deltas: 74% (649/876) Resolving deltas: 75% (657/876) Resolving deltas: 76% (666/876) Resolving deltas: 77% (675/876) Resolving deltas: 78% (684/876) Resolving deltas: 79% (693/876) Resolving deltas: 80% (701/876) Resolving deltas: 81% (710/876) Resolving deltas: 82% (719/876) Resolving deltas: 83% (728/876) Resolving deltas: 84% (737/876) Resolving deltas: 85% (745/876) Resolving deltas: 86% (754/876) Resolving deltas: 87% (763/876) Resolving deltas: 88% (772/876) Resolving deltas: 89% (781/876) Resolving deltas: 90% (791/876) Resolving deltas: 91% (799/876) Resolving deltas: 92% (806/876) Resolving deltas: 93% (815/876) Resolving deltas: 94% (824/876) Resolving deltas: 95% (833/876) Resolving deltas: 96% (841/876) Resolving deltas: 97% (851/876) Resolving deltas: 98% (859/876) Resolving deltas: 99% (868/876) Resolving deltas: 100% (876/876) Resolving deltas: 100% (876/876), done.  -> Cloning pugixml git repo... Cloning into bare repository '/home/felix/packages/r2ghidra/pugixml'... remote: Enumerating objects: 10323, done. remote: Counting objects: 0% (1/531) remote: Counting objects: 1% (6/531) remote: Counting objects: 2% (11/531) remote: Counting objects: 3% (16/531) remote: Counting objects: 4% (22/531) remote: Counting objects: 5% (27/531) remote: Counting objects: 6% (32/531) remote: Counting objects: 7% (38/531) remote: Counting objects: 8% (43/531) remote: Counting objects: 9% (48/531) remote: Counting objects: 10% (54/531) remote: Counting objects: 11% (59/531) remote: Counting objects: 12% (64/531) remote: Counting objects: 13% (70/531) remote: Counting objects: 14% (75/531) remote: Counting objects: 15% (80/531) remote: Counting objects: 16% (85/531) remote: Counting objects: 17% (91/531) remote: Counting objects: 18% (96/531) remote: Counting objects: 19% (101/531) remote: Counting objects: 20% (107/531) remote: Counting objects: 21% (112/531) remote: Counting objects: 22% (117/531) remote: Counting objects: 23% (123/531) remote: Counting objects: 24% (128/531) remote: Counting objects: 25% (133/531) remote: Counting objects: 26% (139/531) remote: Counting objects: 27% (144/531) remote: Counting objects: 28% (149/531) remote: Counting objects: 29% (154/531) remote: Counting objects: 30% (160/531) remote: Counting objects: 31% (165/531) remote: Counting objects: 32% (170/531) remote: Counting objects: 33% (176/531) remote: Counting objects: 34% (181/531) remote: Counting objects: 35% (186/531) remote: Counting objects: 36% (192/531) remote: Counting objects: 37% (197/531) remote: Counting objects: 38% (202/531) remote: Counting objects: 39% (208/531) remote: Counting objects: 40% (213/531) remote: Counting objects: 41% (218/531) remote: Counting objects: 42% (224/531) remote: Counting objects: 43% (229/531) remote: Counting objects: 44% (234/531) remote: Counting objects: 45% (239/531) remote: Counting objects: 46% (245/531) remote: Counting objects: 47% (250/531) remote: Counting objects: 48% (255/531) remote: Counting objects: 49% (261/531) remote: Counting objects: 50% (266/531) remote: Counting objects: 51% (271/531) remote: Counting objects: 52% (277/531) remote: Counting objects: 53% (282/531) remote: Counting objects: 54% (287/531) remote: Counting objects: 55% (293/531) remote: Counting objects: 56% (298/531) remote: Counting objects: 57% (303/531) remote: Counting objects: 58% (308/531) remote: Counting objects: 59% (314/531) remote: Counting objects: 60% (319/531) remote: Counting objects: 61% (324/531) remote: Counting objects: 62% (330/531) remote: Counting objects: 63% (335/531) remote: Counting objects: 64% (340/531) remote: Counting objects: 65% (346/531) remote: Counting objects: 66% (351/531) remote: Counting objects: 67% (356/531) remote: Counting objects: 68% (362/531) remote: Counting objects: 69% (367/531) remote: Counting objects: 70% (372/531) remote: Counting objects: 71% (378/531) remote: Counting objects: 72% (383/531) remote: Counting objects: 73% (388/531) remote: Counting objects: 74% (393/531) remote: Counting objects: 75% (399/531) remote: Counting objects: 76% (404/531) remote: Counting objects: 77% (409/531) remote: Counting objects: 78% (415/531) remote: Counting objects: 79% (420/531) remote: Counting objects: 80% (425/531) remote: Counting objects: 81% (431/531) remote: Counting objects: 82% (436/531) remote: Counting objects: 83% (441/531) remote: Counting objects: 84% (447/531) remote: Counting objects: 85% (452/531) remote: Counting objects: 86% (457/531) remote: Counting objects: 87% (462/531) remote: Counting objects: 88% (468/531) remote: Counting objects: 89% (473/531) remote: Counting objects: 90% (478/531) remote: Counting objects: 91% (484/531) remote: Counting objects: 92% (489/531) remote: Counting objects: 93% (494/531) remote: Counting objects: 94% (500/531) remote: Counting objects: 95% (505/531) remote: Counting objects: 96% (510/531) remote: Counting objects: 97% (516/531) remote: Counting objects: 98% (521/531) remote: Counting objects: 99% (526/531) remote: Counting objects: 100% (531/531) remote: Counting objects: 100% (531/531), done. remote: Compressing objects: 0% (1/267) remote: Compressing objects: 1% (3/267) remote: Compressing objects: 2% (6/267) remote: Compressing objects: 3% (9/267) remote: Compressing objects: 4% (11/267) remote: Compressing objects: 5% (14/267) remote: Compressing objects: 6% (17/267) remote: Compressing objects: 7% (19/267) remote: Compressing objects: 8% (22/267) remote: Compressing objects: 9% (25/267) remote: Compressing objects: 10% (27/267) remote: Compressing objects: 11% (30/267) remote: Compressing objects: 12% (33/267) remote: Compressing objects: 13% (35/267) remote: Compressing objects: 14% (38/267) remote: Compressing objects: 15% (41/267) remote: Compressing objects: 16% (43/267) remote: Compressing objects: 17% (46/267) remote: Compressing objects: 18% (49/267) remote: Compressing objects: 19% (51/267) remote: Compressing objects: 20% (54/267) remote: Compressing objects: 21% (57/267) remote: Compressing objects: 22% (59/267) remote: Compressing objects: 23% (62/267) remote: Compressing objects: 24% (65/267) remote: Compressing objects: 25% (67/267) remote: Compressing objects: 26% (70/267) remote: Compressing objects: 27% (73/267) remote: Compressing objects: 28% (75/267) remote: Compressing objects: 29% (78/267) remote: Compressing objects: 30% (81/267) remote: Compressing objects: 31% (83/267) remote: Compressing objects: 32% (86/267) remote: Compressing objects: 33% (89/267) remote: Compressing objects: 34% (91/267) remote: Compressing objects: 35% (94/267) remote: Compressing objects: 36% (97/267) remote: Compressing objects: 37% (99/267) remote: Compressing objects: 38% (102/267) remote: Compressing objects: 39% (105/267) remote: Compressing objects: 40% (107/267) remote: Compressing objects: 41% (110/267) remote: Compressing objects: 42% (113/267) remote: Compressing objects: 43% (115/267) remote: Compressing objects: 44% (118/267) remote: Compressing objects: 45% (121/267) remote: Compressing objects: 46% (123/267) remote: Compressing objects: 47% (126/267) remote: Compressing objects: 48% (129/267) remote: Compressing objects: 49% (131/267) remote: Compressing objects: 50% (134/267) remote: Compressing objects: 51% (137/267) remote: Compressing objects: 52% (139/267) remote: Compressing objects: 53% (142/267) remote: Compressing objects: 54% (145/267) remote: Compressing objects: 55% (147/267) remote: Compressing objects: 56% (150/267) remote: Compressing objects: 57% (153/267) remote: Compressing objects: 58% (155/267) remote: Compressing objects: 59% (158/267) remote: Compressing objects: 60% (161/267) remote: Compressing objects: 61% (163/267) remote: Compressing objects: 62% (166/267) remote: Compressing objects: 63% (169/267) remote: Compressing objects: 64% (171/267) remote: Compressing objects: 65% (174/267) remote: Compressing objects: 66% (177/267) remote: Compressing objects: 67% (179/267) remote: Compressing objects: 68% (182/267) remote: Compressing objects: 69% (185/267) remote: Compressing objects: 70% (187/267) remote: Compressing objects: 71% (190/267) remote: Compressing objects: 72% (193/267) remote: Compressing objects: 73% (195/267) remote: Compressing objects: 74% (198/267) remote: Compressing objects: 75% (201/267) remote: Compressing objects: 76% (203/267) remote: Compressing objects: 77% (206/267) remote: Compressing objects: 78% (209/267) remote: Compressing objects: 79% (211/267) remote: Compressing objects: 80% (214/267) remote: Compressing objects: 81% (217/267) remote: Compressing objects: 82% (219/267) remote: Compressing objects: 83% (222/267) remote: Compressing objects: 84% (225/267) remote: Compressing objects: 85% (227/267) remote: Compressing objects: 86% (230/267) remote: Compressing objects: 87% (233/267) remote: Compressing objects: 88% (235/267) remote: Compressing objects: 89% (238/267) remote: Compressing objects: 90% (241/267) remote: Compressing objects: 91% (243/267) remote: Compressing objects: 92% (246/267) remote: Compressing objects: 93% (249/267) remote: Compressing objects: 94% (251/267) remote: Compressing objects: 95% (254/267) remote: Compressing objects: 96% (257/267) remote: Compressing objects: 97% (259/267) remote: Compressing objects: 98% (262/267) remote: Compressing objects: 99% (265/267) remote: Compressing objects: 100% (267/267) remote: Compressing objects: 100% (267/267), done. Receiving objects: 0% (1/10323) Receiving objects: 1% (104/10323) Receiving objects: 2% (207/10323) Receiving objects: 3% (310/10323) Receiving objects: 4% (413/10323) Receiving objects: 5% (517/10323) Receiving objects: 6% (620/10323) Receiving objects: 7% (723/10323) Receiving objects: 8% (826/10323) Receiving objects: 9% (930/10323) Receiving objects: 10% (1033/10323) Receiving objects: 11% (1136/10323) Receiving objects: 12% (1239/10323) Receiving objects: 13% (1342/10323) Receiving objects: 14% (1446/10323) Receiving objects: 15% (1549/10323) Receiving objects: 16% (1652/10323) Receiving objects: 17% (1755/10323) Receiving objects: 18% (1859/10323) Receiving objects: 19% (1962/10323) Receiving objects: 20% (2065/10323) Receiving objects: 21% (2168/10323) Receiving objects: 22% (2272/10323) Receiving objects: 23% (2375/10323) Receiving objects: 24% (2478/10323) Receiving objects: 25% (2581/10323) Receiving objects: 26% (2684/10323) Receiving objects: 27% (2788/10323) Receiving objects: 28% (2891/10323) Receiving objects: 29% (2994/10323) Receiving objects: 30% (3097/10323) Receiving objects: 31% (3201/10323) Receiving objects: 32% (3304/10323) Receiving objects: 33% (3407/10323) Receiving objects: 34% (3510/10323) Receiving objects: 35% (3614/10323) Receiving objects: 36% (3717/10323) Receiving objects: 37% (3820/10323) Receiving objects: 38% (3923/10323) Receiving objects: 39% (4026/10323) Receiving objects: 40% (4130/10323) Receiving objects: 41% (4233/10323) Receiving objects: 42% (4336/10323) Receiving objects: 43% (4439/10323) Receiving objects: 44% (4543/10323) Receiving objects: 45% (4646/10323) Receiving objects: 46% (4749/10323) Receiving objects: 47% (4852/10323) Receiving objects: 48% (4956/10323) Receiving objects: 49% (5059/10323) Receiving objects: 50% (5162/10323) Receiving objects: 51% (5265/10323) Receiving objects: 52% (5368/10323) Receiving objects: 53% (5472/10323) Receiving objects: 54% (5575/10323) Receiving objects: 55% (5678/10323) Receiving objects: 56% (5781/10323) Receiving objects: 57% (5885/10323) Receiving objects: 58% (5988/10323) Receiving objects: 59% (6091/10323) Receiving objects: 60% (6194/10323) Receiving objects: 61% (6298/10323) Receiving objects: 62% (6401/10323) Receiving objects: 63% (6504/10323) Receiving objects: 64% (6607/10323) Receiving objects: 65% (6710/10323) Receiving objects: 66% (6814/10323) Receiving objects: 67% (6917/10323) Receiving objects: 68% (7020/10323) Receiving objects: 69% (7123/10323) Receiving objects: 70% (7227/10323) Receiving objects: 71% (7330/10323) Receiving objects: 72% (7433/10323) Receiving objects: 73% (7536/10323) Receiving objects: 74% (7640/10323) Receiving objects: 75% (7743/10323) Receiving objects: 76% (7846/10323) Receiving objects: 77% (7949/10323) Receiving objects: 78% (8052/10323) Receiving objects: 79% (8156/10323) Receiving objects: 80% (8259/10323) Receiving objects: 81% (8362/10323) Receiving objects: 82% (8465/10323) Receiving objects: 83% (8569/10323) Receiving objects: 84% (8672/10323) Receiving objects: 85% (8775/10323) Receiving objects: 86% (8878/10323) Receiving objects: 87% (8982/10323) Receiving objects: 88% (9085/10323) Receiving objects: 89% (9188/10323) Receiving objects: 90% (9291/10323) Receiving objects: 91% (9394/10323) Receiving objects: 92% (9498/10323) Receiving objects: 93% (9601/10323) Receiving objects: 94% (9704/10323) Receiving objects: 95% (9807/10323) Receiving objects: 96% (9911/10323) Receiving objects: 97% (10014/10323) Receiving objects: 98% (10117/10323) Receiving objects: 99% (10220/10323) remote: Total 10323 (delta 301), reused 417 (delta 248), pack-reused 9792 Receiving objects: 100% (10323/10323) Receiving objects: 100% (10323/10323), 7.79 MiB | 22.40 MiB/s, done. Resolving deltas: 0% (0/6956) Resolving deltas: 1% (70/6956) Resolving deltas: 2% (140/6956) Resolving deltas: 3% (209/6956) Resolving deltas: 4% (279/6956) Resolving deltas: 5% (348/6956) Resolving deltas: 6% (418/6956) Resolving deltas: 7% (490/6956) Resolving deltas: 8% (557/6956) Resolving deltas: 9% (627/6956) Resolving deltas: 10% (696/6956) Resolving deltas: 11% (766/6956) Resolving deltas: 12% (835/6956) Resolving deltas: 13% (905/6956) Resolving deltas: 14% (974/6956) Resolving deltas: 15% (1044/6956) Resolving deltas: 16% (1113/6956) Resolving deltas: 17% (1183/6956) Resolving deltas: 18% (1253/6956) Resolving deltas: 19% (1322/6956) Resolving deltas: 20% (1392/6956) Resolving deltas: 21% (1461/6956) Resolving deltas: 22% (1531/6956) Resolving deltas: 23% (1600/6956) Resolving deltas: 24% (1670/6956) Resolving deltas: 25% (1739/6956) Resolving deltas: 26% (1809/6956) Resolving deltas: 27% (1880/6956) Resolving deltas: 28% (1948/6956) Resolving deltas: 29% (2018/6956) Resolving deltas: 30% (2087/6956) Resolving deltas: 31% (2157/6956) Resolving deltas: 32% (2227/6956) Resolving deltas: 33% (2296/6956) Resolving deltas: 34% (2366/6956) Resolving deltas: 35% (2435/6956) Resolving deltas: 36% (2505/6956) Resolving deltas: 37% (2574/6956) Resolving deltas: 38% (2644/6956) Resolving deltas: 39% (2713/6956) Resolving deltas: 40% (2783/6956) Resolving deltas: 41% (2852/6956) Resolving deltas: 42% (2922/6956) Resolving deltas: 43% (2992/6956) Resolving deltas: 44% (3061/6956) Resolving deltas: 45% (3131/6956) Resolving deltas: 46% (3205/6956) Resolving deltas: 47% (3270/6956) Resolving deltas: 48% (3339/6956) Resolving deltas: 49% (3409/6956) Resolving deltas: 50% (3478/6956) Resolving deltas: 51% (3548/6956) Resolving deltas: 52% (3619/6956) Resolving deltas: 53% (3687/6956) Resolving deltas: 54% (3757/6956) Resolving deltas: 55% (3826/6956) Resolving deltas: 56% (3896/6956) Resolving deltas: 57% (3965/6956) Resolving deltas: 58% (4035/6956) Resolving deltas: 59% (4105/6956) Resolving deltas: 60% (4174/6956) Resolving deltas: 61% (4244/6956) Resolving deltas: 62% (4313/6956) Resolving deltas: 63% (4383/6956) Resolving deltas: 64% (4452/6956) Resolving deltas: 65% (4522/6956) Resolving deltas: 66% (4591/6956) Resolving deltas: 67% (4661/6956) Resolving deltas: 68% (4731/6956) Resolving deltas: 69% (4800/6956) Resolving deltas: 70% (4870/6956) Resolving deltas: 71% (4939/6956) Resolving deltas: 72% (5010/6956) Resolving deltas: 73% (5078/6956) Resolving deltas: 74% (5148/6956) Resolving deltas: 75% (5218/6956) Resolving deltas: 76% (5288/6956) Resolving deltas: 77% (5357/6956) Resolving deltas: 78% (5426/6956) Resolving deltas: 79% (5496/6956) Resolving deltas: 80% (5565/6956) Resolving deltas: 81% (5635/6956) Resolving deltas: 82% (5704/6956) Resolving deltas: 83% (5774/6956) Resolving deltas: 84% (5844/6956) Resolving deltas: 85% (5913/6956) Resolving deltas: 86% (5983/6956) Resolving deltas: 87% (6052/6956) Resolving deltas: 88% (6122/6956) Resolving deltas: 89% (6191/6956) Resolving deltas: 90% (6261/6956) Resolving deltas: 91% (6330/6956) Resolving deltas: 92% (6400/6956) Resolving deltas: 93% (6470/6956) Resolving deltas: 94% (6539/6956) Resolving deltas: 95% (6609/6956) Resolving deltas: 96% (6678/6956) Resolving deltas: 97% (6748/6956) Resolving deltas: 98% (6817/6956) Resolving deltas: 99% (6887/6956) Resolving deltas: 100% (6956/6956) Resolving deltas: 100% (6956/6956), done. ==> Validating source files with sha512sums... r2ghidra ... Skipped ghidra-native ... Skipped pugixml ... Skipped ==> Making package: r2ghidra 5.4.1-2 (Sat 19 Feb 2022 02:50:29 AM CET) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (7) New Version Net Change Download Size community/capstone 4.0.2-5 23.13 MiB 1.46 MiB core/libnsl 2.0.0-2 0.06 MiB extra/libuv 1.42.0-1 0.48 MiB extra/libzip 1.8.0-1 0.38 MiB community/tree-sitter 0.20.4-1 10.88 MiB 1.53 MiB community/xxhash 0.8.1-1 0.35 MiB community/radare2 5.4.2-1 24.63 MiB 5.49 MiB Total Download Size: 8.48 MiB Total Installed Size: 59.91 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... radare2-5.4.2-1-riscv64 downloading... tree-sitter-0.20.4-1-riscv64 downloading... capstone-4.0.2-5-riscv64 downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing capstone... installing libzip... installing xxhash... installing libnsl... installing libuv... installing tree-sitter... installing radare2... Optional dependencies for radare2 r2ghidra: ghidra decompiler plugin [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (8) New Version Net Change extra/hicolor-icon-theme 0.17-2 0.05 MiB extra/jsoncpp 1.9.5-1 0.25 MiB extra/perl-error 0.17029-3 0.04 MiB extra/perl-mailtools 2.21-5 0.11 MiB extra/perl-timedate 2.33-3 0.08 MiB extra/rhash 1.4.2-1 0.31 MiB extra/cmake 3.22.2-1 54.35 MiB extra/git 2.35.1-1 29.55 MiB Total Installed Size: 84.75 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing perl-error... installing perl-timedate... installing perl-mailtools... installing git... Optional dependencies for git tk: gitk and git gui perl-libwww: git svn perl-term-readkey: git svn and interactive.singlekey setting perl-io-socket-ssl: git send-email TLS support perl-authen-sasl: git send-email TLS support perl-mediawiki-api: git mediawiki support perl-datetime-format-iso8601: git mediawiki support perl-lwp-protocol-https: git mediawiki https support perl-cgi: gitweb (web interface) support python: git svn & git p4 subversion: git svn org.freedesktop.secrets: keyring credential helper libsecret: libsecret credential helper [installed] installing hicolor-icon-theme... installing jsoncpp... Optional dependencies for jsoncpp jsoncpp-doc: documentation installing rhash... installing cmake... Optional dependencies for cmake qt6-base: cmake-gui :: Running post-transaction hooks... (1/1) Warn about old perl modules [?25h==> Retrieving sources... ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Creating working copy of r2ghidra git repo... Cloning into 'r2ghidra'... done. Switched to a new branch 'makepkg'  -> Creating working copy of ghidra-native git repo... Cloning into 'ghidra-native'... done. Switched to a new branch 'makepkg'  -> Creating working copy of pugixml git repo... Cloning into 'pugixml'... done. ==> Starting prepare()... Submodule 'third-party/pugixml' (https://github.com/zeux/pugixml.git) registered for path 'third-party/pugixml' Cloning into '/build/r2ghidra/src/r2ghidra/third-party/pugixml'... done. Submodule path 'third-party/pugixml': checked out '0e3f1699ffab5f820060fe99c61f0f9495c0c5b6' ==> Starting pkgver()... ==> Starting build()... make: Entering directory '/build/r2ghidra/src/ghidra-native' for a in patches/0001-space-after-comma.patch patches/0002-make-sleigharch-public.patch patches/0004-public-fields.patch patches/0005-heritage-crash.patch patches/0015-Support-ARM-AArch64-in-Decompiler.patch patches/0018-Add-FreeBSD-and-OpenBSD-support-6.patch patches/0019-Add-aarch64-to-type-definitions-for-m1-compilation-1.patch patches/0020-Fix-double-free-crash-when-deinitializing-multiple-X.patch patches/0022-Show-noreturn-information-in-function-signature-2.patch patches/0023-Undef-LoadImage-for-windows.patch ; do patch -p1 < $a ; done patching file src/decompiler/printc.cc patching file src/decompiler/sleigh_arch.hh patching file src/decompiler/context.hh patching file src/decompiler/sleigh.hh patching file src/decompiler/heritage.cc patching file src/decompiler/types.h patching file src/decompiler/types.h patching file src/decompiler/types.h patching file src/decompiler/xml.cc patching file src/decompiler/xml.hh patching file src/decompiler/prettyprint.cc patching file src/decompiler/prettyprint.hh patching file src/decompiler/printc.cc Hunk #1 succeeded at 2288 (offset -16 lines). patching file src/decompiler/loadimage.hh touch patch.done make: Leaving directory '/build/r2ghidra/src/ghidra-native' -- The C compiler identification is GNU 11.2.0 -- The CXX compiler identification is GNU 11.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.0") -- Checking for one of the modules 'r_core' -- Found Radare2: Radare2::libr -- Configuring done -- Generating done -- Build files have been written to: /build/r2ghidra/src/r2ghidra/build make: Entering directory '/build/r2ghidra/src/r2ghidra/build' /usr/bin/cmake -S/build/r2ghidra/src/r2ghidra -B/build/r2ghidra/src/r2ghidra/build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /build/r2ghidra/src/r2ghidra/build/CMakeFiles /build/r2ghidra/src/r2ghidra/build//CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/build/r2ghidra/src/r2ghidra/build' make -f third-party/CMakeFiles/pugixml.dir/build.make third-party/CMakeFiles/pugixml.dir/depend make -f ghidra/CMakeFiles/ghidra_decompiler_base.dir/build.make ghidra/CMakeFiles/ghidra_decompiler_base.dir/depend make -f ghidra/CMakeFiles/ghidra_libdecomp.dir/build.make ghidra/CMakeFiles/ghidra_libdecomp.dir/depend make -f ghidra/CMakeFiles/ghidra_decompiler_sleigh.dir/build.make ghidra/CMakeFiles/ghidra_decompiler_sleigh.dir/depend make[2]: Entering directory '/build/r2ghidra/src/r2ghidra/build' cd /build/r2ghidra/src/r2ghidra/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/r2ghidra/src/r2ghidra /build/r2ghidra/src/r2ghidra/third-party /build/r2ghidra/src/r2ghidra/build /build/r2ghidra/src/r2ghidra/build/third-party /build/r2ghidra/src/r2ghidra/build/third-party/CMakeFiles/pugixml.dir/DependInfo.cmake --color= make[2]: Entering directory '/build/r2ghidra/src/r2ghidra/build' cd /build/r2ghidra/src/r2ghidra/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/r2ghidra/src/r2ghidra /build/r2ghidra/src/r2ghidra/ghidra /build/r2ghidra/src/r2ghidra/build /build/r2ghidra/src/r2ghidra/build/ghidra /build/r2ghidra/src/r2ghidra/build/ghidra/CMakeFiles/ghidra_libdecomp.dir/DependInfo.cmake --color= make[2]: Entering directory '/build/r2ghidra/src/r2ghidra/build' cd /build/r2ghidra/src/r2ghidra/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/r2ghidra/src/r2ghidra /build/r2ghidra/src/r2ghidra/ghidra /build/r2ghidra/src/r2ghidra/build /build/r2ghidra/src/r2ghidra/build/ghidra /build/r2ghidra/src/r2ghidra/build/ghidra/CMakeFiles/ghidra_decompiler_sleigh.dir/DependInfo.cmake --color= make[2]: Entering directory '/build/r2ghidra/src/r2ghidra/build' cd /build/r2ghidra/src/r2ghidra/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/r2ghidra/src/r2ghidra /build/r2ghidra/src/r2ghidra/ghidra /build/r2ghidra/src/r2ghidra/build /build/r2ghidra/src/r2ghidra/build/ghidra /build/r2ghidra/src/r2ghidra/build/ghidra/CMakeFiles/ghidra_decompiler_base.dir/DependInfo.cmake --color= make[2]: Leaving directory '/build/r2ghidra/src/r2ghidra/build' make -f third-party/CMakeFiles/pugixml.dir/build.make third-party/CMakeFiles/pugixml.dir/build make[2]: Leaving directory '/build/r2ghidra/src/r2ghidra/build' make[2]: Leaving directory '/build/r2ghidra/src/r2ghidra/build' make -f ghidra/CMakeFiles/ghidra_libdecomp.dir/build.make ghidra/CMakeFiles/ghidra_libdecomp.dir/build make -f ghidra/CMakeFiles/ghidra_decompiler_sleigh.dir/build.make ghidra/CMakeFiles/ghidra_decompiler_sleigh.dir/build make[2]: Leaving directory '/build/r2ghidra/src/r2ghidra/build' make -f ghidra/CMakeFiles/ghidra_decompiler_base.dir/build.make ghidra/CMakeFiles/ghidra_decompiler_base.dir/build make[2]: Entering directory '/build/r2ghidra/src/r2ghidra/build' make[2]: Entering directory '/build/r2ghidra/src/r2ghidra/build' make[2]: Entering directory '/build/r2ghidra/src/r2ghidra/build' make[2]: Entering directory '/build/r2ghidra/src/r2ghidra/build' [ 1%] Building CXX object third-party/CMakeFiles/pugixml.dir/pugixml/src/pugixml.cpp.o [ 2%] Building CXX object ghidra/CMakeFiles/ghidra_libdecomp.dir/__/ghidra-native/src/decompiler/libdecomp.cc.o [ 2%] Building CXX object ghidra/CMakeFiles/ghidra_decompiler_sleigh.dir/__/ghidra-native/src/decompiler/inject_sleigh.cc.o [ 2%] Building CXX object ghidra/CMakeFiles/ghidra_decompiler_sleigh.dir/__/ghidra-native/src/decompiler/sleigh_arch.cc.o cd /build/r2ghidra/src/r2ghidra/build/third-party && /usr/bin/c++ -I/build/r2ghidra/src/r2ghidra/third-party/pugixml/src -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -fPIC -std=gnu++11 -MD -MT third-party/CMakeFiles/pugixml.dir/pugixml/src/pugixml.cpp.o -MF CMakeFiles/pugixml.dir/pugixml/src/pugixml.cpp.o.d -o CMakeFiles/pugixml.dir/pugixml/src/pugixml.cpp.o -c /build/r2ghidra/src/r2ghidra/third-party/pugixml/src/pugixml.cpp [ 3%] Building CXX object ghidra/CMakeFiles/ghidra_decompiler_sleigh.dir/__/ghidra-native/src/decompiler/sleigh.cc.o [ 3%] Building CXX object ghidra/CMakeFiles/ghidra_decompiler_sleigh.dir/__/ghidra-native/src/decompiler/semantics.cc.o cd /build/r2ghidra/src/r2ghidra/build/ghidra && /usr/bin/c++ -ULoadImage -fPIC -std=gnu++11 -MD -MT ghidra/CMakeFiles/ghidra_libdecomp.dir/__/ghidra-native/src/decompiler/libdecomp.cc.o -MF CMakeFiles/ghidra_libdecomp.dir/__/ghidra-native/src/decompiler/libdecomp.cc.o.d -o CMakeFiles/ghidra_libdecomp.dir/__/ghidra-native/src/decompiler/libdecomp.cc.o -c /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc [ 4%] Building CXX object ghidra/CMakeFiles/ghidra_decompiler_sleigh.dir/__/ghidra-native/src/decompiler/slghsymbol.cc.o [ 4%] Building CXX object ghidra/CMakeFiles/ghidra_decompiler_sleigh.dir/__/ghidra-native/src/decompiler/context.cc.o cd /build/r2ghidra/src/r2ghidra/build/ghidra && /usr/bin/c++ -I/build/r2ghidra/src/r2ghidra/ghidra/../ghidra-native/src/decompiler -ULoadImage -fPIC -std=gnu++11 -MD -MT ghidra/CMakeFiles/ghidra_decompiler_sleigh.dir/__/ghidra-native/src/decompiler/sleigh_arch.cc.o -MF CMakeFiles/ghidra_decompiler_sleigh.dir/__/ghidra-native/src/decompiler/sleigh_arch.cc.o.d -o CMakeFiles/ghidra_decompiler_sleigh.dir/__/ghidra-native/src/decompiler/sleigh_arch.cc.o -c /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc [ 5%] Building CXX object ghidra/CMakeFiles/ghidra_decompiler_sleigh.dir/__/ghidra-native/src/decompiler/slghpatexpress.cc.o cd /build/r2ghidra/src/r2ghidra/build/ghidra && /usr/bin/c++ -I/build/r2ghidra/src/r2ghidra/ghidra/../ghidra-native/src/decompiler -ULoadImage -fPIC -std=gnu++11 -MD -MT ghidra/CMakeFiles/ghidra_decompiler_sleigh.dir/__/ghidra-native/src/decompiler/sleigh.cc.o -MF CMakeFiles/ghidra_decompiler_sleigh.dir/__/ghidra-native/src/decompiler/sleigh.cc.o.d -o CMakeFiles/ghidra_decompiler_sleigh.dir/__/ghidra-native/src/decompiler/sleigh.cc.o -c /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc [ 5%] Building CXX object ghidra/CMakeFiles/ghidra_decompiler_sleigh.dir/__/ghidra-native/src/decompiler/slghpattern.cc.o [ 5%] Building CXX object ghidra/CMakeFiles/ghidra_decompiler_sleigh.dir/__/ghidra-native/src/decompiler/sleighbase.cc.o cd /build/r2ghidra/src/r2ghidra/build/ghidra && /usr/bin/c++ -I/build/r2ghidra/src/r2ghidra/ghidra/../ghidra-native/src/decompiler -ULoadImage -fPIC -std=gnu++11 -MD -MT ghidra/CMakeFiles/ghidra_decompiler_sleigh.dir/__/ghidra-native/src/decompiler/inject_sleigh.cc.o -MF CMakeFiles/ghidra_decompiler_sleigh.dir/__/ghidra-native/src/decompiler/inject_sleigh.cc.o.d -o CMakeFiles/ghidra_decompiler_sleigh.dir/__/ghidra-native/src/decompiler/inject_sleigh.cc.o -c /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc cd /build/r2ghidra/src/r2ghidra/build/ghidra && /usr/bin/c++ -I/build/r2ghidra/src/r2ghidra/ghidra/../ghidra-native/src/decompiler -ULoadImage -fPIC -std=gnu++11 -MD -MT ghidra/CMakeFiles/ghidra_decompiler_sleigh.dir/__/ghidra-native/src/decompiler/semantics.cc.o -MF CMakeFiles/ghidra_decompiler_sleigh.dir/__/ghidra-native/src/decompiler/semantics.cc.o.d -o CMakeFiles/ghidra_decompiler_sleigh.dir/__/ghidra-native/src/decompiler/semantics.cc.o -c /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc cd /build/r2ghidra/src/r2ghidra/build/ghidra && /usr/bin/c++ -I/build/r2ghidra/src/r2ghidra/ghidra/../ghidra-native/src/decompiler -ULoadImage -fPIC -std=gnu++11 -MD -MT ghidra/CMakeFiles/ghidra_decompiler_sleigh.dir/__/ghidra-native/src/decompiler/slghsymbol.cc.o -MF CMakeFiles/ghidra_decompiler_sleigh.dir/__/ghidra-native/src/decompiler/slghsymbol.cc.o.d -o CMakeFiles/ghidra_decompiler_sleigh.dir/__/ghidra-native/src/decompiler/slghsymbol.cc.o -c /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc cd /build/r2ghidra/src/r2ghidra/build/ghidra && /usr/bin/c++ -I/build/r2ghidra/src/r2ghidra/ghidra/../ghidra-native/src/decompiler -ULoadImage -fPIC -std=gnu++11 -MD -MT ghidra/CMakeFiles/ghidra_decompiler_sleigh.dir/__/ghidra-native/src/decompiler/context.cc.o -MF CMakeFiles/ghidra_decompiler_sleigh.dir/__/ghidra-native/src/decompiler/context.cc.o.d -o CMakeFiles/ghidra_decompiler_sleigh.dir/__/ghidra-native/src/decompiler/context.cc.o -c /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc cd /build/r2ghidra/src/r2ghidra/build/ghidra && /usr/bin/c++ -I/build/r2ghidra/src/r2ghidra/ghidra/../ghidra-native/src/decompiler -ULoadImage -fPIC -std=gnu++11 -MD -MT ghidra/CMakeFiles/ghidra_decompiler_sleigh.dir/__/ghidra-native/src/decompiler/slghpatexpress.cc.o -MF CMakeFiles/ghidra_decompiler_sleigh.dir/__/ghidra-native/src/decompiler/slghpatexpress.cc.o.d -o CMakeFiles/ghidra_decompiler_sleigh.dir/__/ghidra-native/src/decompiler/slghpatexpress.cc.o -c /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc [ 5%] Building CXX object ghidra/CMakeFiles/ghidra_decompiler_sleigh.dir/__/ghidra-native/src/decompiler/pcodeparse.cc.o cd /build/r2ghidra/src/r2ghidra/build/ghidra && /usr/bin/c++ -I/build/r2ghidra/src/r2ghidra/ghidra/../ghidra-native/src/decompiler -ULoadImage -fPIC -std=gnu++11 -MD -MT ghidra/CMakeFiles/ghidra_decompiler_sleigh.dir/__/ghidra-native/src/decompiler/sleighbase.cc.o -MF CMakeFiles/ghidra_decompiler_sleigh.dir/__/ghidra-native/src/decompiler/sleighbase.cc.o.d -o CMakeFiles/ghidra_decompiler_sleigh.dir/__/ghidra-native/src/decompiler/sleighbase.cc.o -c /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc cd /build/r2ghidra/src/r2ghidra/build/ghidra && /usr/bin/c++ -I/build/r2ghidra/src/r2ghidra/ghidra/../ghidra-native/src/decompiler -ULoadImage -fPIC -std=gnu++11 -MD -MT ghidra/CMakeFiles/ghidra_decompiler_sleigh.dir/__/ghidra-native/src/decompiler/slghpattern.cc.o -MF CMakeFiles/ghidra_decompiler_sleigh.dir/__/ghidra-native/src/decompiler/slghpattern.cc.o.d -o CMakeFiles/ghidra_decompiler_sleigh.dir/__/ghidra-native/src/decompiler/slghpattern.cc.o -c /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc cd /build/r2ghidra/src/r2ghidra/build/ghidra && /usr/bin/c++ -I/build/r2ghidra/src/r2ghidra/ghidra/../ghidra-native/src/decompiler -ULoadImage -fPIC -std=gnu++11 -MD -MT ghidra/CMakeFiles/ghidra_decompiler_sleigh.dir/__/ghidra-native/src/decompiler/pcodeparse.cc.o -MF CMakeFiles/ghidra_decompiler_sleigh.dir/__/ghidra-native/src/decompiler/pcodeparse.cc.o.d -o CMakeFiles/ghidra_decompiler_sleigh.dir/__/ghidra-native/src/decompiler/pcodeparse.cc.o -c /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.cc [ 6%] Building CXX object ghidra/CMakeFiles/ghidra_decompiler_sleigh.dir/__/ghidra-native/src/decompiler/grammar.cc.o cd /build/r2ghidra/src/r2ghidra/build/ghidra && /usr/bin/c++ -I/build/r2ghidra/src/r2ghidra/ghidra/../ghidra-native/src/decompiler -ULoadImage -fPIC -std=gnu++11 -MD -MT ghidra/CMakeFiles/ghidra_decompiler_sleigh.dir/__/ghidra-native/src/decompiler/grammar.cc.o -MF CMakeFiles/ghidra_decompiler_sleigh.dir/__/ghidra-native/src/decompiler/grammar.cc.o.d -o CMakeFiles/ghidra_decompiler_sleigh.dir/__/ghidra-native/src/decompiler/grammar.cc.o -c /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.cc [ 7%] Building CXX object ghidra/CMakeFiles/ghidra_decompiler_sleigh.dir/__/ghidra-native/src/decompiler/pcodecompile.cc.o cd /build/r2ghidra/src/r2ghidra/build/ghidra && /usr/bin/c++ -I/build/r2ghidra/src/r2ghidra/ghidra/../ghidra-native/src/decompiler -ULoadImage -fPIC -std=gnu++11 -MD -MT ghidra/CMakeFiles/ghidra_decompiler_sleigh.dir/__/ghidra-native/src/decompiler/pcodecompile.cc.o -MF CMakeFiles/ghidra_decompiler_sleigh.dir/__/ghidra-native/src/decompiler/pcodecompile.cc.o.d -o CMakeFiles/ghidra_decompiler_sleigh.dir/__/ghidra-native/src/decompiler/pcodecompile.cc.o -c /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc [ 8%] Building CXX object ghidra/CMakeFiles/ghidra_decompiler_sleigh.dir/__/ghidra-native/src/decompiler/filemanage.cc.o cd /build/r2ghidra/src/r2ghidra/build/ghidra && /usr/bin/c++ -I/build/r2ghidra/src/r2ghidra/ghidra/../ghidra-native/src/decompiler -ULoadImage -fPIC -std=gnu++11 -MD -MT ghidra/CMakeFiles/ghidra_decompiler_sleigh.dir/__/ghidra-native/src/decompiler/filemanage.cc.o -MF CMakeFiles/ghidra_decompiler_sleigh.dir/__/ghidra-native/src/decompiler/filemanage.cc.o.d -o CMakeFiles/ghidra_decompiler_sleigh.dir/__/ghidra-native/src/decompiler/filemanage.cc.o -c /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/filemanage.cc [ 8%] Building CXX object ghidra/CMakeFiles/ghidra_decompiler_base.dir/__/ghidra-native/src/decompiler/space.cc.o cd /build/r2ghidra/src/r2ghidra/build/ghidra && /usr/bin/c++ -I/build/r2ghidra/src/r2ghidra/ghidra/../ghidra-native/src/decompiler -ULoadImage -fPIC -std=gnu++11 -MD -MT ghidra/CMakeFiles/ghidra_decompiler_base.dir/__/ghidra-native/src/decompiler/space.cc.o -MF CMakeFiles/ghidra_decompiler_base.dir/__/ghidra-native/src/decompiler/space.cc.o.d -o CMakeFiles/ghidra_decompiler_base.dir/__/ghidra-native/src/decompiler/space.cc.o -c /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/types.h:245:9: error: ‘int8’ does not name a type; did you mean ‘int’? 245 | typedef int8 intb; /* This is a signed big integer */ | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/types.h:248:9: error: ‘uint8’ does not name a type; did you mean ‘int’? 248 | typedef uint8 uintb; /* This is an unsigned big integer */ | ^~~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/types.h:245:9: error: ‘int8’ does not name a type; did you mean ‘int’? 245 | typedef int8 intb; /* This is a signed big integer */ | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/types.h:248:9: error: ‘uint8’ does not name a type; did you mean ‘int’? 248 | typedef uint8 uintb; /* This is an unsigned big integer */ | ^~~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/types.h:245:9: error: ‘int8’ does not name a type; did you mean ‘int’? 245 | typedef int8 intb; /* This is a signed big integer */ | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/types.h:248:9: error: ‘uint8’ does not name a type; did you mean ‘int’? 248 | typedef uint8 uintb; /* This is an unsigned big integer */ | ^~~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh:19, from src/decompile/cpp/pcodeparse.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/types.h:245:9: error: ‘int8’ does not name a type; did you mean ‘int’? 245 | typedef int8 intb; /* This is a signed big integer */ | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/types.h:248:9: error: ‘uint8’ does not name a type; did you mean ‘int’? 248 | typedef uint8 uintb; /* This is an unsigned big integer */ | ^~~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/types.h:245:9: error: ‘int8’ does not name a type; did you mean ‘int’? 245 | typedef int8 intb; /* This is a signed big integer */ | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/types.h:248:9: error: ‘uint8’ does not name a type; did you mean ‘int’? 248 | typedef uint8 uintb; /* This is an unsigned big integer */ | ^~~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/types.h:245:9: error: ‘int8’ does not name a type; did you mean ‘int’? 245 | typedef int8 intb; /* This is a signed big integer */ | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/types.h:248:9: error: ‘uint8’ does not name a type; did you mean ‘int’? 248 | typedef uint8 uintb; /* This is an unsigned big integer */ | ^~~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/types.h:245:9: error: ‘int8’ does not name a type; did you mean ‘int’? 245 | typedef int8 intb; /* This is a signed big integer */ | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/types.h:248:9: error: ‘uint8’ does not name a type; did you mean ‘int’? 248 | typedef uint8 uintb; /* This is an unsigned big integer */ | ^~~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/types.h:245:9: error: ‘int8’ does not name a type; did you mean ‘int’? 245 | typedef int8 intb; /* This is a signed big integer */ | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/types.h:248:9: error: ‘uint8’ does not name a type; did you mean ‘int’? 248 | typedef uint8 uintb; /* This is an unsigned big integer */ | ^~~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/capability.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/types.h:245:9: error: ‘int8’ does not name a type; did you mean ‘int’? 245 | typedef int8 intb; /* This is a signed big integer */ | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/types.h:248:9: error: ‘uint8’ does not name a type; did you mean ‘int’? 248 | typedef uint8 uintb; /* This is an unsigned big integer */ | ^~~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/capability.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/types.h:245:9: error: ‘int8’ does not name a type; did you mean ‘int’? 245 | typedef int8 intb; /* This is a signed big integer */ | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/types.h:248:9: error: ‘uint8’ does not name a type; did you mean ‘int’? 248 | typedef uint8 uintb; /* This is an unsigned big integer */ | ^~~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/types.h:245:9: error: ‘int8’ does not name a type; did you mean ‘int’? 245 | typedef int8 intb; /* This is a signed big integer */ | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/types.h:248:9: error: ‘uint8’ does not name a type; did you mean ‘int’? 248 | typedef uint8 uintb; /* This is an unsigned big integer */ | ^~~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/types.h:245:9: error: ‘int8’ does not name a type; did you mean ‘int’? 245 | typedef int8 intb; /* This is a signed big integer */ | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/types.h:248:9: error: ‘uint8’ does not name a type; did you mean ‘int’? 248 | typedef uint8 uintb; /* This is an unsigned big integer */ | ^~~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/types.h:245:9: error: ‘int8’ does not name a type; did you mean ‘int’? 245 | typedef int8 intb; /* This is a signed big integer */ | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/types.h:248:9: error: ‘uint8’ does not name a type; did you mean ‘int’? 248 | typedef uint8 uintb; /* This is an unsigned big integer */ | ^~~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/capability.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/types.h:245:9: error: ‘int8’ does not name a type; did you mean ‘int’? 245 | typedef int8 intb; /* This is a signed big integer */ | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/types.h:248:9: error: ‘uint8’ does not name a type; did you mean ‘uint’? 248 | typedef uint8 uintb; /* This is an unsigned big integer */ | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:52:3: error: ‘int4’ does not name a type; did you mean ‘int’? 52 | int4 getLength(void) const { return name.size(); } ///< Get the number of attributes associated with the element | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:53:24: error: ‘int4’ has not been declared 53 | const string &getURI(int4 i) const { return bogus_uri; } ///< Get the namespace URI associated with the i-th attribute | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:54:30: error: ‘int4’ has not been declared 54 | const string &getLocalName(int4 i) const { return *name[i]; } ///< Get the local name of the i-th attribute | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:55:26: error: ‘int4’ has not been declared 55 | const string &getQName(int4 i) const { return *name[i]; } ///< Get the qualified name of the i-th attribute | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:61:26: error: ‘int4’ has not been declared 61 | const string &getValue(int4 i) const { return *value[i]; } ///< Get the value of the i-th attribute | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh: In destructor ‘Attributes::~Attributes()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:45:9: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 45 | for(uint4 i=0;iindex < b->index); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isOverlayBase() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:435:12: error: ‘flags’ was not declared in this scope 435 | return ((flags&overlaybase)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:348:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 348 | inline uintb AddrSpace::getPointerLowerBound(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:532:25: error: ‘const class AddrSpace’ has no member named ‘index’ 532 | return (a->index < b->index); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:327:8: error: ‘uint4’ does not name a type; did you mean ‘uint’? 327 | inline uint4 AddrSpace::getWordSize(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:131:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 131 | uintb getPointerUpperBound(void) const; ///< Get upper bound for assuming an offset is a pointer | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:370:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 370 | inline uintb AddrSpace::wrapOffset(uintb off) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:225:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 225 | virtual uintb restoreXmlAttributes(const Element *el,uint4 &size) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:226:36: error: ‘uintb’ has not been declared 226 | virtual void printRaw(ostream &s,uintb offset) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:319:8: error: ‘int4’ does not name a type; did you mean ‘int’? 319 | inline int4 AddrSpace::getIndex(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:355:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 355 | inline uintb AddrSpace::getPointerUpperBound(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:335:8: error: ‘uint4’ does not name a type; did you mean ‘uint’? 335 | inline uint4 AddrSpace::getAddrSize(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:132:3: error: ‘int4’ does not name a type; did you mean ‘int’? 132 | int4 getMinimumPtrSize(void) const; ///< Get the minimum pointer size for \b this space | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isHeritaged() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:395:12: error: ‘flags’ was not declared in this scope 395 | return ((flags & heritaged)!=0); | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:49:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 49 | uintb offset; ///< Offset (in bytes) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:327:8: error: ‘uint4’ does not name a type; did you mean ‘uint’? 327 | inline uint4 AddrSpace::getWordSize(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:361:8: error: ‘int4’ does not name a type; did you mean ‘int’? 361 | inline int4 AddrSpace::getMinimumPtrSize(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:58:25: error: ‘uintb’ has not been declared 58 | Address(AddrSpace *id,uintb off); ///< Construct an address with a space/offset pair | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:341:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 341 | inline uintb AddrSpace::getHighest(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:227:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 227 | virtual uintb read(const string &s,int4 &size) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isOverlayBase() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:435:12: error: ‘flags’ was not declared in this scope 435 | return ((flags&overlaybase)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isReverseJustified() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:427:12: error: ‘flags’ was not declared in this scope 427 | return ((flags&reverse_justification)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:335:8: error: ‘uint4’ does not name a type; did you mean ‘uint’? 335 | inline uint4 AddrSpace::getAddrSize(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:133:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 133 | uintb wrapOffset(uintb off) const; ///< Wrap -off- to the offset that fits into this space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:370:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 370 | inline uintb AddrSpace::wrapOffset(uintb off) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:348:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 348 | inline uintb AddrSpace::getPointerLowerBound(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:251:13: error: variable or field ‘setFlags’ declared void 251 | inline void AddrSpace::setFlags(uint4 fl) { | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:145:31: error: ‘uintb’ has not been declared 145 | void printOffset(ostream &s,uintb offset) const; ///< Write an address offset to a stream | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:62:3: error: ‘int4’ does not name a type; did you mean ‘int’? 62 | int4 getAddrSize(void) const; ///< Get the number of bytes in the address | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:341:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 341 | inline uintb AddrSpace::getHighest(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isOtherSpace() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:439:12: error: ‘flags’ was not declared in this scope 439 | return ((flags&is_otherspace)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:355:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 355 | inline uintb AddrSpace::getPointerUpperBound(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:348:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 348 | inline uintb AddrSpace::getPointerLowerBound(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:147:11: error: ‘int4’ does not name a type; did you mean ‘int’? 147 | virtual int4 numSpacebase(void) const; ///< Number of base registers associated with this space | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:148:43: error: ‘int4’ has not been declared 148 | virtual const VarnodeData &getSpacebase(int4 i) const; ///< Get a base register that creates this virtual space | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:65:3: error: ‘int4’ does not name a type; did you mean ‘int’? 65 | int4 read(const string &s); ///< Read in the address from a string | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:149:47: error: ‘int4’ has not been declared 149 | virtual const VarnodeData &getSpacebaseFull(int4 i) const; ///< Return original spacebase register before truncation | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:361:8: error: ‘int4’ does not name a type; did you mean ‘int’? 361 | inline int4 AddrSpace::getMinimumPtrSize(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:152:45: error: ‘uintb’ has not been declared 152 | virtual void saveXmlAttributes(ostream &s,uintb offset) const; ///< Save an address as XML | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:153:45: error: ‘uintb’ has not been declared 153 | virtual void saveXmlAttributes(ostream &s,uintb offset,int4 size) const; ///< Save an address and size as XML | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:153:58: error: ‘int4’ has not been declared 153 | virtual void saveXmlAttributes(ostream &s,uintb offset,int4 size) const; ///< Save an address and size as XML | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:355:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 355 | inline uintb AddrSpace::getPointerUpperBound(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:370:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 370 | inline uintb AddrSpace::wrapOffset(uintb off) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isOtherSpace() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:439:12: error: ‘flags’ was not declared in this scope 439 | return ((flags&is_otherspace)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:251:33: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 251 | inline void AddrSpace::setFlags(uint4 fl) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:361:8: error: ‘int4’ does not name a type; did you mean ‘int’? 361 | inline int4 AddrSpace::getMinimumPtrSize(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:67:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 67 | uintb getOffset(void) const; ///< Get the address offset | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:257:13: error: variable or field ‘clearFlags’ declared void 257 | inline void AddrSpace::clearFlags(uint4 fl) { | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isHeritaged() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:395:12: error: ‘flags’ was not declared in this scope 395 | return ((flags & heritaged)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:75:21: error: ‘int4’ has not been declared 75 | Address operator+(int4 off) const; ///< Increment address by a number of bytes | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:154:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 154 | virtual uintb restoreXmlAttributes(const Element *el,uint4 &size) const; ///< Recover an offset and size | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:76:21: error: ‘int4’ has not been declared 76 | Address operator-(int4 off) const; ///< Decrement address by a number of bytes | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:155:36: error: ‘uintb’ has not been declared 155 | virtual void printRaw(ostream &s,uintb offset) const; ///< Write an address in this space to a stream | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:78:20: error: ‘int4’ has not been declared 78 | bool containedBy(int4 sz,const Address &op2,int4 sz2) const; ///< Determine if \e op2 range contains \b this range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:370:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 370 | inline uintb AddrSpace::wrapOffset(uintb off) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:78:47: error: ‘int4’ has not been declared 78 | bool containedBy(int4 sz,const Address &op2,int4 sz2) const; ///< Determine if \e op2 range contains \b this range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::doesDeadcode() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:403:12: error: ‘flags’ was not declared in this scope 403 | return ((flags & does_deadcode)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:79:3: error: ‘int4’ does not name a type; did you mean ‘int’? 79 | int4 justifiedContain(int4 sz,const Address &op2,int4 sz2,bool forceleft) const; ///< Determine if \e op2 is the least significant part of \e this. | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:156:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 156 | virtual uintb read(const string &s,int4 &size) const; ///< Read in an address (and possible size) from a string | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isOverlay() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:431:12: error: ‘flags’ was not declared in this scope 431 | return ((flags&overlay)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isOtherSpace() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:439:12: error: ‘flags’ was not declared in this scope 439 | return ((flags&is_otherspace)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:257:35: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 257 | inline void AddrSpace::clearFlags(uint4 fl) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isHeritaged() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:395:12: error: ‘flags’ was not declared in this scope 395 | return ((flags & heritaged)!=0); | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:80:3: error: ‘int4’ does not name a type; did you mean ‘int’? 80 | int4 overlap(int4 skip,const Address &op,int4 size) const; ///< Determine how two address ranges overlap | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:81:21: error: ‘int4’ has not been declared 81 | bool isContiguous(int4 sz,const Address &loaddr,int4 losz) const; ///< Does \e this form a contigous range with \e loaddr | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:81:51: error: ‘int4’ has not been declared 81 | bool isContiguous(int4 sz,const Address &loaddr,int4 losz) const; ///< Does \e this form a contigous range with \e loaddr | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:83:20: error: ‘int4’ has not been declared 83 | void renormalize(int4 size); ///< Make sure there is a backing JoinRecord if \b this is in the \e join space | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:160:10: error: ‘uintb’ does not name a type; did you mean ‘uint’? 160 | static uintb addressToByte(uintb val,uint4 ws); ///< Scale from addressable units to byte units | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isTruncated() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:445:12: error: ‘flags’ was not declared in this scope 445 | return ((flags&truncated)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:86:27: error: ‘int4’ has not been declared 86 | void saveXml(ostream &s,int4 size) const; ///< Save this and a size to a stream as an XML tag | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:92:78: error: ‘int4’ has not been declared 92 | static Address restoreXml(const Element *el,const AddrSpaceManager *manage,int4 &size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:302:8: error: ‘int4’ does not name a type; did you mean ‘int’? 302 | inline int4 AddrSpace::getDelay(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:161:10: error: ‘uintb’ does not name a type; did you mean ‘uint’? 161 | static uintb byteToAddress(uintb val,uint4 ws); ///< Scale from byte units to addressable units | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:113:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 113 | uintm uniq; ///< Number to guarantee uniqueness | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:312:8: error: ‘int4’ does not name a type; did you mean ‘int’? 312 | inline int4 AddrSpace::getDeadcodeDelay(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isHeritaged() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:395:12: error: ‘flags’ was not declared in this scope 395 | return ((flags & heritaged)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isTruncated() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:445:12: error: ‘flags’ was not declared in this scope 445 | return ((flags&truncated)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:162:10: error: ‘int4’ does not name a type; did you mean ‘int’? 162 | static int4 addressToByteInt(int4 val,uint4 ws); ///< Scale int4 from addressable units to byte units | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::doesDeadcode() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:403:12: error: ‘flags’ was not declared in this scope 403 | return ((flags & does_deadcode)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:319:8: error: ‘int4’ does not name a type; did you mean ‘int’? 319 | inline int4 AddrSpace::getIndex(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:114:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 114 | uintm order; ///< Number for order comparisons within a block | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isHeritaged() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:395:12: error: ‘flags’ was not declared in this scope 395 | return ((flags & heritaged)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:120:27: error: ‘uintm’ has not been declared 120 | SeqNum(const Address &a,uintm b) : pc(a) { uniq = b; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:163:10: error: ‘int4’ does not name a type; did you mean ‘int’? 163 | static int4 byteToAddressInt(int4 val,uint4 ws); ///< Scale int4 from byte units to addressable units | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:327:8: error: ‘uint4’ does not name a type; did you mean ‘uint’? 327 | inline uint4 AddrSpace::getWordSize(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::hasPhysical() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:411:12: error: ‘flags’ was not declared in this scope 411 | return ((flags & hasphysical) !=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isOverlayBase() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:435:12: error: ‘flags’ was not declared in this scope 435 | return ((flags&overlaybase)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:335:8: error: ‘uint4’ does not name a type; did you mean ‘uint’? 335 | inline uint4 AddrSpace::getAddrSize(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:129:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 129 | uintm getTime(void) const { return uniq; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:181:73: error: ‘int4’ has not been declared 181 | ConstantSpace(AddrSpaceManager *m,const Translate *t,const string &nm,int4 ind); ///< Only constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isTruncated() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:445:12: error: ‘flags’ was not declared in this scope 445 | return ((flags&truncated)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:182:36: error: ‘uintb’ has not been declared 182 | virtual void printRaw(ostream &s,uintb offset) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:341:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 341 | inline uintb AddrSpace::getHighest(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:190:73: error: ‘int4’ has not been declared 190 | OtherSpace(AddrSpaceManager *m, const Translate *t, const string &nm, int4 ind); ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::doesDeadcode() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:403:12: error: ‘flags’ was not declared in this scope 403 | return ((flags & does_deadcode)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:192:37: error: ‘uintb’ has not been declared 192 | virtual void printRaw(ostream &s, uintb offset) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:132:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 132 | uintm getOrder(void) const { return order; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:135:17: error: ‘uintm’ has not been declared 135 | void setOrder(uintm ord) { order = ord; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::hasNearPointers() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:449:12: error: ‘flags’ was not declared in this scope 449 | return ((flags&has_nearpointers)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:207:71: error: ‘int4’ has not been declared 207 | UniqueSpace(AddrSpaceManager *m,const Translate *t,const string &nm,int4 ind,uint4 fl); ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:348:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 348 | inline uintb AddrSpace::getPointerLowerBound(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:207:80: error: ‘uint4’ has not been declared 207 | UniqueSpace(AddrSpaceManager *m,const Translate *t,const string &nm,int4 ind,uint4 fl); ///< Constructor | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:222:69: error: ‘int4’ has not been declared 222 | JoinSpace(AddrSpaceManager *m,const Translate *t,const string &nm,int4 ind); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:223:45: error: ‘uintb’ has not been declared 223 | virtual void saveXmlAttributes(ostream &s,uintb offset) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:355:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 355 | inline uintb AddrSpace::getPointerUpperBound(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:224:45: error: ‘uintb’ has not been declared 224 | virtual void saveXmlAttributes(ostream &s,uintb offset,int4 size) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:456:8: error: ‘int4’ does not name a type; did you mean ‘int’? 456 | inline int4 AddrSpace::numSpacebase(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:224:58: error: ‘int4’ has not been declared 224 | virtual void saveXmlAttributes(ostream &s,uintb offset,int4 size) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:464:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 464 | inline const VarnodeData &AddrSpace::getSpacebase(int4 i) const { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:464:27: error: ‘const VarnodeData& AddrSpace::getSpacebase’ is not a static data member of ‘class AddrSpace’ 464 | inline const VarnodeData &AddrSpace::getSpacebase(int4 i) const { | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:361:8: error: ‘int4’ does not name a type; did you mean ‘int’? 361 | inline int4 AddrSpace::getMinimumPtrSize(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::hasNearPointers() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:449:12: error: ‘flags’ was not declared in this scope 449 | return ((flags&has_nearpointers)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::hasPhysical() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:411:12: error: ‘flags’ was not declared in this scope 411 | return ((flags & hasphysical) !=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::doesDeadcode() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:403:12: error: ‘flags’ was not declared in this scope 403 | return ((flags & does_deadcode)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:370:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 370 | inline uintb AddrSpace::wrapOffset(uintb off) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:225:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 225 | virtual uintb restoreXmlAttributes(const Element *el,uint4 &size) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:226:36: error: ‘uintb’ has not been declared 226 | virtual void printRaw(ostream &s,uintb offset) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::doesDeadcode() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:403:12: error: ‘flags’ was not declared in this scope 403 | return ((flags & does_deadcode)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:456:8: error: ‘int4’ does not name a type; did you mean ‘int’? 456 | inline int4 AddrSpace::numSpacebase(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:464:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 464 | inline const VarnodeData &AddrSpace::getSpacebase(int4 i) const { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:464:27: error: ‘const VarnodeData& AddrSpace::getSpacebase’ is not a static data member of ‘class AddrSpace’ 464 | inline const VarnodeData &AddrSpace::getSpacebase(int4 i) const { | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isOtherSpace() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:439:12: error: ‘flags’ was not declared in this scope 439 | return ((flags&is_otherspace)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isBigEndian() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:418:12: error: ‘flags’ was not declared in this scope 418 | return ((flags&big_endian)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:227:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 227 | virtual uintb read(const string &s,int4 &size) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::hasNearPointers() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:449:12: error: ‘flags’ was not declared in this scope 449 | return ((flags&has_nearpointers)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::hasPhysical() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:411:12: error: ‘flags’ was not declared in this scope 411 | return ((flags & hasphysical) !=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In constructor ‘SeqNum::SeqNum(const Address&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:120:46: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 120 | SeqNum(const Address &a,uintm b) : pc(a) { uniq = b; } | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:251:13: error: variable or field ‘setFlags’ declared void 251 | inline void AddrSpace::setFlags(uint4 fl) { | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:464:51: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 464 | inline const VarnodeData &AddrSpace::getSpacebase(int4 i) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:472:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 472 | inline const VarnodeData &AddrSpace::getSpacebaseFull(int4 i) const { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:472:27: error: ‘const VarnodeData& AddrSpace::getSpacebaseFull’ is not a static data member of ‘class AddrSpace’ 472 | inline const VarnodeData &AddrSpace::getSpacebaseFull(int4 i) const { | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:456:8: error: ‘int4’ does not name a type; did you mean ‘int’? 456 | inline int4 AddrSpace::numSpacebase(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:464:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 464 | inline const VarnodeData &AddrSpace::getSpacebase(int4 i) const { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:464:27: error: ‘const VarnodeData& AddrSpace::getSpacebase’ is not a static data member of ‘class AddrSpace’ 464 | inline const VarnodeData &AddrSpace::getSpacebase(int4 i) const { | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isBigEndian() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:418:12: error: ‘flags’ was not declared in this scope 418 | return ((flags&big_endian)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:464:51: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 464 | inline const VarnodeData &AddrSpace::getSpacebase(int4 i) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isHeritaged() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:395:12: error: ‘flags’ was not declared in this scope 395 | return ((flags & heritaged)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:472:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 472 | inline const VarnodeData &AddrSpace::getSpacebaseFull(int4 i) const { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:251:33: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 251 | inline void AddrSpace::setFlags(uint4 fl) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:472:27: error: ‘const VarnodeData& AddrSpace::getSpacebaseFull’ is not a static data member of ‘class AddrSpace’ 472 | inline const VarnodeData &AddrSpace::getSpacebaseFull(int4 i) const { | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::hasPhysical() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:411:12: error: ‘flags’ was not declared in this scope 411 | return ((flags & hasphysical) !=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::hasPhysical() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:411:12: error: ‘flags’ was not declared in this scope 411 | return ((flags & hasphysical) !=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:257:13: error: variable or field ‘clearFlags’ declared void 257 | inline void AddrSpace::clearFlags(uint4 fl) { | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isTruncated() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:445:12: error: ‘flags’ was not declared in this scope 445 | return ((flags&truncated)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:472:55: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 472 | inline const VarnodeData &AddrSpace::getSpacebaseFull(int4 i) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isReverseJustified() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:427:12: error: ‘flags’ was not declared in this scope 427 | return ((flags&reverse_justification)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In copy constructor ‘SeqNum::SeqNum(const SeqNum&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:123:44: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 123 | SeqNum(const SeqNum &op2) : pc(op2.pc) { uniq = op2.uniq; } | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:123:55: error: ‘const class SeqNum’ has no member named ‘uniq’ 123 | SeqNum(const SeqNum &op2) : pc(op2.pc) { uniq = op2.uniq; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:257:35: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 257 | inline void AddrSpace::clearFlags(uint4 fl) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isBigEndian() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:418:12: error: ‘flags’ was not declared in this scope 418 | return ((flags&big_endian)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:464:51: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 464 | inline const VarnodeData &AddrSpace::getSpacebase(int4 i) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:496:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 496 | inline uintb AddrSpace::addressToByte(uintb val,uint4 ws) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:472:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 472 | inline const VarnodeData &AddrSpace::getSpacebaseFull(int4 i) const { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:472:27: error: ‘const VarnodeData& AddrSpace::getSpacebaseFull’ is not a static data member of ‘class AddrSpace’ 472 | inline const VarnodeData &AddrSpace::getSpacebaseFull(int4 i) const { | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:472:55: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 472 | inline const VarnodeData &AddrSpace::getSpacebaseFull(int4 i) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:505:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 505 | inline uintb AddrSpace::byteToAddress(uintb val,uint4 ws) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:302:8: error: ‘int4’ does not name a type; did you mean ‘int’? 302 | inline int4 AddrSpace::getDelay(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::doesDeadcode() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:403:12: error: ‘flags’ was not declared in this scope 403 | return ((flags & does_deadcode)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:514:8: error: ‘int4’ does not name a type; did you mean ‘int’? 514 | inline int4 AddrSpace::addressToByteInt(int4 val,uint4 ws) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isReverseJustified() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:427:12: error: ‘flags’ was not declared in this scope 427 | return ((flags&reverse_justification)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:312:8: error: ‘int4’ does not name a type; did you mean ‘int’? 312 | inline int4 AddrSpace::getDeadcodeDelay(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isBigEndian() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:418:12: error: ‘flags’ was not declared in this scope 418 | return ((flags&big_endian)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:496:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 496 | inline uintb AddrSpace::addressToByte(uintb val,uint4 ws) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:523:8: error: ‘int4’ does not name a type; did you mean ‘int’? 523 | inline int4 AddrSpace::byteToAddressInt(int4 val,uint4 ws) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isBigEndian() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:418:12: error: ‘flags’ was not declared in this scope 418 | return ((flags&big_endian)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In static member function ‘static bool AddrSpace::compareByIndex(const AddrSpace*, const AddrSpace*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:532:14: error: ‘const class AddrSpace’ has no member named ‘index’ 532 | return (a->index < b->index); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:319:8: error: ‘int4’ does not name a type; did you mean ‘int’? 319 | inline int4 AddrSpace::getIndex(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:532:25: error: ‘const class AddrSpace’ has no member named ‘index’ 532 | return (a->index < b->index); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:505:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 505 | inline uintb AddrSpace::byteToAddress(uintb val,uint4 ws) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::hasNearPointers() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:449:12: error: ‘flags’ was not declared in this scope 449 | return ((flags&has_nearpointers)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:327:8: error: ‘uint4’ does not name a type; did you mean ‘uint’? 327 | inline uint4 AddrSpace::getWordSize(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:514:8: error: ‘int4’ does not name a type; did you mean ‘int’? 514 | inline int4 AddrSpace::addressToByteInt(int4 val,uint4 ws) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isOverlay() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:431:12: error: ‘flags’ was not declared in this scope 431 | return ((flags&overlay)!=0); | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:49:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 49 | uintb offset; ///< Offset (in bytes) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:472:55: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 472 | inline const VarnodeData &AddrSpace::getSpacebaseFull(int4 i) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘void SeqNum::setOrder(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:135:30: error: ‘order’ was not declared in this scope; did you mean ‘ord’? 135 | void setOrder(uintm ord) { order = ord; } | ^~~~~ | ord /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:456:8: error: ‘int4’ does not name a type; did you mean ‘int’? 456 | inline int4 AddrSpace::numSpacebase(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:58:25: error: ‘uintb’ has not been declared 58 | Address(AddrSpace *id,uintb off); ///< Construct an address with a space/offset pair | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:464:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 464 | inline const VarnodeData &AddrSpace::getSpacebase(int4 i) const { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:523:8: error: ‘int4’ does not name a type; did you mean ‘int’? 523 | inline int4 AddrSpace::byteToAddressInt(int4 val,uint4 ws) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:335:8: error: ‘uint4’ does not name a type; did you mean ‘uint’? 335 | inline uint4 AddrSpace::getAddrSize(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isReverseJustified() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:427:12: error: ‘flags’ was not declared in this scope 427 | return ((flags&reverse_justification)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:464:27: error: ‘const VarnodeData& AddrSpace::getSpacebase’ is not a static data member of ‘class AddrSpace’ 464 | inline const VarnodeData &AddrSpace::getSpacebase(int4 i) const { | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In static member function ‘static bool AddrSpace::compareByIndex(const AddrSpace*, const AddrSpace*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:532:14: error: ‘const class AddrSpace’ has no member named ‘index’ 532 | return (a->index < b->index); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:532:25: error: ‘const class AddrSpace’ has no member named ‘index’ 532 | return (a->index < b->index); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:341:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 341 | inline uintb AddrSpace::getHighest(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:62:3: error: ‘int4’ does not name a type; did you mean ‘int’? 62 | int4 getAddrSize(void) const; ///< Get the number of bytes in the address | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:496:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 496 | inline uintb AddrSpace::addressToByte(uintb val,uint4 ws) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:348:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 348 | inline uintb AddrSpace::getPointerLowerBound(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::hasPhysical() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:411:12: error: ‘flags’ was not declared in this scope 411 | return ((flags & hasphysical) !=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:65:3: error: ‘int4’ does not name a type; did you mean ‘int’? 65 | int4 read(const string &s); ///< Read in the address from a string | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isOverlay() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:431:12: error: ‘flags’ was not declared in this scope 431 | return ((flags&overlay)!=0); | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh:19, from src/decompile/cpp/pcodeparse.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:49:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 49 | uintb offset; ///< Offset (in bytes) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:58:25: error: ‘uintb’ has not been declared 58 | Address(AddrSpace *id,uintb off); ///< Construct an address with a space/offset pair | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:355:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 355 | inline uintb AddrSpace::getPointerUpperBound(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isReverseJustified() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:427:12: error: ‘flags’ was not declared in this scope 427 | return ((flags&reverse_justification)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:505:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 505 | inline uintb AddrSpace::byteToAddress(uintb val,uint4 ws) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:67:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 67 | uintb getOffset(void) const; ///< Get the address offset | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:361:8: error: ‘int4’ does not name a type; did you mean ‘int’? 361 | inline int4 AddrSpace::getMinimumPtrSize(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isReverseJustified() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:427:12: error: ‘flags’ was not declared in this scope 427 | return ((flags&reverse_justification)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:75:21: error: ‘int4’ has not been declared 75 | Address operator+(int4 off) const; ///< Increment address by a number of bytes | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:62:3: error: ‘int4’ does not name a type; did you mean ‘int’? 62 | int4 getAddrSize(void) const; ///< Get the number of bytes in the address | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:76:21: error: ‘int4’ has not been declared 76 | Address operator-(int4 off) const; ///< Decrement address by a number of bytes | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:78:20: error: ‘int4’ has not been declared 78 | bool containedBy(int4 sz,const Address &op2,int4 sz2) const; ///< Determine if \e op2 range contains \b this range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:514:8: error: ‘int4’ does not name a type; did you mean ‘int’? 514 | inline int4 AddrSpace::addressToByteInt(int4 val,uint4 ws) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:78:47: error: ‘int4’ has not been declared 78 | bool containedBy(int4 sz,const Address &op2,int4 sz2) const; ///< Determine if \e op2 range contains \b this range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:370:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 370 | inline uintb AddrSpace::wrapOffset(uintb off) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:464:51: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 464 | inline const VarnodeData &AddrSpace::getSpacebase(int4 i) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool SeqNum::operator==(const SeqNum&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:138:54: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 138 | bool operator==(const SeqNum &op2) const { return (uniq == op2.uniq); } | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:472:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 472 | inline const VarnodeData &AddrSpace::getSpacebaseFull(int4 i) const { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:472:27: error: ‘const VarnodeData& AddrSpace::getSpacebaseFull’ is not a static data member of ‘class AddrSpace’ 472 | inline const VarnodeData &AddrSpace::getSpacebaseFull(int4 i) const { | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:138:66: error: ‘const class SeqNum’ has no member named ‘uniq’ 138 | bool operator==(const SeqNum &op2) const { return (uniq == op2.uniq); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:65:3: error: ‘int4’ does not name a type; did you mean ‘int’? 65 | int4 read(const string &s); ///< Read in the address from a string | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isOverlayBase() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:435:12: error: ‘flags’ was not declared in this scope 435 | return ((flags&overlaybase)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:523:8: error: ‘int4’ does not name a type; did you mean ‘int’? 523 | inline int4 AddrSpace::byteToAddressInt(int4 val,uint4 ws) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:79:3: error: ‘int4’ does not name a type; did you mean ‘int’? 79 | int4 justifiedContain(int4 sz,const Address &op2,int4 sz2,bool forceleft) const; ///< Determine if \e op2 is the least significant part of \e this. | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In static member function ‘static bool AddrSpace::compareByIndex(const AddrSpace*, const AddrSpace*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:532:14: error: ‘const class AddrSpace’ has no member named ‘index’ 532 | return (a->index < b->index); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:532:25: error: ‘const class AddrSpace’ has no member named ‘index’ 532 | return (a->index < b->index); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isOverlay() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:431:12: error: ‘flags’ was not declared in this scope 431 | return ((flags&overlay)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:67:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 67 | uintb getOffset(void) const; ///< Get the address offset | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:80:3: error: ‘int4’ does not name a type; did you mean ‘int’? 80 | int4 overlap(int4 skip,const Address &op,int4 size) const; ///< Determine how two address ranges overlap | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:81:21: error: ‘int4’ has not been declared 81 | bool isContiguous(int4 sz,const Address &loaddr,int4 losz) const; ///< Does \e this form a contigous range with \e loaddr | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:81:51: error: ‘int4’ has not been declared 81 | bool isContiguous(int4 sz,const Address &loaddr,int4 losz) const; ///< Does \e this form a contigous range with \e loaddr | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:83:20: error: ‘int4’ has not been declared 83 | void renormalize(int4 size); ///< Make sure there is a backing JoinRecord if \b this is in the \e join space | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:75:21: error: ‘int4’ has not been declared 75 | Address operator+(int4 off) const; ///< Increment address by a number of bytes | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:86:27: error: ‘int4’ has not been declared 86 | void saveXml(ostream &s,int4 size) const; ///< Save this and a size to a stream as an XML tag | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:76:21: error: ‘int4’ has not been declared 76 | Address operator-(int4 off) const; ///< Decrement address by a number of bytes | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:92:78: error: ‘int4’ has not been declared 92 | static Address restoreXml(const Element *el,const AddrSpaceManager *manage,int4 &size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:78:20: error: ‘int4’ has not been declared 78 | bool containedBy(int4 sz,const Address &op2,int4 sz2) const; ///< Determine if \e op2 range contains \b this range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:78:47: error: ‘int4’ has not been declared 78 | bool containedBy(int4 sz,const Address &op2,int4 sz2) const; ///< Determine if \e op2 range contains \b this range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isBigEndian() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:418:12: error: ‘flags’ was not declared in this scope 418 | return ((flags&big_endian)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isOverlayBase() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:435:12: error: ‘flags’ was not declared in this scope 435 | return ((flags&overlaybase)!=0); | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:49:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 49 | uintb offset; ///< Offset (in bytes) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:58:25: error: ‘uintb’ has not been declared 58 | Address(AddrSpace *id,uintb off); ///< Construct an address with a space/offset pair | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:113:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 113 | uintm uniq; ///< Number to guarantee uniqueness | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:79:3: error: ‘int4’ does not name a type; did you mean ‘int’? 79 | int4 justifiedContain(int4 sz,const Address &op2,int4 sz2,bool forceleft) const; ///< Determine if \e op2 is the least significant part of \e this. | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isOverlay() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:431:12: error: ‘flags’ was not declared in this scope 431 | return ((flags&overlay)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:472:55: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 472 | inline const VarnodeData &AddrSpace::getSpacebaseFull(int4 i) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:114:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 114 | uintm order; ///< Number for order comparisons within a block | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isOverlay() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:431:12: error: ‘flags’ was not declared in this scope 431 | return ((flags&overlay)!=0); | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh:19, from src/decompile/cpp/pcodeparse.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:80:3: error: ‘int4’ does not name a type; did you mean ‘int’? 80 | int4 overlap(int4 skip,const Address &op,int4 size) const; ///< Determine how two address ranges overlap | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:81:21: error: ‘int4’ has not been declared 81 | bool isContiguous(int4 sz,const Address &loaddr,int4 losz) const; ///< Does \e this form a contigous range with \e loaddr | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:120:27: error: ‘uintm’ has not been declared 120 | SeqNum(const Address &a,uintm b) : pc(a) { uniq = b; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:81:51: error: ‘int4’ has not been declared 81 | bool isContiguous(int4 sz,const Address &loaddr,int4 losz) const; ///< Does \e this form a contigous range with \e loaddr | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool SeqNum::operator!=(const SeqNum&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:141:54: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 141 | bool operator!=(const SeqNum &op2) const { return (uniq != op2.uniq); } | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:83:20: error: ‘int4’ has not been declared 83 | void renormalize(int4 size); ///< Make sure there is a backing JoinRecord if \b this is in the \e join space | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:141:66: error: ‘const class SeqNum’ has no member named ‘uniq’ 141 | bool operator!=(const SeqNum &op2) const { return (uniq != op2.uniq); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:62:3: error: ‘int4’ does not name a type; did you mean ‘int’? 62 | int4 getAddrSize(void) const; ///< Get the number of bytes in the address | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:86:27: error: ‘int4’ has not been declared 86 | void saveXml(ostream &s,int4 size) const; ///< Save this and a size to a stream as an XML tag | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isHeritaged() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:395:12: error: ‘flags’ was not declared in this scope 395 | return ((flags & heritaged)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:92:78: error: ‘int4’ has not been declared 92 | static Address restoreXml(const Element *el,const AddrSpaceManager *manage,int4 &size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:496:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 496 | inline uintb AddrSpace::addressToByte(uintb val,uint4 ws) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:129:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 129 | uintm getTime(void) const { return uniq; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:505:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 505 | inline uintb AddrSpace::byteToAddress(uintb val,uint4 ws) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isOtherSpace() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:439:12: error: ‘flags’ was not declared in this scope 439 | return ((flags&is_otherspace)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:65:3: error: ‘int4’ does not name a type; did you mean ‘int’? 65 | int4 read(const string &s); ///< Read in the address from a string | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:132:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 132 | uintm getOrder(void) const { return order; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:113:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 113 | uintm uniq; ///< Number to guarantee uniqueness | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:135:17: error: ‘uintm’ has not been declared 135 | void setOrder(uintm ord) { order = ord; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:514:8: error: ‘int4’ does not name a type; did you mean ‘int’? 514 | inline int4 AddrSpace::addressToByteInt(int4 val,uint4 ws) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isOverlayBase() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:435:12: error: ‘flags’ was not declared in this scope 435 | return ((flags&overlaybase)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:523:8: error: ‘int4’ does not name a type; did you mean ‘int’? 523 | inline int4 AddrSpace::byteToAddressInt(int4 val,uint4 ws) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isReverseJustified() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:427:12: error: ‘flags’ was not declared in this scope 427 | return ((flags&reverse_justification)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:67:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 67 | uintb getOffset(void) const; ///< Get the address offset | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In static member function ‘static bool AddrSpace::compareByIndex(const AddrSpace*, const AddrSpace*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:532:14: error: ‘const class AddrSpace’ has no member named ‘index’ 532 | return (a->index < b->index); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:114:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 114 | uintm order; ///< Number for order comparisons within a block | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:532:25: error: ‘const class AddrSpace’ has no member named ‘index’ 532 | return (a->index < b->index); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isOtherSpace() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:439:12: error: ‘flags’ was not declared in this scope 439 | return ((flags&is_otherspace)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:120:27: error: ‘uintm’ has not been declared 120 | SeqNum(const Address &a,uintm b) : pc(a) { uniq = b; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:75:21: error: ‘int4’ has not been declared 75 | Address operator+(int4 off) const; ///< Increment address by a number of bytes | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:76:21: error: ‘int4’ has not been declared 76 | Address operator-(int4 off) const; ///< Decrement address by a number of bytes | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:78:20: error: ‘int4’ has not been declared 78 | bool containedBy(int4 sz,const Address &op2,int4 sz2) const; ///< Determine if \e op2 range contains \b this range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:78:47: error: ‘int4’ has not been declared 78 | bool containedBy(int4 sz,const Address &op2,int4 sz2) const; ///< Determine if \e op2 range contains \b this range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isOverlayBase() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:435:12: error: ‘flags’ was not declared in this scope 435 | return ((flags&overlaybase)!=0); | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:49:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 49 | uintb offset; ///< Offset (in bytes) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:58:25: error: ‘uintb’ has not been declared 58 | Address(AddrSpace *id,uintb off); ///< Construct an address with a space/offset pair | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:129:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 129 | uintm getTime(void) const { return uniq; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isOverlayBase() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:435:12: error: ‘flags’ was not declared in this scope 435 | return ((flags&overlaybase)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:79:3: error: ‘int4’ does not name a type; did you mean ‘int’? 79 | int4 justifiedContain(int4 sz,const Address &op2,int4 sz2,bool forceleft) const; ///< Determine if \e op2 is the least significant part of \e this. | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool SeqNum::operator<(const SeqNum&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:146:15: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 146 | return (uniq < op2.uniq); | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::doesDeadcode() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:403:12: error: ‘flags’ was not declared in this scope 403 | return ((flags & does_deadcode)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:146:26: error: ‘const class SeqNum’ has no member named ‘uniq’ 146 | return (uniq < op2.uniq); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:62:3: error: ‘int4’ does not name a type; did you mean ‘int’? 62 | int4 getAddrSize(void) const; ///< Get the number of bytes in the address | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:132:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 132 | uintm getOrder(void) const { return order; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:135:17: error: ‘uintm’ has not been declared 135 | void setOrder(uintm ord) { order = ord; } | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:80:3: error: ‘int4’ does not name a type; did you mean ‘int’? 80 | int4 overlap(int4 skip,const Address &op,int4 size) const; ///< Determine how two address ranges overlap | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:81:21: error: ‘int4’ has not been declared 81 | bool isContiguous(int4 sz,const Address &loaddr,int4 losz) const; ///< Does \e this form a contigous range with \e loaddr | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:65:3: error: ‘int4’ does not name a type; did you mean ‘int’? 65 | int4 read(const string &s); ///< Read in the address from a string | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:81:51: error: ‘int4’ has not been declared 81 | bool isContiguous(int4 sz,const Address &loaddr,int4 losz) const; ///< Does \e this form a contigous range with \e loaddr | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isTruncated() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:445:12: error: ‘flags’ was not declared in this scope 445 | return ((flags&truncated)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:83:20: error: ‘int4’ has not been declared 83 | void renormalize(int4 size); ///< Make sure there is a backing JoinRecord if \b this is in the \e join space | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In constructor ‘SeqNum::SeqNum(const Address&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:120:46: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 120 | SeqNum(const Address &a,uintm b) : pc(a) { uniq = b; } | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:86:27: error: ‘int4’ has not been declared 86 | void saveXml(ostream &s,int4 size) const; ///< Save this and a size to a stream as an XML tag | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:92:78: error: ‘int4’ has not been declared 92 | static Address restoreXml(const Element *el,const AddrSpaceManager *manage,int4 &size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isOtherSpace() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:439:12: error: ‘flags’ was not declared in this scope 439 | return ((flags&is_otherspace)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:164:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 164 | uintb first; ///< Offset of first byte in \b this Range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:67:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 67 | uintb getOffset(void) const; ///< Get the address offset | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isOverlay() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:431:12: error: ‘flags’ was not declared in this scope 431 | return ((flags&overlay)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:75:21: error: ‘int4’ has not been declared 75 | Address operator+(int4 off) const; ///< Increment address by a number of bytes | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:76:21: error: ‘int4’ has not been declared 76 | Address operator-(int4 off) const; ///< Decrement address by a number of bytes | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isTruncated() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:445:12: error: ‘flags’ was not declared in this scope 445 | return ((flags&truncated)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:78:20: error: ‘int4’ has not been declared 78 | bool containedBy(int4 sz,const Address &op2,int4 sz2) const; ///< Determine if \e op2 range contains \b this range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:78:47: error: ‘int4’ has not been declared 78 | bool containedBy(int4 sz,const Address &op2,int4 sz2) const; ///< Determine if \e op2 range contains \b this range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isOtherSpace() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:439:12: error: ‘flags’ was not declared in this scope 439 | return ((flags&is_otherspace)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:165:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 165 | uintb last; ///< Offset of last byte in \b this Range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:113:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 113 | uintm uniq; ///< Number to guarantee uniqueness | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:173:22: error: ‘uintb’ has not been declared 173 | Range(AddrSpace *s,uintb f,uintb l) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:79:3: error: ‘int4’ does not name a type; did you mean ‘int’? 79 | int4 justifiedContain(int4 sz,const Address &op2,int4 sz2,bool forceleft) const; ///< Determine if \e op2 is the least significant part of \e this. | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:173:30: error: ‘uintb’ has not been declared 173 | Range(AddrSpace *s,uintb f,uintb l) { | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:80:3: error: ‘int4’ does not name a type; did you mean ‘int’? 80 | int4 overlap(int4 skip,const Address &op,int4 size) const; ///< Determine how two address ranges overlap | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:81:21: error: ‘int4’ has not been declared 81 | bool isContiguous(int4 sz,const Address &loaddr,int4 losz) const; ///< Does \e this form a contigous range with \e loaddr | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:81:51: error: ‘int4’ has not been declared 81 | bool isContiguous(int4 sz,const Address &loaddr,int4 losz) const; ///< Does \e this form a contigous range with \e loaddr | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isOtherSpace() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:439:12: error: ‘flags’ was not declared in this scope 439 | return ((flags&is_otherspace)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:83:20: error: ‘int4’ has not been declared 83 | void renormalize(int4 size); ///< Make sure there is a backing JoinRecord if \b this is in the \e join space | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:86:27: error: ‘int4’ has not been declared 86 | void saveXml(ostream &s,int4 size) const; ///< Save this and a size to a stream as an XML tag | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::hasPhysical() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:411:12: error: ‘flags’ was not declared in this scope 411 | return ((flags & hasphysical) !=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:114:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 114 | uintm order; ///< Number for order comparisons within a block | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:92:78: error: ‘int4’ has not been declared 92 | static Address restoreXml(const Element *el,const AddrSpaceManager *manage,int4 &size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:177:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 177 | uintb getFirst(void) const { return first; } ///< Get the offset of the first byte in \b this Range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:120:27: error: ‘uintm’ has not been declared 120 | SeqNum(const Address &a,uintm b) : pc(a) { uniq = b; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In copy constructor ‘SeqNum::SeqNum(const SeqNum&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:123:44: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 123 | SeqNum(const SeqNum &op2) : pc(op2.pc) { uniq = op2.uniq; } | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:123:55: error: ‘const class SeqNum’ has no member named ‘uniq’ 123 | SeqNum(const SeqNum &op2) : pc(op2.pc) { uniq = op2.uniq; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In constructor ‘SeqNum::SeqNum(const Address&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:120:46: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 120 | SeqNum(const Address &a,uintm b) : pc(a) { uniq = b; } | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:113:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 113 | uintm uniq; ///< Number to guarantee uniqueness | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:178:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 178 | uintb getLast(void) const { return last; } ///< Get the offset of the last byte in \b this Range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:129:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 129 | uintm getTime(void) const { return uniq; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::hasNearPointers() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:449:12: error: ‘flags’ was not declared in this scope 449 | return ((flags&has_nearpointers)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isOverlayBase() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:435:12: error: ‘flags’ was not declared in this scope 435 | return ((flags&overlaybase)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:114:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 114 | uintm order; ///< Number for order comparisons within a block | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:120:27: error: ‘uintm’ has not been declared 120 | SeqNum(const Address &a,uintm b) : pc(a) { uniq = b; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::hasNearPointers() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:449:12: error: ‘flags’ was not declared in this scope 449 | return ((flags&has_nearpointers)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isTruncated() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:445:12: error: ‘flags’ was not declared in this scope 445 | return ((flags&truncated)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:132:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 132 | uintm getOrder(void) const { return order; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:135:17: error: ‘uintm’ has not been declared 135 | void setOrder(uintm ord) { order = ord; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isTruncated() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:445:12: error: ‘flags’ was not declared in this scope 445 | return ((flags&truncated)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:456:8: error: ‘int4’ does not name a type; did you mean ‘int’? 456 | inline int4 AddrSpace::numSpacebase(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:456:8: error: ‘int4’ does not name a type; did you mean ‘int’? 456 | inline int4 AddrSpace::numSpacebase(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:129:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 129 | uintm getTime(void) const { return uniq; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:464:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 464 | inline const VarnodeData &AddrSpace::getSpacebase(int4 i) const { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:464:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 464 | inline const VarnodeData &AddrSpace::getSpacebase(int4 i) const { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:464:27: error: ‘const VarnodeData& AddrSpace::getSpacebase’ is not a static data member of ‘class AddrSpace’ 464 | inline const VarnodeData &AddrSpace::getSpacebase(int4 i) const { | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:464:27: error: ‘const VarnodeData& AddrSpace::getSpacebase’ is not a static data member of ‘class AddrSpace’ 464 | inline const VarnodeData &AddrSpace::getSpacebase(int4 i) const { | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:132:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 132 | uintm getOrder(void) const { return order; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:135:17: error: ‘uintm’ has not been declared 135 | void setOrder(uintm ord) { order = ord; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isTruncated() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:445:12: error: ‘flags’ was not declared in this scope 445 | return ((flags&truncated)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isBigEndian() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:418:12: error: ‘flags’ was not declared in this scope 418 | return ((flags&big_endian)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘void SeqNum::setOrder(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:135:30: error: ‘order’ was not declared in this scope; did you mean ‘ord’? 135 | void setOrder(uintm ord) { order = ord; } | ^~~~~ | ord /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In copy constructor ‘SeqNum::SeqNum(const SeqNum&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:123:44: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 123 | SeqNum(const SeqNum &op2) : pc(op2.pc) { uniq = op2.uniq; } | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:123:55: error: ‘const class SeqNum’ has no member named ‘uniq’ 123 | SeqNum(const SeqNum &op2) : pc(op2.pc) { uniq = op2.uniq; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isOtherSpace() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:439:12: error: ‘flags’ was not declared in this scope 439 | return ((flags&is_otherspace)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In constructor ‘Range::Range(AddrSpace*, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:174:14: error: ‘first’ was not declared in this scope 174 | spc = s; first = f; last = l; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:464:51: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 464 | inline const VarnodeData &AddrSpace::getSpacebase(int4 i) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:472:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 472 | inline const VarnodeData &AddrSpace::getSpacebaseFull(int4 i) const { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:472:27: error: ‘const VarnodeData& AddrSpace::getSpacebaseFull’ is not a static data member of ‘class AddrSpace’ 472 | inline const VarnodeData &AddrSpace::getSpacebaseFull(int4 i) const { | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::hasNearPointers() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:449:12: error: ‘flags’ was not declared in this scope 449 | return ((flags&has_nearpointers)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:464:51: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 464 | inline const VarnodeData &AddrSpace::getSpacebase(int4 i) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::hasNearPointers() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:449:12: error: ‘flags’ was not declared in this scope 449 | return ((flags&has_nearpointers)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:472:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 472 | inline const VarnodeData &AddrSpace::getSpacebaseFull(int4 i) const { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:472:27: error: ‘const VarnodeData& AddrSpace::getSpacebaseFull’ is not a static data member of ‘class AddrSpace’ 472 | inline const VarnodeData &AddrSpace::getSpacebaseFull(int4 i) const { | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In constructor ‘SeqNum::SeqNum(const Address&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:120:46: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 120 | SeqNum(const Address &a,uintm b) : pc(a) { uniq = b; } | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:456:8: error: ‘int4’ does not name a type; did you mean ‘int’? 456 | inline int4 AddrSpace::numSpacebase(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:464:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 464 | inline const VarnodeData &AddrSpace::getSpacebase(int4 i) const { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In constructor ‘SeqNum::SeqNum(const Address&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:120:46: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 120 | SeqNum(const Address &a,uintm b) : pc(a) { uniq = b; } | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:464:27: error: ‘const VarnodeData& AddrSpace::getSpacebase’ is not a static data member of ‘class AddrSpace’ 464 | inline const VarnodeData &AddrSpace::getSpacebase(int4 i) const { | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:456:8: error: ‘int4’ does not name a type; did you mean ‘int’? 456 | inline int4 AddrSpace::numSpacebase(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isReverseJustified() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:427:12: error: ‘flags’ was not declared in this scope 427 | return ((flags&reverse_justification)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:464:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 464 | inline const VarnodeData &AddrSpace::getSpacebase(int4 i) const { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::hasNearPointers() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:449:12: error: ‘flags’ was not declared in this scope 449 | return ((flags&has_nearpointers)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool SeqNum::operator==(const SeqNum&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:138:54: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 138 | bool operator==(const SeqNum &op2) const { return (uniq == op2.uniq); } | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:464:27: error: ‘const VarnodeData& AddrSpace::getSpacebase’ is not a static data member of ‘class AddrSpace’ 464 | inline const VarnodeData &AddrSpace::getSpacebase(int4 i) const { | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:138:66: error: ‘const class SeqNum’ has no member named ‘uniq’ 138 | bool operator==(const SeqNum &op2) const { return (uniq == op2.uniq); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:456:8: error: ‘int4’ does not name a type; did you mean ‘int’? 456 | inline int4 AddrSpace::numSpacebase(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:174:25: error: ‘last’ was not declared in this scope 174 | spc = s; first = f; last = l; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:472:55: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 472 | inline const VarnodeData &AddrSpace::getSpacebaseFull(int4 i) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:464:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 464 | inline const VarnodeData &AddrSpace::getSpacebase(int4 i) const { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isTruncated() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:445:12: error: ‘flags’ was not declared in this scope 445 | return ((flags&truncated)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘void SeqNum::setOrder(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:135:30: error: ‘order’ was not declared in this scope; did you mean ‘ord’? 135 | void setOrder(uintm ord) { order = ord; } | ^~~~~ | ord /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:464:27: error: ‘const VarnodeData& AddrSpace::getSpacebase’ is not a static data member of ‘class AddrSpace’ 464 | inline const VarnodeData &AddrSpace::getSpacebase(int4 i) const { | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:472:55: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 472 | inline const VarnodeData &AddrSpace::getSpacebaseFull(int4 i) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:496:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 496 | inline uintb AddrSpace::addressToByte(uintb val,uint4 ws) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:464:51: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 464 | inline const VarnodeData &AddrSpace::getSpacebase(int4 i) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:472:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 472 | inline const VarnodeData &AddrSpace::getSpacebaseFull(int4 i) const { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:472:27: error: ‘const VarnodeData& AddrSpace::getSpacebaseFull’ is not a static data member of ‘class AddrSpace’ 472 | inline const VarnodeData &AddrSpace::getSpacebaseFull(int4 i) const { | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:505:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 505 | inline uintb AddrSpace::byteToAddress(uintb val,uint4 ws) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In copy constructor ‘SeqNum::SeqNum(const SeqNum&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:123:44: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 123 | SeqNum(const SeqNum &op2) : pc(op2.pc) { uniq = op2.uniq; } | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:123:55: error: ‘const class SeqNum’ has no member named ‘uniq’ 123 | SeqNum(const SeqNum &op2) : pc(op2.pc) { uniq = op2.uniq; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:514:8: error: ‘int4’ does not name a type; did you mean ‘int’? 514 | inline int4 AddrSpace::addressToByteInt(int4 val,uint4 ws) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In copy constructor ‘SeqNum::SeqNum(const SeqNum&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:123:44: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 123 | SeqNum(const SeqNum &op2) : pc(op2.pc) { uniq = op2.uniq; } | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:496:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 496 | inline uintb AddrSpace::addressToByte(uintb val,uint4 ws) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:123:55: error: ‘const class SeqNum’ has no member named ‘uniq’ 123 | SeqNum(const SeqNum &op2) : pc(op2.pc) { uniq = op2.uniq; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool SeqNum::operator!=(const SeqNum&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:141:54: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 141 | bool operator!=(const SeqNum &op2) const { return (uniq != op2.uniq); } | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:141:66: error: ‘const class SeqNum’ has no member named ‘uniq’ 141 | bool operator!=(const SeqNum &op2) const { return (uniq != op2.uniq); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:464:51: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 464 | inline const VarnodeData &AddrSpace::getSpacebase(int4 i) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:523:8: error: ‘int4’ does not name a type; did you mean ‘int’? 523 | inline int4 AddrSpace::byteToAddressInt(int4 val,uint4 ws) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isOverlay() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:431:12: error: ‘flags’ was not declared in this scope 431 | return ((flags&overlay)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:472:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 472 | inline const VarnodeData &AddrSpace::getSpacebaseFull(int4 i) const { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:472:27: error: ‘const VarnodeData& AddrSpace::getSpacebaseFull’ is not a static data member of ‘class AddrSpace’ 472 | inline const VarnodeData &AddrSpace::getSpacebaseFull(int4 i) const { | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In static member function ‘static bool AddrSpace::compareByIndex(const AddrSpace*, const AddrSpace*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:532:14: error: ‘const class AddrSpace’ has no member named ‘index’ 532 | return (a->index < b->index); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:532:25: error: ‘const class AddrSpace’ has no member named ‘index’ 532 | return (a->index < b->index); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:505:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 505 | inline uintb AddrSpace::byteToAddress(uintb val,uint4 ws) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:464:51: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 464 | inline const VarnodeData &AddrSpace::getSpacebase(int4 i) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:472:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 472 | inline const VarnodeData &AddrSpace::getSpacebaseFull(int4 i) const { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:472:27: error: ‘const VarnodeData& AddrSpace::getSpacebaseFull’ is not a static data member of ‘class AddrSpace’ 472 | inline const VarnodeData &AddrSpace::getSpacebaseFull(int4 i) const { | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::hasNearPointers() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:449:12: error: ‘flags’ was not declared in this scope 449 | return ((flags&has_nearpointers)!=0); | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:49:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 49 | uintb offset; ///< Offset (in bytes) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool SeqNum::operator==(const SeqNum&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:138:54: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 138 | bool operator==(const SeqNum &op2) const { return (uniq == op2.uniq); } | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:514:8: error: ‘int4’ does not name a type; did you mean ‘int’? 514 | inline int4 AddrSpace::addressToByteInt(int4 val,uint4 ws) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:138:66: error: ‘const class SeqNum’ has no member named ‘uniq’ 138 | bool operator==(const SeqNum &op2) const { return (uniq == op2.uniq); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:58:25: error: ‘uintb’ has not been declared 58 | Address(AddrSpace *id,uintb off); ///< Construct an address with a space/offset pair | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘Address Range::getFirstAddr() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:179:57: error: ‘first’ was not declared in this scope 179 | Address getFirstAddr(void) const { return Address(spc,first); } ///< Get the address of the first byte | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:472:55: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 472 | inline const VarnodeData &AddrSpace::getSpacebaseFull(int4 i) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:456:8: error: ‘int4’ does not name a type; did you mean ‘int’? 456 | inline int4 AddrSpace::numSpacebase(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:523:8: error: ‘int4’ does not name a type; did you mean ‘int’? 523 | inline int4 AddrSpace::byteToAddressInt(int4 val,uint4 ws) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:464:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 464 | inline const VarnodeData &AddrSpace::getSpacebase(int4 i) const { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:62:3: error: ‘int4’ does not name a type; did you mean ‘int’? 62 | int4 getAddrSize(void) const; ///< Get the number of bytes in the address | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:464:27: error: ‘const VarnodeData& AddrSpace::getSpacebase’ is not a static data member of ‘class AddrSpace’ 464 | inline const VarnodeData &AddrSpace::getSpacebase(int4 i) const { | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In static member function ‘static bool AddrSpace::compareByIndex(const AddrSpace*, const AddrSpace*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:532:14: error: ‘const class AddrSpace’ has no member named ‘index’ 532 | return (a->index < b->index); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:532:25: error: ‘const class AddrSpace’ has no member named ‘index’ 532 | return (a->index < b->index); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:496:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 496 | inline uintb AddrSpace::addressToByte(uintb val,uint4 ws) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘void SeqNum::setOrder(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:135:30: error: ‘order’ was not declared in this scope; did you mean ‘ord’? 135 | void setOrder(uintm ord) { order = ord; } | ^~~~~ | ord /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:65:3: error: ‘int4’ does not name a type; did you mean ‘int’? 65 | int4 read(const string &s); ///< Read in the address from a string | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:472:55: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 472 | inline const VarnodeData &AddrSpace::getSpacebaseFull(int4 i) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:505:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 505 | inline uintb AddrSpace::byteToAddress(uintb val,uint4 ws) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool SeqNum::operator<(const SeqNum&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:146:15: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 146 | return (uniq < op2.uniq); | ^~~~ | unix In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:49:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 49 | uintb offset; ///< Offset (in bytes) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:146:26: error: ‘const class SeqNum’ has no member named ‘uniq’ 146 | return (uniq < op2.uniq); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:67:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 67 | uintb getOffset(void) const; ///< Get the address offset | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:472:55: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 472 | inline const VarnodeData &AddrSpace::getSpacebaseFull(int4 i) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:514:8: error: ‘int4’ does not name a type; did you mean ‘int’? 514 | inline int4 AddrSpace::addressToByteInt(int4 val,uint4 ws) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:58:25: error: ‘uintb’ has not been declared 58 | Address(AddrSpace *id,uintb off); ///< Construct an address with a space/offset pair | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isOverlayBase() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:435:12: error: ‘flags’ was not declared in this scope 435 | return ((flags&overlaybase)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘void SeqNum::setOrder(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:135:30: error: ‘order’ was not declared in this scope; did you mean ‘ord’? 135 | void setOrder(uintm ord) { order = ord; } | ^~~~~ | ord /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:75:21: error: ‘int4’ has not been declared 75 | Address operator+(int4 off) const; ///< Increment address by a number of bytes | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:76:21: error: ‘int4’ has not been declared 76 | Address operator-(int4 off) const; ///< Decrement address by a number of bytes | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:78:20: error: ‘int4’ has not been declared 78 | bool containedBy(int4 sz,const Address &op2,int4 sz2) const; ///< Determine if \e op2 range contains \b this range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:78:47: error: ‘int4’ has not been declared 78 | bool containedBy(int4 sz,const Address &op2,int4 sz2) const; ///< Determine if \e op2 range contains \b this range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:523:8: error: ‘int4’ does not name a type; did you mean ‘int’? 523 | inline int4 AddrSpace::byteToAddressInt(int4 val,uint4 ws) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In static member function ‘static bool AddrSpace::compareByIndex(const AddrSpace*, const AddrSpace*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:532:14: error: ‘const class AddrSpace’ has no member named ‘index’ 532 | return (a->index < b->index); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool SeqNum::operator!=(const SeqNum&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:141:54: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 141 | bool operator!=(const SeqNum &op2) const { return (uniq != op2.uniq); } | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:532:25: error: ‘const class AddrSpace’ has no member named ‘index’ 532 | return (a->index < b->index); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘Address Range::getLastAddr() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:180:56: error: ‘last’ was not declared in this scope 180 | Address getLastAddr(void) const { return Address(spc,last); } ///< Get the address of the last byte | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:141:66: error: ‘const class SeqNum’ has no member named ‘uniq’ 141 | bool operator!=(const SeqNum &op2) const { return (uniq != op2.uniq); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:496:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 496 | inline uintb AddrSpace::addressToByte(uintb val,uint4 ws) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:62:3: error: ‘int4’ does not name a type; did you mean ‘int’? 62 | int4 getAddrSize(void) const; ///< Get the number of bytes in the address | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:464:51: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 464 | inline const VarnodeData &AddrSpace::getSpacebase(int4 i) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:79:3: error: ‘int4’ does not name a type; did you mean ‘int’? 79 | int4 justifiedContain(int4 sz,const Address &op2,int4 sz2,bool forceleft) const; ///< Determine if \e op2 is the least significant part of \e this. | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:164:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 164 | uintb first; ///< Offset of first byte in \b this Range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Range::operator<(const Range&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:190:14: error: ‘class AddrSpace’ has no member named ‘getIndex’ 190 | if (spc->getIndex() != op2.spc->getIndex()) | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:472:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 472 | inline const VarnodeData &AddrSpace::getSpacebaseFull(int4 i) const { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:472:27: error: ‘const VarnodeData& AddrSpace::getSpacebaseFull’ is not a static data member of ‘class AddrSpace’ 472 | inline const VarnodeData &AddrSpace::getSpacebaseFull(int4 i) const { | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:190:37: error: ‘class AddrSpace’ has no member named ‘getIndex’ 190 | if (spc->getIndex() != op2.spc->getIndex()) | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:191:20: error: ‘class AddrSpace’ has no member named ‘getIndex’ 191 | return (spc->getIndex() < op2.spc->getIndex()); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:496:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 496 | inline uintb AddrSpace::addressToByte(uintb val,uint4 ws) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:191:42: error: ‘class AddrSpace’ has no member named ‘getIndex’ 191 | return (spc->getIndex() < op2.spc->getIndex()); | ^~~~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:49:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 49 | uintb offset; ///< Offset (in bytes) | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:80:3: error: ‘int4’ does not name a type; did you mean ‘int’? 80 | int4 overlap(int4 skip,const Address &op,int4 size) const; ///< Determine how two address ranges overlap | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:81:21: error: ‘int4’ has not been declared 81 | bool isContiguous(int4 sz,const Address &loaddr,int4 losz) const; ///< Does \e this form a contigous range with \e loaddr | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:81:51: error: ‘int4’ has not been declared 81 | bool isContiguous(int4 sz,const Address &loaddr,int4 losz) const; ///< Does \e this form a contigous range with \e loaddr | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:58:25: error: ‘uintb’ has not been declared 58 | Address(AddrSpace *id,uintb off); ///< Construct an address with a space/offset pair | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool SeqNum::operator==(const SeqNum&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:138:54: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 138 | bool operator==(const SeqNum &op2) const { return (uniq == op2.uniq); } | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:83:20: error: ‘int4’ has not been declared 83 | void renormalize(int4 size); ///< Make sure there is a backing JoinRecord if \b this is in the \e join space | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:165:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 165 | uintb last; ///< Offset of last byte in \b this Range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:138:66: error: ‘const class SeqNum’ has no member named ‘uniq’ 138 | bool operator==(const SeqNum &op2) const { return (uniq == op2.uniq); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:86:27: error: ‘int4’ has not been declared 86 | void saveXml(ostream &s,int4 size) const; ///< Save this and a size to a stream as an XML tag | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:173:22: error: ‘uintb’ has not been declared 173 | Range(AddrSpace *s,uintb f,uintb l) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:173:30: error: ‘uintb’ has not been declared 173 | Range(AddrSpace *s,uintb f,uintb l) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:65:3: error: ‘int4’ does not name a type; did you mean ‘int’? 65 | int4 read(const string &s); ///< Read in the address from a string | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:92:78: error: ‘int4’ has not been declared 92 | static Address restoreXml(const Element *el,const AddrSpaceManager *manage,int4 &size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:505:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 505 | inline uintb AddrSpace::byteToAddress(uintb val,uint4 ws) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:505:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 505 | inline uintb AddrSpace::byteToAddress(uintb val,uint4 ws) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:62:3: error: ‘int4’ does not name a type; did you mean ‘int’? 62 | int4 getAddrSize(void) const; ///< Get the number of bytes in the address | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:514:8: error: ‘int4’ does not name a type; did you mean ‘int’? 514 | inline int4 AddrSpace::addressToByteInt(int4 val,uint4 ws) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:177:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 177 | uintb getFirst(void) const { return first; } ///< Get the offset of the first byte in \b this Range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:113:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 113 | uintm uniq; ///< Number to guarantee uniqueness | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:67:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 67 | uintb getOffset(void) const; ///< Get the address offset | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:65:3: error: ‘int4’ does not name a type; did you mean ‘int’? 65 | int4 read(const string &s); ///< Read in the address from a string | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:75:21: error: ‘int4’ has not been declared 75 | Address operator+(int4 off) const; ///< Increment address by a number of bytes | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isOtherSpace() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:439:12: error: ‘flags’ was not declared in this scope 439 | return ((flags&is_otherspace)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:76:21: error: ‘int4’ has not been declared 76 | Address operator-(int4 off) const; ///< Decrement address by a number of bytes | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool SeqNum::operator==(const SeqNum&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:138:54: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 138 | bool operator==(const SeqNum &op2) const { return (uniq == op2.uniq); } | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:138:66: error: ‘const class SeqNum’ has no member named ‘uniq’ 138 | bool operator==(const SeqNum &op2) const { return (uniq == op2.uniq); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:78:20: error: ‘int4’ has not been declared 78 | bool containedBy(int4 sz,const Address &op2,int4 sz2) const; ///< Determine if \e op2 range contains \b this range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:78:47: error: ‘int4’ has not been declared 78 | bool containedBy(int4 sz,const Address &op2,int4 sz2) const; ///< Determine if \e op2 range contains \b this range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:523:8: error: ‘int4’ does not name a type; did you mean ‘int’? 523 | inline int4 AddrSpace::byteToAddressInt(int4 val,uint4 ws) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:178:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 178 | uintb getLast(void) const { return last; } ///< Get the offset of the last byte in \b this Range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:514:8: error: ‘int4’ does not name a type; did you mean ‘int’? 514 | inline int4 AddrSpace::addressToByteInt(int4 val,uint4 ws) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:114:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 114 | uintm order; ///< Number for order comparisons within a block | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:472:55: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 472 | inline const VarnodeData &AddrSpace::getSpacebaseFull(int4 i) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:120:27: error: ‘uintm’ has not been declared 120 | SeqNum(const Address &a,uintm b) : pc(a) { uniq = b; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In static member function ‘static bool AddrSpace::compareByIndex(const AddrSpace*, const AddrSpace*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:532:14: error: ‘const class AddrSpace’ has no member named ‘index’ 532 | return (a->index < b->index); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:67:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 67 | uintb getOffset(void) const; ///< Get the address offset | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:532:25: error: ‘const class AddrSpace’ has no member named ‘index’ 532 | return (a->index < b->index); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:75:21: error: ‘int4’ has not been declared 75 | Address operator+(int4 off) const; ///< Increment address by a number of bytes | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:76:21: error: ‘int4’ has not been declared 76 | Address operator-(int4 off) const; ///< Decrement address by a number of bytes | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:78:20: error: ‘int4’ has not been declared 78 | bool containedBy(int4 sz,const Address &op2,int4 sz2) const; ///< Determine if \e op2 range contains \b this range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:79:3: error: ‘int4’ does not name a type; did you mean ‘int’? 79 | int4 justifiedContain(int4 sz,const Address &op2,int4 sz2,bool forceleft) const; ///< Determine if \e op2 is the least significant part of \e this. | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:78:47: error: ‘int4’ has not been declared 78 | bool containedBy(int4 sz,const Address &op2,int4 sz2) const; ///< Determine if \e op2 range contains \b this range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool SeqNum::operator<(const SeqNum&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:146:15: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 146 | return (uniq < op2.uniq); | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:129:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 129 | uintm getTime(void) const { return uniq; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:146:26: error: ‘const class SeqNum’ has no member named ‘uniq’ 146 | return (uniq < op2.uniq); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:496:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 496 | inline uintb AddrSpace::addressToByte(uintb val,uint4 ws) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:523:8: error: ‘int4’ does not name a type; did you mean ‘int’? 523 | inline int4 AddrSpace::byteToAddressInt(int4 val,uint4 ws) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool SeqNum::operator!=(const SeqNum&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:141:54: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 141 | bool operator!=(const SeqNum &op2) const { return (uniq != op2.uniq); } | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:192:13: error: ‘first’ was not declared in this scope 192 | return (first < op2.first); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:141:66: error: ‘const class SeqNum’ has no member named ‘uniq’ 141 | bool operator!=(const SeqNum &op2) const { return (uniq != op2.uniq); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:192:25: error: ‘const class Range’ has no member named ‘first’ 192 | return (first < op2.first); } | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:49:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 49 | uintb offset; ///< Offset (in bytes) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:79:3: error: ‘int4’ does not name a type; did you mean ‘int’? 79 | int4 justifiedContain(int4 sz,const Address &op2,int4 sz2,bool forceleft) const; ///< Determine if \e op2 is the least significant part of \e this. | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In static member function ‘static bool AddrSpace::compareByIndex(const AddrSpace*, const AddrSpace*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:532:14: error: ‘const class AddrSpace’ has no member named ‘index’ 532 | return (a->index < b->index); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:132:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 132 | uintm getOrder(void) const { return order; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:505:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 505 | inline uintb AddrSpace::byteToAddress(uintb val,uint4 ws) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:135:17: error: ‘uintm’ has not been declared 135 | void setOrder(uintm ord) { order = ord; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:532:25: error: ‘const class AddrSpace’ has no member named ‘index’ 532 | return (a->index < b->index); | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:80:3: error: ‘int4’ does not name a type; did you mean ‘int’? 80 | int4 overlap(int4 skip,const Address &op,int4 size) const; ///< Determine how two address ranges overlap | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:58:25: error: ‘uintb’ has not been declared 58 | Address(AddrSpace *id,uintb off); ///< Construct an address with a space/offset pair | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:81:21: error: ‘int4’ has not been declared 81 | bool isContiguous(int4 sz,const Address &loaddr,int4 losz) const; ///< Does \e this form a contigous range with \e loaddr | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:81:51: error: ‘int4’ has not been declared 81 | bool isContiguous(int4 sz,const Address &loaddr,int4 losz) const; ///< Does \e this form a contigous range with \e loaddr | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:83:20: error: ‘int4’ has not been declared 83 | void renormalize(int4 size); ///< Make sure there is a backing JoinRecord if \b this is in the \e join space | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:86:27: error: ‘int4’ has not been declared 86 | void saveXml(ostream &s,int4 size) const; ///< Save this and a size to a stream as an XML tag | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:514:8: error: ‘int4’ does not name a type; did you mean ‘int’? 514 | inline int4 AddrSpace::addressToByteInt(int4 val,uint4 ws) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:92:78: error: ‘int4’ has not been declared 92 | static Address restoreXml(const Element *el,const AddrSpaceManager *manage,int4 &size); | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:80:3: error: ‘int4’ does not name a type; did you mean ‘int’? 80 | int4 overlap(int4 skip,const Address &op,int4 size) const; ///< Determine how two address ranges overlap | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:81:21: error: ‘int4’ has not been declared 81 | bool isContiguous(int4 sz,const Address &loaddr,int4 losz) const; ///< Does \e this form a contigous range with \e loaddr | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:81:51: error: ‘int4’ has not been declared 81 | bool isContiguous(int4 sz,const Address &loaddr,int4 losz) const; ///< Does \e this form a contigous range with \e loaddr | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:83:20: error: ‘int4’ has not been declared 83 | void renormalize(int4 size); ///< Make sure there is a backing JoinRecord if \b this is in the \e join space | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:164:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 164 | uintb first; ///< Offset of first byte in \b this Range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:86:27: error: ‘int4’ has not been declared 86 | void saveXml(ostream &s,int4 size) const; ///< Save this and a size to a stream as an XML tag | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:92:78: error: ‘int4’ has not been declared 92 | static Address restoreXml(const Element *el,const AddrSpaceManager *manage,int4 &size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:523:8: error: ‘int4’ does not name a type; did you mean ‘int’? 523 | inline int4 AddrSpace::byteToAddressInt(int4 val,uint4 ws) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:62:3: error: ‘int4’ does not name a type; did you mean ‘int’? 62 | int4 getAddrSize(void) const; ///< Get the number of bytes in the address | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In static member function ‘static bool AddrSpace::compareByIndex(const AddrSpace*, const AddrSpace*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:532:14: error: ‘const class AddrSpace’ has no member named ‘index’ 532 | return (a->index < b->index); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:532:25: error: ‘const class AddrSpace’ has no member named ‘index’ 532 | return (a->index < b->index); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool SeqNum::operator!=(const SeqNum&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:141:54: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 141 | bool operator!=(const SeqNum &op2) const { return (uniq != op2.uniq); } | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isTruncated() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:445:12: error: ‘flags’ was not declared in this scope 445 | return ((flags&truncated)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:141:66: error: ‘const class SeqNum’ has no member named ‘uniq’ 141 | bool operator!=(const SeqNum &op2) const { return (uniq != op2.uniq); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:113:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 113 | uintm uniq; ///< Number to guarantee uniqueness | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:49:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 49 | uintb offset; ///< Offset (in bytes) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:165:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 165 | uintb last; ///< Offset of last byte in \b this Range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:113:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 113 | uintm uniq; ///< Number to guarantee uniqueness | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In constructor ‘Range::Range(AddrSpace*, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:174:14: error: ‘first’ was not declared in this scope 174 | spc = s; first = f; last = l; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:173:22: error: ‘uintb’ has not been declared 173 | Range(AddrSpace *s,uintb f,uintb l) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:173:30: error: ‘uintb’ has not been declared 173 | Range(AddrSpace *s,uintb f,uintb l) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:58:25: error: ‘uintb’ has not been declared 58 | Address(AddrSpace *id,uintb off); ///< Construct an address with a space/offset pair | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:65:3: error: ‘int4’ does not name a type; did you mean ‘int’? 65 | int4 read(const string &s); ///< Read in the address from a string | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:49:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 49 | uintb offset; ///< Offset (in bytes) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:58:25: error: ‘uintb’ has not been declared 58 | Address(AddrSpace *id,uintb off); ///< Construct an address with a space/offset pair | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:114:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 114 | uintm order; ///< Number for order comparisons within a block | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:120:27: error: ‘uintm’ has not been declared 120 | SeqNum(const Address &a,uintm b) : pc(a) { uniq = b; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:114:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 114 | uintm order; ///< Number for order comparisons within a block | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool SeqNum::operator<(const SeqNum&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:146:15: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 146 | return (uniq < op2.uniq); | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:146:26: error: ‘const class SeqNum’ has no member named ‘uniq’ 146 | return (uniq < op2.uniq); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:120:27: error: ‘uintm’ has not been declared 120 | SeqNum(const Address &a,uintm b) : pc(a) { uniq = b; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:177:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 177 | uintb getFirst(void) const { return first; } ///< Get the offset of the first byte in \b this Range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:62:3: error: ‘int4’ does not name a type; did you mean ‘int’? 62 | int4 getAddrSize(void) const; ///< Get the number of bytes in the address | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:67:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 67 | uintb getOffset(void) const; ///< Get the address offset | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:62:3: error: ‘int4’ does not name a type; did you mean ‘int’? 62 | int4 getAddrSize(void) const; ///< Get the number of bytes in the address | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In constructor ‘SeqNum::SeqNum(const Address&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:120:46: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 120 | SeqNum(const Address &a,uintm b) : pc(a) { uniq = b; } | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:129:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 129 | uintm getTime(void) const { return uniq; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:75:21: error: ‘int4’ has not been declared 75 | Address operator+(int4 off) const; ///< Increment address by a number of bytes | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:76:21: error: ‘int4’ has not been declared 76 | Address operator-(int4 off) const; ///< Decrement address by a number of bytes | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:78:20: error: ‘int4’ has not been declared 78 | bool containedBy(int4 sz,const Address &op2,int4 sz2) const; ///< Determine if \e op2 range contains \b this range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:78:47: error: ‘int4’ has not been declared 78 | bool containedBy(int4 sz,const Address &op2,int4 sz2) const; ///< Determine if \e op2 range contains \b this range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:65:3: error: ‘int4’ does not name a type; did you mean ‘int’? 65 | int4 read(const string &s); ///< Read in the address from a string | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:178:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 178 | uintb getLast(void) const { return last; } ///< Get the offset of the last byte in \b this Range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:129:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 129 | uintm getTime(void) const { return uniq; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:132:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 132 | uintm getOrder(void) const { return order; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:65:3: error: ‘int4’ does not name a type; did you mean ‘int’? 65 | int4 read(const string &s); ///< Read in the address from a string | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:135:17: error: ‘uintm’ has not been declared 135 | void setOrder(uintm ord) { order = ord; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:164:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 164 | uintb first; ///< Offset of first byte in \b this Range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:67:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 67 | uintb getOffset(void) const; ///< Get the address offset | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:174:25: error: ‘last’ was not declared in this scope 174 | spc = s; first = f; last = l; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:79:3: error: ‘int4’ does not name a type; did you mean ‘int’? 79 | int4 justifiedContain(int4 sz,const Address &op2,int4 sz2,bool forceleft) const; ///< Determine if \e op2 is the least significant part of \e this. | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:75:21: error: ‘int4’ has not been declared 75 | Address operator+(int4 off) const; ///< Increment address by a number of bytes | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:132:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 132 | uintm getOrder(void) const { return order; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::hasNearPointers() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:449:12: error: ‘flags’ was not declared in this scope 449 | return ((flags&has_nearpointers)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:165:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 165 | uintb last; ///< Offset of last byte in \b this Range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:135:17: error: ‘uintm’ has not been declared 135 | void setOrder(uintm ord) { order = ord; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:76:21: error: ‘int4’ has not been declared 76 | Address operator-(int4 off) const; ///< Decrement address by a number of bytes | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:173:22: error: ‘uintb’ has not been declared 173 | Range(AddrSpace *s,uintb f,uintb l) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:173:30: error: ‘uintb’ has not been declared 173 | Range(AddrSpace *s,uintb f,uintb l) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:78:20: error: ‘int4’ has not been declared 78 | bool containedBy(int4 sz,const Address &op2,int4 sz2) const; ///< Determine if \e op2 range contains \b this range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:78:47: error: ‘int4’ has not been declared 78 | bool containedBy(int4 sz,const Address &op2,int4 sz2) const; ///< Determine if \e op2 range contains \b this range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:67:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 67 | uintb getOffset(void) const; ///< Get the address offset | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool SeqNum::operator<(const SeqNum&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:146:15: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 146 | return (uniq < op2.uniq); | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:146:26: error: ‘const class SeqNum’ has no member named ‘uniq’ 146 | return (uniq < op2.uniq); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:75:21: error: ‘int4’ has not been declared 75 | Address operator+(int4 off) const; ///< Increment address by a number of bytes | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:76:21: error: ‘int4’ has not been declared 76 | Address operator-(int4 off) const; ///< Decrement address by a number of bytes | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:80:3: error: ‘int4’ does not name a type; did you mean ‘int’? 80 | int4 overlap(int4 skip,const Address &op,int4 size) const; ///< Determine how two address ranges overlap | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:78:20: error: ‘int4’ has not been declared 78 | bool containedBy(int4 sz,const Address &op2,int4 sz2) const; ///< Determine if \e op2 range contains \b this range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:81:21: error: ‘int4’ has not been declared 81 | bool isContiguous(int4 sz,const Address &loaddr,int4 losz) const; ///< Does \e this form a contigous range with \e loaddr | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:78:47: error: ‘int4’ has not been declared 78 | bool containedBy(int4 sz,const Address &op2,int4 sz2) const; ///< Determine if \e op2 range contains \b this range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:81:51: error: ‘int4’ has not been declared 81 | bool isContiguous(int4 sz,const Address &loaddr,int4 losz) const; ///< Does \e this form a contigous range with \e loaddr | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:456:8: error: ‘int4’ does not name a type; did you mean ‘int’? 456 | inline int4 AddrSpace::numSpacebase(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:83:20: error: ‘int4’ has not been declared 83 | void renormalize(int4 size); ///< Make sure there is a backing JoinRecord if \b this is in the \e join space | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:86:27: error: ‘int4’ has not been declared 86 | void saveXml(ostream &s,int4 size) const; ///< Save this and a size to a stream as an XML tag | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:464:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 464 | inline const VarnodeData &AddrSpace::getSpacebase(int4 i) const { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:79:3: error: ‘int4’ does not name a type; did you mean ‘int’? 79 | int4 justifiedContain(int4 sz,const Address &op2,int4 sz2,bool forceleft) const; ///< Determine if \e op2 is the least significant part of \e this. | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:177:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 177 | uintb getFirst(void) const { return first; } ///< Get the offset of the first byte in \b this Range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:92:78: error: ‘int4’ has not been declared 92 | static Address restoreXml(const Element *el,const AddrSpaceManager *manage,int4 &size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:464:27: error: ‘const VarnodeData& AddrSpace::getSpacebase’ is not a static data member of ‘class AddrSpace’ 464 | inline const VarnodeData &AddrSpace::getSpacebase(int4 i) const { | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In copy constructor ‘SeqNum::SeqNum(const SeqNum&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:123:44: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 123 | SeqNum(const SeqNum &op2) : pc(op2.pc) { uniq = op2.uniq; } | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:123:55: error: ‘const class SeqNum’ has no member named ‘uniq’ 123 | SeqNum(const SeqNum &op2) : pc(op2.pc) { uniq = op2.uniq; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:79:3: error: ‘int4’ does not name a type; did you mean ‘int’? 79 | int4 justifiedContain(int4 sz,const Address &op2,int4 sz2,bool forceleft) const; ///< Determine if \e op2 is the least significant part of \e this. | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:80:3: error: ‘int4’ does not name a type; did you mean ‘int’? 80 | int4 overlap(int4 skip,const Address &op,int4 size) const; ///< Determine how two address ranges overlap | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:81:21: error: ‘int4’ has not been declared 81 | bool isContiguous(int4 sz,const Address &loaddr,int4 losz) const; ///< Does \e this form a contigous range with \e loaddr | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:178:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 178 | uintb getLast(void) const { return last; } ///< Get the offset of the last byte in \b this Range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:81:51: error: ‘int4’ has not been declared 81 | bool isContiguous(int4 sz,const Address &loaddr,int4 losz) const; ///< Does \e this form a contigous range with \e loaddr | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:83:20: error: ‘int4’ has not been declared 83 | void renormalize(int4 size); ///< Make sure there is a backing JoinRecord if \b this is in the \e join space | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:86:27: error: ‘int4’ has not been declared 86 | void saveXml(ostream &s,int4 size) const; ///< Save this and a size to a stream as an XML tag | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:164:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 164 | uintb first; ///< Offset of first byte in \b this Range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:92:78: error: ‘int4’ has not been declared 92 | static Address restoreXml(const Element *el,const AddrSpaceManager *manage,int4 &size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:113:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 113 | uintm uniq; ///< Number to guarantee uniqueness | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:80:3: error: ‘int4’ does not name a type; did you mean ‘int’? 80 | int4 overlap(int4 skip,const Address &op,int4 size) const; ///< Determine how two address ranges overlap | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:81:21: error: ‘int4’ has not been declared 81 | bool isContiguous(int4 sz,const Address &loaddr,int4 losz) const; ///< Does \e this form a contigous range with \e loaddr | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:81:51: error: ‘int4’ has not been declared 81 | bool isContiguous(int4 sz,const Address &loaddr,int4 losz) const; ///< Does \e this form a contigous range with \e loaddr | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In constructor ‘Range::Range(AddrSpace*, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:174:14: error: ‘first’ was not declared in this scope 174 | spc = s; first = f; last = l; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:83:20: error: ‘int4’ has not been declared 83 | void renormalize(int4 size); ///< Make sure there is a backing JoinRecord if \b this is in the \e join space | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In constructor ‘SeqNum::SeqNum(const Address&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:120:46: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 120 | SeqNum(const Address &a,uintm b) : pc(a) { uniq = b; } | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:86:27: error: ‘int4’ has not been declared 86 | void saveXml(ostream &s,int4 size) const; ///< Save this and a size to a stream as an XML tag | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:92:78: error: ‘int4’ has not been declared 92 | static Address restoreXml(const Element *el,const AddrSpaceManager *manage,int4 &size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:113:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 113 | uintm uniq; ///< Number to guarantee uniqueness | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:165:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 165 | uintb last; ///< Offset of last byte in \b this Range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘Address Range::getFirstAddr() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:179:57: error: ‘first’ was not declared in this scope 179 | Address getFirstAddr(void) const { return Address(spc,first); } ///< Get the address of the first byte | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:173:22: error: ‘uintb’ has not been declared 173 | Range(AddrSpace *s,uintb f,uintb l) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:173:30: error: ‘uintb’ has not been declared 173 | Range(AddrSpace *s,uintb f,uintb l) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:114:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 114 | uintm order; ///< Number for order comparisons within a block | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:120:27: error: ‘uintm’ has not been declared 120 | SeqNum(const Address &a,uintm b) : pc(a) { uniq = b; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:114:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 114 | uintm order; ///< Number for order comparisons within a block | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:464:51: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 464 | inline const VarnodeData &AddrSpace::getSpacebase(int4 i) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:120:27: error: ‘uintm’ has not been declared 120 | SeqNum(const Address &a,uintm b) : pc(a) { uniq = b; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In constructor ‘SeqNum::SeqNum(const Address&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:120:46: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 120 | SeqNum(const Address &a,uintm b) : pc(a) { uniq = b; } | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:472:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 472 | inline const VarnodeData &AddrSpace::getSpacebaseFull(int4 i) const { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:472:27: error: ‘const VarnodeData& AddrSpace::getSpacebaseFull’ is not a static data member of ‘class AddrSpace’ 472 | inline const VarnodeData &AddrSpace::getSpacebaseFull(int4 i) const { | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:113:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 113 | uintm uniq; ///< Number to guarantee uniqueness | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:177:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 177 | uintb getFirst(void) const { return first; } ///< Get the offset of the first byte in \b this Range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:129:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 129 | uintm getTime(void) const { return uniq; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:129:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 129 | uintm getTime(void) const { return uniq; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘void SeqNum::setOrder(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:135:30: error: ‘order’ was not declared in this scope; did you mean ‘ord’? 135 | void setOrder(uintm ord) { order = ord; } | ^~~~~ | ord /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:114:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 114 | uintm order; ///< Number for order comparisons within a block | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:212:3: error: ‘int4’ does not name a type; did you mean ‘int’? 212 | int4 numRanges(void) const { return tree.size(); } ///< Return the number of Range objects in container | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:120:27: error: ‘uintm’ has not been declared 120 | SeqNum(const Address &a,uintm b) : pc(a) { uniq = b; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:216:44: error: ‘uintb’ has not been declared 216 | const Range *getRange(AddrSpace *spaceid,uintb offset) const; ///< Get Range containing the given byte | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In constructor ‘Range::Range(AddrSpace*, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:174:14: error: ‘first’ was not declared in this scope 174 | spc = s; first = f; last = l; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:217:35: error: ‘uintb’ has not been declared 217 | void insertRange(AddrSpace *spc,uintb first,uintb last); ///< Insert a range of addresses | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:217:47: error: ‘uintb’ has not been declared 217 | void insertRange(AddrSpace *spc,uintb first,uintb last); ///< Insert a range of addresses | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:132:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 132 | uintm getOrder(void) const { return order; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:218:35: error: ‘uintb’ has not been declared 218 | void removeRange(AddrSpace *spc,uintb first,uintb last); ///< Remove a range of addresses | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:135:17: error: ‘uintm’ has not been declared 135 | void setOrder(uintm ord) { order = ord; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:218:47: error: ‘uintb’ has not been declared 218 | void removeRange(AddrSpace *spc,uintb first,uintb last); ///< Remove a range of addresses | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:220:36: error: ‘int4’ has not been declared 220 | bool inRange(const Address &addr,int4 size) const; ///< Check containment an address range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:132:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 132 | uintm getOrder(void) const { return order; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:135:17: error: ‘uintm’ has not been declared 135 | void setOrder(uintm ord) { order = ord; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:178:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 178 | uintb getLast(void) const { return last; } ///< Get the offset of the last byte in \b this Range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:174:25: error: ‘last’ was not declared in this scope 174 | spc = s; first = f; last = l; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In copy constructor ‘SeqNum::SeqNum(const SeqNum&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:123:44: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 123 | SeqNum(const SeqNum &op2) : pc(op2.pc) { uniq = op2.uniq; } | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:129:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 129 | uintm getTime(void) const { return uniq; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:123:55: error: ‘const class SeqNum’ has no member named ‘uniq’ 123 | SeqNum(const SeqNum &op2) : pc(op2.pc) { uniq = op2.uniq; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘Address Range::getLastAddr() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:180:56: error: ‘last’ was not declared in this scope 180 | Address getLastAddr(void) const { return Address(spc,last); } ///< Get the address of the last byte | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Range::operator<(const Range&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:190:14: error: ‘class AddrSpace’ has no member named ‘getIndex’ 190 | if (spc->getIndex() != op2.spc->getIndex()) | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:221:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 221 | uintb longestFit(const Address &addr,uintb maxsize) const; ///< Find size of biggest Range containing given address | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:190:37: error: ‘class AddrSpace’ has no member named ‘getIndex’ 190 | if (spc->getIndex() != op2.spc->getIndex()) | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:472:55: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 472 | inline const VarnodeData &AddrSpace::getSpacebaseFull(int4 i) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:191:20: error: ‘class AddrSpace’ has no member named ‘getIndex’ 191 | return (spc->getIndex() < op2.spc->getIndex()); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:132:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 132 | uintm getOrder(void) const { return order; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:135:17: error: ‘uintm’ has not been declared 135 | void setOrder(uintm ord) { order = ord; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:191:42: error: ‘class AddrSpace’ has no member named ‘getIndex’ 191 | return (spc->getIndex() < op2.spc->getIndex()); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In copy constructor ‘SeqNum::SeqNum(const SeqNum&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:123:44: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 123 | SeqNum(const SeqNum &op2) : pc(op2.pc) { uniq = op2.uniq; } | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:123:55: error: ‘const class SeqNum’ has no member named ‘uniq’ 123 | SeqNum(const SeqNum &op2) : pc(op2.pc) { uniq = op2.uniq; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:496:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 496 | inline uintb AddrSpace::addressToByte(uintb val,uint4 ws) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool SeqNum::operator==(const SeqNum&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:138:54: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 138 | bool operator==(const SeqNum &op2) const { return (uniq == op2.uniq); } | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:138:66: error: ‘const class SeqNum’ has no member named ‘uniq’ 138 | bool operator==(const SeqNum &op2) const { return (uniq == op2.uniq); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:174:25: error: ‘last’ was not declared in this scope 174 | spc = s; first = f; last = l; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:505:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 505 | inline uintb AddrSpace::byteToAddress(uintb val,uint4 ws) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:514:8: error: ‘int4’ does not name a type; did you mean ‘int’? 514 | inline int4 AddrSpace::addressToByteInt(int4 val,uint4 ws) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In constructor ‘SeqNum::SeqNum(const Address&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:120:46: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 120 | SeqNum(const Address &a,uintm b) : pc(a) { uniq = b; } | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘void SeqNum::setOrder(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:135:30: error: ‘order’ was not declared in this scope; did you mean ‘ord’? 135 | void setOrder(uintm ord) { order = ord; } | ^~~~~ | ord /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:523:8: error: ‘int4’ does not name a type; did you mean ‘int’? 523 | inline int4 AddrSpace::byteToAddressInt(int4 val,uint4 ws) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘Address Range::getFirstAddr() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:179:57: error: ‘first’ was not declared in this scope 179 | Address getFirstAddr(void) const { return Address(spc,first); } ///< Get the address of the first byte | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In constructor ‘SeqNum::SeqNum(const Address&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:120:46: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 120 | SeqNum(const Address &a,uintm b) : pc(a) { uniq = b; } | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In static member function ‘static bool AddrSpace::compareByIndex(const AddrSpace*, const AddrSpace*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:532:14: error: ‘const class AddrSpace’ has no member named ‘index’ 532 | return (a->index < b->index); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In constructor ‘Range::Range(AddrSpace*, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:174:14: error: ‘first’ was not declared in this scope 174 | spc = s; first = f; last = l; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:532:25: error: ‘const class AddrSpace’ has no member named ‘index’ 532 | return (a->index < b->index); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:192:13: error: ‘first’ was not declared in this scope 192 | return (first < op2.first); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:192:25: error: ‘const class Range’ has no member named ‘first’ 192 | return (first < op2.first); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In constructor ‘SeqNum::SeqNum(const Address&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:120:46: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 120 | SeqNum(const Address &a,uintm b) : pc(a) { uniq = b; } | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool SeqNum::operator!=(const SeqNum&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:141:54: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 141 | bool operator!=(const SeqNum &op2) const { return (uniq != op2.uniq); } | ^~~~ | unix In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:49:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 49 | uintb offset; ///< Offset (in bytes) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:141:66: error: ‘const class SeqNum’ has no member named ‘uniq’ 141 | bool operator!=(const SeqNum &op2) const { return (uniq != op2.uniq); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:58:25: error: ‘uintb’ has not been declared 58 | Address(AddrSpace *id,uintb off); ///< Construct an address with a space/offset pair | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘void SeqNum::setOrder(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:135:30: error: ‘order’ was not declared in this scope; did you mean ‘ord’? 135 | void setOrder(uintm ord) { order = ord; } | ^~~~~ | ord /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘Address Range::getFirstAddr() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:179:57: error: ‘first’ was not declared in this scope 179 | Address getFirstAddr(void) const { return Address(spc,first); } ///< Get the address of the first byte | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:62:3: error: ‘int4’ does not name a type; did you mean ‘int’? 62 | int4 getAddrSize(void) const; ///< Get the number of bytes in the address | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In copy constructor ‘SeqNum::SeqNum(const SeqNum&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:123:44: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 123 | SeqNum(const SeqNum &op2) : pc(op2.pc) { uniq = op2.uniq; } | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:123:55: error: ‘const class SeqNum’ has no member named ‘uniq’ 123 | SeqNum(const SeqNum &op2) : pc(op2.pc) { uniq = op2.uniq; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool SeqNum::operator==(const SeqNum&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:138:54: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 138 | bool operator==(const SeqNum &op2) const { return (uniq == op2.uniq); } | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:138:66: error: ‘const class SeqNum’ has no member named ‘uniq’ 138 | bool operator==(const SeqNum &op2) const { return (uniq == op2.uniq); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:65:3: error: ‘int4’ does not name a type; did you mean ‘int’? 65 | int4 read(const string &s); ///< Read in the address from a string | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘Address Range::getLastAddr() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:180:56: error: ‘last’ was not declared in this scope 180 | Address getLastAddr(void) const { return Address(spc,last); } ///< Get the address of the last byte | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Range::operator<(const Range&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:190:14: error: ‘class AddrSpace’ has no member named ‘getIndex’ 190 | if (spc->getIndex() != op2.spc->getIndex()) | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:174:25: error: ‘last’ was not declared in this scope 174 | spc = s; first = f; last = l; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:190:37: error: ‘class AddrSpace’ has no member named ‘getIndex’ 190 | if (spc->getIndex() != op2.spc->getIndex()) | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:191:20: error: ‘class AddrSpace’ has no member named ‘getIndex’ 191 | return (spc->getIndex() < op2.spc->getIndex()); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:191:42: error: ‘class AddrSpace’ has no member named ‘getIndex’ 191 | return (spc->getIndex() < op2.spc->getIndex()); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:67:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 67 | uintb getOffset(void) const; ///< Get the address offset | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In copy constructor ‘SeqNum::SeqNum(const SeqNum&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:123:44: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 123 | SeqNum(const SeqNum &op2) : pc(op2.pc) { uniq = op2.uniq; } | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:123:55: error: ‘const class SeqNum’ has no member named ‘uniq’ 123 | SeqNum(const SeqNum &op2) : pc(op2.pc) { uniq = op2.uniq; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:75:21: error: ‘int4’ has not been declared 75 | Address operator+(int4 off) const; ///< Increment address by a number of bytes | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:76:21: error: ‘int4’ has not been declared 76 | Address operator-(int4 off) const; ///< Decrement address by a number of bytes | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:78:20: error: ‘int4’ has not been declared 78 | bool containedBy(int4 sz,const Address &op2,int4 sz2) const; ///< Determine if \e op2 range contains \b this range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:78:47: error: ‘int4’ has not been declared 78 | bool containedBy(int4 sz,const Address &op2,int4 sz2) const; ///< Determine if \e op2 range contains \b this range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In copy constructor ‘SeqNum::SeqNum(const SeqNum&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:123:44: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 123 | SeqNum(const SeqNum &op2) : pc(op2.pc) { uniq = op2.uniq; } | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:123:55: error: ‘const class SeqNum’ has no member named ‘uniq’ 123 | SeqNum(const SeqNum &op2) : pc(op2.pc) { uniq = op2.uniq; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool SeqNum::operator<(const SeqNum&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:146:15: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 146 | return (uniq < op2.uniq); | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:146:26: error: ‘const class SeqNum’ has no member named ‘uniq’ 146 | return (uniq < op2.uniq); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘Address Range::getLastAddr() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:180:56: error: ‘last’ was not declared in this scope 180 | Address getLastAddr(void) const { return Address(spc,last); } ///< Get the address of the last byte | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:228:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 228 | extern uintb uintbmasks[]; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Range::operator<(const Range&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:190:14: error: ‘class AddrSpace’ has no member named ‘getIndex’ 190 | if (spc->getIndex() != op2.spc->getIndex()) | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:79:3: error: ‘int4’ does not name a type; did you mean ‘int’? 79 | int4 justifiedContain(int4 sz,const Address &op2,int4 sz2,bool forceleft) const; ///< Determine if \e op2 is the least significant part of \e this. | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool SeqNum::operator==(const SeqNum&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:138:54: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 138 | bool operator==(const SeqNum &op2) const { return (uniq == op2.uniq); } | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:190:37: error: ‘class AddrSpace’ has no member named ‘getIndex’ 190 | if (spc->getIndex() != op2.spc->getIndex()) | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:138:66: error: ‘const class SeqNum’ has no member named ‘uniq’ 138 | bool operator==(const SeqNum &op2) const { return (uniq == op2.uniq); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:241:39: error: ‘uintb’ has not been declared 241 | inline Address::Address(AddrSpace *id,uintb off) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:191:20: error: ‘class AddrSpace’ has no member named ‘getIndex’ 191 | return (spc->getIndex() < op2.spc->getIndex()); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:191:42: error: ‘class AddrSpace’ has no member named ‘getIndex’ 191 | return (spc->getIndex() < op2.spc->getIndex()); | ^~~~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:80:3: error: ‘int4’ does not name a type; did you mean ‘int’? 80 | int4 overlap(int4 skip,const Address &op,int4 size) const; ///< Determine how two address ranges overlap | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:81:21: error: ‘int4’ has not been declared 81 | bool isContiguous(int4 sz,const Address &loaddr,int4 losz) const; ///< Does \e this form a contigous range with \e loaddr | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool SeqNum::operator!=(const SeqNum&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:141:54: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 141 | bool operator!=(const SeqNum &op2) const { return (uniq != op2.uniq); } | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:81:51: error: ‘int4’ has not been declared 81 | bool isContiguous(int4 sz,const Address &loaddr,int4 losz) const; ///< Does \e this form a contigous range with \e loaddr | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:141:66: error: ‘const class SeqNum’ has no member named ‘uniq’ 141 | bool operator!=(const SeqNum &op2) const { return (uniq != op2.uniq); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:83:20: error: ‘int4’ has not been declared 83 | void renormalize(int4 size); ///< Make sure there is a backing JoinRecord if \b this is in the \e join space | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:164:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 164 | uintb first; ///< Offset of first byte in \b this Range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:86:27: error: ‘int4’ has not been declared 86 | void saveXml(ostream &s,int4 size) const; ///< Save this and a size to a stream as an XML tag | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘void SeqNum::setOrder(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:135:30: error: ‘order’ was not declared in this scope; did you mean ‘ord’? 135 | void setOrder(uintm ord) { order = ord; } | ^~~~~ | ord /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:92:78: error: ‘int4’ has not been declared 92 | static Address restoreXml(const Element *el,const AddrSpaceManager *manage,int4 &size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:165:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 165 | uintb last; ///< Offset of last byte in \b this Range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:173:22: error: ‘uintb’ has not been declared 173 | Range(AddrSpace *s,uintb f,uintb l) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:173:30: error: ‘uintb’ has not been declared 173 | Range(AddrSpace *s,uintb f,uintb l) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:192:13: error: ‘first’ was not declared in this scope 192 | return (first < op2.first); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:113:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 113 | uintm uniq; ///< Number to guarantee uniqueness | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:192:25: error: ‘const class Range’ has no member named ‘first’ 192 | return (first < op2.first); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘Address Range::getFirstAddr() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:179:57: error: ‘first’ was not declared in this scope 179 | Address getFirstAddr(void) const { return Address(spc,first); } ///< Get the address of the first byte | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:177:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 177 | uintb getFirst(void) const { return first; } ///< Get the offset of the first byte in \b this Range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘void SeqNum::setOrder(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:135:30: error: ‘order’ was not declared in this scope; did you mean ‘ord’? 135 | void setOrder(uintm ord) { order = ord; } | ^~~~~ | ord /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:114:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 114 | uintm order; ///< Number for order comparisons within a block | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:120:27: error: ‘uintm’ has not been declared 120 | SeqNum(const Address &a,uintm b) : pc(a) { uniq = b; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘void SeqNum::setOrder(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:135:30: error: ‘order’ was not declared in this scope; did you mean ‘ord’? 135 | void setOrder(uintm ord) { order = ord; } | ^~~~~ | ord /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool SeqNum::operator!=(const SeqNum&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:141:54: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 141 | bool operator!=(const SeqNum &op2) const { return (uniq != op2.uniq); } | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:141:66: error: ‘const class SeqNum’ has no member named ‘uniq’ 141 | bool operator!=(const SeqNum &op2) const { return (uniq != op2.uniq); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:178:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 178 | uintb getLast(void) const { return last; } ///< Get the offset of the last byte in \b this Range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:192:13: error: ‘first’ was not declared in this scope 192 | return (first < op2.first); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:192:25: error: ‘const class Range’ has no member named ‘first’ 192 | return (first < op2.first); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:129:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 129 | uintm getTime(void) const { return uniq; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool SeqNum::operator==(const SeqNum&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:138:54: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 138 | bool operator==(const SeqNum &op2) const { return (uniq == op2.uniq); } | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:138:66: error: ‘const class SeqNum’ has no member named ‘uniq’ 138 | bool operator==(const SeqNum &op2) const { return (uniq == op2.uniq); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In constructor ‘Address::Address(AddrSpace*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:242:12: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 242 | base=id; offset=off; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool SeqNum::operator<(const SeqNum&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:146:15: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 146 | return (uniq < op2.uniq); | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:146:26: error: ‘const class SeqNum’ has no member named ‘uniq’ 146 | return (uniq < op2.uniq); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:132:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 132 | uintm getOrder(void) const { return order; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:135:17: error: ‘uintm’ has not been declared 135 | void setOrder(uintm ord) { order = ord; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘Address Range::getLastAddr() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:180:56: error: ‘last’ was not declared in this scope 180 | Address getLastAddr(void) const { return Address(spc,last); } ///< Get the address of the last byte | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Range::operator<(const Range&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:190:14: error: ‘class AddrSpace’ has no member named ‘getIndex’ 190 | if (spc->getIndex() != op2.spc->getIndex()) | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:164:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 164 | uintb first; ///< Offset of first byte in \b this Range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:190:37: error: ‘class AddrSpace’ has no member named ‘getIndex’ 190 | if (spc->getIndex() != op2.spc->getIndex()) | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:191:20: error: ‘class AddrSpace’ has no member named ‘getIndex’ 191 | return (spc->getIndex() < op2.spc->getIndex()); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:191:42: error: ‘class AddrSpace’ has no member named ‘getIndex’ 191 | return (spc->getIndex() < op2.spc->getIndex()); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool SeqNum::operator==(const SeqNum&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:138:54: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 138 | bool operator==(const SeqNum &op2) const { return (uniq == op2.uniq); } | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:138:66: error: ‘const class SeqNum’ has no member named ‘uniq’ 138 | bool operator==(const SeqNum &op2) const { return (uniq == op2.uniq); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:212:3: error: ‘int4’ does not name a type; did you mean ‘int’? 212 | int4 numRanges(void) const { return tree.size(); } ///< Return the number of Range objects in container | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool SeqNum::operator==(const SeqNum&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:138:54: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 138 | bool operator==(const SeqNum &op2) const { return (uniq == op2.uniq); } | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:138:66: error: ‘const class SeqNum’ has no member named ‘uniq’ 138 | bool operator==(const SeqNum &op2) const { return (uniq == op2.uniq); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:165:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 165 | uintb last; ///< Offset of last byte in \b this Range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:216:44: error: ‘uintb’ has not been declared 216 | const Range *getRange(AddrSpace *spaceid,uintb offset) const; ///< Get Range containing the given byte | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:173:22: error: ‘uintb’ has not been declared 173 | Range(AddrSpace *s,uintb f,uintb l) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:173:30: error: ‘uintb’ has not been declared 173 | Range(AddrSpace *s,uintb f,uintb l) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:217:35: error: ‘uintb’ has not been declared 217 | void insertRange(AddrSpace *spc,uintb first,uintb last); ///< Insert a range of addresses | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:217:47: error: ‘uintb’ has not been declared 217 | void insertRange(AddrSpace *spc,uintb first,uintb last); ///< Insert a range of addresses | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:218:35: error: ‘uintb’ has not been declared 218 | void removeRange(AddrSpace *spc,uintb first,uintb last); ///< Remove a range of addresses | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:218:47: error: ‘uintb’ has not been declared 218 | void removeRange(AddrSpace *spc,uintb first,uintb last); ///< Remove a range of addresses | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:220:36: error: ‘int4’ has not been declared 220 | bool inRange(const Address &addr,int4 size) const; ///< Check containment an address range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool SeqNum::operator!=(const SeqNum&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:141:54: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 141 | bool operator!=(const SeqNum &op2) const { return (uniq != op2.uniq); } | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In constructor ‘Range::Range(AddrSpace*, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:174:14: error: ‘first’ was not declared in this scope 174 | spc = s; first = f; last = l; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:141:66: error: ‘const class SeqNum’ has no member named ‘uniq’ 141 | bool operator!=(const SeqNum &op2) const { return (uniq != op2.uniq); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool SeqNum::operator<(const SeqNum&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:146:15: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 146 | return (uniq < op2.uniq); | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:146:26: error: ‘const class SeqNum’ has no member named ‘uniq’ 146 | return (uniq < op2.uniq); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:177:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 177 | uintb getFirst(void) const { return first; } ///< Get the offset of the first byte in \b this Range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:221:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 221 | uintb longestFit(const Address &addr,uintb maxsize) const; ///< Find size of biggest Range containing given address | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In copy constructor ‘Address::Address(const Address&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:250:3: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 250 | offset = op2.offset; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In constructor ‘SeqNum::SeqNum(const Address&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:120:46: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 120 | SeqNum(const Address &a,uintm b) : pc(a) { uniq = b; } | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:250:16: error: ‘const class Address’ has no member named ‘offset’ 250 | offset = op2.offset; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:178:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 178 | uintb getLast(void) const { return last; } ///< Get the offset of the last byte in \b this Range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:164:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 164 | uintb first; ///< Offset of first byte in \b this Range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:263:8: error: ‘int4’ does not name a type; did you mean ‘int’? 263 | inline int4 Address::getAddrSize(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool SeqNum::operator!=(const SeqNum&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:141:54: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 141 | bool operator!=(const SeqNum &op2) const { return (uniq != op2.uniq); } | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:192:13: error: ‘first’ was not declared in this scope 192 | return (first < op2.first); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool SeqNum::operator!=(const SeqNum&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:141:54: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 141 | bool operator!=(const SeqNum &op2) const { return (uniq != op2.uniq); } | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:141:66: error: ‘const class SeqNum’ has no member named ‘uniq’ 141 | bool operator!=(const SeqNum &op2) const { return (uniq != op2.uniq); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:192:25: error: ‘const class Range’ has no member named ‘first’ 192 | return (first < op2.first); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:141:66: error: ‘const class SeqNum’ has no member named ‘uniq’ 141 | bool operator!=(const SeqNum &op2) const { return (uniq != op2.uniq); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:174:25: error: ‘last’ was not declared in this scope 174 | spc = s; first = f; last = l; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:165:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 165 | uintb last; ///< Offset of last byte in \b this Range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:173:22: error: ‘uintb’ has not been declared 173 | Range(AddrSpace *s,uintb f,uintb l) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:173:30: error: ‘uintb’ has not been declared 173 | Range(AddrSpace *s,uintb f,uintb l) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool SeqNum::operator<(const SeqNum&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:146:15: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 146 | return (uniq < op2.uniq); | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:146:26: error: ‘const class SeqNum’ has no member named ‘uniq’ 146 | return (uniq < op2.uniq); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:177:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 177 | uintb getFirst(void) const { return first; } ///< Get the offset of the first byte in \b this Range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In copy constructor ‘SeqNum::SeqNum(const SeqNum&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:123:44: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 123 | SeqNum(const SeqNum &op2) : pc(op2.pc) { uniq = op2.uniq; } | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:123:55: error: ‘const class SeqNum’ has no member named ‘uniq’ 123 | SeqNum(const SeqNum &op2) : pc(op2.pc) { uniq = op2.uniq; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:164:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 164 | uintb first; ///< Offset of first byte in \b this Range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In constructor ‘Range::Range(AddrSpace*, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:174:14: error: ‘first’ was not declared in this scope 174 | spc = s; first = f; last = l; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:178:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 178 | uintb getLast(void) const { return last; } ///< Get the offset of the last byte in \b this Range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:165:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 165 | uintb last; ///< Offset of last byte in \b this Range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:173:22: error: ‘uintb’ has not been declared 173 | Range(AddrSpace *s,uintb f,uintb l) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:173:30: error: ‘uintb’ has not been declared 173 | Range(AddrSpace *s,uintb f,uintb l) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:212:3: error: ‘int4’ does not name a type; did you mean ‘int’? 212 | int4 numRanges(void) const { return tree.size(); } ///< Return the number of Range objects in container | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:216:44: error: ‘uintb’ has not been declared 216 | const Range *getRange(AddrSpace *spaceid,uintb offset) const; ///< Get Range containing the given byte | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:217:35: error: ‘uintb’ has not been declared 217 | void insertRange(AddrSpace *spc,uintb first,uintb last); ///< Insert a range of addresses | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:217:47: error: ‘uintb’ has not been declared 217 | void insertRange(AddrSpace *spc,uintb first,uintb last); ///< Insert a range of addresses | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘Address Range::getFirstAddr() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:179:57: error: ‘first’ was not declared in this scope 179 | Address getFirstAddr(void) const { return Address(spc,first); } ///< Get the address of the first byte | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:218:35: error: ‘uintb’ has not been declared 218 | void removeRange(AddrSpace *spc,uintb first,uintb last); ///< Remove a range of addresses | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:218:47: error: ‘uintb’ has not been declared 218 | void removeRange(AddrSpace *spc,uintb first,uintb last); ///< Remove a range of addresses | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:220:36: error: ‘int4’ has not been declared 220 | bool inRange(const Address &addr,int4 size) const; ///< Check containment an address range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool SeqNum::operator<(const SeqNum&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:146:15: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 146 | return (uniq < op2.uniq); | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:146:26: error: ‘const class SeqNum’ has no member named ‘uniq’ 146 | return (uniq < op2.uniq); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool SeqNum::operator<(const SeqNum&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:146:15: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 146 | return (uniq < op2.uniq); | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:177:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 177 | uintb getFirst(void) const { return first; } ///< Get the offset of the first byte in \b this Range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:146:26: error: ‘const class SeqNum’ has no member named ‘uniq’ 146 | return (uniq < op2.uniq); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:212:3: error: ‘int4’ does not name a type; did you mean ‘int’? 212 | int4 numRanges(void) const { return tree.size(); } ///< Return the number of Range objects in container | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘void Address::printRaw(std::ostream&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:281:20: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 281 | base->printRaw(s,offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:216:44: error: ‘uintb’ has not been declared 216 | const Range *getRange(AddrSpace *spaceid,uintb offset) const; ///< Get Range containing the given byte | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:217:35: error: ‘uintb’ has not been declared 217 | void insertRange(AddrSpace *spc,uintb first,uintb last); ///< Insert a range of addresses | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:217:47: error: ‘uintb’ has not been declared 217 | void insertRange(AddrSpace *spc,uintb first,uintb last); ///< Insert a range of addresses | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:218:35: error: ‘uintb’ has not been declared 218 | void removeRange(AddrSpace *spc,uintb first,uintb last); ///< Remove a range of addresses | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:218:47: error: ‘uintb’ has not been declared 218 | void removeRange(AddrSpace *spc,uintb first,uintb last); ///< Remove a range of addresses | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:178:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 178 | uintb getLast(void) const { return last; } ///< Get the offset of the last byte in \b this Range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:220:36: error: ‘int4’ has not been declared 220 | bool inRange(const Address &addr,int4 size) const; ///< Check containment an address range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:221:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 221 | uintb longestFit(const Address &addr,uintb maxsize) const; ///< Find size of biggest Range containing given address | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:174:25: error: ‘last’ was not declared in this scope 174 | spc = s; first = f; last = l; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:288:8: error: ‘int4’ does not name a type; did you mean ‘int’? 288 | inline int4 Address::read(const string &s) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘void SeqNum::setOrder(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:135:30: error: ‘order’ was not declared in this scope; did you mean ‘ord’? 135 | void setOrder(uintm ord) { order = ord; } | ^~~~~ | ord /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:164:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 164 | uintb first; ///< Offset of first byte in \b this Range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:221:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 221 | uintb longestFit(const Address &addr,uintb maxsize) const; ///< Find size of biggest Range containing given address | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:164:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 164 | uintb first; ///< Offset of first byte in \b this Range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:300:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 300 | inline uintb Address::getOffset(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:228:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 228 | extern uintb uintbmasks[]; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘Address Range::getLastAddr() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:180:56: error: ‘last’ was not declared in this scope 180 | Address getLastAddr(void) const { return Address(spc,last); } ///< Get the address of the last byte | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:241:39: error: ‘uintb’ has not been declared 241 | inline Address::Address(AddrSpace *id,uintb off) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In constructor ‘Range::Range(AddrSpace*, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:174:14: error: ‘first’ was not declared in this scope 174 | spc = s; first = f; last = l; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:165:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 165 | uintb last; ///< Offset of last byte in \b this Range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Range::operator<(const Range&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:190:14: error: ‘class AddrSpace’ has no member named ‘getIndex’ 190 | if (spc->getIndex() != op2.spc->getIndex()) | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:173:22: error: ‘uintb’ has not been declared 173 | Range(AddrSpace *s,uintb f,uintb l) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:173:30: error: ‘uintb’ has not been declared 173 | Range(AddrSpace *s,uintb f,uintb l) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:190:37: error: ‘class AddrSpace’ has no member named ‘getIndex’ 190 | if (spc->getIndex() != op2.spc->getIndex()) | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:191:20: error: ‘class AddrSpace’ has no member named ‘getIndex’ 191 | return (spc->getIndex() < op2.spc->getIndex()); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:165:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 165 | uintb last; ///< Offset of last byte in \b this Range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:191:42: error: ‘class AddrSpace’ has no member named ‘getIndex’ 191 | return (spc->getIndex() < op2.spc->getIndex()); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:173:22: error: ‘uintb’ has not been declared 173 | Range(AddrSpace *s,uintb f,uintb l) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:173:30: error: ‘uintb’ has not been declared 173 | Range(AddrSpace *s,uintb f,uintb l) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:177:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 177 | uintb getFirst(void) const { return first; } ///< Get the offset of the first byte in \b this Range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In constructor ‘Range::Range(AddrSpace*, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:174:14: error: ‘first’ was not declared in this scope 174 | spc = s; first = f; last = l; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘Address Range::getFirstAddr() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:179:57: error: ‘first’ was not declared in this scope 179 | Address getFirstAddr(void) const { return Address(spc,first); } ///< Get the address of the first byte | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:177:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 177 | uintb getFirst(void) const { return first; } ///< Get the offset of the first byte in \b this Range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool SeqNum::operator==(const SeqNum&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:138:54: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 138 | bool operator==(const SeqNum &op2) const { return (uniq == op2.uniq); } | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:138:66: error: ‘const class SeqNum’ has no member named ‘uniq’ 138 | bool operator==(const SeqNum &op2) const { return (uniq == op2.uniq); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:178:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 178 | uintb getLast(void) const { return last; } ///< Get the offset of the last byte in \b this Range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:178:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 178 | uintb getLast(void) const { return last; } ///< Get the offset of the last byte in \b this Range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:174:25: error: ‘last’ was not declared in this scope 174 | spc = s; first = f; last = l; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘Address& Address::operator=(const Address&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:319:3: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 319 | offset = op2.offset; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:192:13: error: ‘first’ was not declared in this scope 192 | return (first < op2.first); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:192:25: error: ‘const class Range’ has no member named ‘first’ 192 | return (first < op2.first); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:319:16: error: ‘const class Address’ has no member named ‘offset’ 319 | offset = op2.offset; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In constructor ‘Address::Address(AddrSpace*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:242:12: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 242 | base=id; offset=off; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:174:25: error: ‘last’ was not declared in this scope 174 | spc = s; first = f; last = l; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:212:3: error: ‘int4’ does not name a type; did you mean ‘int’? 212 | int4 numRanges(void) const { return tree.size(); } ///< Return the number of Range objects in container | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:216:44: error: ‘uintb’ has not been declared 216 | const Range *getRange(AddrSpace *spaceid,uintb offset) const; ///< Get Range containing the given byte | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘Address Range::getLastAddr() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:180:56: error: ‘last’ was not declared in this scope 180 | Address getLastAddr(void) const { return Address(spc,last); } ///< Get the address of the last byte | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:217:35: error: ‘uintb’ has not been declared 217 | void insertRange(AddrSpace *spc,uintb first,uintb last); ///< Insert a range of addresses | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:217:47: error: ‘uintb’ has not been declared 217 | void insertRange(AddrSpace *spc,uintb first,uintb last); ///< Insert a range of addresses | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:218:35: error: ‘uintb’ has not been declared 218 | void removeRange(AddrSpace *spc,uintb first,uintb last); ///< Remove a range of addresses | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:218:47: error: ‘uintb’ has not been declared 218 | void removeRange(AddrSpace *spc,uintb first,uintb last); ///< Remove a range of addresses | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool SeqNum::operator!=(const SeqNum&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:141:54: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 141 | bool operator!=(const SeqNum &op2) const { return (uniq != op2.uniq); } | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Range::operator<(const Range&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:190:14: error: ‘class AddrSpace’ has no member named ‘getIndex’ 190 | if (spc->getIndex() != op2.spc->getIndex()) | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:220:36: error: ‘int4’ has not been declared 220 | bool inRange(const Address &addr,int4 size) const; ///< Check containment an address range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:141:66: error: ‘const class SeqNum’ has no member named ‘uniq’ 141 | bool operator!=(const SeqNum &op2) const { return (uniq != op2.uniq); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:190:37: error: ‘class AddrSpace’ has no member named ‘getIndex’ 190 | if (spc->getIndex() != op2.spc->getIndex()) | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:191:20: error: ‘class AddrSpace’ has no member named ‘getIndex’ 191 | return (spc->getIndex() < op2.spc->getIndex()); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:191:42: error: ‘class AddrSpace’ has no member named ‘getIndex’ 191 | return (spc->getIndex() < op2.spc->getIndex()); | ^~~~~~~~ [ 9%] Building CXX object ghidra/CMakeFiles/ghidra_decompiler_base.dir/__/ghidra-native/src/decompiler/float.cc.o /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In constructor ‘Range::Range(AddrSpace*, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:174:14: error: ‘first’ was not declared in this scope 174 | spc = s; first = f; last = l; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:221:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 221 | uintb longestFit(const Address &addr,uintb maxsize) const; ///< Find size of biggest Range containing given address | ^~~~~ | uint cd /build/r2ghidra/src/r2ghidra/build/ghidra && /usr/bin/c++ -I/build/r2ghidra/src/r2ghidra/ghidra/../ghidra-native/src/decompiler -ULoadImage -fPIC -std=gnu++11 -MD -MT ghidra/CMakeFiles/ghidra_decompiler_base.dir/__/ghidra-native/src/decompiler/float.cc.o -MF CMakeFiles/ghidra_decompiler_base.dir/__/ghidra-native/src/decompiler/float.cc.o.d -o CMakeFiles/ghidra_decompiler_base.dir/__/ghidra-native/src/decompiler/float.cc.o -c /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:228:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 228 | extern uintb uintbmasks[]; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:228:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 228 | extern uintb uintbmasks[]; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:241:39: error: ‘uintb’ has not been declared 241 | inline Address::Address(AddrSpace *id,uintb off) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In constructor ‘Range::Range(AddrSpace*, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:174:14: error: ‘first’ was not declared in this scope 174 | spc = s; first = f; last = l; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘Address Range::getFirstAddr() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:179:57: error: ‘first’ was not declared in this scope 179 | Address getFirstAddr(void) const { return Address(spc,first); } ///< Get the address of the first byte | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:241:39: error: ‘uintb’ has not been declared 241 | inline Address::Address(AddrSpace *id,uintb off) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In copy constructor ‘Address::Address(const Address&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:250:3: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 250 | offset = op2.offset; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:250:16: error: ‘const class Address’ has no member named ‘offset’ 250 | offset = op2.offset; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Address::operator==(const Address&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:328:30: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 328 | return ((base==op2.base)&&(offset==op2.offset)); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:328:42: error: ‘const class Address’ has no member named ‘offset’ 328 | return ((base==op2.base)&&(offset==op2.offset)); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘Address Range::getFirstAddr() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:179:57: error: ‘first’ was not declared in this scope 179 | Address getFirstAddr(void) const { return Address(spc,first); } ///< Get the address of the first byte | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:192:13: error: ‘first’ was not declared in this scope 192 | return (first < op2.first); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool SeqNum::operator<(const SeqNum&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:146:15: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 146 | return (uniq < op2.uniq); | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:192:25: error: ‘const class Range’ has no member named ‘first’ 192 | return (first < op2.first); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:146:26: error: ‘const class SeqNum’ has no member named ‘uniq’ 146 | return (uniq < op2.uniq); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:263:8: error: ‘int4’ does not name a type; did you mean ‘int’? 263 | inline int4 Address::getAddrSize(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:174:25: error: ‘last’ was not declared in this scope 174 | spc = s; first = f; last = l; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:174:25: error: ‘last’ was not declared in this scope 174 | spc = s; first = f; last = l; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:164:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 164 | uintb first; ///< Offset of first byte in \b this Range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘Address Range::getLastAddr() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:180:56: error: ‘last’ was not declared in this scope 180 | Address getLastAddr(void) const { return Address(spc,last); } ///< Get the address of the last byte | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Range::operator<(const Range&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:190:14: error: ‘class AddrSpace’ has no member named ‘getIndex’ 190 | if (spc->getIndex() != op2.spc->getIndex()) | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:190:37: error: ‘class AddrSpace’ has no member named ‘getIndex’ 190 | if (spc->getIndex() != op2.spc->getIndex()) | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:191:20: error: ‘class AddrSpace’ has no member named ‘getIndex’ 191 | return (spc->getIndex() < op2.spc->getIndex()); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:191:42: error: ‘class AddrSpace’ has no member named ‘getIndex’ 191 | return (spc->getIndex() < op2.spc->getIndex()); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘Address Range::getLastAddr() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:180:56: error: ‘last’ was not declared in this scope 180 | Address getLastAddr(void) const { return Address(spc,last); } ///< Get the address of the last byte | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In constructor ‘Address::Address(AddrSpace*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:242:12: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 242 | base=id; offset=off; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:165:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 165 | uintb last; ///< Offset of last byte in \b this Range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In constructor ‘Address::Address(AddrSpace*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:242:12: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 242 | base=id; offset=off; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Range::operator<(const Range&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:190:14: error: ‘class AddrSpace’ has no member named ‘getIndex’ 190 | if (spc->getIndex() != op2.spc->getIndex()) | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:173:22: error: ‘uintb’ has not been declared 173 | Range(AddrSpace *s,uintb f,uintb l) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:173:30: error: ‘uintb’ has not been declared 173 | Range(AddrSpace *s,uintb f,uintb l) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:190:37: error: ‘class AddrSpace’ has no member named ‘getIndex’ 190 | if (spc->getIndex() != op2.spc->getIndex()) | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:191:20: error: ‘class AddrSpace’ has no member named ‘getIndex’ 191 | return (spc->getIndex() < op2.spc->getIndex()); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:191:42: error: ‘class AddrSpace’ has no member named ‘getIndex’ 191 | return (spc->getIndex() < op2.spc->getIndex()); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Address::operator<(const Address&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:351:39: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 351 | else if (base == (AddrSpace *) ~((uintp)0)) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:351:45: error: expected ‘)’ before numeric constant 351 | else if (base == (AddrSpace *) ~((uintp)0)) { | ~ ^ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:353:6: error: expected ‘)’ before ‘else’ 353 | } | ^ | ) 354 | else if (op2.base == (AddrSpace *)0) { | ~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:351:13: note: to match this ‘(’ 351 | else if (base == (AddrSpace *) ~((uintp)0)) { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:177:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 177 | uintb getFirst(void) const { return first; } ///< Get the offset of the first byte in \b this Range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘Address Range::getFirstAddr() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:179:57: error: ‘first’ was not declared in this scope 179 | Address getFirstAddr(void) const { return Address(spc,first); } ///< Get the address of the first byte | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:178:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 178 | uintb getLast(void) const { return last; } ///< Get the offset of the last byte in \b this Range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘void Address::printRaw(std::ostream&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:281:20: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 281 | base->printRaw(s,offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:288:8: error: ‘int4’ does not name a type; did you mean ‘int’? 288 | inline int4 Address::read(const string &s) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:212:3: error: ‘int4’ does not name a type; did you mean ‘int’? 212 | int4 numRanges(void) const { return tree.size(); } ///< Return the number of Range objects in container | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘Address Range::getFirstAddr() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:179:57: error: ‘first’ was not declared in this scope 179 | Address getFirstAddr(void) const { return Address(spc,first); } ///< Get the address of the first byte | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:216:44: error: ‘uintb’ has not been declared 216 | const Range *getRange(AddrSpace *spaceid,uintb offset) const; ///< Get Range containing the given byte | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:217:35: error: ‘uintb’ has not been declared 217 | void insertRange(AddrSpace *spc,uintb first,uintb last); ///< Insert a range of addresses | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:217:47: error: ‘uintb’ has not been declared 217 | void insertRange(AddrSpace *spc,uintb first,uintb last); ///< Insert a range of addresses | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:192:13: error: ‘first’ was not declared in this scope 192 | return (first < op2.first); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:218:35: error: ‘uintb’ has not been declared 218 | void removeRange(AddrSpace *spc,uintb first,uintb last); ///< Remove a range of addresses | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:218:47: error: ‘uintb’ has not been declared 218 | void removeRange(AddrSpace *spc,uintb first,uintb last); ///< Remove a range of addresses | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:192:25: error: ‘const class Range’ has no member named ‘first’ 192 | return (first < op2.first); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:228:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 228 | extern uintb uintbmasks[]; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:220:36: error: ‘int4’ has not been declared 220 | bool inRange(const Address &addr,int4 size) const; ///< Check containment an address range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:300:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 300 | inline uintb Address::getOffset(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:192:13: error: ‘first’ was not declared in this scope 192 | return (first < op2.first); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:192:25: error: ‘const class Range’ has no member named ‘first’ 192 | return (first < op2.first); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:241:39: error: ‘uintb’ has not been declared 241 | inline Address::Address(AddrSpace *id,uintb off) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In copy constructor ‘Address::Address(const Address&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:250:3: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 250 | offset = op2.offset; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:250:16: error: ‘const class Address’ has no member named ‘offset’ 250 | offset = op2.offset; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In copy constructor ‘Address::Address(const Address&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:250:3: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 250 | offset = op2.offset; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:250:16: error: ‘const class Address’ has no member named ‘offset’ 250 | offset = op2.offset; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:221:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 221 | uintb longestFit(const Address &addr,uintb maxsize) const; ///< Find size of biggest Range containing given address | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:362:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 362 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:362:21: error: ‘const class Address’ has no member named ‘offset’ 362 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘Address Range::getLastAddr() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:180:56: error: ‘last’ was not declared in this scope 180 | Address getLastAddr(void) const { return Address(spc,last); } ///< Get the address of the last byte | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:362:50: error: ‘const class Address’ has no member named ‘offset’ 362 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Range::operator<(const Range&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:190:14: error: ‘class AddrSpace’ has no member named ‘getIndex’ 190 | if (spc->getIndex() != op2.spc->getIndex()) | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:263:8: error: ‘int4’ does not name a type; did you mean ‘int’? 263 | inline int4 Address::getAddrSize(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:190:37: error: ‘class AddrSpace’ has no member named ‘getIndex’ 190 | if (spc->getIndex() != op2.spc->getIndex()) | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:191:20: error: ‘class AddrSpace’ has no member named ‘getIndex’ 191 | return (spc->getIndex() < op2.spc->getIndex()); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:191:42: error: ‘class AddrSpace’ has no member named ‘getIndex’ 191 | return (spc->getIndex() < op2.spc->getIndex()); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:263:8: error: ‘int4’ does not name a type; did you mean ‘int’? 263 | inline int4 Address::getAddrSize(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In constructor ‘Range::Range(AddrSpace*, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:174:14: error: ‘first’ was not declared in this scope 174 | spc = s; first = f; last = l; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘Address Range::getLastAddr() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:180:56: error: ‘last’ was not declared in this scope 180 | Address getLastAddr(void) const { return Address(spc,last); } ///< Get the address of the last byte | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Range::operator<(const Range&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:190:14: error: ‘class AddrSpace’ has no member named ‘getIndex’ 190 | if (spc->getIndex() != op2.spc->getIndex()) | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:190:37: error: ‘class AddrSpace’ has no member named ‘getIndex’ 190 | if (spc->getIndex() != op2.spc->getIndex()) | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:191:20: error: ‘class AddrSpace’ has no member named ‘getIndex’ 191 | return (spc->getIndex() < op2.spc->getIndex()); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:191:42: error: ‘class AddrSpace’ has no member named ‘getIndex’ 191 | return (spc->getIndex() < op2.spc->getIndex()); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘Address& Address::operator=(const Address&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:319:3: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 319 | offset = op2.offset; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:319:16: error: ‘const class Address’ has no member named ‘offset’ 319 | offset = op2.offset; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In constructor ‘Address::Address(AddrSpace*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:242:12: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 242 | base=id; offset=off; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:212:3: error: ‘int4’ does not name a type; did you mean ‘int’? 212 | int4 numRanges(void) const { return tree.size(); } ///< Return the number of Range objects in container | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Address::operator<=(const Address&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:374:39: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 374 | else if (base == (AddrSpace *) ~((uintp)0)) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:374:45: error: expected ‘)’ before numeric constant 374 | else if (base == (AddrSpace *) ~((uintp)0)) { | ~ ^ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:216:44: error: ‘uintb’ has not been declared 216 | const Range *getRange(AddrSpace *spaceid,uintb offset) const; ///< Get Range containing the given byte | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:376:6: error: expected ‘)’ before ‘else’ 376 | } | ^ | ) 377 | else if (op2.base == (AddrSpace *)0) { | ~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:374:13: note: to match this ‘(’ 374 | else if (base == (AddrSpace *) ~((uintp)0)) { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:217:35: error: ‘uintb’ has not been declared 217 | void insertRange(AddrSpace *spc,uintb first,uintb last); ///< Insert a range of addresses | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:217:47: error: ‘uintb’ has not been declared 217 | void insertRange(AddrSpace *spc,uintb first,uintb last); ///< Insert a range of addresses | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:218:35: error: ‘uintb’ has not been declared 218 | void removeRange(AddrSpace *spc,uintb first,uintb last); ///< Remove a range of addresses | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:174:25: error: ‘last’ was not declared in this scope 174 | spc = s; first = f; last = l; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:218:47: error: ‘uintb’ has not been declared 218 | void removeRange(AddrSpace *spc,uintb first,uintb last); ///< Remove a range of addresses | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:220:36: error: ‘int4’ has not been declared 220 | bool inRange(const Address &addr,int4 size) const; ///< Check containment an address range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:192:13: error: ‘first’ was not declared in this scope 192 | return (first < op2.first); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:192:25: error: ‘const class Range’ has no member named ‘first’ 192 | return (first < op2.first); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘void Address::printRaw(std::ostream&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:281:20: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 281 | base->printRaw(s,offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:221:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 221 | uintb longestFit(const Address &addr,uintb maxsize) const; ///< Find size of biggest Range containing given address | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘void Address::printRaw(std::ostream&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:281:20: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 281 | base->printRaw(s,offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:288:8: error: ‘int4’ does not name a type; did you mean ‘int’? 288 | inline int4 Address::read(const string &s) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:192:13: error: ‘first’ was not declared in this scope 192 | return (first < op2.first); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:192:25: error: ‘const class Range’ has no member named ‘first’ 192 | return (first < op2.first); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:288:8: error: ‘int4’ does not name a type; did you mean ‘int’? 288 | inline int4 Address::read(const string &s) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Address::operator==(const Address&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:328:30: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 328 | return ((base==op2.base)&&(offset==op2.offset)); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:300:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 300 | inline uintb Address::getOffset(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:328:42: error: ‘const class Address’ has no member named ‘offset’ 328 | return ((base==op2.base)&&(offset==op2.offset)); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:385:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 385 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:300:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 300 | inline uintb Address::getOffset(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In copy constructor ‘Address::Address(const Address&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:250:3: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 250 | offset = op2.offset; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:385:21: error: ‘const class Address’ has no member named ‘offset’ 385 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:250:16: error: ‘const class Address’ has no member named ‘offset’ 250 | offset = op2.offset; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:385:50: error: ‘const class Address’ has no member named ‘offset’ 385 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:228:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 228 | extern uintb uintbmasks[]; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘Address Range::getFirstAddr() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:179:57: error: ‘first’ was not declared in this scope 179 | Address getFirstAddr(void) const { return Address(spc,first); } ///< Get the address of the first byte | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:394:16: error: declaration of ‘operator+’ as non-function 394 | inline Address Address::operator+(int4 off) const { | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:241:39: error: ‘uintb’ has not been declared 241 | inline Address::Address(AddrSpace *id,uintb off) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:263:8: error: ‘int4’ does not name a type; did you mean ‘int’? 263 | inline int4 Address::getAddrSize(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:212:3: error: ‘int4’ does not name a type; did you mean ‘int’? 212 | int4 numRanges(void) const { return tree.size(); } ///< Return the number of Range objects in container | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:394:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 394 | inline Address Address::operator+(int4 off) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:212:3: error: ‘int4’ does not name a type; did you mean ‘int’? 212 | int4 numRanges(void) const { return tree.size(); } ///< Return the number of Range objects in container | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:216:44: error: ‘uintb’ has not been declared 216 | const Range *getRange(AddrSpace *spaceid,uintb offset) const; ///< Get Range containing the given byte | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:404:16: error: declaration of ‘operator-’ as non-function 404 | inline Address Address::operator-(int4 off) const { | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:216:44: error: ‘uintb’ has not been declared 216 | const Range *getRange(AddrSpace *spaceid,uintb offset) const; ///< Get Range containing the given byte | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:217:35: error: ‘uintb’ has not been declared 217 | void insertRange(AddrSpace *spc,uintb first,uintb last); ///< Insert a range of addresses | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:217:47: error: ‘uintb’ has not been declared 217 | void insertRange(AddrSpace *spc,uintb first,uintb last); ///< Insert a range of addresses | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:217:35: error: ‘uintb’ has not been declared 217 | void insertRange(AddrSpace *spc,uintb first,uintb last); ///< Insert a range of addresses | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:218:35: error: ‘uintb’ has not been declared 218 | void removeRange(AddrSpace *spc,uintb first,uintb last); ///< Remove a range of addresses | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:217:47: error: ‘uintb’ has not been declared 217 | void insertRange(AddrSpace *spc,uintb first,uintb last); ///< Insert a range of addresses | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:218:47: error: ‘uintb’ has not been declared 218 | void removeRange(AddrSpace *spc,uintb first,uintb last); ///< Remove a range of addresses | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:218:35: error: ‘uintb’ has not been declared 218 | void removeRange(AddrSpace *spc,uintb first,uintb last); ///< Remove a range of addresses | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:218:47: error: ‘uintb’ has not been declared 218 | void removeRange(AddrSpace *spc,uintb first,uintb last); ///< Remove a range of addresses | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:220:36: error: ‘int4’ has not been declared 220 | bool inRange(const Address &addr,int4 size) const; ///< Check containment an address range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:220:36: error: ‘int4’ has not been declared 220 | bool inRange(const Address &addr,int4 size) const; ///< Check containment an address range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Address::operator<(const Address&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:351:39: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 351 | else if (base == (AddrSpace *) ~((uintp)0)) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘Address& Address::operator=(const Address&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:319:3: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 319 | offset = op2.offset; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:351:45: error: expected ‘)’ before numeric constant 351 | else if (base == (AddrSpace *) ~((uintp)0)) { | ~ ^ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:319:16: error: ‘const class Address’ has no member named ‘offset’ 319 | offset = op2.offset; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:353:6: error: expected ‘)’ before ‘else’ 353 | } | ^ | ) 354 | else if (op2.base == (AddrSpace *)0) { | ~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:351:13: note: to match this ‘(’ 351 | else if (base == (AddrSpace *) ~((uintp)0)) { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘Address Range::getLastAddr() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:180:56: error: ‘last’ was not declared in this scope 180 | Address getLastAddr(void) const { return Address(spc,last); } ///< Get the address of the last byte | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:221:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 221 | uintb longestFit(const Address &addr,uintb maxsize) const; ///< Find size of biggest Range containing given address | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Range::operator<(const Range&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:190:14: error: ‘class AddrSpace’ has no member named ‘getIndex’ 190 | if (spc->getIndex() != op2.spc->getIndex()) | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:190:37: error: ‘class AddrSpace’ has no member named ‘getIndex’ 190 | if (spc->getIndex() != op2.spc->getIndex()) | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:221:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 221 | uintb longestFit(const Address &addr,uintb maxsize) const; ///< Find size of biggest Range containing given address | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:191:20: error: ‘class AddrSpace’ has no member named ‘getIndex’ 191 | return (spc->getIndex() < op2.spc->getIndex()); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘Address& Address::operator=(const Address&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:319:3: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 319 | offset = op2.offset; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:191:42: error: ‘class AddrSpace’ has no member named ‘getIndex’ 191 | return (spc->getIndex() < op2.spc->getIndex()); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:319:16: error: ‘const class Address’ has no member named ‘offset’ 319 | offset = op2.offset; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:404:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 404 | inline Address Address::operator-(int4 off) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In constructor ‘Address::Address(AddrSpace*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:242:12: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 242 | base=id; offset=off; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:228:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 228 | extern uintb uintbmasks[]; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:241:39: error: ‘uintb’ has not been declared 241 | inline Address::Address(AddrSpace *id,uintb off) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘void Address::printRaw(std::ostream&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:281:20: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 281 | base->printRaw(s,offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:362:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 362 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:362:21: error: ‘const class Address’ has no member named ‘offset’ 362 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:362:50: error: ‘const class Address’ has no member named ‘offset’ 362 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Address::operator==(const Address&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:328:30: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 328 | return ((base==op2.base)&&(offset==op2.offset)); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:328:42: error: ‘const class Address’ has no member named ‘offset’ 328 | return ((base==op2.base)&&(offset==op2.offset)); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:288:8: error: ‘int4’ does not name a type; did you mean ‘int’? 288 | inline int4 Address::read(const string &s) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:192:13: error: ‘first’ was not declared in this scope 192 | return (first < op2.first); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:192:25: error: ‘const class Range’ has no member named ‘first’ 192 | return (first < op2.first); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:212:3: error: ‘int4’ does not name a type; did you mean ‘int’? 212 | int4 numRanges(void) const { return tree.size(); } ///< Return the number of Range objects in container | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:216:44: error: ‘uintb’ has not been declared 216 | const Range *getRange(AddrSpace *spaceid,uintb offset) const; ///< Get Range containing the given byte | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:217:35: error: ‘uintb’ has not been declared 217 | void insertRange(AddrSpace *spc,uintb first,uintb last); ///< Insert a range of addresses | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:217:47: error: ‘uintb’ has not been declared 217 | void insertRange(AddrSpace *spc,uintb first,uintb last); ///< Insert a range of addresses | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:218:35: error: ‘uintb’ has not been declared 218 | void removeRange(AddrSpace *spc,uintb first,uintb last); ///< Remove a range of addresses | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:218:47: error: ‘uintb’ has not been declared 218 | void removeRange(AddrSpace *spc,uintb first,uintb last); ///< Remove a range of addresses | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:220:36: error: ‘int4’ has not been declared 220 | bool inRange(const Address &addr,int4 size) const; ///< Check containment an address range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Address::operator==(const Address&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:328:30: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 328 | return ((base==op2.base)&&(offset==op2.offset)); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:300:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 300 | inline uintb Address::getOffset(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:328:42: error: ‘const class Address’ has no member named ‘offset’ 328 | return ((base==op2.base)&&(offset==op2.offset)); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In copy constructor ‘Address::Address(const Address&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:250:3: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 250 | offset = op2.offset; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:250:16: error: ‘const class Address’ has no member named ‘offset’ 250 | offset = op2.offset; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:221:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 221 | uintb longestFit(const Address &addr,uintb maxsize) const; ///< Find size of biggest Range containing given address | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘void Address::saveXml(std::ostream&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:429:31: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 429 | base->saveXmlAttributes(s,offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:263:8: error: ‘int4’ does not name a type; did you mean ‘int’? 263 | inline int4 Address::getAddrSize(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:212:3: error: ‘int4’ does not name a type; did you mean ‘int’? 212 | int4 numRanges(void) const { return tree.size(); } ///< Return the number of Range objects in container | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In constructor ‘Address::Address(AddrSpace*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:242:12: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 242 | base=id; offset=off; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:216:44: error: ‘uintb’ has not been declared 216 | const Range *getRange(AddrSpace *spaceid,uintb offset) const; ///< Get Range containing the given byte | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:217:35: error: ‘uintb’ has not been declared 217 | void insertRange(AddrSpace *spc,uintb first,uintb last); ///< Insert a range of addresses | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:438:41: error: ‘int4’ has not been declared 438 | inline void Address::saveXml(ostream &s,int4 size) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:217:47: error: ‘uintb’ has not been declared 217 | void insertRange(AddrSpace *spc,uintb first,uintb last); ///< Insert a range of addresses | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Address::operator<=(const Address&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:374:39: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 374 | else if (base == (AddrSpace *) ~((uintp)0)) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:218:35: error: ‘uintb’ has not been declared 218 | void removeRange(AddrSpace *spc,uintb first,uintb last); ///< Remove a range of addresses | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:374:45: error: expected ‘)’ before numeric constant 374 | else if (base == (AddrSpace *) ~((uintp)0)) { | ~ ^ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:218:47: error: ‘uintb’ has not been declared 218 | void removeRange(AddrSpace *spc,uintb first,uintb last); ///< Remove a range of addresses | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:376:6: error: expected ‘)’ before ‘else’ 376 | } | ^ | ) 377 | else if (op2.base == (AddrSpace *)0) { | ~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:374:13: note: to match this ‘(’ 374 | else if (base == (AddrSpace *) ~((uintp)0)) { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:220:36: error: ‘int4’ has not been declared 220 | bool inRange(const Address &addr,int4 size) const; ///< Check containment an address range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Address::operator<(const Address&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:351:39: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 351 | else if (base == (AddrSpace *) ~((uintp)0)) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:351:45: error: expected ‘)’ before numeric constant 351 | else if (base == (AddrSpace *) ~((uintp)0)) { | ~ ^ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:353:6: error: expected ‘)’ before ‘else’ 353 | } | ^ | ) 354 | else if (op2.base == (AddrSpace *)0) { | ~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:351:13: note: to match this ‘(’ 351 | else if (base == (AddrSpace *) ~((uintp)0)) { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:228:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 228 | extern uintb uintbmasks[]; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:221:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 221 | uintb longestFit(const Address &addr,uintb maxsize) const; ///< Find size of biggest Range containing given address | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:241:39: error: ‘uintb’ has not been declared 241 | inline Address::Address(AddrSpace *id,uintb off) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Address::operator<(const Address&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:351:39: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 351 | else if (base == (AddrSpace *) ~((uintp)0)) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:228:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 228 | extern uintb uintbmasks[]; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:351:45: error: expected ‘)’ before numeric constant 351 | else if (base == (AddrSpace *) ~((uintp)0)) { | ~ ^ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘Address& Address::operator=(const Address&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:319:3: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 319 | offset = op2.offset; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:353:6: error: expected ‘)’ before ‘else’ 353 | } | ^ | ) 354 | else if (op2.base == (AddrSpace *)0) { | ~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:241:39: error: ‘uintb’ has not been declared 241 | inline Address::Address(AddrSpace *id,uintb off) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:351:13: note: to match this ‘(’ 351 | else if (base == (AddrSpace *) ~((uintp)0)) { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:319:16: error: ‘const class Address’ has no member named ‘offset’ 319 | offset = op2.offset; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:385:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 385 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:385:21: error: ‘const class Address’ has no member named ‘offset’ 385 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘void Address::printRaw(std::ostream&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:281:20: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 281 | base->printRaw(s,offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In copy constructor ‘Address::Address(const Address&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:250:3: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 250 | offset = op2.offset; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:385:50: error: ‘const class Address’ has no member named ‘offset’ 385 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:250:16: error: ‘const class Address’ has no member named ‘offset’ 250 | offset = op2.offset; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:394:16: error: declaration of ‘operator+’ as non-function 394 | inline Address Address::operator+(int4 off) const { | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘void Address::saveXml(std::ostream&, int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:441:31: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 441 | base->saveXmlAttributes(s,offset,size); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:362:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 362 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:362:21: error: ‘const class Address’ has no member named ‘offset’ 362 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:288:8: error: ‘int4’ does not name a type; did you mean ‘int’? 288 | inline int4 Address::read(const string &s) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:362:50: error: ‘const class Address’ has no member named ‘offset’ 362 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:263:8: error: ‘int4’ does not name a type; did you mean ‘int’? 263 | inline int4 Address::getAddrSize(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:300:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 300 | inline uintb Address::getOffset(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In constructor ‘Address::Address(AddrSpace*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:242:12: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 242 | base=id; offset=off; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:394:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 394 | inline Address Address::operator+(int4 off) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:404:16: error: declaration of ‘operator-’ as non-function 404 | inline Address Address::operator-(int4 off) const { | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:362:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 362 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:362:21: error: ‘const class Address’ has no member named ‘offset’ 362 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:362:50: error: ‘const class Address’ has no member named ‘offset’ 362 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In constructor ‘Address::Address(AddrSpace*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:242:12: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 242 | base=id; offset=off; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Address::operator==(const Address&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:328:30: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 328 | return ((base==op2.base)&&(offset==op2.offset)); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:328:42: error: ‘const class Address’ has no member named ‘offset’ 328 | return ((base==op2.base)&&(offset==op2.offset)); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:228:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 228 | extern uintb uintbmasks[]; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:241:39: error: ‘uintb’ has not been declared 241 | inline Address::Address(AddrSpace *id,uintb off) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:404:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 404 | inline Address Address::operator-(int4 off) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:212:3: error: ‘int4’ does not name a type; did you mean ‘int’? 212 | int4 numRanges(void) const { return tree.size(); } ///< Return the number of Range objects in container | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In static member function ‘static AddrSpace* Address::getSpaceFromConst(const Address&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:453:24: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 453 | return (AddrSpace *)(uintp)addr.offset; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:216:44: error: ‘uintb’ has not been declared 216 | const Range *getRange(AddrSpace *spaceid,uintb offset) const; ///< Get Range containing the given byte | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:217:35: error: ‘uintb’ has not been declared 217 | void insertRange(AddrSpace *spc,uintb first,uintb last); ///< Insert a range of addresses | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:453:30: error: expected ‘;’ before ‘addr’ 453 | return (AddrSpace *)(uintp)addr.offset; | ^~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:217:47: error: ‘uintb’ has not been declared 217 | void insertRange(AddrSpace *spc,uintb first,uintb last); ///< Insert a range of addresses | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Address::operator<=(const Address&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:374:39: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 374 | else if (base == (AddrSpace *) ~((uintp)0)) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:218:35: error: ‘uintb’ has not been declared 218 | void removeRange(AddrSpace *spc,uintb first,uintb last); ///< Remove a range of addresses | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:374:45: error: expected ‘)’ before numeric constant 374 | else if (base == (AddrSpace *) ~((uintp)0)) { | ~ ^ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:218:47: error: ‘uintb’ has not been declared 218 | void removeRange(AddrSpace *spc,uintb first,uintb last); ///< Remove a range of addresses | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:453:35: error: ‘const class Address’ has no member named ‘offset’ 453 | return (AddrSpace *)(uintp)addr.offset; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:376:6: error: expected ‘)’ before ‘else’ 376 | } | ^ | ) 377 | else if (op2.base == (AddrSpace *)0) { | ~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:374:13: note: to match this ‘(’ 374 | else if (base == (AddrSpace *) ~((uintp)0)) { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:220:36: error: ‘int4’ has not been declared 220 | bool inRange(const Address &addr,int4 size) const; ///< Check containment an address range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:221:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 221 | uintb longestFit(const Address &addr,uintb maxsize) const; ///< Find size of biggest Range containing given address | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘Address& Address::operator=(const Address&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:319:3: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 319 | offset = op2.offset; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:319:16: error: ‘const class Address’ has no member named ‘offset’ 319 | offset = op2.offset; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In copy constructor ‘Address::Address(const Address&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:250:3: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 250 | offset = op2.offset; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘void Address::printRaw(std::ostream&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:281:20: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 281 | base->printRaw(s,offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:250:16: error: ‘const class Address’ has no member named ‘offset’ 250 | offset = op2.offset; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Address::operator<=(const Address&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:374:39: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 374 | else if (base == (AddrSpace *) ~((uintp)0)) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:374:45: error: expected ‘)’ before numeric constant 374 | else if (base == (AddrSpace *) ~((uintp)0)) { | ~ ^ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:376:6: error: expected ‘)’ before ‘else’ 376 | } | ^ | ) 377 | else if (op2.base == (AddrSpace *)0) { | ~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:374:13: note: to match this ‘(’ 374 | else if (base == (AddrSpace *) ~((uintp)0)) { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:228:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 228 | extern uintb uintbmasks[]; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:241:39: error: ‘uintb’ has not been declared 241 | inline Address::Address(AddrSpace *id,uintb off) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Address::operator<(const Address&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:351:39: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 351 | else if (base == (AddrSpace *) ~((uintp)0)) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:288:8: error: ‘int4’ does not name a type; did you mean ‘int’? 288 | inline int4 Address::read(const string &s) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:351:45: error: expected ‘)’ before numeric constant 351 | else if (base == (AddrSpace *) ~((uintp)0)) { | ~ ^ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In copy constructor ‘Address::Address(const Address&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:250:3: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 250 | offset = op2.offset; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:263:8: error: ‘int4’ does not name a type; did you mean ‘int’? 263 | inline int4 Address::getAddrSize(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:353:6: error: expected ‘)’ before ‘else’ 353 | } | ^ | ) 354 | else if (op2.base == (AddrSpace *)0) { | ~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:250:16: error: ‘const class Address’ has no member named ‘offset’ 250 | offset = op2.offset; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:351:13: note: to match this ‘(’ 351 | else if (base == (AddrSpace *) ~((uintp)0)) { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In constructor ‘Address::Address(AddrSpace*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:242:12: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 242 | base=id; offset=off; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:300:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 300 | inline uintb Address::getOffset(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:385:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 385 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:385:21: error: ‘const class Address’ has no member named ‘offset’ 385 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Range::contains(const Address&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:460:7: error: ‘first’ was not declared in this scope 460 | if (first > addr.getOffset()) return false; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:385:50: error: ‘const class Address’ has no member named ‘offset’ 385 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:460:20: error: ‘const class Address’ has no member named ‘getOffset’ 460 | if (first > addr.getOffset()) return false; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:394:16: error: declaration of ‘operator+’ as non-function 394 | inline Address Address::operator+(int4 off) const { | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:263:8: error: ‘int4’ does not name a type; did you mean ‘int’? 263 | inline int4 Address::getAddrSize(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘void Address::saveXml(std::ostream&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:429:31: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 429 | base->saveXmlAttributes(s,offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:438:41: error: ‘int4’ has not been declared 438 | inline void Address::saveXml(ostream &s,int4 size) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Address::operator==(const Address&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:328:30: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 328 | return ((base==op2.base)&&(offset==op2.offset)); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:328:42: error: ‘const class Address’ has no member named ‘offset’ 328 | return ((base==op2.base)&&(offset==op2.offset)); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:394:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 394 | inline Address Address::operator+(int4 off) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:385:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 385 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:404:16: error: declaration of ‘operator-’ as non-function 404 | inline Address Address::operator-(int4 off) const { | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:385:21: error: ‘const class Address’ has no member named ‘offset’ 385 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:385:50: error: ‘const class Address’ has no member named ‘offset’ 385 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:394:16: error: declaration of ‘operator+’ as non-function 394 | inline Address Address::operator+(int4 off) const { | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In constructor ‘Address::Address(AddrSpace*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:242:12: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 242 | base=id; offset=off; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:461:7: error: ‘last’ was not declared in this scope 461 | if (last < addr.getOffset()) return false; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:362:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 362 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:461:19: error: ‘const class Address’ has no member named ‘getOffset’ 461 | if (last < addr.getOffset()) return false; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:362:21: error: ‘const class Address’ has no member named ‘offset’ 362 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:362:50: error: ‘const class Address’ has no member named ‘offset’ 362 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘void Address::printRaw(std::ostream&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:281:20: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 281 | base->printRaw(s,offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:404:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 404 | inline Address Address::operator-(int4 off) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘Address& Address::operator=(const Address&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:319:3: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 319 | offset = op2.offset; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In copy constructor ‘Address::Address(const Address&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:250:3: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 250 | offset = op2.offset; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:319:16: error: ‘const class Address’ has no member named ‘offset’ 319 | offset = op2.offset; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:250:16: error: ‘const class Address’ has no member named ‘offset’ 250 | offset = op2.offset; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:467:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 467 | inline uintb calc_mask(int4 size) { return uintbmasks[(size<8)? size : 8]; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:394:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 394 | inline Address Address::operator+(int4 off) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:404:16: error: declaration of ‘operator-’ as non-function 404 | inline Address Address::operator-(int4 off) const { | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:288:8: error: ‘int4’ does not name a type; did you mean ‘int’? 288 | inline int4 Address::read(const string &s) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:473:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 473 | inline uintb pcode_right(uintb val,int4 sa) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘void Address::printRaw(std::ostream&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:281:20: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 281 | base->printRaw(s,offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Address::operator<(const Address&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:351:39: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 351 | else if (base == (AddrSpace *) ~((uintp)0)) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:300:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 300 | inline uintb Address::getOffset(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:228:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 228 | extern uintb uintbmasks[]; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:351:45: error: expected ‘)’ before numeric constant 351 | else if (base == (AddrSpace *) ~((uintp)0)) { | ~ ^ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:263:8: error: ‘int4’ does not name a type; did you mean ‘int’? 263 | inline int4 Address::getAddrSize(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘void Address::saveXml(std::ostream&, int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:441:31: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 441 | base->saveXmlAttributes(s,offset,size); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:482:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 482 | inline uintb pcode_left(uintb val,int4 sa) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:353:6: error: expected ‘)’ before ‘else’ 353 | } | ^ | ) 354 | else if (op2.base == (AddrSpace *)0) { | ~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:351:13: note: to match this ‘(’ 351 | else if (base == (AddrSpace *) ~((uintp)0)) { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:241:39: error: ‘uintb’ has not been declared 241 | inline Address::Address(AddrSpace *id,uintb off) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:288:8: error: ‘int4’ does not name a type; did you mean ‘int’? 288 | inline int4 Address::read(const string &s) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:404:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 404 | inline Address Address::operator-(int4 off) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:493:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 493 | inline uintb minimalmask(uintb val) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:505:13: warning: ‘signbit_negative’ initialized and declared ‘extern’ 505 | extern bool signbit_negative(uintb val,int4 size); ///< Return true if the sign-bit is set | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Address::operator<=(const Address&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:374:39: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 374 | else if (base == (AddrSpace *) ~((uintp)0)) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:374:45: error: expected ‘)’ before numeric constant 374 | else if (base == (AddrSpace *) ~((uintp)0)) { | ~ ^ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:376:6: error: expected ‘)’ before ‘else’ 376 | } | ^ | ) 377 | else if (op2.base == (AddrSpace *)0) { | ~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:300:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 300 | inline uintb Address::getOffset(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:374:13: note: to match this ‘(’ 374 | else if (base == (AddrSpace *) ~((uintp)0)) { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In copy constructor ‘Address::Address(const Address&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:250:3: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 250 | offset = op2.offset; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:250:16: error: ‘const class Address’ has no member named ‘offset’ 250 | offset = op2.offset; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Address::operator==(const Address&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:328:30: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 328 | return ((base==op2.base)&&(offset==op2.offset)); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:505:30: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 505 | extern bool signbit_negative(uintb val,int4 size); ///< Return true if the sign-bit is set | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:328:42: error: ‘const class Address’ has no member named ‘offset’ 328 | return ((base==op2.base)&&(offset==op2.offset)); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘void Address::saveXml(std::ostream&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:429:31: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 429 | base->saveXmlAttributes(s,offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In static member function ‘static AddrSpace* Address::getSpaceFromConst(const Address&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:453:24: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 453 | return (AddrSpace *)(uintp)addr.offset; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:453:30: error: expected ‘;’ before ‘addr’ 453 | return (AddrSpace *)(uintp)addr.offset; | ^~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:263:8: error: ‘int4’ does not name a type; did you mean ‘int’? 263 | inline int4 Address::getAddrSize(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:453:35: error: ‘const class Address’ has no member named ‘offset’ 453 | return (AddrSpace *)(uintp)addr.offset; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘Address& Address::operator=(const Address&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:319:3: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 319 | offset = op2.offset; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:362:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 362 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:319:16: error: ‘const class Address’ has no member named ‘offset’ 319 | offset = op2.offset; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:362:21: error: ‘const class Address’ has no member named ‘offset’ 362 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:362:50: error: ‘const class Address’ has no member named ‘offset’ 362 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:438:41: error: ‘int4’ has not been declared 438 | inline void Address::saveXml(ostream &s,int4 size) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:505:40: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 505 | extern bool signbit_negative(uintb val,int4 size); ///< Return true if the sign-bit is set | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In constructor ‘Address::Address(AddrSpace*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:242:12: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 242 | base=id; offset=off; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:505:49: error: expression list treated as compound expression in initializer [-fpermissive] 505 | extern bool signbit_negative(uintb val,int4 size); ///< Return true if the sign-bit is set | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘void Address::printRaw(std::ostream&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:281:20: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 281 | base->printRaw(s,offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:506:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 506 | extern uintb calc_mask(int4 size); ///< Calculate a mask for a given byte size | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:385:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 385 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:385:21: error: ‘const class Address’ has no member named ‘offset’ 385 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:507:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 507 | extern uintb uintb_negate(uintb in,int4 size); ///< Negate the \e sized value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:288:8: error: ‘int4’ does not name a type; did you mean ‘int’? 288 | inline int4 Address::read(const string &s) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:385:50: error: ‘const class Address’ has no member named ‘offset’ 385 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘Address& Address::operator=(const Address&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:319:3: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 319 | offset = op2.offset; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:319:16: error: ‘const class Address’ has no member named ‘offset’ 319 | offset = op2.offset; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:394:16: error: declaration of ‘operator+’ as non-function 394 | inline Address Address::operator+(int4 off) const { | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘void Address::saveXml(std::ostream&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:429:31: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 429 | base->saveXmlAttributes(s,offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:508:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 508 | extern uintb sign_extend(uintb in,int4 sizein,int4 sizeout); ///< Sign-extend a value between two byte sizes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Address::operator<(const Address&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:351:39: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 351 | else if (base == (AddrSpace *) ~((uintp)0)) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:510:13: error: variable or field ‘sign_extend’ declared void 510 | extern void sign_extend(intb &val,int4 bit); ///< Sign extend above given bit | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:351:45: error: expected ‘)’ before numeric constant 351 | else if (base == (AddrSpace *) ~((uintp)0)) { | ~ ^ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:438:41: error: ‘int4’ has not been declared 438 | inline void Address::saveXml(ostream &s,int4 size) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:353:6: error: expected ‘)’ before ‘else’ 353 | } | ^ | ) 354 | else if (op2.base == (AddrSpace *)0) { | ~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:351:13: note: to match this ‘(’ 351 | else if (base == (AddrSpace *) ~((uintp)0)) { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:300:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 300 | inline uintb Address::getOffset(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Range::contains(const Address&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:460:7: error: ‘first’ was not declared in this scope 460 | if (first > addr.getOffset()) return false; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:460:20: error: ‘const class Address’ has no member named ‘getOffset’ 460 | if (first > addr.getOffset()) return false; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Address::operator<=(const Address&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:374:39: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 374 | else if (base == (AddrSpace *) ~((uintp)0)) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:374:45: error: expected ‘)’ before numeric constant 374 | else if (base == (AddrSpace *) ~((uintp)0)) { | ~ ^ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:376:6: error: expected ‘)’ before ‘else’ 376 | } | ^ | ) 377 | else if (op2.base == (AddrSpace *)0) { | ~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:374:13: note: to match this ‘(’ 374 | else if (base == (AddrSpace *) ~((uintp)0)) { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Address::operator==(const Address&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:328:30: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 328 | return ((base==op2.base)&&(offset==op2.offset)); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:510:25: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 510 | extern void sign_extend(intb &val,int4 bit); ///< Sign extend above given bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:328:42: error: ‘const class Address’ has no member named ‘offset’ 328 | return ((base==op2.base)&&(offset==op2.offset)); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:394:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 394 | inline Address Address::operator+(int4 off) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:404:16: error: declaration of ‘operator-’ as non-function 404 | inline Address Address::operator-(int4 off) const { | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘void Address::saveXml(std::ostream&, int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:441:31: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 441 | base->saveXmlAttributes(s,offset,size); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘void Address::printRaw(std::ostream&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:281:20: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 281 | base->printRaw(s,offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In copy constructor ‘Address::Address(const Address&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:250:3: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 250 | offset = op2.offset; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:250:16: error: ‘const class Address’ has no member named ‘offset’ 250 | offset = op2.offset; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:288:8: error: ‘int4’ does not name a type; did you mean ‘int’? 288 | inline int4 Address::read(const string &s) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:510:31: error: ‘val’ was not declared in this scope 510 | extern void sign_extend(intb &val,int4 bit); ///< Sign extend above given bit | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:263:8: error: ‘int4’ does not name a type; did you mean ‘int’? 263 | inline int4 Address::getAddrSize(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:404:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 404 | inline Address Address::operator-(int4 off) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:461:7: error: ‘last’ was not declared in this scope 461 | if (last < addr.getOffset()) return false; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Address::operator==(const Address&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:328:30: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 328 | return ((base==op2.base)&&(offset==op2.offset)); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:461:19: error: ‘const class Address’ has no member named ‘getOffset’ 461 | if (last < addr.getOffset()) return false; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:328:42: error: ‘const class Address’ has no member named ‘offset’ 328 | return ((base==op2.base)&&(offset==op2.offset)); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:362:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 362 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:362:21: error: ‘const class Address’ has no member named ‘offset’ 362 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:300:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 300 | inline uintb Address::getOffset(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:362:50: error: ‘const class Address’ has no member named ‘offset’ 362 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘Address& Address::operator=(const Address&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:319:3: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 319 | offset = op2.offset; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:319:16: error: ‘const class Address’ has no member named ‘offset’ 319 | offset = op2.offset; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘void Address::saveXml(std::ostream&, int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:441:31: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 441 | base->saveXmlAttributes(s,offset,size); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:467:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 467 | inline uintb calc_mask(int4 size) { return uintbmasks[(size<8)? size : 8]; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:385:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 385 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:385:21: error: ‘const class Address’ has no member named ‘offset’ 385 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:385:50: error: ‘const class Address’ has no member named ‘offset’ 385 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:394:16: error: declaration of ‘operator+’ as non-function 394 | inline Address Address::operator+(int4 off) const { | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:510:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 510 | extern void sign_extend(intb &val,int4 bit); ///< Sign extend above given bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:511:13: error: variable or field ‘zero_extend’ declared void 511 | extern void zero_extend(intb &val,int4 bit); ///< Clear all bits above given bit | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Address::operator<(const Address&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:351:39: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 351 | else if (base == (AddrSpace *) ~((uintp)0)) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:473:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 473 | inline uintb pcode_right(uintb val,int4 sa) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In static member function ‘static AddrSpace* Address::getSpaceFromConst(const Address&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:453:24: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 453 | return (AddrSpace *)(uintp)addr.offset; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:453:30: error: expected ‘;’ before ‘addr’ 453 | return (AddrSpace *)(uintp)addr.offset; | ^~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:351:45: error: expected ‘)’ before numeric constant 351 | else if (base == (AddrSpace *) ~((uintp)0)) { | ~ ^ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:453:35: error: ‘const class Address’ has no member named ‘offset’ 453 | return (AddrSpace *)(uintp)addr.offset; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:353:6: error: expected ‘)’ before ‘else’ 353 | } | ^ | ) 354 | else if (op2.base == (AddrSpace *)0) { | ~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:351:13: note: to match this ‘(’ 351 | else if (base == (AddrSpace *) ~((uintp)0)) { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:482:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 482 | inline uintb pcode_left(uintb val,int4 sa) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:493:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 493 | inline uintb minimalmask(uintb val) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:505:13: warning: ‘signbit_negative’ initialized and declared ‘extern’ 505 | extern bool signbit_negative(uintb val,int4 size); ///< Return true if the sign-bit is set | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:394:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 394 | inline Address Address::operator+(int4 off) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:404:16: error: declaration of ‘operator-’ as non-function 404 | inline Address Address::operator-(int4 off) const { | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:511:25: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 511 | extern void zero_extend(intb &val,int4 bit); ///< Clear all bits above given bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Address::operator<=(const Address&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:374:39: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 374 | else if (base == (AddrSpace *) ~((uintp)0)) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:374:45: error: expected ‘)’ before numeric constant 374 | else if (base == (AddrSpace *) ~((uintp)0)) { | ~ ^ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:376:6: error: expected ‘)’ before ‘else’ 376 | } | ^ | ) 377 | else if (op2.base == (AddrSpace *)0) { | ~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:374:13: note: to match this ‘(’ 374 | else if (base == (AddrSpace *) ~((uintp)0)) { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Address::operator<(const Address&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:351:39: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 351 | else if (base == (AddrSpace *) ~((uintp)0)) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:505:30: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 505 | extern bool signbit_negative(uintb val,int4 size); ///< Return true if the sign-bit is set | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘void Address::printRaw(std::ostream&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:281:20: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 281 | base->printRaw(s,offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:351:45: error: expected ‘)’ before numeric constant 351 | else if (base == (AddrSpace *) ~((uintp)0)) { | ~ ^ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:353:6: error: expected ‘)’ before ‘else’ 353 | } | ^ | ) 354 | else if (op2.base == (AddrSpace *)0) { | ~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:351:13: note: to match this ‘(’ 351 | else if (base == (AddrSpace *) ~((uintp)0)) { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:404:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 404 | inline Address Address::operator-(int4 off) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In static member function ‘static AddrSpace* Address::getSpaceFromConst(const Address&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:453:24: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 453 | return (AddrSpace *)(uintp)addr.offset; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:453:30: error: expected ‘;’ before ‘addr’ 453 | return (AddrSpace *)(uintp)addr.offset; | ^~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:453:35: error: ‘const class Address’ has no member named ‘offset’ 453 | return (AddrSpace *)(uintp)addr.offset; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘Address& Address::operator=(const Address&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:319:3: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 319 | offset = op2.offset; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:288:8: error: ‘int4’ does not name a type; did you mean ‘int’? 288 | inline int4 Address::read(const string &s) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Address::operator==(const Address&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:328:30: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 328 | return ((base==op2.base)&&(offset==op2.offset)); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:319:16: error: ‘const class Address’ has no member named ‘offset’ 319 | offset = op2.offset; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:511:31: error: ‘val’ was not declared in this scope 511 | extern void zero_extend(intb &val,int4 bit); ///< Clear all bits above given bit | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:328:42: error: ‘const class Address’ has no member named ‘offset’ 328 | return ((base==op2.base)&&(offset==op2.offset)); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Range::contains(const Address&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:460:7: error: ‘first’ was not declared in this scope 460 | if (first > addr.getOffset()) return false; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:460:20: error: ‘const class Address’ has no member named ‘getOffset’ 460 | if (first > addr.getOffset()) return false; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:362:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 362 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:505:40: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 505 | extern bool signbit_negative(uintb val,int4 size); ///< Return true if the sign-bit is set | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘void Address::saveXml(std::ostream&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:429:31: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 429 | base->saveXmlAttributes(s,offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:362:21: error: ‘const class Address’ has no member named ‘offset’ 362 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:505:49: error: expression list treated as compound expression in initializer [-fpermissive] 505 | extern bool signbit_negative(uintb val,int4 size); ///< Return true if the sign-bit is set | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:362:50: error: ‘const class Address’ has no member named ‘offset’ 362 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:300:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 300 | inline uintb Address::getOffset(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:438:41: error: ‘int4’ has not been declared 438 | inline void Address::saveXml(ostream &s,int4 size) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:506:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 506 | extern uintb calc_mask(int4 size); ///< Calculate a mask for a given byte size | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:511:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 511 | extern void zero_extend(intb &val,int4 bit); ///< Clear all bits above given bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:512:13: error: variable or field ‘byte_swap’ declared void 512 | extern void byte_swap(intb &val,int4 size); ///< Swap bytes in the given value | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:507:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 507 | extern uintb uintb_negate(uintb in,int4 size); ///< Negate the \e sized value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:385:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 385 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:508:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 508 | extern uintb sign_extend(uintb in,int4 sizein,int4 sizeout); ///< Sign-extend a value between two byte sizes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:510:13: error: variable or field ‘sign_extend’ declared void 510 | extern void sign_extend(intb &val,int4 bit); ///< Sign extend above given bit | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:385:21: error: ‘const class Address’ has no member named ‘offset’ 385 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:385:50: error: ‘const class Address’ has no member named ‘offset’ 385 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:394:16: error: declaration of ‘operator+’ as non-function 394 | inline Address Address::operator+(int4 off) const { | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:461:7: error: ‘last’ was not declared in this scope 461 | if (last < addr.getOffset()) return false; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:362:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 362 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:461:19: error: ‘const class Address’ has no member named ‘getOffset’ 461 | if (last < addr.getOffset()) return false; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:512:23: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 512 | extern void byte_swap(intb &val,int4 size); ///< Swap bytes in the given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:362:21: error: ‘const class Address’ has no member named ‘offset’ 362 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:362:50: error: ‘const class Address’ has no member named ‘offset’ 362 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Range::contains(const Address&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:460:7: error: ‘first’ was not declared in this scope 460 | if (first > addr.getOffset()) return false; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:460:20: error: ‘const class Address’ has no member named ‘getOffset’ 460 | if (first > addr.getOffset()) return false; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:510:25: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 510 | extern void sign_extend(intb &val,int4 bit); ///< Sign extend above given bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Address::operator<=(const Address&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:374:39: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 374 | else if (base == (AddrSpace *) ~((uintp)0)) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Address::operator<(const Address&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:351:39: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 351 | else if (base == (AddrSpace *) ~((uintp)0)) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:374:45: error: expected ‘)’ before numeric constant 374 | else if (base == (AddrSpace *) ~((uintp)0)) { | ~ ^ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:376:6: error: expected ‘)’ before ‘else’ 376 | } | ^ | ) 377 | else if (op2.base == (AddrSpace *)0) { | ~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:467:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 467 | inline uintb calc_mask(int4 size) { return uintbmasks[(size<8)? size : 8]; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:374:13: note: to match this ‘(’ 374 | else if (base == (AddrSpace *) ~((uintp)0)) { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:351:45: error: expected ‘)’ before numeric constant 351 | else if (base == (AddrSpace *) ~((uintp)0)) { | ~ ^ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Address::operator==(const Address&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:328:30: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 328 | return ((base==op2.base)&&(offset==op2.offset)); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:353:6: error: expected ‘)’ before ‘else’ 353 | } | ^ | ) 354 | else if (op2.base == (AddrSpace *)0) { | ~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:351:13: note: to match this ‘(’ 351 | else if (base == (AddrSpace *) ~((uintp)0)) { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:328:42: error: ‘const class Address’ has no member named ‘offset’ 328 | return ((base==op2.base)&&(offset==op2.offset)); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:394:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 394 | inline Address Address::operator+(int4 off) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:404:16: error: declaration of ‘operator-’ as non-function 404 | inline Address Address::operator-(int4 off) const { | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:473:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 473 | inline uintb pcode_right(uintb val,int4 sa) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘void Address::saveXml(std::ostream&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:429:31: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 429 | base->saveXmlAttributes(s,offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘Address& Address::operator=(const Address&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:319:3: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 319 | offset = op2.offset; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:319:16: error: ‘const class Address’ has no member named ‘offset’ 319 | offset = op2.offset; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:482:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 482 | inline uintb pcode_left(uintb val,int4 sa) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:438:41: error: ‘int4’ has not been declared 438 | inline void Address::saveXml(ostream &s,int4 size) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:512:29: error: ‘val’ was not declared in this scope 512 | extern void byte_swap(intb &val,int4 size); ///< Swap bytes in the given value | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:510:31: error: ‘val’ was not declared in this scope 510 | extern void sign_extend(intb &val,int4 bit); ///< Sign extend above given bit | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘void Address::saveXml(std::ostream&, int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:441:31: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 441 | base->saveXmlAttributes(s,offset,size); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:493:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 493 | inline uintb minimalmask(uintb val) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:505:13: warning: ‘signbit_negative’ initialized and declared ‘extern’ 505 | extern bool signbit_negative(uintb val,int4 size); ///< Return true if the sign-bit is set | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:404:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 404 | inline Address Address::operator-(int4 off) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:461:7: error: ‘last’ was not declared in this scope 461 | if (last < addr.getOffset()) return false; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:461:19: error: ‘const class Address’ has no member named ‘getOffset’ 461 | if (last < addr.getOffset()) return false; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Address::operator<=(const Address&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:374:39: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 374 | else if (base == (AddrSpace *) ~((uintp)0)) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:512:33: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 512 | extern void byte_swap(intb &val,int4 size); ///< Swap bytes in the given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:510:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 510 | extern void sign_extend(intb &val,int4 bit); ///< Sign extend above given bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:374:45: error: expected ‘)’ before numeric constant 374 | else if (base == (AddrSpace *) ~((uintp)0)) { | ~ ^ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:511:13: error: variable or field ‘zero_extend’ declared void 511 | extern void zero_extend(intb &val,int4 bit); ///< Clear all bits above given bit | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:376:6: error: expected ‘)’ before ‘else’ 376 | } | ^ | ) 377 | else if (op2.base == (AddrSpace *)0) { | ~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:374:13: note: to match this ‘(’ 374 | else if (base == (AddrSpace *) ~((uintp)0)) { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:505:30: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 505 | extern bool signbit_negative(uintb val,int4 size); ///< Return true if the sign-bit is set | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:385:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 385 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:514:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 514 | extern uintb byte_swap(uintb val,int4 size); ///< Return the given value with bytes swapped | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:385:21: error: ‘const class Address’ has no member named ‘offset’ 385 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:385:50: error: ‘const class Address’ has no member named ‘offset’ 385 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:467:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 467 | inline uintb calc_mask(int4 size) { return uintbmasks[(size<8)? size : 8]; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:394:16: error: declaration of ‘operator+’ as non-function 394 | inline Address Address::operator+(int4 off) const { | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:362:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 362 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:515:8: error: ‘int4’ does not name a type; did you mean ‘int’? 515 | extern int4 leastsigbit_set(uintb val); ///< Return index of least significant bit set in given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:362:21: error: ‘const class Address’ has no member named ‘offset’ 362 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Address::operator<(const Address&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:351:39: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 351 | else if (base == (AddrSpace *) ~((uintp)0)) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:362:50: error: ‘const class Address’ has no member named ‘offset’ 362 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:511:25: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 511 | extern void zero_extend(intb &val,int4 bit); ///< Clear all bits above given bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:473:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 473 | inline uintb pcode_right(uintb val,int4 sa) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:351:45: error: expected ‘)’ before numeric constant 351 | else if (base == (AddrSpace *) ~((uintp)0)) { | ~ ^ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:505:40: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 505 | extern bool signbit_negative(uintb val,int4 size); ///< Return true if the sign-bit is set | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:516:8: error: ‘int4’ does not name a type; did you mean ‘int’? 516 | extern int4 mostsigbit_set(uintb val); ///< Return index of most significant bit set in given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:353:6: error: expected ‘)’ before ‘else’ 353 | } | ^ | ) 354 | else if (op2.base == (AddrSpace *)0) { | ~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:505:49: error: expression list treated as compound expression in initializer [-fpermissive] 505 | extern bool signbit_negative(uintb val,int4 size); ///< Return true if the sign-bit is set | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:351:13: note: to match this ‘(’ 351 | else if (base == (AddrSpace *) ~((uintp)0)) { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Address::operator==(const Address&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:328:30: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 328 | return ((base==op2.base)&&(offset==op2.offset)); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:328:42: error: ‘const class Address’ has no member named ‘offset’ 328 | return ((base==op2.base)&&(offset==op2.offset)); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:482:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 482 | inline uintb pcode_left(uintb val,int4 sa) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:517:8: error: ‘int4’ does not name a type; did you mean ‘int’? 517 | extern int4 popcount(uintb val); ///< Return the number of one bits in the given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘void Address::saveXml(std::ostream&, int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:441:31: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 441 | base->saveXmlAttributes(s,offset,size); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:506:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 506 | extern uintb calc_mask(int4 size); ///< Calculate a mask for a given byte size | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In static member function ‘static AddrSpace* Address::getSpaceFromConst(const Address&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:453:24: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 453 | return (AddrSpace *)(uintp)addr.offset; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:453:30: error: expected ‘;’ before ‘addr’ 453 | return (AddrSpace *)(uintp)addr.offset; | ^~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:394:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 394 | inline Address Address::operator+(int4 off) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:453:35: error: ‘const class Address’ has no member named ‘offset’ 453 | return (AddrSpace *)(uintp)addr.offset; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:404:16: error: declaration of ‘operator-’ as non-function 404 | inline Address Address::operator-(int4 off) const { | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:493:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 493 | inline uintb minimalmask(uintb val) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:518:8: error: ‘int4’ does not name a type; did you mean ‘int’? 518 | extern int4 count_leading_zeros(uintb val); ///< Return the number of leading zero bits in the given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:505:13: warning: ‘signbit_negative’ initialized and declared ‘extern’ 505 | extern bool signbit_negative(uintb val,int4 size); ///< Return true if the sign-bit is set | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:507:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 507 | extern uintb uintb_negate(uintb in,int4 size); ///< Negate the \e sized value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:511:31: error: ‘val’ was not declared in this scope 511 | extern void zero_extend(intb &val,int4 bit); ///< Clear all bits above given bit | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:520:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 520 | extern uintb coveringmask(uintb val); ///< Return a mask that \e covers the given value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:508:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 508 | extern uintb sign_extend(uintb in,int4 sizein,int4 sizeout); ///< Sign-extend a value between two byte sizes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:510:13: error: variable or field ‘sign_extend’ declared void 510 | extern void sign_extend(intb &val,int4 bit); ///< Sign extend above given bit | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:521:8: error: ‘int4’ does not name a type; did you mean ‘int’? 521 | extern int4 bit_transitions(uintb val,int4 sz); ///< Calculate the number of bit transitions in the sized value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:13: error: variable or field ‘mult64to128’ declared void 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:385:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 385 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:385:21: error: ‘const class Address’ has no member named ‘offset’ 385 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:385:50: error: ‘const class Address’ has no member named ‘offset’ 385 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘void Address::saveXml(std::ostream&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:429:31: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 429 | base->saveXmlAttributes(s,offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:404:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 404 | inline Address Address::operator-(int4 off) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:394:16: error: declaration of ‘operator+’ as non-function 394 | inline Address Address::operator+(int4 off) const { | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:505:30: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 505 | extern bool signbit_negative(uintb val,int4 size); ///< Return true if the sign-bit is set | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:511:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 511 | extern void zero_extend(intb &val,int4 bit); ///< Clear all bits above given bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:512:13: error: variable or field ‘byte_swap’ declared void 512 | extern void byte_swap(intb &val,int4 size); ///< Swap bytes in the given value | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:438:41: error: ‘int4’ has not been declared 438 | inline void Address::saveXml(ostream &s,int4 size) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Address::operator<=(const Address&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:374:39: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 374 | else if (base == (AddrSpace *) ~((uintp)0)) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:510:25: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 510 | extern void sign_extend(intb &val,int4 bit); ///< Sign extend above given bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:374:45: error: expected ‘)’ before numeric constant 374 | else if (base == (AddrSpace *) ~((uintp)0)) { | ~ ^ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:376:6: error: expected ‘)’ before ‘else’ 376 | } | ^ | ) 377 | else if (op2.base == (AddrSpace *)0) { | ~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:374:13: note: to match this ‘(’ 374 | else if (base == (AddrSpace *) ~((uintp)0)) { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:25: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Address::operator<(const Address&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:351:39: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 351 | else if (base == (AddrSpace *) ~((uintp)0)) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:362:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 362 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In static member function ‘static AddrSpace* Address::getSpaceFromConst(const Address&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:453:24: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 453 | return (AddrSpace *)(uintp)addr.offset; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:453:30: error: expected ‘;’ before ‘addr’ 453 | return (AddrSpace *)(uintp)addr.offset; | ^~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:362:21: error: ‘const class Address’ has no member named ‘offset’ 362 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:351:45: error: expected ‘)’ before numeric constant 351 | else if (base == (AddrSpace *) ~((uintp)0)) { | ~ ^ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:453:35: error: ‘const class Address’ has no member named ‘offset’ 453 | return (AddrSpace *)(uintp)addr.offset; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:362:50: error: ‘const class Address’ has no member named ‘offset’ 362 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:505:40: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 505 | extern bool signbit_negative(uintb val,int4 size); ///< Return true if the sign-bit is set | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:394:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 394 | inline Address Address::operator+(int4 off) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:353:6: error: expected ‘)’ before ‘else’ 353 | } | ^ | ) 354 | else if (op2.base == (AddrSpace *)0) { | ~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:505:49: error: expression list treated as compound expression in initializer [-fpermissive] 505 | extern bool signbit_negative(uintb val,int4 size); ///< Return true if the sign-bit is set | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:351:13: note: to match this ‘(’ 351 | else if (base == (AddrSpace *) ~((uintp)0)) { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:404:16: error: declaration of ‘operator-’ as non-function 404 | inline Address Address::operator-(int4 off) const { | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:512:23: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 512 | extern void byte_swap(intb &val,int4 size); ///< Swap bytes in the given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Range::contains(const Address&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:460:7: error: ‘first’ was not declared in this scope 460 | if (first > addr.getOffset()) return false; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:460:20: error: ‘const class Address’ has no member named ‘getOffset’ 460 | if (first > addr.getOffset()) return false; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:510:31: error: ‘val’ was not declared in this scope 510 | extern void sign_extend(intb &val,int4 bit); ///< Sign extend above given bit | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:506:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 506 | extern uintb calc_mask(int4 size); ///< Calculate a mask for a given byte size | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:32: error: ‘res’ was not declared in this scope 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:507:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 507 | extern uintb uintb_negate(uintb in,int4 size); ///< Negate the \e sized value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:512:29: error: ‘val’ was not declared in this scope 512 | extern void byte_swap(intb &val,int4 size); ///< Swap bytes in the given value | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:404:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 404 | inline Address Address::operator-(int4 off) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:508:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 508 | extern uintb sign_extend(uintb in,int4 sizein,int4 sizeout); ///< Sign-extend a value between two byte sizes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:510:13: error: variable or field ‘sign_extend’ declared void 510 | extern void sign_extend(intb &val,int4 bit); ///< Sign extend above given bit | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:510:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 510 | extern void sign_extend(intb &val,int4 bit); ///< Sign extend above given bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:511:13: error: variable or field ‘zero_extend’ declared void 511 | extern void zero_extend(intb &val,int4 bit); ///< Clear all bits above given bit | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:36: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:385:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 385 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:385:21: error: ‘const class Address’ has no member named ‘offset’ 385 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘void Address::saveXml(std::ostream&, int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:441:31: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 441 | base->saveXmlAttributes(s,offset,size); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:385:50: error: ‘const class Address’ has no member named ‘offset’ 385 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:394:16: error: declaration of ‘operator+’ as non-function 394 | inline Address Address::operator+(int4 off) const { | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:512:33: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 512 | extern void byte_swap(intb &val,int4 size); ///< Swap bytes in the given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘void Address::saveXml(std::ostream&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:429:31: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 429 | base->saveXmlAttributes(s,offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Range::contains(const Address&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:460:7: error: ‘first’ was not declared in this scope 460 | if (first > addr.getOffset()) return false; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:511:25: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 511 | extern void zero_extend(intb &val,int4 bit); ///< Clear all bits above given bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:460:20: error: ‘const class Address’ has no member named ‘getOffset’ 460 | if (first > addr.getOffset()) return false; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Address::operator<=(const Address&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:374:39: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 374 | else if (base == (AddrSpace *) ~((uintp)0)) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:510:25: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 510 | extern void sign_extend(intb &val,int4 bit); ///< Sign extend above given bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:374:45: error: expected ‘)’ before numeric constant 374 | else if (base == (AddrSpace *) ~((uintp)0)) { | ~ ^ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:376:6: error: expected ‘)’ before ‘else’ 376 | } | ^ | ) 377 | else if (op2.base == (AddrSpace *)0) { | ~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:374:13: note: to match this ‘(’ 374 | else if (base == (AddrSpace *) ~((uintp)0)) { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:514:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 514 | extern uintb byte_swap(uintb val,int4 size); ///< Return the given value with bytes swapped | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:461:7: error: ‘last’ was not declared in this scope 461 | if (last < addr.getOffset()) return false; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:362:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 362 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:438:41: error: ‘int4’ has not been declared 438 | inline void Address::saveXml(ostream &s,int4 size) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:461:19: error: ‘const class Address’ has no member named ‘getOffset’ 461 | if (last < addr.getOffset()) return false; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:362:21: error: ‘const class Address’ has no member named ‘offset’ 362 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:362:50: error: ‘const class Address’ has no member named ‘offset’ 362 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:44: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:13: error: variable or field ‘unsignedSubtract128’ declared void 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^~~~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:515:8: error: ‘int4’ does not name a type; did you mean ‘int’? 515 | extern int4 leastsigbit_set(uintb val); ///< Return index of least significant bit set in given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:516:8: error: ‘int4’ does not name a type; did you mean ‘int’? 516 | extern int4 mostsigbit_set(uintb val); ///< Return index of most significant bit set in given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:467:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 467 | inline uintb calc_mask(int4 size) { return uintbmasks[(size<8)? size : 8]; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:394:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 394 | inline Address Address::operator+(int4 off) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:511:31: error: ‘val’ was not declared in this scope 511 | extern void zero_extend(intb &val,int4 bit); ///< Clear all bits above given bit | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:404:16: error: declaration of ‘operator-’ as non-function 404 | inline Address Address::operator-(int4 off) const { | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:517:8: error: ‘int4’ does not name a type; did you mean ‘int’? 517 | extern int4 popcount(uintb val); ///< Return the number of one bits in the given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:510:31: error: ‘val’ was not declared in this scope 510 | extern void sign_extend(intb &val,int4 bit); ///< Sign extend above given bit | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:518:8: error: ‘int4’ does not name a type; did you mean ‘int’? 518 | extern int4 count_leading_zeros(uintb val); ///< Return the number of leading zero bits in the given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:33: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:473:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 473 | inline uintb pcode_right(uintb val,int4 sa) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:520:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 520 | extern uintb coveringmask(uintb val); ///< Return a mask that \e covers the given value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:461:7: error: ‘last’ was not declared in this scope 461 | if (last < addr.getOffset()) return false; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In static member function ‘static AddrSpace* Address::getSpaceFromConst(const Address&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:453:24: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 453 | return (AddrSpace *)(uintp)addr.offset; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:461:19: error: ‘const class Address’ has no member named ‘getOffset’ 461 | if (last < addr.getOffset()) return false; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:453:30: error: expected ‘;’ before ‘addr’ 453 | return (AddrSpace *)(uintp)addr.offset; | ^~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:521:8: error: ‘int4’ does not name a type; did you mean ‘int’? 521 | extern int4 bit_transitions(uintb val,int4 sz); ///< Calculate the number of bit transitions in the sized value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:482:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 482 | inline uintb pcode_left(uintb val,int4 sa) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:453:35: error: ‘const class Address’ has no member named ‘offset’ 453 | return (AddrSpace *)(uintp)addr.offset; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:13: error: variable or field ‘mult64to128’ declared void 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:511:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 511 | extern void zero_extend(intb &val,int4 bit); ///< Clear all bits above given bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:512:13: error: variable or field ‘byte_swap’ declared void 512 | extern void byte_swap(intb &val,int4 size); ///< Swap bytes in the given value | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:404:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 404 | inline Address Address::operator-(int4 off) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:510:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 510 | extern void sign_extend(intb &val,int4 bit); ///< Sign extend above given bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:40: error: ‘a’ was not declared in this scope 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:511:13: error: variable or field ‘zero_extend’ declared void 511 | extern void zero_extend(intb &val,int4 bit); ///< Clear all bits above given bit | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:467:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 467 | inline uintb calc_mask(int4 size) { return uintbmasks[(size<8)? size : 8]; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:493:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 493 | inline uintb minimalmask(uintb val) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘void Address::saveXml(std::ostream&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:429:31: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 429 | base->saveXmlAttributes(s,offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Address::operator<=(const Address&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:374:39: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 374 | else if (base == (AddrSpace *) ~((uintp)0)) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:505:13: warning: ‘signbit_negative’ initialized and declared ‘extern’ 505 | extern bool signbit_negative(uintb val,int4 size); ///< Return true if the sign-bit is set | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:374:45: error: expected ‘)’ before numeric constant 374 | else if (base == (AddrSpace *) ~((uintp)0)) { | ~ ^ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:376:6: error: expected ‘)’ before ‘else’ 376 | } | ^ | ) 377 | else if (op2.base == (AddrSpace *)0) { | ~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:374:13: note: to match this ‘(’ 374 | else if (base == (AddrSpace *) ~((uintp)0)) { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:385:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 385 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:385:21: error: ‘const class Address’ has no member named ‘offset’ 385 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:473:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 473 | inline uintb pcode_right(uintb val,int4 sa) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:385:50: error: ‘const class Address’ has no member named ‘offset’ 385 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:438:41: error: ‘int4’ has not been declared 438 | inline void Address::saveXml(ostream &s,int4 size) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:25: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:394:16: error: declaration of ‘operator+’ as non-function 394 | inline Address Address::operator+(int4 off) const { | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘void Address::saveXml(std::ostream&, int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:441:31: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 441 | base->saveXmlAttributes(s,offset,size); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:512:23: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 512 | extern void byte_swap(intb &val,int4 size); ///< Swap bytes in the given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:482:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 482 | inline uintb pcode_left(uintb val,int4 sa) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:42: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:511:25: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 511 | extern void zero_extend(intb &val,int4 bit); ///< Clear all bits above given bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:493:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 493 | inline uintb minimalmask(uintb val) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:505:13: warning: ‘signbit_negative’ initialized and declared ‘extern’ 505 | extern bool signbit_negative(uintb val,int4 size); ///< Return true if the sign-bit is set | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:505:30: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 505 | extern bool signbit_negative(uintb val,int4 size); ///< Return true if the sign-bit is set | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:32: error: ‘res’ was not declared in this scope 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:512:29: error: ‘val’ was not declared in this scope 512 | extern void byte_swap(intb &val,int4 size); ///< Swap bytes in the given value | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:394:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 394 | inline Address Address::operator+(int4 off) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Range::contains(const Address&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:460:7: error: ‘first’ was not declared in this scope 460 | if (first > addr.getOffset()) return false; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:404:16: error: declaration of ‘operator-’ as non-function 404 | inline Address Address::operator-(int4 off) const { | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:49: error: ‘b’ was not declared in this scope 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:460:20: error: ‘const class Address’ has no member named ‘getOffset’ 460 | if (first > addr.getOffset()) return false; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:505:30: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 505 | extern bool signbit_negative(uintb val,int4 size); ///< Return true if the sign-bit is set | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:511:31: error: ‘val’ was not declared in this scope 511 | extern void zero_extend(intb &val,int4 bit); ///< Clear all bits above given bit | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:525:8: error: ‘int4’ does not name a type; did you mean ‘int’? 525 | extern int4 unsignedCompare128(uint8 *a,uint8 *b); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:36: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:385:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 385 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:505:40: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 505 | extern bool signbit_negative(uintb val,int4 size); ///< Return true if the sign-bit is set | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:505:49: error: expression list treated as compound expression in initializer [-fpermissive] 505 | extern bool signbit_negative(uintb val,int4 size); ///< Return true if the sign-bit is set | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:385:21: error: ‘const class Address’ has no member named ‘offset’ 385 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:512:33: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 512 | extern void byte_swap(intb &val,int4 size); ///< Swap bytes in the given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:526:8: error: ‘int4’ does not name a type; did you mean ‘int’? 526 | extern int4 power2Divide(int4 n,uint8 divisor,uint8 &q,uint8 &r); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:385:50: error: ‘const class Address’ has no member named ‘offset’ 385 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In static member function ‘static AddrSpace* Address::getSpaceFromConst(const Address&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:453:24: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 453 | return (AddrSpace *)(uintp)addr.offset; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:394:16: error: declaration of ‘operator+’ as non-function 394 | inline Address Address::operator+(int4 off) const { | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:453:30: error: expected ‘;’ before ‘addr’ 453 | return (AddrSpace *)(uintp)addr.offset; | ^~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:453:35: error: ‘const class Address’ has no member named ‘offset’ 453 | return (AddrSpace *)(uintp)addr.offset; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:514:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 514 | extern uintb byte_swap(uintb val,int4 size); ///< Return the given value with bytes swapped | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:505:40: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 505 | extern bool signbit_negative(uintb val,int4 size); ///< Return true if the sign-bit is set | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:505:49: error: expression list treated as compound expression in initializer [-fpermissive] 505 | extern bool signbit_negative(uintb val,int4 size); ///< Return true if the sign-bit is set | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:404:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 404 | inline Address Address::operator-(int4 off) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:506:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 506 | extern uintb calc_mask(int4 size); ///< Calculate a mask for a given byte size | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:515:8: error: ‘int4’ does not name a type; did you mean ‘int’? 515 | extern int4 leastsigbit_set(uintb val); ///< Return index of least significant bit set in given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘void Address::saveXml(std::ostream&, int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:441:31: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 441 | base->saveXmlAttributes(s,offset,size); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:511:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 511 | extern void zero_extend(intb &val,int4 bit); ///< Clear all bits above given bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:44: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘void Address::saveXml(std::ostream&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:429:31: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 429 | base->saveXmlAttributes(s,offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:13: error: variable or field ‘unsignedSubtract128’ declared void 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^~~~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:512:13: error: variable or field ‘byte_swap’ declared void 512 | extern void byte_swap(intb &val,int4 size); ///< Swap bytes in the given value | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:506:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 506 | extern uintb calc_mask(int4 size); ///< Calculate a mask for a given byte size | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:516:8: error: ‘int4’ does not name a type; did you mean ‘int’? 516 | extern int4 mostsigbit_set(uintb val); ///< Return index of most significant bit set in given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:438:41: error: ‘int4’ has not been declared 438 | inline void Address::saveXml(ostream &s,int4 size) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:461:7: error: ‘last’ was not declared in this scope 461 | if (last < addr.getOffset()) return false; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:507:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 507 | extern uintb uintb_negate(uintb in,int4 size); ///< Negate the \e sized value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:507:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 507 | extern uintb uintb_negate(uintb in,int4 size); ///< Negate the \e sized value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:461:19: error: ‘const class Address’ has no member named ‘getOffset’ 461 | if (last < addr.getOffset()) return false; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:517:8: error: ‘int4’ does not name a type; did you mean ‘int’? 517 | extern int4 popcount(uintb val); ///< Return the number of one bits in the given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:394:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 394 | inline Address Address::operator+(int4 off) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:404:16: error: declaration of ‘operator-’ as non-function 404 | inline Address Address::operator-(int4 off) const { | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:508:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 508 | extern uintb sign_extend(uintb in,int4 sizein,int4 sizeout); ///< Sign-extend a value between two byte sizes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:510:13: error: variable or field ‘sign_extend’ declared void 510 | extern void sign_extend(intb &val,int4 bit); ///< Sign extend above given bit | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:518:8: error: ‘int4’ does not name a type; did you mean ‘int’? 518 | extern int4 count_leading_zeros(uintb val); ///< Return the number of leading zero bits in the given value | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:63:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 63 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:33: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:467:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 467 | inline uintb calc_mask(int4 size) { return uintbmasks[(size<8)? size : 8]; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:508:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 508 | extern uintb sign_extend(uintb in,int4 sizein,int4 sizeout); ///< Sign-extend a value between two byte sizes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:510:13: error: variable or field ‘sign_extend’ declared void 510 | extern void sign_extend(intb &val,int4 bit); ///< Sign extend above given bit | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:520:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 520 | extern uintb coveringmask(uintb val); ///< Return a mask that \e covers the given value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:512:23: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 512 | extern void byte_swap(intb &val,int4 size); ///< Swap bytes in the given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:473:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 473 | inline uintb pcode_right(uintb val,int4 sa) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:521:8: error: ‘int4’ does not name a type; did you mean ‘int’? 521 | extern int4 bit_transitions(uintb val,int4 sz); ///< Calculate the number of bit transitions in the sized value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:13: error: variable or field ‘mult64to128’ declared void 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:66:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 66 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:404:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 404 | inline Address Address::operator-(int4 off) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:510:25: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 510 | extern void sign_extend(intb &val,int4 bit); ///< Sign extend above given bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Range::contains(const Address&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:460:7: error: ‘first’ was not declared in this scope 460 | if (first > addr.getOffset()) return false; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:482:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 482 | inline uintb pcode_left(uintb val,int4 sa) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:40: error: ‘a’ was not declared in this scope 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:460:20: error: ‘const class Address’ has no member named ‘getOffset’ 460 | if (first > addr.getOffset()) return false; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:493:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 493 | inline uintb minimalmask(uintb val) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:505:13: warning: ‘signbit_negative’ initialized and declared ‘extern’ 505 | extern bool signbit_negative(uintb val,int4 size); ///< Return true if the sign-bit is set | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:69:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 69 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:510:25: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 510 | extern void sign_extend(intb &val,int4 bit); ///< Sign extend above given bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:25: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In static member function ‘static AddrSpace* Address::getSpaceFromConst(const Address&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:453:24: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 453 | return (AddrSpace *)(uintp)addr.offset; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:512:29: error: ‘val’ was not declared in this scope 512 | extern void byte_swap(intb &val,int4 size); ///< Swap bytes in the given value | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:453:30: error: expected ‘;’ before ‘addr’ 453 | return (AddrSpace *)(uintp)addr.offset; | ^~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:453:35: error: ‘const class Address’ has no member named ‘offset’ 453 | return (AddrSpace *)(uintp)addr.offset; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:42: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:510:31: error: ‘val’ was not declared in this scope 510 | extern void sign_extend(intb &val,int4 bit); ///< Sign extend above given bit | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:72:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 72 | virtual uintb recoverInputUnary(int4 sizeout,uintb out,int4 sizein) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:505:30: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 505 | extern bool signbit_negative(uintb val,int4 size); ///< Return true if the sign-bit is set | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘void Address::saveXml(std::ostream&, int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:441:31: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 441 | base->saveXmlAttributes(s,offset,size); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:32: error: ‘res’ was not declared in this scope 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:49: error: ‘b’ was not declared in this scope 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:461:7: error: ‘last’ was not declared in this scope 461 | if (last < addr.getOffset()) return false; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:510:31: error: ‘val’ was not declared in this scope 510 | extern void sign_extend(intb &val,int4 bit); ///< Sign extend above given bit | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘void Address::saveXml(std::ostream&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:429:31: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 429 | base->saveXmlAttributes(s,offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:512:33: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 512 | extern void byte_swap(intb &val,int4 size); ///< Swap bytes in the given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:461:19: error: ‘const class Address’ has no member named ‘getOffset’ 461 | if (last < addr.getOffset()) return false; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:510:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 510 | extern void sign_extend(intb &val,int4 bit); ///< Sign extend above given bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:511:13: error: variable or field ‘zero_extend’ declared void 511 | extern void zero_extend(intb &val,int4 bit); ///< Clear all bits above given bit | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:525:8: error: ‘int4’ does not name a type; did you mean ‘int’? 525 | extern int4 unsignedCompare128(uint8 *a,uint8 *b); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:505:40: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 505 | extern bool signbit_negative(uintb val,int4 size); ///< Return true if the sign-bit is set | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:438:41: error: ‘int4’ has not been declared 438 | inline void Address::saveXml(ostream &s,int4 size) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:526:8: error: ‘int4’ does not name a type; did you mean ‘int’? 526 | extern int4 power2Divide(int4 n,uint8 divisor,uint8 &q,uint8 &r); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:505:49: error: expression list treated as compound expression in initializer [-fpermissive] 505 | extern bool signbit_negative(uintb val,int4 size); ///< Return true if the sign-bit is set | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:467:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 467 | inline uintb calc_mask(int4 size) { return uintbmasks[(size<8)? size : 8]; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:514:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 514 | extern uintb byte_swap(uintb val,int4 size); ///< Return the given value with bytes swapped | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:36: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:473:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 473 | inline uintb pcode_right(uintb val,int4 sa) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:506:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 506 | extern uintb calc_mask(int4 size); ///< Calculate a mask for a given byte size | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:126:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 126 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:515:8: error: ‘int4’ does not name a type; did you mean ‘int’? 515 | extern int4 leastsigbit_set(uintb val); ///< Return index of least significant bit set in given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:511:25: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 511 | extern void zero_extend(intb &val,int4 bit); ///< Clear all bits above given bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:482:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 482 | inline uintb pcode_left(uintb val,int4 sa) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:507:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 507 | extern uintb uintb_negate(uintb in,int4 size); ///< Negate the \e sized value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:510:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 510 | extern void sign_extend(intb &val,int4 bit); ///< Sign extend above given bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:511:13: error: variable or field ‘zero_extend’ declared void 511 | extern void zero_extend(intb &val,int4 bit); ///< Clear all bits above given bit | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:516:8: error: ‘int4’ does not name a type; did you mean ‘int’? 516 | extern int4 mostsigbit_set(uintb val); ///< Return index of most significant bit set in given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘void Address::saveXml(std::ostream&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:429:31: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 429 | base->saveXmlAttributes(s,offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:493:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 493 | inline uintb minimalmask(uintb val) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:44: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:508:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 508 | extern uintb sign_extend(uintb in,int4 sizein,int4 sizeout); ///< Sign-extend a value between two byte sizes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Range::contains(const Address&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:460:7: error: ‘first’ was not declared in this scope 460 | if (first > addr.getOffset()) return false; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:505:13: warning: ‘signbit_negative’ initialized and declared ‘extern’ 505 | extern bool signbit_negative(uintb val,int4 size); ///< Return true if the sign-bit is set | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:510:13: error: variable or field ‘sign_extend’ declared void 510 | extern void sign_extend(intb &val,int4 bit); ///< Sign extend above given bit | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:13: error: variable or field ‘unsignedSubtract128’ declared void 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^~~~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:127:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 127 | virtual uintb recoverInputUnary(int4 sizeout,uintb out,int4 sizein) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:460:20: error: ‘const class Address’ has no member named ‘getOffset’ 460 | if (first > addr.getOffset()) return false; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:517:8: error: ‘int4’ does not name a type; did you mean ‘int’? 517 | extern int4 popcount(uintb val); ///< Return the number of one bits in the given value | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:63:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 63 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:438:41: error: ‘int4’ has not been declared 438 | inline void Address::saveXml(ostream &s,int4 size) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In static member function ‘static AddrSpace* Address::getSpaceFromConst(const Address&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:453:24: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 453 | return (AddrSpace *)(uintp)addr.offset; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:453:30: error: expected ‘;’ before ‘addr’ 453 | return (AddrSpace *)(uintp)addr.offset; | ^~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:453:35: error: ‘const class Address’ has no member named ‘offset’ 453 | return (AddrSpace *)(uintp)addr.offset; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:518:8: error: ‘int4’ does not name a type; did you mean ‘int’? 518 | extern int4 count_leading_zeros(uintb val); ///< Return the number of leading zero bits in the given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:511:31: error: ‘val’ was not declared in this scope 511 | extern void zero_extend(intb &val,int4 bit); ///< Clear all bits above given bit | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:66:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 66 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:520:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 520 | extern uintb coveringmask(uintb val); ///< Return a mask that \e covers the given value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:33: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:510:25: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 510 | extern void sign_extend(intb &val,int4 bit); ///< Sign extend above given bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:511:25: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 511 | extern void zero_extend(intb &val,int4 bit); ///< Clear all bits above given bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:505:30: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 505 | extern bool signbit_negative(uintb val,int4 size); ///< Return true if the sign-bit is set | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:134:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 134 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:69:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 69 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:521:8: error: ‘int4’ does not name a type; did you mean ‘int’? 521 | extern int4 bit_transitions(uintb val,int4 sz); ///< Calculate the number of bit transitions in the sized value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:13: error: variable or field ‘mult64to128’ declared void 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:511:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 511 | extern void zero_extend(intb &val,int4 bit); ///< Clear all bits above given bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:512:13: error: variable or field ‘byte_swap’ declared void 512 | extern void byte_swap(intb &val,int4 size); ///< Swap bytes in the given value | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:72:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 72 | virtual uintb recoverInputUnary(int4 sizeout,uintb out,int4 sizein) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:40: error: ‘a’ was not declared in this scope 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘void Address::saveXml(std::ostream&, int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:441:31: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 441 | base->saveXmlAttributes(s,offset,size); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:141:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 141 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:505:40: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 505 | extern bool signbit_negative(uintb val,int4 size); ///< Return true if the sign-bit is set | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:505:49: error: expression list treated as compound expression in initializer [-fpermissive] 505 | extern bool signbit_negative(uintb val,int4 size); ///< Return true if the sign-bit is set | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:461:7: error: ‘last’ was not declared in this scope 461 | if (last < addr.getOffset()) return false; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:510:31: error: ‘val’ was not declared in this scope 510 | extern void sign_extend(intb &val,int4 bit); ///< Sign extend above given bit | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:461:19: error: ‘const class Address’ has no member named ‘getOffset’ 461 | if (last < addr.getOffset()) return false; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:25: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:511:31: error: ‘val’ was not declared in this scope 511 | extern void zero_extend(intb &val,int4 bit); ///< Clear all bits above given bit | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:506:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 506 | extern uintb calc_mask(int4 size); ///< Calculate a mask for a given byte size | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:512:23: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 512 | extern void byte_swap(intb &val,int4 size); ///< Swap bytes in the given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:42: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:507:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 507 | extern uintb uintb_negate(uintb in,int4 size); ///< Negate the \e sized value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:467:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 467 | inline uintb calc_mask(int4 size) { return uintbmasks[(size<8)? size : 8]; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Range::contains(const Address&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:460:7: error: ‘first’ was not declared in this scope 460 | if (first > addr.getOffset()) return false; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:460:20: error: ‘const class Address’ has no member named ‘getOffset’ 460 | if (first > addr.getOffset()) return false; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:126:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 126 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:148:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 148 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘void Address::saveXml(std::ostream&, int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:441:31: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 441 | base->saveXmlAttributes(s,offset,size); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:510:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 510 | extern void sign_extend(intb &val,int4 bit); ///< Sign extend above given bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:508:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 508 | extern uintb sign_extend(uintb in,int4 sizein,int4 sizeout); ///< Sign-extend a value between two byte sizes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:511:13: error: variable or field ‘zero_extend’ declared void 511 | extern void zero_extend(intb &val,int4 bit); ///< Clear all bits above given bit | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:510:13: error: variable or field ‘sign_extend’ declared void 510 | extern void sign_extend(intb &val,int4 bit); ///< Sign extend above given bit | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:49: error: ‘b’ was not declared in this scope 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:473:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 473 | inline uintb pcode_right(uintb val,int4 sa) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:127:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 127 | virtual uintb recoverInputUnary(int4 sizeout,uintb out,int4 sizein) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:32: error: ‘res’ was not declared in this scope 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:512:29: error: ‘val’ was not declared in this scope 512 | extern void byte_swap(intb &val,int4 size); ///< Swap bytes in the given value | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:511:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 511 | extern void zero_extend(intb &val,int4 bit); ///< Clear all bits above given bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:512:13: error: variable or field ‘byte_swap’ declared void 512 | extern void byte_swap(intb &val,int4 size); ///< Swap bytes in the given value | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:525:8: error: ‘int4’ does not name a type; did you mean ‘int’? 525 | extern int4 unsignedCompare128(uint8 *a,uint8 *b); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:155:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 155 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:482:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 482 | inline uintb pcode_left(uintb val,int4 sa) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:510:25: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 510 | extern void sign_extend(intb &val,int4 bit); ///< Sign extend above given bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:511:25: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 511 | extern void zero_extend(intb &val,int4 bit); ///< Clear all bits above given bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:526:8: error: ‘int4’ does not name a type; did you mean ‘int’? 526 | extern int4 power2Divide(int4 n,uint8 divisor,uint8 &q,uint8 &r); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:134:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 134 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:493:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 493 | inline uintb minimalmask(uintb val) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:505:13: warning: ‘signbit_negative’ initialized and declared ‘extern’ 505 | extern bool signbit_negative(uintb val,int4 size); ///< Return true if the sign-bit is set | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:512:33: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 512 | extern void byte_swap(intb &val,int4 size); ///< Swap bytes in the given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In static member function ‘static AddrSpace* Address::getSpaceFromConst(const Address&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:453:24: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 453 | return (AddrSpace *)(uintp)addr.offset; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:453:30: error: expected ‘;’ before ‘addr’ 453 | return (AddrSpace *)(uintp)addr.offset; | ^~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:453:35: error: ‘const class Address’ has no member named ‘offset’ 453 | return (AddrSpace *)(uintp)addr.offset; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:36: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:514:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 514 | extern uintb byte_swap(uintb val,int4 size); ///< Return the given value with bytes swapped | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:162:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 162 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:141:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 141 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:461:7: error: ‘last’ was not declared in this scope 461 | if (last < addr.getOffset()) return false; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:512:23: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 512 | extern void byte_swap(intb &val,int4 size); ///< Swap bytes in the given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:461:19: error: ‘const class Address’ has no member named ‘getOffset’ 461 | if (last < addr.getOffset()) return false; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:510:31: error: ‘val’ was not declared in this scope 510 | extern void sign_extend(intb &val,int4 bit); ///< Sign extend above given bit | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:511:31: error: ‘val’ was not declared in this scope 511 | extern void zero_extend(intb &val,int4 bit); ///< Clear all bits above given bit | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:515:8: error: ‘int4’ does not name a type; did you mean ‘int’? 515 | extern int4 leastsigbit_set(uintb val); ///< Return index of least significant bit set in given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In static member function ‘static AddrSpace* Address::getSpaceFromConst(const Address&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:453:24: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 453 | return (AddrSpace *)(uintp)addr.offset; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:453:30: error: expected ‘;’ before ‘addr’ 453 | return (AddrSpace *)(uintp)addr.offset; | ^~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:453:35: error: ‘const class Address’ has no member named ‘offset’ 453 | return (AddrSpace *)(uintp)addr.offset; | ^~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:63:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 63 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:516:8: error: ‘int4’ does not name a type; did you mean ‘int’? 516 | extern int4 mostsigbit_set(uintb val); ///< Return index of most significant bit set in given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:505:30: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 505 | extern bool signbit_negative(uintb val,int4 size); ///< Return true if the sign-bit is set | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:467:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 467 | inline uintb calc_mask(int4 size) { return uintbmasks[(size<8)? size : 8]; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:148:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 148 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:517:8: error: ‘int4’ does not name a type; did you mean ‘int’? 517 | extern int4 popcount(uintb val); ///< Return the number of one bits in the given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:44: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:169:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 169 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:13: error: variable or field ‘unsignedSubtract128’ declared void 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^~~~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:66:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 66 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:518:8: error: ‘int4’ does not name a type; did you mean ‘int’? 518 | extern int4 count_leading_zeros(uintb val); ///< Return the number of leading zero bits in the given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:510:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 510 | extern void sign_extend(intb &val,int4 bit); ///< Sign extend above given bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:511:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 511 | extern void zero_extend(intb &val,int4 bit); ///< Clear all bits above given bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:511:13: error: variable or field ‘zero_extend’ declared void 511 | extern void zero_extend(intb &val,int4 bit); ///< Clear all bits above given bit | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:512:13: error: variable or field ‘byte_swap’ declared void 512 | extern void byte_swap(intb &val,int4 size); ///< Swap bytes in the given value | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:473:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 473 | inline uintb pcode_right(uintb val,int4 sa) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:512:29: error: ‘val’ was not declared in this scope 512 | extern void byte_swap(intb &val,int4 size); ///< Swap bytes in the given value | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:520:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 520 | extern uintb coveringmask(uintb val); ///< Return a mask that \e covers the given value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:69:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 69 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:155:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 155 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:176:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 176 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:521:8: error: ‘int4’ does not name a type; did you mean ‘int’? 521 | extern int4 bit_transitions(uintb val,int4 sz); ///< Calculate the number of bit transitions in the sized value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:13: error: variable or field ‘mult64to128’ declared void 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:482:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 482 | inline uintb pcode_left(uintb val,int4 sa) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:505:40: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 505 | extern bool signbit_negative(uintb val,int4 size); ///< Return true if the sign-bit is set | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:505:49: error: expression list treated as compound expression in initializer [-fpermissive] 505 | extern bool signbit_negative(uintb val,int4 size); ///< Return true if the sign-bit is set | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:72:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 72 | virtual uintb recoverInputUnary(int4 sizeout,uintb out,int4 sizein) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:33: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:511:25: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 511 | extern void zero_extend(intb &val,int4 bit); ///< Clear all bits above given bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:493:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 493 | inline uintb minimalmask(uintb val) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:512:23: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 512 | extern void byte_swap(intb &val,int4 size); ///< Swap bytes in the given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:177:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 177 | virtual uintb recoverInputUnary(int4 sizeout,uintb out,int4 sizein) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:162:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 162 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:505:13: warning: ‘signbit_negative’ initialized and declared ‘extern’ 505 | extern bool signbit_negative(uintb val,int4 size); ///< Return true if the sign-bit is set | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Range::contains(const Address&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:460:7: error: ‘first’ was not declared in this scope 460 | if (first > addr.getOffset()) return false; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:460:20: error: ‘const class Address’ has no member named ‘getOffset’ 460 | if (first > addr.getOffset()) return false; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:506:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 506 | extern uintb calc_mask(int4 size); ///< Calculate a mask for a given byte size | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:512:33: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 512 | extern void byte_swap(intb &val,int4 size); ///< Swap bytes in the given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:25: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Range::contains(const Address&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:460:7: error: ‘first’ was not declared in this scope 460 | if (first > addr.getOffset()) return false; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:40: error: ‘a’ was not declared in this scope 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:460:20: error: ‘const class Address’ has no member named ‘getOffset’ 460 | if (first > addr.getOffset()) return false; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:507:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 507 | extern uintb uintb_negate(uintb in,int4 size); ///< Negate the \e sized value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:169:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 169 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:184:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 184 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:514:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 514 | extern uintb byte_swap(uintb val,int4 size); ///< Return the given value with bytes swapped | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:511:31: error: ‘val’ was not declared in this scope 511 | extern void zero_extend(intb &val,int4 bit); ///< Clear all bits above given bit | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:512:29: error: ‘val’ was not declared in this scope 512 | extern void byte_swap(intb &val,int4 size); ///< Swap bytes in the given value | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:508:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 508 | extern uintb sign_extend(uintb in,int4 sizein,int4 sizeout); ///< Sign-extend a value between two byte sizes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:510:13: error: variable or field ‘sign_extend’ declared void 510 | extern void sign_extend(intb &val,int4 bit); ///< Sign extend above given bit | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:505:30: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 505 | extern bool signbit_negative(uintb val,int4 size); ///< Return true if the sign-bit is set | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:126:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 126 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:515:8: error: ‘int4’ does not name a type; did you mean ‘int’? 515 | extern int4 leastsigbit_set(uintb val); ///< Return index of least significant bit set in given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:185:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 185 | virtual uintb recoverInputUnary(int4 sizeout,uintb out,int4 sizein) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:32: error: ‘res’ was not declared in this scope 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:176:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 176 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:42: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:127:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 127 | virtual uintb recoverInputUnary(int4 sizeout,uintb out,int4 sizein) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:516:8: error: ‘int4’ does not name a type; did you mean ‘int’? 516 | extern int4 mostsigbit_set(uintb val); ///< Return index of most significant bit set in given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:177:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 177 | virtual uintb recoverInputUnary(int4 sizeout,uintb out,int4 sizein) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:511:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 511 | extern void zero_extend(intb &val,int4 bit); ///< Clear all bits above given bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:512:33: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 512 | extern void byte_swap(intb &val,int4 size); ///< Swap bytes in the given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:512:13: error: variable or field ‘byte_swap’ declared void 512 | extern void byte_swap(intb &val,int4 size); ///< Swap bytes in the given value | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:517:8: error: ‘int4’ does not name a type; did you mean ‘int’? 517 | extern int4 popcount(uintb val); ///< Return the number of one bits in the given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:192:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 192 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:510:25: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 510 | extern void sign_extend(intb &val,int4 bit); ///< Sign extend above given bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:461:7: error: ‘last’ was not declared in this scope 461 | if (last < addr.getOffset()) return false; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:505:40: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 505 | extern bool signbit_negative(uintb val,int4 size); ///< Return true if the sign-bit is set | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:461:19: error: ‘const class Address’ has no member named ‘getOffset’ 461 | if (last < addr.getOffset()) return false; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:505:49: error: expression list treated as compound expression in initializer [-fpermissive] 505 | extern bool signbit_negative(uintb val,int4 size); ///< Return true if the sign-bit is set | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:36: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:514:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 514 | extern uintb byte_swap(uintb val,int4 size); ///< Return the given value with bytes swapped | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:49: error: ‘b’ was not declared in this scope 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:134:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 134 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:518:8: error: ‘int4’ does not name a type; did you mean ‘int’? 518 | extern int4 count_leading_zeros(uintb val); ///< Return the number of leading zero bits in the given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:461:7: error: ‘last’ was not declared in this scope 461 | if (last < addr.getOffset()) return false; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:461:19: error: ‘const class Address’ has no member named ‘getOffset’ 461 | if (last < addr.getOffset()) return false; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:184:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 184 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:193:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 193 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:515:8: error: ‘int4’ does not name a type; did you mean ‘int’? 515 | extern int4 leastsigbit_set(uintb val); ///< Return index of least significant bit set in given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:506:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 506 | extern uintb calc_mask(int4 size); ///< Calculate a mask for a given byte size | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:525:8: error: ‘int4’ does not name a type; did you mean ‘int’? 525 | extern int4 unsignedCompare128(uint8 *a,uint8 *b); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:467:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 467 | inline uintb calc_mask(int4 size) { return uintbmasks[(size<8)? size : 8]; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:520:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 520 | extern uintb coveringmask(uintb val); ///< Return a mask that \e covers the given value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:512:23: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 512 | extern void byte_swap(intb &val,int4 size); ///< Swap bytes in the given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:516:8: error: ‘int4’ does not name a type; did you mean ‘int’? 516 | extern int4 mostsigbit_set(uintb val); ///< Return index of most significant bit set in given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:185:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 185 | virtual uintb recoverInputUnary(int4 sizeout,uintb out,int4 sizein) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:467:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 467 | inline uintb calc_mask(int4 size) { return uintbmasks[(size<8)? size : 8]; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:526:8: error: ‘int4’ does not name a type; did you mean ‘int’? 526 | extern int4 power2Divide(int4 n,uint8 divisor,uint8 &q,uint8 &r); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:507:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 507 | extern uintb uintb_negate(uintb in,int4 size); ///< Negate the \e sized value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:141:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 141 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:521:8: error: ‘int4’ does not name a type; did you mean ‘int’? 521 | extern int4 bit_transitions(uintb val,int4 sz); ///< Calculate the number of bit transitions in the sized value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:13: error: variable or field ‘mult64to128’ declared void 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:44: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:510:31: error: ‘val’ was not declared in this scope 510 | extern void sign_extend(intb &val,int4 bit); ///< Sign extend above given bit | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:13: error: variable or field ‘unsignedSubtract128’ declared void 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^~~~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:517:8: error: ‘int4’ does not name a type; did you mean ‘int’? 517 | extern int4 popcount(uintb val); ///< Return the number of one bits in the given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:473:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 473 | inline uintb pcode_right(uintb val,int4 sa) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:200:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 200 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:473:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 473 | inline uintb pcode_right(uintb val,int4 sa) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:518:8: error: ‘int4’ does not name a type; did you mean ‘int’? 518 | extern int4 count_leading_zeros(uintb val); ///< Return the number of leading zero bits in the given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:508:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 508 | extern uintb sign_extend(uintb in,int4 sizein,int4 sizeout); ///< Sign-extend a value between two byte sizes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:510:13: error: variable or field ‘sign_extend’ declared void 510 | extern void sign_extend(intb &val,int4 bit); ///< Sign extend above given bit | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:192:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 192 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:482:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 482 | inline uintb pcode_left(uintb val,int4 sa) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:201:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 201 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:520:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 520 | extern uintb coveringmask(uintb val); ///< Return a mask that \e covers the given value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:482:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 482 | inline uintb pcode_left(uintb val,int4 sa) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:148:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 148 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:512:29: error: ‘val’ was not declared in this scope 512 | extern void byte_swap(intb &val,int4 size); ///< Swap bytes in the given value | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:521:8: error: ‘int4’ does not name a type; did you mean ‘int’? 521 | extern int4 bit_transitions(uintb val,int4 sz); ///< Calculate the number of bit transitions in the sized value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:13: error: variable or field ‘mult64to128’ declared void 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:493:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 493 | inline uintb minimalmask(uintb val) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:33: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:193:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 193 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:505:13: warning: ‘signbit_negative’ initialized and declared ‘extern’ 505 | extern bool signbit_negative(uintb val,int4 size); ///< Return true if the sign-bit is set | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:25: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:493:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 493 | inline uintb minimalmask(uintb val) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:510:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 510 | extern void sign_extend(intb &val,int4 bit); ///< Sign extend above given bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:505:13: warning: ‘signbit_negative’ initialized and declared ‘extern’ 505 | extern bool signbit_negative(uintb val,int4 size); ///< Return true if the sign-bit is set | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:511:13: error: variable or field ‘zero_extend’ declared void 511 | extern void zero_extend(intb &val,int4 bit); ///< Clear all bits above given bit | ^~~~~~~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh:19, from src/decompile/cpp/pcodeparse.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:63:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 63 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:208:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 208 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:510:25: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 510 | extern void sign_extend(intb &val,int4 bit); ///< Sign extend above given bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:155:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 155 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:200:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 200 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:40: error: ‘a’ was not declared in this scope 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:512:33: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 512 | extern void byte_swap(intb &val,int4 size); ///< Swap bytes in the given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:25: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:66:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 66 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:505:30: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 505 | extern bool signbit_negative(uintb val,int4 size); ///< Return true if the sign-bit is set | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:514:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 514 | extern uintb byte_swap(uintb val,int4 size); ///< Return the given value with bytes swapped | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:162:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 162 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:215:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 215 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:505:30: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 505 | extern bool signbit_negative(uintb val,int4 size); ///< Return true if the sign-bit is set | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:201:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 201 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:511:25: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 511 | extern void zero_extend(intb &val,int4 bit); ///< Clear all bits above given bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:32: error: ‘res’ was not declared in this scope 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:69:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 69 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:515:8: error: ‘int4’ does not name a type; did you mean ‘int’? 515 | extern int4 leastsigbit_set(uintb val); ///< Return index of least significant bit set in given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:510:31: error: ‘val’ was not declared in this scope 510 | extern void sign_extend(intb &val,int4 bit); ///< Sign extend above given bit | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:42: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:516:8: error: ‘int4’ does not name a type; did you mean ‘int’? 516 | extern int4 mostsigbit_set(uintb val); ///< Return index of most significant bit set in given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:32: error: ‘res’ was not declared in this scope 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:169:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 169 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:72:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 72 | virtual uintb recoverInputUnary(int4 sizeout,uintb out,int4 sizein) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:222:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 222 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:208:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 208 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:517:8: error: ‘int4’ does not name a type; did you mean ‘int’? 517 | extern int4 popcount(uintb val); ///< Return the number of one bits in the given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:505:40: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 505 | extern bool signbit_negative(uintb val,int4 size); ///< Return true if the sign-bit is set | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:505:40: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 505 | extern bool signbit_negative(uintb val,int4 size); ///< Return true if the sign-bit is set | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:505:49: error: expression list treated as compound expression in initializer [-fpermissive] 505 | extern bool signbit_negative(uintb val,int4 size); ///< Return true if the sign-bit is set | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:505:49: error: expression list treated as compound expression in initializer [-fpermissive] 505 | extern bool signbit_negative(uintb val,int4 size); ///< Return true if the sign-bit is set | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:518:8: error: ‘int4’ does not name a type; did you mean ‘int’? 518 | extern int4 count_leading_zeros(uintb val); ///< Return the number of leading zero bits in the given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:36: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:511:31: error: ‘val’ was not declared in this scope 511 | extern void zero_extend(intb &val,int4 bit); ///< Clear all bits above given bit | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:49: error: ‘b’ was not declared in this scope 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:176:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 176 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:520:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 520 | extern uintb coveringmask(uintb val); ///< Return a mask that \e covers the given value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:215:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 215 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:229:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 229 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:510:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 510 | extern void sign_extend(intb &val,int4 bit); ///< Sign extend above given bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:506:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 506 | extern uintb calc_mask(int4 size); ///< Calculate a mask for a given byte size | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:511:13: error: variable or field ‘zero_extend’ declared void 511 | extern void zero_extend(intb &val,int4 bit); ///< Clear all bits above given bit | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:506:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 506 | extern uintb calc_mask(int4 size); ///< Calculate a mask for a given byte size | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:36: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:525:8: error: ‘int4’ does not name a type; did you mean ‘int’? 525 | extern int4 unsignedCompare128(uint8 *a,uint8 *b); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:521:8: error: ‘int4’ does not name a type; did you mean ‘int’? 521 | extern int4 bit_transitions(uintb val,int4 sz); ///< Calculate the number of bit transitions in the sized value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:13: error: variable or field ‘mult64to128’ declared void 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:177:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 177 | virtual uintb recoverInputUnary(int4 sizeout,uintb out,int4 sizein) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:526:8: error: ‘int4’ does not name a type; did you mean ‘int’? 526 | extern int4 power2Divide(int4 n,uint8 divisor,uint8 &q,uint8 &r); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:507:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 507 | extern uintb uintb_negate(uintb in,int4 size); ///< Negate the \e sized value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:507:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 507 | extern uintb uintb_negate(uintb in,int4 size); ///< Negate the \e sized value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:222:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 222 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:126:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 126 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:236:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 236 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:44: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:508:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 508 | extern uintb sign_extend(uintb in,int4 sizein,int4 sizeout); ///< Sign-extend a value between two byte sizes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:511:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 511 | extern void zero_extend(intb &val,int4 bit); ///< Clear all bits above given bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:510:13: error: variable or field ‘sign_extend’ declared void 510 | extern void sign_extend(intb &val,int4 bit); ///< Sign extend above given bit | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:13: error: variable or field ‘unsignedSubtract128’ declared void 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^~~~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:512:13: error: variable or field ‘byte_swap’ declared void 512 | extern void byte_swap(intb &val,int4 size); ///< Swap bytes in the given value | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:508:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 508 | extern uintb sign_extend(uintb in,int4 sizein,int4 sizeout); ///< Sign-extend a value between two byte sizes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:510:13: error: variable or field ‘sign_extend’ declared void 510 | extern void sign_extend(intb &val,int4 bit); ///< Sign extend above given bit | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:44: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:13: error: variable or field ‘unsignedSubtract128’ declared void 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^~~~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:511:25: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 511 | extern void zero_extend(intb &val,int4 bit); ///< Clear all bits above given bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:184:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 184 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:25: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:127:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 127 | virtual uintb recoverInputUnary(int4 sizeout,uintb out,int4 sizein) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:229:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 229 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:243:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 243 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:185:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 185 | virtual uintb recoverInputUnary(int4 sizeout,uintb out,int4 sizein) const; | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:63:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 63 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:510:25: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 510 | extern void sign_extend(intb &val,int4 bit); ///< Sign extend above given bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:512:23: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 512 | extern void byte_swap(intb &val,int4 size); ///< Swap bytes in the given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:33: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:510:25: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 510 | extern void sign_extend(intb &val,int4 bit); ///< Sign extend above given bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:33: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:236:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 236 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:134:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 134 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:32: error: ‘res’ was not declared in this scope 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:250:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 250 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:66:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 66 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:511:31: error: ‘val’ was not declared in this scope 511 | extern void zero_extend(intb &val,int4 bit); ///< Clear all bits above given bit | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:192:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 192 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:69:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 69 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:40: error: ‘a’ was not declared in this scope 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:40: error: ‘a’ was not declared in this scope 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:243:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 243 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:193:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 193 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:510:31: error: ‘val’ was not declared in this scope 510 | extern void sign_extend(intb &val,int4 bit); ///< Sign extend above given bit | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:141:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 141 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:257:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 257 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:512:29: error: ‘val’ was not declared in this scope 512 | extern void byte_swap(intb &val,int4 size); ///< Swap bytes in the given value | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:36: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:72:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 72 | virtual uintb recoverInputUnary(int4 sizeout,uintb out,int4 sizein) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:510:31: error: ‘val’ was not declared in this scope 510 | extern void sign_extend(intb &val,int4 bit); ///< Sign extend above given bit | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:511:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 511 | extern void zero_extend(intb &val,int4 bit); ///< Clear all bits above given bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:512:13: error: variable or field ‘byte_swap’ declared void 512 | extern void byte_swap(intb &val,int4 size); ///< Swap bytes in the given value | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:250:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 250 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:200:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 200 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:42: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:264:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 264 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:148:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 148 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:42: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:510:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 510 | extern void sign_extend(intb &val,int4 bit); ///< Sign extend above given bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:511:13: error: variable or field ‘zero_extend’ declared void 511 | extern void zero_extend(intb &val,int4 bit); ///< Clear all bits above given bit | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:44: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:201:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 201 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:512:33: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 512 | extern void byte_swap(intb &val,int4 size); ///< Swap bytes in the given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:13: error: variable or field ‘unsignedSubtract128’ declared void 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^~~~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:510:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 510 | extern void sign_extend(intb &val,int4 bit); ///< Sign extend above given bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:265:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 265 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:257:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 257 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:511:13: error: variable or field ‘zero_extend’ declared void 511 | extern void zero_extend(intb &val,int4 bit); ///< Clear all bits above given bit | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:512:23: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 512 | extern void byte_swap(intb &val,int4 size); ///< Swap bytes in the given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:49: error: ‘b’ was not declared in this scope 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:514:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 514 | extern uintb byte_swap(uintb val,int4 size); ///< Return the given value with bytes swapped | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:126:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 126 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:155:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 155 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:49: error: ‘b’ was not declared in this scope 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:525:8: error: ‘int4’ does not name a type; did you mean ‘int’? 525 | extern int4 unsignedCompare128(uint8 *a,uint8 *b); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:208:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 208 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:515:8: error: ‘int4’ does not name a type; did you mean ‘int’? 515 | extern int4 leastsigbit_set(uintb val); ///< Return index of least significant bit set in given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:511:25: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 511 | extern void zero_extend(intb &val,int4 bit); ///< Clear all bits above given bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:264:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 264 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:33: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:127:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 127 | virtual uintb recoverInputUnary(int4 sizeout,uintb out,int4 sizein) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:272:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 272 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:526:8: error: ‘int4’ does not name a type; did you mean ‘int’? 526 | extern int4 power2Divide(int4 n,uint8 divisor,uint8 &q,uint8 &r); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:525:8: error: ‘int4’ does not name a type; did you mean ‘int’? 525 | extern int4 unsignedCompare128(uint8 *a,uint8 *b); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:516:8: error: ‘int4’ does not name a type; did you mean ‘int’? 516 | extern int4 mostsigbit_set(uintb val); ///< Return index of most significant bit set in given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:511:25: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 511 | extern void zero_extend(intb &val,int4 bit); ///< Clear all bits above given bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:265:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 265 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:162:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 162 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:215:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 215 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:273:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 273 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:512:29: error: ‘val’ was not declared in this scope 512 | extern void byte_swap(intb &val,int4 size); ///< Swap bytes in the given value | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:517:8: error: ‘int4’ does not name a type; did you mean ‘int’? 517 | extern int4 popcount(uintb val); ///< Return the number of one bits in the given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:526:8: error: ‘int4’ does not name a type; did you mean ‘int’? 526 | extern int4 power2Divide(int4 n,uint8 divisor,uint8 &q,uint8 &r); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:40: error: ‘a’ was not declared in this scope 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:134:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 134 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:518:8: error: ‘int4’ does not name a type; did you mean ‘int’? 518 | extern int4 count_leading_zeros(uintb val); ///< Return the number of leading zero bits in the given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:511:31: error: ‘val’ was not declared in this scope 511 | extern void zero_extend(intb &val,int4 bit); ///< Clear all bits above given bit | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:272:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 272 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:169:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 169 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:222:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 222 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:520:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 520 | extern uintb coveringmask(uintb val); ///< Return a mask that \e covers the given value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:280:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 280 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:63:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 63 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:511:31: error: ‘val’ was not declared in this scope 511 | extern void zero_extend(intb &val,int4 bit); ///< Clear all bits above given bit | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:42: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:273:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 273 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:141:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 141 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:512:33: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 512 | extern void byte_swap(intb &val,int4 size); ///< Swap bytes in the given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:521:8: error: ‘int4’ does not name a type; did you mean ‘int’? 521 | extern int4 bit_transitions(uintb val,int4 sz); ///< Calculate the number of bit transitions in the sized value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:13: error: variable or field ‘mult64to128’ declared void 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:281:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 281 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:66:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 66 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:511:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 511 | extern void zero_extend(intb &val,int4 bit); ///< Clear all bits above given bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:176:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 176 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:512:13: error: variable or field ‘byte_swap’ declared void 512 | extern void byte_swap(intb &val,int4 size); ///< Swap bytes in the given value | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:229:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 229 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:63:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 63 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:514:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 514 | extern uintb byte_swap(uintb val,int4 size); ///< Return the given value with bytes swapped | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:49: error: ‘b’ was not declared in this scope 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:280:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 280 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:148:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 148 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:69:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 69 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:177:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 177 | virtual uintb recoverInputUnary(int4 sizeout,uintb out,int4 sizein) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:515:8: error: ‘int4’ does not name a type; did you mean ‘int’? 515 | extern int4 leastsigbit_set(uintb val); ///< Return index of least significant bit set in given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:511:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 511 | extern void zero_extend(intb &val,int4 bit); ///< Clear all bits above given bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:525:8: error: ‘int4’ does not name a type; did you mean ‘int’? 525 | extern int4 unsignedCompare128(uint8 *a,uint8 *b); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:512:13: error: variable or field ‘byte_swap’ declared void 512 | extern void byte_swap(intb &val,int4 size); ///< Swap bytes in the given value | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:25: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:236:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 236 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:66:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 66 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:288:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 288 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:281:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 281 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:72:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 72 | virtual uintb recoverInputUnary(int4 sizeout,uintb out,int4 sizein) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:526:8: error: ‘int4’ does not name a type; did you mean ‘int’? 526 | extern int4 power2Divide(int4 n,uint8 divisor,uint8 &q,uint8 &r); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:516:8: error: ‘int4’ does not name a type; did you mean ‘int’? 516 | extern int4 mostsigbit_set(uintb val); ///< Return index of most significant bit set in given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:512:23: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 512 | extern void byte_swap(intb &val,int4 size); ///< Swap bytes in the given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:155:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 155 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:69:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 69 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:517:8: error: ‘int4’ does not name a type; did you mean ‘int’? 517 | extern int4 popcount(uintb val); ///< Return the number of one bits in the given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:184:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 184 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:243:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 243 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:295:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 295 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:32: error: ‘res’ was not declared in this scope 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:512:23: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 512 | extern void byte_swap(intb &val,int4 size); ///< Swap bytes in the given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:288:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 288 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:518:8: error: ‘int4’ does not name a type; did you mean ‘int’? 518 | extern int4 count_leading_zeros(uintb val); ///< Return the number of leading zero bits in the given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:185:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 185 | virtual uintb recoverInputUnary(int4 sizeout,uintb out,int4 sizein) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:162:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 162 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:72:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 72 | virtual uintb recoverInputUnary(int4 sizeout,uintb out,int4 sizein) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:512:29: error: ‘val’ was not declared in this scope 512 | extern void byte_swap(intb &val,int4 size); ///< Swap bytes in the given value | ^~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:63:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 63 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:520:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 520 | extern uintb coveringmask(uintb val); ///< Return a mask that \e covers the given value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:126:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 126 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:302:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 302 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:250:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 250 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:295:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 295 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:36: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:521:8: error: ‘int4’ does not name a type; did you mean ‘int’? 521 | extern int4 bit_transitions(uintb val,int4 sz); ///< Calculate the number of bit transitions in the sized value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:13: error: variable or field ‘mult64to128’ declared void 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:169:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 169 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:192:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 192 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:66:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 66 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:512:29: error: ‘val’ was not declared in this scope 512 | extern void byte_swap(intb &val,int4 size); ///< Swap bytes in the given value | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:127:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 127 | virtual uintb recoverInputUnary(int4 sizeout,uintb out,int4 sizein) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:512:33: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 512 | extern void byte_swap(intb &val,int4 size); ///< Swap bytes in the given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:257:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 257 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:309:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 309 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:69:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 69 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:193:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 193 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:302:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 302 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:176:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 176 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:126:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 126 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:514:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 514 | extern uintb byte_swap(uintb val,int4 size); ///< Return the given value with bytes swapped | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:44: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:13: error: variable or field ‘unsignedSubtract128’ declared void 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^~~~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:25: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:72:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 72 | virtual uintb recoverInputUnary(int4 sizeout,uintb out,int4 sizein) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:134:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 134 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:512:33: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 512 | extern void byte_swap(intb &val,int4 size); ///< Swap bytes in the given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:177:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 177 | virtual uintb recoverInputUnary(int4 sizeout,uintb out,int4 sizein) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:264:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 264 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:316:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 316 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:515:8: error: ‘int4’ does not name a type; did you mean ‘int’? 515 | extern int4 leastsigbit_set(uintb val); ///< Return index of least significant bit set in given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:309:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 309 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:200:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 200 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:127:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 127 | virtual uintb recoverInputUnary(int4 sizeout,uintb out,int4 sizein) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:514:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 514 | extern uintb byte_swap(uintb val,int4 size); ///< Return the given value with bytes swapped | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:516:8: error: ‘int4’ does not name a type; did you mean ‘int’? 516 | extern int4 mostsigbit_set(uintb val); ///< Return index of most significant bit set in given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:265:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 265 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:33: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:201:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 201 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:141:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 141 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:32: error: ‘res’ was not declared in this scope 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:517:8: error: ‘int4’ does not name a type; did you mean ‘int’? 517 | extern int4 popcount(uintb val); ///< Return the number of one bits in the given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:515:8: error: ‘int4’ does not name a type; did you mean ‘int’? 515 | extern int4 leastsigbit_set(uintb val); ///< Return index of least significant bit set in given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:184:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 184 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:323:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 323 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:316:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 316 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:126:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 126 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:518:8: error: ‘int4’ does not name a type; did you mean ‘int’? 518 | extern int4 count_leading_zeros(uintb val); ///< Return the number of leading zero bits in the given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:516:8: error: ‘int4’ does not name a type; did you mean ‘int’? 516 | extern int4 mostsigbit_set(uintb val); ///< Return index of most significant bit set in given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:134:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 134 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:185:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 185 | virtual uintb recoverInputUnary(int4 sizeout,uintb out,int4 sizein) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:272:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 272 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:40: error: ‘a’ was not declared in this scope 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:520:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 520 | extern uintb coveringmask(uintb val); ///< Return a mask that \e covers the given value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:208:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 208 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:148:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 148 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:127:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 127 | virtual uintb recoverInputUnary(int4 sizeout,uintb out,int4 sizein) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:517:8: error: ‘int4’ does not name a type; did you mean ‘int’? 517 | extern int4 popcount(uintb val); ///< Return the number of one bits in the given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:323:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 323 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:330:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 330 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:273:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 273 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:36: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:521:8: error: ‘int4’ does not name a type; did you mean ‘int’? 521 | extern int4 bit_transitions(uintb val,int4 sz); ///< Calculate the number of bit transitions in the sized value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:13: error: variable or field ‘mult64to128’ declared void 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:518:8: error: ‘int4’ does not name a type; did you mean ‘int’? 518 | extern int4 count_leading_zeros(uintb val); ///< Return the number of leading zero bits in the given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:192:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 192 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:141:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 141 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:42: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:520:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 520 | extern uintb coveringmask(uintb val); ///< Return a mask that \e covers the given value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:215:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 215 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:155:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 155 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:134:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 134 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:330:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 330 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:193:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 193 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:337:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 337 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:280:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 280 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:521:8: error: ‘int4’ does not name a type; did you mean ‘int’? 521 | extern int4 bit_transitions(uintb val,int4 sz); ///< Calculate the number of bit transitions in the sized value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:13: error: variable or field ‘mult64to128’ declared void 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:25: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:44: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:13: error: variable or field ‘unsignedSubtract128’ declared void 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^~~~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:281:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 281 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:49: error: ‘b’ was not declared in this scope 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:148:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 148 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:222:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 222 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:162:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 162 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:141:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 141 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:337:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 337 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:200:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 200 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:344:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 344 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:525:8: error: ‘int4’ does not name a type; did you mean ‘int’? 525 | extern int4 unsignedCompare128(uint8 *a,uint8 *b); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:25: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:32: error: ‘res’ was not declared in this scope 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:201:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 201 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:288:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 288 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:33: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:526:8: error: ‘int4’ does not name a type; did you mean ‘int’? 526 | extern int4 power2Divide(int4 n,uint8 divisor,uint8 &q,uint8 &r); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:344:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 344 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:148:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 148 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:169:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 169 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:229:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 229 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:155:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 155 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:352:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 352 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:208:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 208 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:295:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 295 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:32: error: ‘res’ was not declared in this scope 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:36: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:40: error: ‘a’ was not declared in this scope 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:155:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 155 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:352:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 352 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:176:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 176 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:236:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 236 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:360:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 360 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:162:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 162 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:63:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 63 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:177:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 177 | virtual uintb recoverInputUnary(int4 sizeout,uintb out,int4 sizein) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:215:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 215 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:302:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 302 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:162:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 162 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:360:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 360 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:44: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:36: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:13: error: variable or field ‘unsignedSubtract128’ declared void 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^~~~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:42: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:243:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 243 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:66:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 66 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:368:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 368 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:169:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 169 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:222:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 222 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:309:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 309 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:184:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 184 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:169:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 169 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:69:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 69 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:368:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 368 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:250:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 250 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:49: error: ‘b’ was not declared in this scope 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:33: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:44: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:13: error: variable or field ‘unsignedSubtract128’ declared void 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^~~~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:185:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 185 | virtual uintb recoverInputUnary(int4 sizeout,uintb out,int4 sizein) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:316:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 316 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:229:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 229 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:376:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 376 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:72:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 72 | virtual uintb recoverInputUnary(int4 sizeout,uintb out,int4 sizein) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:176:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 176 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:176:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 176 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:525:8: error: ‘int4’ does not name a type; did you mean ‘int’? 525 | extern int4 unsignedCompare128(uint8 *a,uint8 *b); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:376:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 376 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:257:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 257 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:177:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 177 | virtual uintb recoverInputUnary(int4 sizeout,uintb out,int4 sizein) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:40: error: ‘a’ was not declared in this scope 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:526:8: error: ‘int4’ does not name a type; did you mean ‘int’? 526 | extern int4 power2Divide(int4 n,uint8 divisor,uint8 &q,uint8 &r); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:192:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 192 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:33: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:236:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 236 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:323:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 323 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:177:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 177 | virtual uintb recoverInputUnary(int4 sizeout,uintb out,int4 sizein) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:384:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 384 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:193:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 193 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:384:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 384 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:264:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 264 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:184:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 184 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:126:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 126 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:42: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:243:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 243 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:330:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 330 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:40: error: ‘a’ was not declared in this scope 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:184:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 184 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:185:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 185 | virtual uintb recoverInputUnary(int4 sizeout,uintb out,int4 sizein) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:265:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 265 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:392:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 392 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:127:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 127 | virtual uintb recoverInputUnary(int4 sizeout,uintb out,int4 sizein) const; | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:63:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 63 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:200:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 200 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:392:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 392 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:250:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 250 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:49: error: ‘b’ was not declared in this scope 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:185:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 185 | virtual uintb recoverInputUnary(int4 sizeout,uintb out,int4 sizein) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:337:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 337 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:201:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 201 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:192:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 192 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:42: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:272:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 272 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:66:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 66 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:400:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 400 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:525:8: error: ‘int4’ does not name a type; did you mean ‘int’? 525 | extern int4 unsignedCompare128(uint8 *a,uint8 *b); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:134:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 134 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:400:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 400 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:193:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 193 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:257:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 257 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:526:8: error: ‘int4’ does not name a type; did you mean ‘int’? 526 | extern int4 power2Divide(int4 n,uint8 divisor,uint8 &q,uint8 &r); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:273:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 273 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:344:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 344 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:69:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 69 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:208:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 208 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:192:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 192 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:49: error: ‘b’ was not declared in this scope 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:408:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 408 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:141:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 141 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:408:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 408 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:200:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 200 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:264:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 264 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:525:8: error: ‘int4’ does not name a type; did you mean ‘int’? 525 | extern int4 unsignedCompare128(uint8 *a,uint8 *b); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:72:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 72 | virtual uintb recoverInputUnary(int4 sizeout,uintb out,int4 sizein) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:352:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 352 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:193:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 193 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:280:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 280 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:215:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 215 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:201:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 201 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:526:8: error: ‘int4’ does not name a type; did you mean ‘int’? 526 | extern int4 power2Divide(int4 n,uint8 divisor,uint8 &q,uint8 &r); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:265:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 265 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:416:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 416 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:63:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 63 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:281:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 281 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:148:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 148 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:416:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 416 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:360:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 360 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:200:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 200 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:222:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 222 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:66:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 66 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:208:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 208 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:272:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 272 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:126:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 126 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:424:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 424 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:288:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 288 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:155:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 155 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:201:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 201 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:69:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 69 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:424:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 424 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:63:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 63 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:273:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 273 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:368:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 368 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:229:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 229 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:215:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 215 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:127:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 127 | virtual uintb recoverInputUnary(int4 sizeout,uintb out,int4 sizein) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:72:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 72 | virtual uintb recoverInputUnary(int4 sizeout,uintb out,int4 sizein) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:295:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 295 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:432:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 432 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:66:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 66 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:162:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 162 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:280:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 280 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:432:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 432 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:376:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 376 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:208:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 208 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:236:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 236 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:222:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 222 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:69:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 69 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:281:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 281 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:134:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 134 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:302:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 302 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:440:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 440 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:169:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 169 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:384:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 384 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:126:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 126 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:440:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 440 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:229:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 229 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:243:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 243 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:72:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 72 | virtual uintb recoverInputUnary(int4 sizeout,uintb out,int4 sizein) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:215:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 215 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:288:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 288 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:127:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 127 | virtual uintb recoverInputUnary(int4 sizeout,uintb out,int4 sizein) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:309:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 309 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:141:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 141 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:448:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 448 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:176:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 176 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:236:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 236 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:392:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 392 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:250:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 250 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:448:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 448 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:222:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 222 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:295:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 295 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:177:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 177 | virtual uintb recoverInputUnary(int4 sizeout,uintb out,int4 sizein) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:126:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 126 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:316:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 316 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:134:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 134 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:456:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 456 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:148:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 148 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:243:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 243 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:257:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 257 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:400:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 400 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:456:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 456 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:302:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 302 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:229:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 229 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:127:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 127 | virtual uintb recoverInputUnary(int4 sizeout,uintb out,int4 sizein) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:184:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 184 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:323:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 323 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:141:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 141 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:464:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 464 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:250:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 250 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:155:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 155 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:264:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 264 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:408:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 408 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:309:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 309 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:185:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 185 | virtual uintb recoverInputUnary(int4 sizeout,uintb out,int4 sizein) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:464:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 464 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:236:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 236 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:134:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 134 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:265:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 265 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:148:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 148 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:330:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 330 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:257:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 257 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:472:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 472 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:316:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 316 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:416:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 416 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:162:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 162 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:472:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 472 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:192:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 192 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:243:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 243 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:141:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 141 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:272:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 272 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:155:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 155 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:264:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 264 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:337:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 337 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:193:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 193 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:480:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 480 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:323:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 323 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:424:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 424 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:169:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 169 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:480:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 480 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:273:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 273 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:265:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 265 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:250:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 250 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:162:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 162 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:148:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 148 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:344:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 344 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:330:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 330 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:200:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 200 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:488:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 488 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:432:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 432 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:272:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 272 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:176:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 176 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:280:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 280 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:488:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 488 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:201:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 201 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:169:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 169 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:257:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 257 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:273:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 273 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:155:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 155 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:352:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 352 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:337:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 337 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:177:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 177 | virtual uintb recoverInputUnary(int4 sizeout,uintb out,int4 sizein) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:281:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 281 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:495:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 495 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:440:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 440 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:495:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 495 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:176:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 176 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:208:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 208 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:344:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 344 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:264:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 264 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:280:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 280 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:288:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 288 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:162:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 162 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:184:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 184 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh:19, from src/decompile/cpp/pcodeparse.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:360:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 360 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:502:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 502 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:448:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 448 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:177:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 177 | virtual uintb recoverInputUnary(int4 sizeout,uintb out,int4 sizein) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:502:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 502 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:281:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 281 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:265:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 265 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:185:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 185 | virtual uintb recoverInputUnary(int4 sizeout,uintb out,int4 sizein) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:352:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 352 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:215:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 215 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:295:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 295 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:169:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 169 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:509:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 509 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:368:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 368 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:456:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 456 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:184:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 184 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:509:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 509 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:288:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 288 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:192:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 192 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:272:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 272 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:360:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 360 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:222:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 222 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:185:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 185 | virtual uintb recoverInputUnary(int4 sizeout,uintb out,int4 sizein) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:302:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 302 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:35:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 35 | uintb offset; ///< The offset within the space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:376:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 376 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:176:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 176 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:464:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 464 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:295:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 295 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:193:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 193 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:35:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 35 | uintb offset; ///< The offset within the space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:273:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 273 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:36:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 36 | uint4 size; ///< The number of bytes in the location | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:368:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 368 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:229:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 229 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:177:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 177 | virtual uintb recoverInputUnary(int4 sizeout,uintb out,int4 sizein) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:192:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 192 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:309:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 309 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:36:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 36 | uint4 size; ///< The number of bytes in the location | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh: In member function ‘bool VarnodeData::operator<(const VarnodeData&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:57:42: error: ‘class AddrSpace’ has no member named ‘getIndex’ 57 | if (space != op2.space) return (space->getIndex() < op2.space->getIndex()); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:384:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 384 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:57:66: error: ‘class AddrSpace’ has no member named ‘getIndex’ 57 | if (space != op2.space) return (space->getIndex() < op2.space->getIndex()); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:302:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 302 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:472:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 472 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:200:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 200 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh: In member function ‘bool VarnodeData::operator<(const VarnodeData&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:57:42: error: ‘class AddrSpace’ has no member named ‘getIndex’ 57 | if (space != op2.space) return (space->getIndex() < op2.space->getIndex()); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:57:66: error: ‘class AddrSpace’ has no member named ‘getIndex’ 57 | if (space != op2.space) return (space->getIndex() < op2.space->getIndex()); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:280:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 280 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:193:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 193 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:376:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 376 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:236:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 236 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:316:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 316 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:201:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 201 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:184:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 184 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:281:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 281 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:392:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 392 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:309:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 309 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:480:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 480 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:200:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 200 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:185:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 185 | virtual uintb recoverInputUnary(int4 sizeout,uintb out,int4 sizein) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:384:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 384 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:243:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 243 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:323:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 323 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:208:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 208 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:288:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 288 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:400:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 400 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:316:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 316 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:201:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 201 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:488:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 488 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:58:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 58 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:58:21: error: ‘const struct VarnodeData’ has no member named ‘offset’ 58 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:58:50: error: ‘const struct VarnodeData’ has no member named ‘offset’ 58 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:58:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 58 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:58:21: error: ‘const struct VarnodeData’ has no member named ‘offset’ 58 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:392:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 392 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:58:50: error: ‘const struct VarnodeData’ has no member named ‘offset’ 58 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:192:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 192 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:250:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 250 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:330:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 330 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:295:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 295 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:215:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 215 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:323:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 323 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:408:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 408 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:208:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 208 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:495:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 495 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:193:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 193 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:400:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 400 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:257:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 257 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:337:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 337 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:330:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 330 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:302:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 302 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:222:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 222 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:215:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 215 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:416:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 416 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:502:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 502 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:59:11: error: ‘size’ was not declared in this scope 59 | return (size > op2.size); // BIG sizes come first | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:59:22: error: ‘const struct VarnodeData’ has no member named ‘size’ 59 | return (size > op2.size); // BIG sizes come first | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:59:11: error: ‘size’ was not declared in this scope 59 | return (size > op2.size); // BIG sizes come first | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:59:22: error: ‘const struct VarnodeData’ has no member named ‘size’ 59 | return (size > op2.size); // BIG sizes come first | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:200:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 200 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:408:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 408 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:264:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 264 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:344:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 344 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:337:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 337 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:309:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 309 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:229:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 229 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:509:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 509 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:222:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 222 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:424:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 424 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:201:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 201 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:265:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 265 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:416:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 416 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:352:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 352 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:344:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 344 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:316:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 316 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:35:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 35 | uintb offset; ///< The offset within the space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:229:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 229 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:236:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 236 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:432:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 432 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:272:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 272 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:208:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 208 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:424:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 424 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:36:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 36 | uint4 size; ///< The number of bytes in the location | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh: In member function ‘bool VarnodeData::operator==(const VarnodeData&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:68:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 68 | if (offset != op2.offset) return false; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:68:21: error: ‘const struct VarnodeData’ has no member named ‘offset’ 68 | if (offset != op2.offset) return false; | ^~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:360:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 360 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh: In member function ‘bool VarnodeData::operator==(const VarnodeData&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:68:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 68 | if (offset != op2.offset) return false; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:68:21: error: ‘const struct VarnodeData’ has no member named ‘offset’ 68 | if (offset != op2.offset) return false; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:352:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 352 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:323:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 323 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:236:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 236 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:273:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 273 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh: In member function ‘bool VarnodeData::operator<(const VarnodeData&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:57:42: error: ‘class AddrSpace’ has no member named ‘getIndex’ 57 | if (space != op2.space) return (space->getIndex() < op2.space->getIndex()); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:243:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 243 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:57:66: error: ‘class AddrSpace’ has no member named ‘getIndex’ 57 | if (space != op2.space) return (space->getIndex() < op2.space->getIndex()); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:440:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 440 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:215:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 215 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:432:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 432 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:368:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 368 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:360:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 360 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:243:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 243 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:330:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 330 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:280:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 280 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:250:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 250 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:448:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 448 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:440:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 440 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:69:11: error: ‘size’ was not declared in this scope 69 | return (size == op2.size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:222:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 222 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:69:23: error: ‘const struct VarnodeData’ has no member named ‘size’ 69 | return (size == op2.size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:69:11: error: ‘size’ was not declared in this scope 69 | return (size == op2.size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:69:23: error: ‘const struct VarnodeData’ has no member named ‘size’ 69 | return (size == op2.size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:281:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 281 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:376:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 376 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:250:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 250 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:368:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 368 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:337:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 337 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:257:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 257 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:456:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 456 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:58:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 58 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:58:21: error: ‘const struct VarnodeData’ has no member named ‘offset’ 58 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:58:50: error: ‘const struct VarnodeData’ has no member named ‘offset’ 58 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:448:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 448 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:229:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 229 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:384:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 384 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:257:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 257 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:288:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 288 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:376:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 376 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:264:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 264 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:344:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 344 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:464:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 464 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:456:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 456 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:265:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 265 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:264:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 264 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:392:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 392 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:236:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 236 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:384:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 384 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:295:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 295 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh: In member function ‘bool VarnodeData::operator!=(const VarnodeData&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:78:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 78 | if (offset != op2.offset) return true; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:78:21: error: ‘const struct VarnodeData’ has no member named ‘offset’ 78 | if (offset != op2.offset) return true; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh: In member function ‘bool VarnodeData::operator!=(const VarnodeData&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:78:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 78 | if (offset != op2.offset) return true; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:78:21: error: ‘const struct VarnodeData’ has no member named ‘offset’ 78 | if (offset != op2.offset) return true; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:352:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 352 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:59:11: error: ‘size’ was not declared in this scope 59 | return (size > op2.size); // BIG sizes come first | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:59:22: error: ‘const struct VarnodeData’ has no member named ‘size’ 59 | return (size > op2.size); // BIG sizes come first | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:265:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 265 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:472:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 472 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:464:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 464 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:272:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 272 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:400:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 400 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:392:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 392 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:243:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 243 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:302:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 302 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:273:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 273 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:360:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 360 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:272:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 272 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:472:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 472 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:480:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 480 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:408:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 408 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:400:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 400 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:79:11: error: ‘size’ was not declared in this scope 79 | return (size != op2.size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:79:11: error: ‘size’ was not declared in this scope 79 | return (size != op2.size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:273:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 273 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:79:23: error: ‘const struct VarnodeData’ has no member named ‘size’ 79 | return (size != op2.size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:79:23: error: ‘const struct VarnodeData’ has no member named ‘size’ 79 | return (size != op2.size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:309:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 309 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:250:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 250 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:280:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 280 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:480:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 480 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:368:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 368 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:488:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 488 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh: In member function ‘bool VarnodeData::operator==(const VarnodeData&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:68:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 68 | if (offset != op2.offset) return false; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:68:21: error: ‘const struct VarnodeData’ has no member named ‘offset’ 68 | if (offset != op2.offset) return false; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:416:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 416 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:281:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 281 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:408:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 408 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:280:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 280 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:316:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 316 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:488:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 488 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:257:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 257 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:281:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 281 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:376:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 376 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:495:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 495 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:288:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 288 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:424:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 424 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:416:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 416 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:495:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 495 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:323:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 323 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh: In member function ‘Address VarnodeData::getAddr() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:86:24: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 86 | return Address(space,offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh: In member function ‘Address VarnodeData::getAddr() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:86:24: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 86 | return Address(space,offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:264:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 264 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:69:11: error: ‘size’ was not declared in this scope 69 | return (size == op2.size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:288:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 288 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:69:23: error: ‘const struct VarnodeData’ has no member named ‘size’ 69 | return (size == op2.size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:384:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 384 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:502:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 502 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:295:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 295 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:432:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 432 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:424:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 424 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:502:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 502 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:265:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 265 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:330:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 330 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:295:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 295 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:392:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 392 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:509:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 509 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:302:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 302 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:432:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 432 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:509:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 509 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:440:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 440 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:272:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 272 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:337:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 337 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:302:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 302 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh:19, from src/decompile/cpp/pcodeparse.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:35:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 35 | uintb offset; ///< The offset within the space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:400:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 400 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:309:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 309 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh: In member function ‘bool VarnodeData::operator!=(const VarnodeData&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:78:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 78 | if (offset != op2.offset) return true; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:78:21: error: ‘const struct VarnodeData’ has no member named ‘offset’ 78 | if (offset != op2.offset) return true; | ^~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:35:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 35 | uintb offset; ///< The offset within the space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:440:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 440 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:273:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 273 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/types.h:245:9: error: ‘int8’ does not name a type; did you mean ‘int’? 245 | typedef int8 intb; /* This is a signed big integer */ | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:344:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 344 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:36:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 36 | uint4 size; ///< The number of bytes in the location | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:103:35: error: ‘uintm’ has not been declared 103 | void setSeqNum(const Address &a,uintm b); ///< Set the sequence number | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:309:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 309 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:36:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 36 | uint4 size; ///< The number of bytes in the location | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:103:35: error: ‘uintm’ has not been declared 103 | void setSeqNum(const Address &a,uintm b); ///< Set the sequence number | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/types.h:248:9: error: ‘uint8’ does not name a type; did you mean ‘int’? 248 | typedef uint8 uintb; /* This is an unsigned big integer */ | ^~~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:408:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 408 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh: In member function ‘bool VarnodeData::operator<(const VarnodeData&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:57:42: error: ‘class AddrSpace’ has no member named ‘getIndex’ 57 | if (space != op2.space) return (space->getIndex() < op2.space->getIndex()); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:316:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 316 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:57:66: error: ‘class AddrSpace’ has no member named ‘getIndex’ 57 | if (space != op2.space) return (space->getIndex() < op2.space->getIndex()); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:448:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 448 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh: In member function ‘bool VarnodeData::operator<(const VarnodeData&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:57:42: error: ‘class AddrSpace’ has no member named ‘getIndex’ 57 | if (space != op2.space) return (space->getIndex() < op2.space->getIndex()); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:57:66: error: ‘class AddrSpace’ has no member named ‘getIndex’ 57 | if (space != op2.space) return (space->getIndex() < op2.space->getIndex()); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:448:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 448 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:280:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 280 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:110:3: error: ‘int4’ does not name a type; did you mean ‘int’? 110 | int4 numInput(void) const; ///< Get the number of input varnodes to this op | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:111:25: error: ‘int4’ has not been declared 111 | VarnodeData *getInput(int4 i) const; ///< Get the i-th input varnode for this op | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:110:3: error: ‘int4’ does not name a type; did you mean ‘int’? 110 | int4 numInput(void) const; ///< Get the number of input varnodes to this op | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:111:25: error: ‘int4’ has not been declared 111 | VarnodeData *getInput(int4 i) const; ///< Get the i-th input varnode for this op | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:316:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 316 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:352:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 352 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:147:52: error: ‘uintm’ has not been declared 147 | inline void PcodeOpRaw::setSeqNum(const Address &a,uintm b) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:147:52: error: ‘uintm’ has not been declared 147 | inline void PcodeOpRaw::setSeqNum(const Address &a,uintm b) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:79:11: error: ‘size’ was not declared in this scope 79 | return (size != op2.size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:79:23: error: ‘const struct VarnodeData’ has no member named ‘size’ 79 | return (size != op2.size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:416:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 416 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:281:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 281 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:323:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 323 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:456:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 456 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:456:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 456 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:323:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 323 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:206:8: error: ‘int4’ does not name a type; did you mean ‘int’? 206 | inline int4 PcodeOpRaw::numInput(void) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:217:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 217 | inline VarnodeData *PcodeOpRaw::getInput(int4 i) const | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:217:21: error: ‘VarnodeData* PcodeOpRaw::getInput’ is not a static data member of ‘class PcodeOpRaw’ 217 | inline VarnodeData *PcodeOpRaw::getInput(int4 i) const | ^~~~~~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:360:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 360 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:206:8: error: ‘int4’ does not name a type; did you mean ‘int’? 206 | inline int4 PcodeOpRaw::numInput(void) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:217:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 217 | inline VarnodeData *PcodeOpRaw::getInput(int4 i) const | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:217:21: error: ‘VarnodeData* PcodeOpRaw::getInput’ is not a static data member of ‘class PcodeOpRaw’ 217 | inline VarnodeData *PcodeOpRaw::getInput(int4 i) const | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:424:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 424 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:288:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 288 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:330:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 330 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:464:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 464 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:58:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 58 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:464:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 464 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:58:21: error: ‘const struct VarnodeData’ has no member named ‘offset’ 58 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:58:50: error: ‘const struct VarnodeData’ has no member named ‘offset’ 58 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:58:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 58 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:58:21: error: ‘const struct VarnodeData’ has no member named ‘offset’ 58 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:58:50: error: ‘const struct VarnodeData’ has no member named ‘offset’ 58 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:330:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 330 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:368:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 368 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:432:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 432 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh: In member function ‘Address VarnodeData::getAddr() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:86:24: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 86 | return Address(space,offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:337:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 337 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:472:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 472 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:472:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 472 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:295:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 295 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:217:42: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 217 | inline VarnodeData *PcodeOpRaw::getInput(int4 i) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:337:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 337 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:217:42: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 217 | inline VarnodeData *PcodeOpRaw::getInput(int4 i) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:376:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 376 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:440:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 440 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:480:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 480 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:59:11: error: ‘size’ was not declared in this scope 59 | return (size > op2.size); // BIG sizes come first | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:480:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 480 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:59:22: error: ‘const struct VarnodeData’ has no member named ‘size’ 59 | return (size > op2.size); // BIG sizes come first | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:344:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 344 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:302:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 302 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:344:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 344 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:59:11: error: ‘size’ was not declared in this scope 59 | return (size > op2.size); // BIG sizes come first | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:59:22: error: ‘const struct VarnodeData’ has no member named ‘size’ 59 | return (size > op2.size); // BIG sizes come first | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:384:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 384 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:488:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 488 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:31:3: error: ‘int4’ does not name a type; did you mean ‘int’? 31 | int4 word; ///< Index of word containing this context value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:448:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 448 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:488:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 488 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:352:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 352 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:352:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 352 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:309:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 309 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:31:3: error: ‘int4’ does not name a type; did you mean ‘int’? 31 | int4 word; ///< Index of word containing this context value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:32:3: error: ‘int4’ does not name a type; did you mean ‘int’? 32 | int4 startbit; ///< Starting bit of the value within its word (0=most significant bit 1=least significant) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:33:3: error: ‘int4’ does not name a type; did you mean ‘int’? 33 | int4 endbit; ///< Ending bit of the value within its word | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:495:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 495 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:32:3: error: ‘int4’ does not name a type; did you mean ‘int’? 32 | int4 startbit; ///< Starting bit of the value within its word (0=most significant bit 1=least significant) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:495:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 495 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:392:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 392 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:456:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 456 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:360:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 360 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:103:35: error: ‘uintm’ has not been declared 103 | void setSeqNum(const Address &a,uintm b); ///< Set the sequence number | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:34:3: error: ‘int4’ does not name a type; did you mean ‘int’? 34 | int4 shift; ///< Right-shift amount to apply when unpacking this value from its word | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:316:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 316 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:360:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 360 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh: In member function ‘bool VarnodeData::operator==(const VarnodeData&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:68:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 68 | if (offset != op2.offset) return false; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:68:21: error: ‘const struct VarnodeData’ has no member named ‘offset’ 68 | if (offset != op2.offset) return false; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:33:3: error: ‘int4’ does not name a type; did you mean ‘int’? 33 | int4 endbit; ///< Ending bit of the value within its word | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:35:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 35 | uintm mask; ///< Mask to apply (after shifting) when unpacking this value from its word | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh: In member function ‘bool VarnodeData::operator==(const VarnodeData&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:68:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 68 | if (offset != op2.offset) return false; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:38:23: error: expected ‘)’ before ‘sbit’ 38 | ContextBitRange(int4 sbit,int4 ebit); ///< Construct a context value given an absolute bit range | ~ ^~~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:68:21: error: ‘const struct VarnodeData’ has no member named ‘offset’ 68 | if (offset != op2.offset) return false; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:502:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 502 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:502:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 502 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:110:3: error: ‘int4’ does not name a type; did you mean ‘int’? 110 | int4 numInput(void) const; ///< Get the number of input varnodes to this op | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:111:25: error: ‘int4’ has not been declared 111 | VarnodeData *getInput(int4 i) const; ///< Get the i-th input varnode for this op | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:34:3: error: ‘int4’ does not name a type; did you mean ‘int’? 34 | int4 shift; ///< Right-shift amount to apply when unpacking this value from its word | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:368:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 368 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:464:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 464 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:400:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 400 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:39:3: error: ‘int4’ does not name a type; did you mean ‘int’? 39 | int4 getShift(void) const { return shift; } ///< Return the shift-amount for \b this value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:323:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 323 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:147:52: error: ‘uintm’ has not been declared 147 | inline void PcodeOpRaw::setSeqNum(const Address &a,uintm b) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:368:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 368 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:35:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 35 | uintm mask; ///< Mask to apply (after shifting) when unpacking this value from its word | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:40:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 40 | uintm getMask(void) const { return mask; } ///< Return the mask for \b this value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:38:23: error: expected ‘)’ before ‘sbit’ 38 | ContextBitRange(int4 sbit,int4 ebit); ///< Construct a context value given an absolute bit range | ~ ^~~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:509:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 509 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:509:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 509 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:41:3: error: ‘int4’ does not name a type; did you mean ‘int’? 41 | int4 getWord(void) const { return word; } ///< Return the word index for \b this value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:47:17: error: ‘uintm’ has not been declared 47 | void setValue(uintm *vec,uintm val) const { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:47:28: error: ‘uintm’ has not been declared 47 | void setValue(uintm *vec,uintm val) const { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:376:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 376 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:472:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 472 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:39:3: error: ‘int4’ does not name a type; did you mean ‘int’? 39 | int4 getShift(void) const { return shift; } ///< Return the shift-amount for \b this value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:69:11: error: ‘size’ was not declared in this scope 69 | return (size == op2.size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:69:23: error: ‘const struct VarnodeData’ has no member named ‘size’ 69 | return (size == op2.size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:408:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 408 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:206:8: error: ‘int4’ does not name a type; did you mean ‘int’? 206 | inline int4 PcodeOpRaw::numInput(void) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:330:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 330 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:217:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 217 | inline VarnodeData *PcodeOpRaw::getInput(int4 i) const | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:217:21: error: ‘VarnodeData* PcodeOpRaw::getInput’ is not a static data member of ‘class PcodeOpRaw’ 217 | inline VarnodeData *PcodeOpRaw::getInput(int4 i) const | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:58:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 58 | uintm getValue(const uintm *vec) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:376:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 376 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:69:11: error: ‘size’ was not declared in this scope 69 | return (size == op2.size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:40:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 40 | uintm getMask(void) const { return mask; } ///< Return the mask for \b this value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:69:23: error: ‘const struct VarnodeData’ has no member named ‘size’ 69 | return (size == op2.size); | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:35:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 35 | uintb offset; ///< The offset within the space | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:35:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 35 | uintb offset; ///< The offset within the space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:384:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 384 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:480:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 480 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:41:3: error: ‘int4’ does not name a type; did you mean ‘int’? 41 | int4 getWord(void) const { return word; } ///< Return the word index for \b this value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:47:17: error: ‘uintm’ has not been declared 47 | void setValue(uintm *vec,uintm val) const { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:47:28: error: ‘uintm’ has not been declared 47 | void setValue(uintm *vec,uintm val) const { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:416:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 416 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:36:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 36 | uint4 size; ///< The number of bytes in the location | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:36:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 36 | uint4 size; ///< The number of bytes in the location | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:337:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 337 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:384:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 384 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh: In member function ‘bool VarnodeData::operator<(const VarnodeData&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:57:42: error: ‘class AddrSpace’ has no member named ‘getIndex’ 57 | if (space != op2.space) return (space->getIndex() < op2.space->getIndex()); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:58:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 58 | uintm getValue(const uintm *vec) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh: In member function ‘bool VarnodeData::operator<(const VarnodeData&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:57:42: error: ‘class AddrSpace’ has no member named ‘getIndex’ 57 | if (space != op2.space) return (space->getIndex() < op2.space->getIndex()); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:57:66: error: ‘class AddrSpace’ has no member named ‘getIndex’ 57 | if (space != op2.space) return (space->getIndex() < op2.space->getIndex()); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:57:66: error: ‘class AddrSpace’ has no member named ‘getIndex’ 57 | if (space != op2.space) return (space->getIndex() < op2.space->getIndex()); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: In member function ‘void ContextBitRange::setValue(int*, int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:48:5: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 48 | uintm newval = vec[word]; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:392:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 392 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:217:42: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 217 | inline VarnodeData *PcodeOpRaw::getInput(int4 i) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:488:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 488 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:424:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 424 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh: In member function ‘bool VarnodeData::operator!=(const VarnodeData&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:78:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 78 | if (offset != op2.offset) return true; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:344:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 344 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:78:21: error: ‘const struct VarnodeData’ has no member named ‘offset’ 78 | if (offset != op2.offset) return true; | ^~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:41:3: error: ‘int4’ does not name a type; did you mean ‘int’? 41 | int4 size; ///< Size of float in bytes (this format) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:392:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 392 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:400:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 400 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh: In member function ‘bool VarnodeData::operator!=(const VarnodeData&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:78:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 78 | if (offset != op2.offset) return true; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:78:21: error: ‘const struct VarnodeData’ has no member named ‘offset’ 78 | if (offset != op2.offset) return true; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:42:3: error: ‘int4’ does not name a type; did you mean ‘int’? 42 | int4 signbit_pos; ///< Bit position of sign bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:495:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 495 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: In member function ‘void ContextBitRange::setValue(int*, int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:48:5: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 48 | uintm newval = vec[word]; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:43:3: error: ‘int4’ does not name a type; did you mean ‘int’? 43 | int4 frac_pos; ///< (lowest) bit position of fractional part | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:352:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 352 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:432:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 432 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:408:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 408 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:400:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 400 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:58:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 58 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:44:3: error: ‘int4’ does not name a type; did you mean ‘int’? 44 | int4 frac_size; ///< Number of bits in fractional part | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:58:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 58 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:58:21: error: ‘const struct VarnodeData’ has no member named ‘offset’ 58 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:58:21: error: ‘const struct VarnodeData’ has no member named ‘offset’ 58 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:58:50: error: ‘const struct VarnodeData’ has no member named ‘offset’ 58 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:58:50: error: ‘const struct VarnodeData’ has no member named ‘offset’ 58 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:49:5: error: ‘newval’ was not declared in this scope 49 | newval &= ~(mask< op2.size); // BIG sizes come first | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:49:3: error: ‘int4’ does not name a type; did you mean ‘int’? 49 | int4 decimal_precision; ///< Number of decimal digits of precision | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:59:22: error: ‘const struct VarnodeData’ has no member named ‘size’ 59 | return (size > op2.size); // BIG sizes come first | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:59:11: error: ‘size’ was not declared in this scope 59 | return (size > op2.size); // BIG sizes come first | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:59:22: error: ‘const struct VarnodeData’ has no member named ‘size’ 59 | return (size > op2.size); // BIG sizes come first | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:51:39: error: ‘uintb’ has not been declared 51 | static double createFloat(bool sign,uintb signif,int4 exp); ///< Create a double given sign, fractional, and exponent | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:51:52: error: ‘int4’ has not been declared 51 | static double createFloat(bool sign,uintb signif,int4 exp); ///< Create a double given sign, fractional, and exponent | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:448:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 448 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:368:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 368 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:432:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 432 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:49:5: error: ‘newval’ was not declared in this scope 49 | newval &= ~(mask<getIndex() < op2.space->getIndex()); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:57:66: error: ‘class AddrSpace’ has no member named ‘getIndex’ 57 | if (space != op2.space) return (space->getIndex() < op2.space->getIndex()); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:56:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 56 | uintb setExponentCode(uintb x,uintb code) const; ///< Set the exponent of an encoded value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh: In member function ‘Address VarnodeData::getAddr() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:86:24: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 86 | return Address(space,offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:448:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 448 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:57:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 57 | uintb getZeroEncoding(bool sgn) const; ///< Get an encoded zero value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:49:17: error: ‘mask’ was not declared in this scope 49 | newval &= ~(mask< op2.size); // BIG sizes come first | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:59:22: error: ‘const struct VarnodeData’ has no member named ‘size’ 59 | return (size > op2.size); // BIG sizes come first | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:51:9: error: ‘word’ was not declared in this scope 51 | vec[word] = newval; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:110:3: error: ‘int4’ does not name a type; did you mean ‘int’? 110 | int4 numInput(void) const; ///< Get the number of input varnodes to this op | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:206:8: error: ‘int4’ does not name a type; did you mean ‘int’? 206 | inline int4 PcodeOpRaw::numInput(void) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:111:25: error: ‘int4’ has not been declared 111 | VarnodeData *getInput(int4 i) const; ///< Get the i-th input varnode for this op | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:217:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 217 | inline VarnodeData *PcodeOpRaw::getInput(int4 i) const | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:217:21: error: ‘VarnodeData* PcodeOpRaw::getInput’ is not a static data member of ‘class PcodeOpRaw’ 217 | inline VarnodeData *PcodeOpRaw::getInput(int4 i) const | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:488:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 488 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:76:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 76 | uintb opEqual(uintb a,uintb b) const; ///< Equality comparison (==) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:147:52: error: ‘uintm’ has not been declared 147 | inline void PcodeOpRaw::setSeqNum(const Address &a,uintm b) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:472:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 472 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:495:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 495 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh: In member function ‘bool VarnodeData::operator!=(const VarnodeData&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:78:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 78 | if (offset != op2.offset) return true; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:77:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 77 | uintb opNotEqual(uintb a,uintb b) const; ///< Inequality comparison (!=) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:78:21: error: ‘const struct VarnodeData’ has no member named ‘offset’ 78 | if (offset != op2.offset) return true; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 1 is invalid 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:416:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 416 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:70:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 70 | uintb val; ///< The value of the register | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh: In member function ‘bool VarnodeData::operator!=(const VarnodeData&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:78:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 78 | if (offset != op2.offset) return true; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:78:21: error: ‘const struct VarnodeData’ has no member named ‘offset’ 78 | if (offset != op2.offset) return true; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:495:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 495 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:78:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 78 | uintb opLess(uintb a,uintb b) const; ///< Less-than comparison (<) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:79:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 79 | uintb opLessEqual(uintb a,uintb b) const; ///< Less-than-or-equal comparison (<=) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:480:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 480 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:206:8: error: ‘int4’ does not name a type; did you mean ‘int’? 206 | inline int4 PcodeOpRaw::numInput(void) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:217:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 217 | inline VarnodeData *PcodeOpRaw::getInput(int4 i) const | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:217:21: error: ‘VarnodeData* PcodeOpRaw::getInput’ is not a static data member of ‘class PcodeOpRaw’ 217 | inline VarnodeData *PcodeOpRaw::getInput(int4 i) const | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:217:42: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 217 | inline VarnodeData *PcodeOpRaw::getInput(int4 i) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:502:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 502 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:502:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 502 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:80:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 80 | uintb opNan(uintb a) const; ///< Test if Not-a-Number (NaN) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:424:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 424 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:81:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 81 | uintb opAdd(uintb a,uintb b) const; ///< Addition (+) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 1 is invalid 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:79:11: error: ‘size’ was not declared in this scope 79 | return (size != op2.size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:488:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 488 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh: In member function ‘bool VarnodeData::operator==(const VarnodeData&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:68:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 68 | if (offset != op2.offset) return false; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:79:23: error: ‘const struct VarnodeData’ has no member named ‘size’ 79 | return (size != op2.size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:68:21: error: ‘const struct VarnodeData’ has no member named ‘offset’ 68 | if (offset != op2.offset) return false; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:509:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 509 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:82:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 82 | uintb opDiv(uintb a,uintb b) const; ///< Division (/) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:509:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 509 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 1 is invalid 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:79:11: error: ‘size’ was not declared in this scope 79 | return (size != op2.size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:79:23: error: ‘const struct VarnodeData’ has no member named ‘size’ 79 | return (size != op2.size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:432:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 432 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:83:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 83 | uintb opMult(uintb a,uintb b) const; ///< Multiplication (*) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:217:42: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 217 | inline VarnodeData *PcodeOpRaw::getInput(int4 i) const | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:35:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 35 | uintb offset; ///< The offset within the space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:495:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 495 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:84:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 84 | uintb opSub(uintb a,uintb b) const; ///< Subtraction (-) | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:35:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 35 | uintb offset; ///< The offset within the space | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:31:3: error: ‘int4’ does not name a type; did you mean ‘int’? 31 | int4 word; ///< Index of word containing this context value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 1 is invalid 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:85:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 85 | uintb opNeg(uintb a) const; ///< Unary negate | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:36:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 36 | uint4 size; ///< The number of bytes in the location | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:440:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 440 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:32: error: ‘vector’ is not a type 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:38: error: expected ‘,’ or ‘...’ before ‘<’ token 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:32:3: error: ‘int4’ does not name a type; did you mean ‘int’? 32 | int4 startbit; ///< Starting bit of the value within its word (0=most significant bit 1=least significant) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh: In member function ‘bool VarnodeData::operator<(const VarnodeData&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:57:42: error: ‘class AddrSpace’ has no member named ‘getIndex’ 57 | if (space != op2.space) return (space->getIndex() < op2.space->getIndex()); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:36:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 36 | uint4 size; ///< The number of bytes in the location | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:57:66: error: ‘class AddrSpace’ has no member named ‘getIndex’ 57 | if (space != op2.space) return (space->getIndex() < op2.space->getIndex()); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:86:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 86 | uintb opAbs(uintb a) const; ///< Absolute value (abs) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:502:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 502 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 1 is invalid 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:69:11: error: ‘size’ was not declared in this scope 69 | return (size == op2.size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:69:23: error: ‘const struct VarnodeData’ has no member named ‘size’ 69 | return (size == op2.size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh: In member function ‘bool VarnodeData::operator<(const VarnodeData&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:57:42: error: ‘class AddrSpace’ has no member named ‘getIndex’ 57 | if (space != op2.space) return (space->getIndex() < op2.space->getIndex()); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:33:3: error: ‘int4’ does not name a type; did you mean ‘int’? 33 | int4 endbit; ///< Ending bit of the value within its word | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh: In member function ‘Address VarnodeData::getAddr() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:86:24: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 86 | return Address(space,offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:57:66: error: ‘class AddrSpace’ has no member named ‘getIndex’ 57 | if (space != op2.space) return (space->getIndex() < op2.space->getIndex()); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:87:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 87 | uintb opSqrt(uintb a) const; ///< Square root (sqrt) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:448:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 448 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh: In member function ‘Address VarnodeData::getAddr() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:86:24: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 86 | return Address(space,offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:34:3: error: ‘int4’ does not name a type; did you mean ‘int’? 34 | int4 shift; ///< Right-shift amount to apply when unpacking this value from its word | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:88:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 88 | uintb opTrunc(uintb a,int4 sizeout) const; ///< Convert floating-point to integer | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:509:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 509 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:89:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 89 | uintb opCeil(uintb a) const; ///< Ceiling (ceil) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:35:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 35 | uintm mask; ///< Mask to apply (after shifting) when unpacking this value from its word | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 1 is invalid 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 2 is invalid In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh:19, from src/decompile/cpp/pcodeparse.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:31:3: error: ‘int4’ does not name a type; did you mean ‘int’? 31 | int4 word; ///< Index of word containing this context value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:38:23: error: expected ‘)’ before ‘sbit’ 38 | ContextBitRange(int4 sbit,int4 ebit); ///< Construct a context value given an absolute bit range | ~ ^~~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:90:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 90 | uintb opFloor(uintb a) const; ///< Floor (floor) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:456:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 456 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 1 is invalid 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:32: error: ‘vector’ is not a type 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:38: error: expected ‘,’ or ‘...’ before ‘<’ token 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:39:3: error: ‘int4’ does not name a type; did you mean ‘int’? 39 | int4 getShift(void) const { return shift; } ///< Return the shift-amount for \b this value | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:35:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 35 | uintb offset; ///< The offset within the space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:32:3: error: ‘int4’ does not name a type; did you mean ‘int’? 32 | int4 startbit; ///< Starting bit of the value within its word (0=most significant bit 1=least significant) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:91:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 91 | uintb opRound(uintb a) const; ///< Round | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:40:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 40 | uintm getMask(void) const { return mask; } ///< Return the mask for \b this value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:33:3: error: ‘int4’ does not name a type; did you mean ‘int’? 33 | int4 endbit; ///< Ending bit of the value within its word | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:58:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 58 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:36:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 36 | uint4 size; ///< The number of bytes in the location | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:92:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 92 | uintb opInt2Float(uintb a,int4 sizein) const; ///< Convert integer to floating-point | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:58:21: error: ‘const struct VarnodeData’ has no member named ‘offset’ 58 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh: In member function ‘bool VarnodeData::operator!=(const VarnodeData&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:78:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 78 | if (offset != op2.offset) return true; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:58:50: error: ‘const struct VarnodeData’ has no member named ‘offset’ 58 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:78:21: error: ‘const struct VarnodeData’ has no member named ‘offset’ 78 | if (offset != op2.offset) return true; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:464:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 464 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:58:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 58 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:58:21: error: ‘const struct VarnodeData’ has no member named ‘offset’ 58 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:41:3: error: ‘int4’ does not name a type; did you mean ‘int’? 41 | int4 getWord(void) const { return word; } ///< Return the word index for \b this value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:47:17: error: ‘uintm’ has not been declared 47 | void setValue(uintm *vec,uintm val) const { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:58:50: error: ‘const struct VarnodeData’ has no member named ‘offset’ 58 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:47:28: error: ‘uintm’ has not been declared 47 | void setValue(uintm *vec,uintm val) const { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:34:3: error: ‘int4’ does not name a type; did you mean ‘int’? 34 | int4 shift; ///< Right-shift amount to apply when unpacking this value from its word | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh: In member function ‘bool VarnodeData::operator<(const VarnodeData&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:57:42: error: ‘class AddrSpace’ has no member named ‘getIndex’ 57 | if (space != op2.space) return (space->getIndex() < op2.space->getIndex()); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 1 is invalid 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:57:66: error: ‘class AddrSpace’ has no member named ‘getIndex’ 57 | if (space != op2.space) return (space->getIndex() < op2.space->getIndex()); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:93:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 93 | uintb opFloat2Float(uintb a,const FloatFormat &outformat) const; ///< Convert between floating-point precisions | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:58:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 58 | uintm getValue(const uintm *vec) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:35:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 35 | uintm mask; ///< Mask to apply (after shifting) when unpacking this value from its word | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:38:23: error: expected ‘)’ before ‘sbit’ 38 | ContextBitRange(int4 sbit,int4 ebit); ///< Construct a context value given an absolute bit range | ~ ^~~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 1 is invalid 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:472:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 472 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:36:3: error: ‘int4’ does not name a type; did you mean ‘int’? 36 | int4 instruction_length; ///< Number of bytes in the unimplemented instruction | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:103:35: error: ‘uintm’ has not been declared 103 | void setSeqNum(const Address &a,uintm b); ///< Set the sequence number | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:41:31: error: ‘int4’ has not been declared 41 | UnimplError(const string &s,int4 l) : LowlevelError(s) { instruction_length = l; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:39:3: error: ‘int4’ does not name a type; did you mean ‘int’? 39 | int4 getShift(void) const { return shift; } ///< Return the shift-amount for \b this value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:103:35: error: ‘uintm’ has not been declared 103 | void setSeqNum(const Address &a,uintm b); ///< Set the sequence number | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:40:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 40 | uintm getMask(void) const { return mask; } ///< Return the mask for \b this value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:59:11: error: ‘size’ was not declared in this scope 59 | return (size > op2.size); // BIG sizes come first | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:110:3: error: ‘int4’ does not name a type; did you mean ‘int’? 110 | int4 numInput(void) const; ///< Get the number of input varnodes to this op | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:480:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 480 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:59:22: error: ‘const struct VarnodeData’ has no member named ‘size’ 59 | return (size > op2.size); // BIG sizes come first | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:111:25: error: ‘int4’ has not been declared 111 | VarnodeData *getInput(int4 i) const; ///< Get the i-th input varnode for this op | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 1 is invalid 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:79:11: error: ‘size’ was not declared in this scope 79 | return (size != op2.size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:39: error: ‘vector’ is not a type 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:79:23: error: ‘const struct VarnodeData’ has no member named ‘size’ 79 | return (size != op2.size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:45: error: expected ‘,’ or ‘...’ before ‘<’ token 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:59:11: error: ‘size’ was not declared in this scope 59 | return (size > op2.size); // BIG sizes come first | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:59:22: error: ‘const struct VarnodeData’ has no member named ‘size’ 59 | return (size > op2.size); // BIG sizes come first | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:41:3: error: ‘int4’ does not name a type; did you mean ‘int’? 41 | int4 getWord(void) const { return word; } ///< Return the word index for \b this value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:47:17: error: ‘uintm’ has not been declared 47 | void setValue(uintm *vec,uintm val) const { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:47:28: error: ‘uintm’ has not been declared 47 | void setValue(uintm *vec,uintm val) const { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:147:52: error: ‘uintm’ has not been declared 147 | inline void PcodeOpRaw::setSeqNum(const Address &a,uintm b) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:110:3: error: ‘int4’ does not name a type; did you mean ‘int’? 110 | int4 numInput(void) const; ///< Get the number of input varnodes to this op | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:111:25: error: ‘int4’ has not been declared 111 | VarnodeData *getInput(int4 i) const; ///< Get the i-th input varnode for this op | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: In member function ‘void ContextBitRange::setValue(int*, int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:48:5: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 48 | uintm newval = vec[word]; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 1 is invalid 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:158:11: error: ‘uintm’ does not name a type; did you mean ‘uint’? 158 | virtual uintm *getDefaultValue(void)=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:58:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 58 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:147:52: error: ‘uintm’ has not been declared 147 | inline void PcodeOpRaw::setSeqNum(const Address &a,uintm b) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:58:21: error: ‘const struct VarnodeData’ has no member named ‘offset’ 58 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:58:50: error: ‘const struct VarnodeData’ has no member named ‘offset’ 58 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:58:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 58 | uintm getValue(const uintm *vec) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:488:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 488 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:165:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 165 | virtual const uintm *getDefaultValue(void) const=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:206:8: error: ‘int4’ does not name a type; did you mean ‘int’? 206 | inline int4 PcodeOpRaw::numInput(void) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:217:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 217 | inline VarnodeData *PcodeOpRaw::getInput(int4 i) const | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:217:21: error: ‘VarnodeData* PcodeOpRaw::getInput’ is not a static data member of ‘class PcodeOpRaw’ 217 | inline VarnodeData *PcodeOpRaw::getInput(int4 i) const | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:172:11: error: ‘int4’ does not name a type; did you mean ‘int’? 172 | virtual int4 getContextSize(void) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:206:8: error: ‘int4’ does not name a type; did you mean ‘int’? 206 | inline int4 PcodeOpRaw::numInput(void) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:183:50: error: ‘int4’ has not been declared 183 | virtual void registerVariable(const string &nm,int4 sbit,int4 ebit)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:217:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 217 | inline VarnodeData *PcodeOpRaw::getInput(int4 i) const | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:183:60: error: ‘int4’ has not been declared 183 | virtual void registerVariable(const string &nm,int4 sbit,int4 ebit)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:217:21: error: ‘VarnodeData* PcodeOpRaw::getInput’ is not a static data member of ‘class PcodeOpRaw’ 217 | inline VarnodeData *PcodeOpRaw::getInput(int4 i) const | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:495:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 495 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:189:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 189 | virtual const uintm *getContext(const Address &addr) const=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 1 is invalid 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:39: error: ‘vector’ is not a type 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:45: error: expected ‘,’ or ‘...’ before ‘<’ token 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh: In member function ‘bool VarnodeData::operator==(const VarnodeData&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:68:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 68 | if (offset != op2.offset) return false; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:68:21: error: ‘const struct VarnodeData’ has no member named ‘offset’ 68 | if (offset != op2.offset) return false; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh: In member function ‘Address VarnodeData::getAddr() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:86:24: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 86 | return Address(space,offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: In member function ‘void ContextBitRange::setValue(int*, int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:48:5: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 48 | uintm newval = vec[word]; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh: In member function ‘bool VarnodeData::operator==(const VarnodeData&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:68:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 68 | if (offset != op2.offset) return false; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:199:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 199 | virtual const uintm *getContext(const Address &addr,uintb &first,uintb &last) const=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:68:21: error: ‘const struct VarnodeData’ has no member named ‘offset’ 68 | if (offset != op2.offset) return false; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:59:11: error: ‘size’ was not declared in this scope 59 | return (size > op2.size); // BIG sizes come first | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:49:5: error: ‘newval’ was not declared in this scope 49 | newval &= ~(mask< op2.size); // BIG sizes come first | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:502:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 502 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:240:44: error: ‘uintm’ has not been declared 240 | void setVariableDefault(const string &nm,uintm val); ///< Provide a default value for a context variable | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:158:11: error: ‘uintm’ does not name a type; did you mean ‘uint’? 158 | virtual uintm *getDefaultValue(void)=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:217:42: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 217 | inline VarnodeData *PcodeOpRaw::getInput(int4 i) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:241:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 241 | uintm getDefaultValue(const string &nm) const; ///< Retrieve the default value for a context variable | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh: In constructor ‘UnimplError::UnimplError(const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:41:60: error: ‘instruction_length’ was not declared in this scope 41 | UnimplError(const string &s,int4 l) : LowlevelError(s) { instruction_length = l; } | ^~~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:242:57: error: ‘uintm’ has not been declared 242 | void setVariable(const string &nm,const Address &addr,uintm value); ///< Set a context value at the given address | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:217:42: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 217 | inline VarnodeData *PcodeOpRaw::getInput(int4 i) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:165:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 165 | virtual const uintm *getDefaultValue(void) const=0; | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:41:3: error: ‘int4’ does not name a type; did you mean ‘int’? 41 | int4 size; ///< Size of float in bytes (this format) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:243:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 243 | uintm getVariable(const string &nm,const Address &addr) const; ///< Retrieve a context value at the given address | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:509:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 509 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:244:50: error: ‘int4’ has not been declared 244 | void setContextChangePoint(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:244:59: error: ‘uintm’ has not been declared 244 | void setContextChangePoint(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:244:70: error: ‘uintm’ has not been declared 244 | void setContextChangePoint(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:245:67: error: ‘int4’ has not been declared 245 | void setContextRegion(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:245:76: error: ‘uintm’ has not been declared 245 | void setContextRegion(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:245:87: error: ‘uintm’ has not been declared 245 | void setContextRegion(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:247:47: error: ‘uintm’ has not been declared 247 | const Address &endad,uintm value); | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:41:3: error: ‘int4’ does not name a type; did you mean ‘int’? 41 | int4 size; ///< Size of float in bytes (this format) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:172:11: error: ‘int4’ does not name a type; did you mean ‘int’? 172 | virtual int4 getContextSize(void) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:183:50: error: ‘int4’ has not been declared 183 | virtual void registerVariable(const string &nm,int4 sbit,int4 ebit)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:183:60: error: ‘int4’ has not been declared 183 | virtual void registerVariable(const string &nm,int4 sbit,int4 ebit)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:42:3: error: ‘int4’ does not name a type; did you mean ‘int’? 42 | int4 signbit_pos; ///< Bit position of sign bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:69:11: error: ‘size’ was not declared in this scope 69 | return (size == op2.size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:69:23: error: ‘const struct VarnodeData’ has no member named ‘size’ 69 | return (size == op2.size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:65:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 65 | uint4 size; ///< Size truncated addresses into the space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:248:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 248 | uintb getTrackedValue(const VarnodeData &mem,const Address &point) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:42:3: error: ‘int4’ does not name a type; did you mean ‘int’? 42 | int4 signbit_pos; ///< Bit position of sign bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:189:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 189 | virtual const uintm *getContext(const Address &addr) const=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:43:3: error: ‘int4’ does not name a type; did you mean ‘int’? 43 | int4 frac_pos; ///< (lowest) bit position of fractional part | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:35:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 35 | uintb offset; ///< The offset within the space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:69:11: error: ‘size’ was not declared in this scope 69 | return (size == op2.size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:49:17: error: ‘mask’ was not declared in this scope 49 | newval &= ~(mask<getIndex() < op2.space->getIndex()); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:107:16: error: ‘uint1’ does not name a type; did you mean ‘uint’? 107 | static const uint1 *unpackOffset(const uint1 *ptr,uintb &off); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:241:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 241 | uintm getDefaultValue(const string &nm) const; ///< Retrieve the default value for a context variable | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:57:66: error: ‘class AddrSpace’ has no member named ‘getIndex’ 57 | if (space != op2.space) return (space->getIndex() < op2.space->getIndex()); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:242:57: error: ‘uintm’ has not been declared 242 | void setVariable(const string &nm,const Address &addr,uintm value); ///< Set a context value at the given address | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:103:35: error: ‘uintm’ has not been declared 103 | void setSeqNum(const Address &a,uintm b); ///< Set the sequence number | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:46:3: error: ‘int4’ does not name a type; did you mean ‘int’? 46 | int4 exp_size; ///< Number of bits in exponent | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:46:3: error: ‘int4’ does not name a type; did you mean ‘int’? 46 | int4 exp_size; ///< Number of bits in exponent | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:266:5: error: ‘int4’ does not name a type; did you mean ‘int’? 266 | int4 size; ///< The number of words in the array | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:269:16: error: ‘int4’ has not been declared 269 | void reset(int4 sz); ///< Resize the context blob, preserving old values | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:109:16: error: ‘uint1’ does not name a type; did you mean ‘uint’? 109 | static const uint1 *unpackVarnodeData(const uint1 *ptr,VarnodeData &v,const AddrSpaceManager *trans); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:47:3: error: ‘int4’ does not name a type; did you mean ‘int’? 47 | int4 bias; ///< What to add to real exponent to get encoding | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:243:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 243 | uintm getVariable(const string &nm,const Address &addr) const; ///< Retrieve a context value at the given address | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:244:50: error: ‘int4’ has not been declared 244 | void setContextChangePoint(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:47:3: error: ‘int4’ does not name a type; did you mean ‘int’? 47 | int4 bias; ///< What to add to real exponent to get encoding | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:244:59: error: ‘uintm’ has not been declared 244 | void setContextChangePoint(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:244:70: error: ‘uintm’ has not been declared 244 | void setContextChangePoint(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:245:67: error: ‘int4’ has not been declared 245 | void setContextRegion(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:245:76: error: ‘uintm’ has not been declared 245 | void setContextRegion(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:245:87: error: ‘uintm’ has not been declared 245 | void setContextRegion(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:247:47: error: ‘uintm’ has not been declared 247 | const Address &endad,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:273:3: error: ‘int4’ does not name a type; did you mean ‘int’? 273 | int4 size; ///< Number of words in a context blob (for this architecture) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:111:9: error: ‘uint1’ does not name a type; did you mean ‘uint’? 111 | const uint1 *restorePackedOp(const Address &addr,const uint1 *ptr,const AddrSpaceManager *trans); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:49:23: error: ‘shift’ was not declared in this scope 49 | newval &= ~(mask< op2.size); // BIG sizes come first | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:59:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 59 | uintb getNaNEncoding(bool sgn) const; ///< Get an encoded NaN value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:59:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 59 | uintb getNaNEncoding(bool sgn) const; ///< Get an encoded NaN value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:59:22: error: ‘const struct VarnodeData’ has no member named ‘size’ 59 | return (size > op2.size); // BIG sizes come first | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:63:19: error: expected ‘)’ before ‘sz’ 63 | FloatFormat(int4 sz); ///< Construct default IEEE 754 standard settings | ~ ^~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:63:19: error: expected ‘)’ before ‘sz’ 63 | FloatFormat(int4 sz); ///< Construct default IEEE 754 standard settings | ~ ^~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:64:3: error: ‘int4’ does not name a type; did you mean ‘int’? 64 | int4 getSize(void) const { return size; } ///< Get the size of the encoding in bytes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:65:23: error: ‘uintb’ has not been declared 65 | double getHostFloat(uintb encoding,floatclass *type) const; ///< Convert an encoding into host's double | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:64:3: error: ‘int4’ does not name a type; did you mean ‘int’? 64 | int4 getSize(void) const { return size; } ///< Get the size of the encoding in bytes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:65:23: error: ‘uintb’ has not been declared 65 | double getHostFloat(uintb encoding,floatclass *type) const; ///< Convert an encoding into host's double | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh: In member function ‘Address VarnodeData::getAddr() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:86:24: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 86 | return Address(space,offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 1 is invalid 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:66:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 66 | uintb getEncoding(double host) const; ///< Convert host's double into \b this encoding | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/loadimage.hh:58:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 58 | uintb size; ///< Number of bytes in section | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:66:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 66 | uintb getEncoding(double host) const; ///< Convert host's double into \b this encoding | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:51:9: error: ‘word’ was not declared in this scope 51 | vec[word] = newval; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:67:3: error: ‘int4’ does not name a type; did you mean ‘int’? 67 | int4 getDecimalPrecision(void) const { return decimal_precision; } ///< Get number of digits of precision | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:67:3: error: ‘int4’ does not name a type; did you mean ‘int’? 67 | int4 getDecimalPrecision(void) const { return decimal_precision; } ///< Get number of digits of precision | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:79:11: error: ‘size’ was not declared in this scope 79 | return (size != op2.size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:79:23: error: ‘const struct VarnodeData’ has no member named ‘size’ 79 | return (size != op2.size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/loadimage.hh:59:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 59 | uint4 flags; ///< Properties of the section | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh: In member function ‘Address VarnodeData::getAddr() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:86:24: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 86 | return Address(space,offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:68:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 68 | uintb convertEncoding(uintb encoding,const FloatFormat *formin) const; ///< Convert between two different formats | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/loadimage.hh:82:25: error: ‘uint1’ has not been declared 82 | virtual void loadFill(uint1 *ptr,int4 size,const Address &addr)=0; ///< Get data from the LoadImage | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/loadimage.hh:82:36: error: ‘int4’ has not been declared 82 | virtual void loadFill(uint1 *ptr,int4 size,const Address &addr)=0; ///< Get data from the LoadImage | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:68:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 68 | uintb convertEncoding(uintb encoding,const FloatFormat *formin) const; ///< Convert between two different formats | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:70:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 70 | uintb val; ///< The value of the register | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:70:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 70 | uintb extractFractionalCode(uintb x) const; ///< Extract the fractional part of the encoding | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:71:20: error: ‘uintb’ has not been declared 71 | bool extractSign(uintb x) const; ///< Extract the sign bit from the encoding | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:70:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 70 | uintb extractFractionalCode(uintb x) const; ///< Extract the fractional part of the encoding | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:71:20: error: ‘uintb’ has not been declared 71 | bool extractSign(uintb x) const; ///< Extract the sign bit from the encoding | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:200:3: error: ‘int4’ does not name a type; did you mean ‘int’? 200 | int4 numPieces(void) const { return pieces.size(); } ///< Get number of pieces in this record | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh: In member function ‘bool VarnodeData::operator==(const VarnodeData&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:68:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 68 | if (offset != op2.offset) return false; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:202:31: error: ‘int4’ has not been declared 202 | const VarnodeData &getPiece(int4 i) const { return pieces[i]; } ///< Get the i-th piece | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:68:21: error: ‘const struct VarnodeData’ has no member named ‘offset’ 68 | if (offset != op2.offset) return false; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 1 is invalid 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:204:32: error: ‘uintb’ has not been declared 204 | Address getEquivalentAddress(uintb offset,int4 &pos) const; ///< Given offset in \e join space, get equivalent address of piece | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/loadimage.hh:92:3: error: ‘uint1’ does not name a type; did you mean ‘uint’? 92 | uint1 *load(int4 size,const Address &addr); ///< Load a chunk of image | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:204:45: error: ‘int4’ has not been declared 204 | Address getEquivalentAddress(uintb offset,int4 &pos) const; ///< Given offset in \e join space, get equivalent address of piece | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:72:3: error: ‘int4’ does not name a type; did you mean ‘int’? 72 | int4 extractExponentCode(uintb x) const; ///< Extract the exponent from the encoding | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:72:3: error: ‘int4’ does not name a type; did you mean ‘int’? 72 | int4 extractExponentCode(uintb x) const; ///< Extract the exponent from the encoding | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:76:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 76 | uintb opEqual(uintb a,uintb b) const; ///< Equality comparison (==) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:76:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 76 | uintb opEqual(uintb a,uintb b) const; ///< Equality comparison (==) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/loadimage.hh:101:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 101 | uintb vma; ///< Address of first byte in the file | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:77:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 77 | uintb opNotEqual(uintb a,uintb b) const; ///< Inequality comparison (!=) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:77:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 77 | uintb opNotEqual(uintb a,uintb b) const; ///< Inequality comparison (!=) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 1 is invalid 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/loadimage.hh:103:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 103 | uintb filesize; ///< Total number of bytes in the loadimage/file | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh: In member function ‘Address VarnodeData::getAddr() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:86:24: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 86 | return Address(space,offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:78:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 78 | uintb opLess(uintb a,uintb b) const; ///< Less-than comparison (<) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:78:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 78 | uintb opLess(uintb a,uintb b) const; ///< Less-than comparison (<) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/loadimage.hh:110:25: error: ‘uint1’ has not been declared 110 | virtual void loadFill(uint1 *ptr,int4 size,const Address &addr); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/loadimage.hh:110:36: error: ‘int4’ has not been declared 110 | virtual void loadFill(uint1 *ptr,int4 size,const Address &addr); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 1 is invalid 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:103:35: error: ‘uintm’ has not been declared 103 | void setSeqNum(const Address &a,uintm b); ///< Set the sequence number | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:32: error: ‘vector’ is not a type 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:38: error: expected ‘,’ or ‘...’ before ‘<’ token 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:79:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 79 | uintb opLessEqual(uintb a,uintb b) const; ///< Less-than-or-equal comparison (<=) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:79:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 79 | uintb opLessEqual(uintb a,uintb b) const; ///< Less-than-or-equal comparison (<=) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:69:11: error: ‘size’ was not declared in this scope 69 | return (size == op2.size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:69:23: error: ‘const struct VarnodeData’ has no member named ‘size’ 69 | return (size == op2.size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:80:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 80 | uintb opNan(uintb a) const; ///< Test if Not-a-Number (NaN) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:80:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 80 | uintb opNan(uintb a) const; ///< Test if Not-a-Number (NaN) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:110:3: error: ‘int4’ does not name a type; did you mean ‘int’? 110 | int4 numInput(void) const; ///< Get the number of input varnodes to this op | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:111:25: error: ‘int4’ has not been declared 111 | VarnodeData *getInput(int4 i) const; ///< Get the i-th input varnode for this op | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:81:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 81 | uintb opAdd(uintb a,uintb b) const; ///< Addition (+) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:103:35: error: ‘uintm’ has not been declared 103 | void setSeqNum(const Address &a,uintm b); ///< Set the sequence number | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:81:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 81 | uintb opAdd(uintb a,uintb b) const; ///< Addition (+) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:147:52: error: ‘uintm’ has not been declared 147 | inline void PcodeOpRaw::setSeqNum(const Address &a,uintm b) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 1 is invalid 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 2 is invalid In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:39:3: error: ‘int4’ does not name a type; did you mean ‘int’? 39 | int4 wordsize; ///< Number of bytes in an aligned word access | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:82:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 82 | uintb opDiv(uintb a,uintb b) const; ///< Division (/) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:82:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 82 | uintb opDiv(uintb a,uintb b) const; ///< Division (/) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 1 is invalid 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:83:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 83 | uintb opMult(uintb a,uintb b) const; ///< Multiplication (*) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:110:3: error: ‘int4’ does not name a type; did you mean ‘int’? 110 | int4 numInput(void) const; ///< Get the number of input varnodes to this op | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:83:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 83 | uintb opMult(uintb a,uintb b) const; ///< Multiplication (*) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:111:25: error: ‘int4’ has not been declared 111 | VarnodeData *getInput(int4 i) const; ///< Get the i-th input varnode for this op | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:40:3: error: ‘int4’ does not name a type; did you mean ‘int’? 40 | int4 pagesize; ///< Number of bytes in an aligned page access | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:43:23: error: ‘uintb’ has not been declared 43 | virtual void insert(uintb addr,uintb val)=0; ///< Insert a word in memory bank at an aligned location | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:43:34: error: ‘uintb’ has not been declared 43 | virtual void insert(uintb addr,uintb val)=0; ///< Insert a word in memory bank at an aligned location | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:206:8: error: ‘int4’ does not name a type; did you mean ‘int’? 206 | inline int4 PcodeOpRaw::numInput(void) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:217:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 217 | inline VarnodeData *PcodeOpRaw::getInput(int4 i) const | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:217:21: error: ‘VarnodeData* PcodeOpRaw::getInput’ is not a static data member of ‘class PcodeOpRaw’ 217 | inline VarnodeData *PcodeOpRaw::getInput(int4 i) const | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:84:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 84 | uintb opSub(uintb a,uintb b) const; ///< Subtraction (-) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:147:52: error: ‘uintm’ has not been declared 147 | inline void PcodeOpRaw::setSeqNum(const Address &a,uintm b) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:84:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 84 | uintb opSub(uintb a,uintb b) const; ///< Subtraction (-) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:85:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 85 | uintb opNeg(uintb a) const; ///< Unary negate | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh: In member function ‘bool VarnodeData::operator!=(const VarnodeData&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:78:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 78 | if (offset != op2.offset) return true; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:44:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 44 | virtual uintb find(uintb addr) const=0; ///< Retrieve a word from memory bank at an aligned location | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:78:21: error: ‘const struct VarnodeData’ has no member named ‘offset’ 78 | if (offset != op2.offset) return true; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:45:24: error: ‘uintb’ has not been declared 45 | virtual void getPage(uintb addr,uint1 *res,int4 skip,int4 size) const; ///< Retrieve data from a memory \e page | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:85:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 85 | uintb opNeg(uintb a) const; ///< Unary negate | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:45:35: error: ‘uint1’ has not been declared 45 | virtual void getPage(uintb addr,uint1 *res,int4 skip,int4 size) const; ///< Retrieve data from a memory \e page | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:45:46: error: ‘int4’ has not been declared 45 | virtual void getPage(uintb addr,uint1 *res,int4 skip,int4 size) const; ///< Retrieve data from a memory \e page | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:45:56: error: ‘int4’ has not been declared 45 | virtual void getPage(uintb addr,uint1 *res,int4 skip,int4 size) const; ///< Retrieve data from a memory \e page | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:46:24: error: ‘uintb’ has not been declared 46 | virtual void setPage(uintb addr,const uint1 *val,int4 skip,int4 size); ///< Write data into a memory page | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:103:35: error: ‘uintm’ has not been declared 103 | void setSeqNum(const Address &a,uintm b); ///< Set the sequence number | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:86:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 86 | uintb opAbs(uintb a) const; ///< Absolute value (abs) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 1 is invalid 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:32: error: ‘vector’ is not a type 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:86:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 86 | uintb opAbs(uintb a) const; ///< Absolute value (abs) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:38: error: expected ‘,’ or ‘...’ before ‘<’ token 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 1 is invalid 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:206:8: error: ‘int4’ does not name a type; did you mean ‘int’? 206 | inline int4 PcodeOpRaw::numInput(void) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:87:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 87 | uintb opSqrt(uintb a) const; ///< Square root (sqrt) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:217:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 217 | inline VarnodeData *PcodeOpRaw::getInput(int4 i) const | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:46:41: error: ‘uint1’ does not name a type; did you mean ‘uint’? 46 | virtual void setPage(uintb addr,const uint1 *val,int4 skip,int4 size); ///< Write data into a memory page | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:217:21: error: ‘VarnodeData* PcodeOpRaw::getInput’ is not a static data member of ‘class PcodeOpRaw’ 217 | inline VarnodeData *PcodeOpRaw::getInput(int4 i) const | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:46:52: error: ‘int4’ has not been declared 46 | virtual void setPage(uintb addr,const uint1 *val,int4 skip,int4 size); ///< Write data into a memory page | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:46:62: error: ‘int4’ has not been declared 46 | virtual void setPage(uintb addr,const uint1 *val,int4 skip,int4 size); ///< Write data into a memory page | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:87:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 87 | uintb opSqrt(uintb a) const; ///< Square root (sqrt) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:48:29: error: ‘int4’ has not been declared 48 | MemoryBank(AddrSpace *spc,int4 ws,int4 ps); ///< Generic constructor for a memory bank | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:48:37: error: ‘int4’ has not been declared 48 | MemoryBank(AddrSpace *spc,int4 ws,int4 ps); ///< Generic constructor for a memory bank | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:217:42: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 217 | inline VarnodeData *PcodeOpRaw::getInput(int4 i) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:110:3: error: ‘int4’ does not name a type; did you mean ‘int’? 110 | int4 numInput(void) const; ///< Get the number of input varnodes to this op | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:88:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 88 | uintb opTrunc(uintb a,int4 sizeout) const; ///< Convert floating-point to integer | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:111:25: error: ‘int4’ has not been declared 111 | VarnodeData *getInput(int4 i) const; ///< Get the i-th input varnode for this op | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:88:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 88 | uintb opTrunc(uintb a,int4 sizeout) const; ///< Convert floating-point to integer | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:50:3: error: ‘int4’ does not name a type; did you mean ‘int’? 50 | int4 getWordSize(void) const; ///< Get the number of bytes in a word for this memory bank | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:147:52: error: ‘uintm’ has not been declared 147 | inline void PcodeOpRaw::setSeqNum(const Address &a,uintm b) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:89:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 89 | uintb opCeil(uintb a) const; ///< Ceiling (ceil) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:89:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 89 | uintb opCeil(uintb a) const; ///< Ceiling (ceil) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:79:11: error: ‘size’ was not declared in this scope 79 | return (size != op2.size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:79:23: error: ‘const struct VarnodeData’ has no member named ‘size’ 79 | return (size != op2.size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:51:3: error: ‘int4’ does not name a type; did you mean ‘int’? 51 | int4 getPageSize(void) const; ///< Get the number of bytes in a page for this memory bank | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:90:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 90 | uintb opFloor(uintb a) const; ///< Floor (floor) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:54:17: error: ‘uintb’ has not been declared 54 | void setValue(uintb offset,int4 size,uintb val); ///< Set the value of a (small) range of bytes | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:54:30: error: ‘int4’ has not been declared 54 | void setValue(uintb offset,int4 size,uintb val); ///< Set the value of a (small) range of bytes | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:54:40: error: ‘uintb’ has not been declared 54 | void setValue(uintb offset,int4 size,uintb val); ///< Set the value of a (small) range of bytes | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:90:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 90 | uintb opFloor(uintb a) const; ///< Floor (floor) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 1 is invalid 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:39: error: ‘vector’ is not a type 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:45: error: expected ‘,’ or ‘...’ before ‘<’ token 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 1 is invalid 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:91:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 91 | uintb opRound(uintb a) const; ///< Round | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:91:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 91 | uintb opRound(uintb a) const; ///< Round | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:217:42: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 217 | inline VarnodeData *PcodeOpRaw::getInput(int4 i) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:55:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 55 | uintb getValue(uintb offset,int4 size) const; ///< Retrieve the value encoded in a (small) range of bytes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:56:17: error: ‘uintb’ has not been declared 56 | void setChunk(uintb offset,int4 size,const uint1 *val); ///< Set values of an arbitrary sequence of bytes | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:56:30: error: ‘int4’ has not been declared 56 | void setChunk(uintb offset,int4 size,const uint1 *val); ///< Set values of an arbitrary sequence of bytes | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:206:8: error: ‘int4’ does not name a type; did you mean ‘int’? 206 | inline int4 PcodeOpRaw::numInput(void) const | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:25:35: error: ‘uint1’ has not been declared 25 | extern void print_data(ostream &s,uint1 *buffer,int4 size,const Address &baseaddr); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:25:49: error: ‘int4’ has not been declared 25 | extern void print_data(ostream &s,uint1 *buffer,int4 size,const Address &baseaddr); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:217:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 217 | inline VarnodeData *PcodeOpRaw::getInput(int4 i) const | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:217:21: error: ‘VarnodeData* PcodeOpRaw::getInput’ is not a static data member of ‘class PcodeOpRaw’ 217 | inline VarnodeData *PcodeOpRaw::getInput(int4 i) const | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:158:11: error: ‘uintm’ does not name a type; did you mean ‘uint’? 158 | virtual uintm *getDefaultValue(void)=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:92:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 92 | uintb opInt2Float(uintb a,int4 sizein) const; ///< Convert integer to floating-point | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:92:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 92 | uintb opInt2Float(uintb a,int4 sizein) const; ///< Convert integer to floating-point | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:56:46: error: ‘uint1’ does not name a type; did you mean ‘uint’? 56 | void setChunk(uintb offset,int4 size,const uint1 *val); ///< Set values of an arbitrary sequence of bytes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:57:17: error: ‘uintb’ has not been declared 57 | void getChunk(uintb offset,int4 size,uint1 *res) const; ///< Retrieve an arbitrary sequence of bytes | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:57:30: error: ‘int4’ has not been declared 57 | void getChunk(uintb offset,int4 size,uint1 *res) const; ///< Retrieve an arbitrary sequence of bytes | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:57:40: error: ‘uint1’ has not been declared 57 | void getChunk(uintb offset,int4 size,uint1 *res) const; ///< Retrieve an arbitrary sequence of bytes | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:31:3: error: ‘int4’ does not name a type; did you mean ‘int’? 31 | int4 word; ///< Index of word containing this context value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:93:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 93 | uintb opFloat2Float(uintb a,const FloatFormat &outformat) const; ///< Convert between floating-point precisions | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:165:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 165 | virtual const uintm *getDefaultValue(void) const=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:93:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 93 | uintb opFloat2Float(uintb a,const FloatFormat &outformat) const; ///< Convert between floating-point precisions | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:82:3: error: ‘int4’ does not name a type; did you mean ‘int’? 82 | int4 size; ///< Size (of variable holding a value of this type) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:58:10: error: ‘uintb’ does not name a type; did you mean ‘uint’? 58 | static uintb constructValue(const uint1 *ptr,int4 size,bool bigendian); ///< Decode bytes to value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:59:32: error: ‘uint1’ has not been declared 59 | static void deconstructValue(uint1 *ptr,uintb val,int4 size,bool bigendian); ///< Encode value to bytes | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:59:43: error: ‘uintb’ has not been declared 59 | static void deconstructValue(uint1 *ptr,uintb val,int4 size,bool bigendian); ///< Encode value to bytes | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:59:53: error: ‘int4’ has not been declared 59 | static void deconstructValue(uint1 *ptr,uintb val,int4 size,bool bigendian); ///< Encode value to bytes | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:172:11: error: ‘int4’ does not name a type; did you mean ‘int’? 172 | virtual int4 getContextSize(void) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:32:3: error: ‘int4’ does not name a type; did you mean ‘int’? 32 | int4 startbit; ///< Starting bit of the value within its word (0=most significant bit 1=least significant) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 1 is invalid 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:183:50: error: ‘int4’ has not been declared 183 | virtual void registerVariable(const string &nm,int4 sbit,int4 ebit)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:183:60: error: ‘int4’ has not been declared 183 | virtual void registerVariable(const string &nm,int4 sbit,int4 ebit)=0; | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:36:3: error: ‘int4’ does not name a type; did you mean ‘int’? 36 | int4 instruction_length; ///< Number of bytes in the unimplemented instruction | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:41:31: error: ‘int4’ has not been declared 41 | UnimplError(const string &s,int4 l) : LowlevelError(s) { instruction_length = l; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:85:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 85 | uint4 flags; ///< Boolean properties of the type | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:36:3: error: ‘int4’ does not name a type; did you mean ‘int’? 36 | int4 instruction_length; ///< Number of bytes in the unimplemented instruction | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:41:31: error: ‘int4’ has not been declared 41 | UnimplError(const string &s,int4 l) : LowlevelError(s) { instruction_length = l; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh: In member function ‘Address VarnodeData::getAddr() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:86:24: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 86 | return Address(space,offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:217:42: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 217 | inline VarnodeData *PcodeOpRaw::getInput(int4 i) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:65:8: error: ‘int4’ does not name a type; did you mean ‘int’? 65 | inline int4 MemoryBank::getWordSize(void) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:33:3: error: ‘int4’ does not name a type; did you mean ‘int’? 33 | int4 endbit; ///< Ending bit of the value within its word | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:189:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 189 | virtual const uintm *getContext(const Address &addr) const=0; | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:25:35: error: ‘uint1’ has not been declared 25 | extern void print_data(ostream &s,uint1 *buffer,int4 size,const Address &baseaddr); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:25:49: error: ‘int4’ has not been declared 25 | extern void print_data(ostream &s,uint1 *buffer,int4 size,const Address &baseaddr); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:86:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 86 | uint8 id; ///< A unique id for the type (or 0 if an id is not assigned) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:74:8: error: ‘int4’ does not name a type; did you mean ‘int’? 74 | inline int4 MemoryBank::getPageSize(void) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:96:23: error: ‘uintb’ has not been declared 96 | virtual void insert(uintb addr,uintb val) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:96:34: error: ‘uintb’ has not been declared 96 | virtual void insert(uintb addr,uintb val) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:199:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 199 | virtual const uintm *getContext(const Address &addr,uintb &first,uintb &last) const=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:34:3: error: ‘int4’ does not name a type; did you mean ‘int’? 34 | int4 shift; ///< Right-shift amount to apply when unpacking this value from its word | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:240:44: error: ‘uintm’ has not been declared 240 | void setVariableDefault(const string &nm,uintm val); ///< Provide a default value for a context variable | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:89:10: error: ‘uint8’ does not name a type; did you mean ‘uint’? 89 | static uint8 hashName(const string &nm); ///< Produce a data-type id by hashing the type name | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:82:3: error: ‘int4’ does not name a type; did you mean ‘int’? 82 | int4 size; ///< Size (of variable holding a value of this type) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:35:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 35 | uintm mask; ///< Mask to apply (after shifting) when unpacking this value from its word | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:98:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 98 | virtual uintb find(uintb addr) const; ///< Overridden find method | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:99:24: error: ‘uintb’ has not been declared 99 | virtual void getPage(uintb addr,uint1 *res,int4 skip,int4 size) const; ///< Overridded getPage method | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:99:35: error: ‘uint1’ has not been declared 99 | virtual void getPage(uintb addr,uint1 *res,int4 skip,int4 size) const; ///< Overridded getPage method | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 1 is invalid 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:99:46: error: ‘int4’ has not been declared 99 | virtual void getPage(uintb addr,uint1 *res,int4 skip,int4 size) const; ///< Overridded getPage method | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:38:23: error: expected ‘)’ before ‘sbit’ 38 | ContextBitRange(int4 sbit,int4 ebit); ///< Construct a context value given an absolute bit range | ~ ^~~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:241:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 241 | uintm getDefaultValue(const string &nm) const; ///< Retrieve the default value for a context variable | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:99:56: error: ‘int4’ has not been declared 99 | virtual void getPage(uintb addr,uint1 *res,int4 skip,int4 size) const; ///< Overridded getPage method | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:39: error: ‘vector’ is not a type 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:242:57: error: ‘uintm’ has not been declared 242 | void setVariable(const string &nm,const Address &addr,uintm value); ///< Set a context value at the given address | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:45: error: expected ‘,’ or ‘...’ before ‘<’ token 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:101:30: error: ‘int4’ has not been declared 101 | MemoryImage(AddrSpace *spc,int4 ws,int4 ps,LoadImage *ld); ///< Constructor for a loadimage memorybank | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:101:38: error: ‘int4’ has not been declared 101 | MemoryImage(AddrSpace *spc,int4 ws,int4 ps,LoadImage *ld); ///< Constructor for a loadimage memorybank | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:90:10: error: ‘uint8’ does not name a type; did you mean ‘uint’? 90 | static uint8 hashSize(uint8 id,int4 size); ///< Reversibly hash size into id | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:85:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 85 | uint4 flags; ///< Boolean properties of the type | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:95:16: error: expected ‘)’ before ‘s’ 95 | Datatype(int4 s,type_metatype m) { size=s; metatype=m; flags=0; id=0; } | ~ ^~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:97:16: error: expected ‘)’ before ‘s’ 97 | Datatype(int4 s,type_metatype m,const string &n) { name=n; size=s; metatype=m; flags=0; id=0; } | ~ ^~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:39:3: error: ‘int4’ does not name a type; did you mean ‘int’? 39 | int4 getShift(void) const { return shift; } ///< Return the shift-amount for \b this value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:243:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 243 | uintm getVariable(const string &nm,const Address &addr) const; ///< Retrieve a context value at the given address | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:244:50: error: ‘int4’ has not been declared 244 | void setContextChangePoint(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:244:59: error: ‘uintm’ has not been declared 244 | void setContextChangePoint(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:244:70: error: ‘uintm’ has not been declared 244 | void setContextChangePoint(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:245:67: error: ‘int4’ has not been declared 245 | void setContextRegion(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:245:76: error: ‘uintm’ has not been declared 245 | void setContextRegion(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:245:87: error: ‘uintm’ has not been declared 245 | void setContextRegion(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:247:47: error: ‘uintm’ has not been declared 247 | const Address &endad,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:158:11: error: ‘uintm’ does not name a type; did you mean ‘uint’? 158 | virtual uintm *getDefaultValue(void)=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:86:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 86 | uint8 id; ///< A unique id for the type (or 0 if an id is not assigned) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:40:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 40 | uintm getMask(void) const { return mask; } ///< Return the mask for \b this value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:248:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 248 | uintb getTrackedValue(const VarnodeData &mem,const Address &point) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:109:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 109 | uint4 getInheritable(void) const { return (flags & coretype); } ///< Get properties pointers inherit | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:89:10: error: ‘uint8’ does not name a type; did you mean ‘uint’? 89 | static uint8 hashName(const string &nm); ///< Produce a data-type id by hashing the type name | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:41:3: error: ‘int4’ does not name a type; did you mean ‘int’? 41 | int4 getWord(void) const { return word; } ///< Return the word index for \b this value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:165:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 165 | virtual const uintm *getDefaultValue(void) const=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:47:17: error: ‘uintm’ has not been declared 47 | void setValue(uintm *vec,uintm val) const { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:47:28: error: ‘uintm’ has not been declared 47 | void setValue(uintm *vec,uintm val) const { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:111:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 111 | uint8 getId(void) const { return id; } ///< Get the type id | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:264:5: error: ‘uintm’ does not name a type; did you mean ‘uint’? 264 | uintm *array; ///< The "array of words" holding context variable values | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:90:10: error: ‘uint8’ does not name a type; did you mean ‘uint’? 90 | static uint8 hashSize(uint8 id,int4 size); ///< Reversibly hash size into id | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:58:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 58 | uintm getValue(const uintm *vec) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:95:16: error: expected ‘)’ before ‘s’ 95 | Datatype(int4 s,type_metatype m) { size=s; metatype=m; flags=0; id=0; } | ~ ^~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:172:11: error: ‘int4’ does not name a type; did you mean ‘int’? 172 | virtual int4 getContextSize(void) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:97:16: error: expected ‘)’ before ‘s’ 97 | Datatype(int4 s,type_metatype m,const string &n) { name=n; size=s; metatype=m; flags=0; id=0; } | ~ ^~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:183:50: error: ‘int4’ has not been declared 183 | virtual void registerVariable(const string &nm,int4 sbit,int4 ebit)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:183:60: error: ‘int4’ has not been declared 183 | virtual void registerVariable(const string &nm,int4 sbit,int4 ebit)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:103:35: error: ‘uintm’ has not been declared 103 | void setSeqNum(const Address &a,uintm b); ///< Set the sequence number | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:112:3: error: ‘int4’ does not name a type; did you mean ‘int’? 112 | int4 getSize(void) const { return size; } ///< Get the type size | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:265:5: error: ‘uintm’ does not name a type; did you mean ‘uint’? 265 | uintm *mask; ///< The mask array indicating which variables are explicitly set | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:115:32: error: ‘uintb’ has not been declared 115 | virtual Datatype *getSubType(uintb off,uintb *newoff) const; ///< Recover component data-type one-level down | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:115:42: error: ‘uintb’ has not been declared 115 | virtual Datatype *getSubType(uintb off,uintb *newoff) const; ///< Recover component data-type one-level down | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:116:52: error: ‘uintb’ has not been declared 116 | virtual Datatype *nearestArrayedComponentForward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:116:62: error: ‘uintb’ has not been declared 116 | virtual Datatype *nearestArrayedComponentForward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:116:76: error: ‘int4’ has not been declared 116 | virtual Datatype *nearestArrayedComponentForward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:112:7: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 112 | map page; ///< Overlayed pages | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:117:53: error: ‘uintb’ has not been declared 117 | virtual Datatype *nearestArrayedComponentBackward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:189:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 189 | virtual const uintm *getContext(const Address &addr) const=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh: In constructor ‘UnimplError::UnimplError(const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:41:60: error: ‘instruction_length’ was not declared in this scope 41 | UnimplError(const string &s,int4 l) : LowlevelError(s) { instruction_length = l; } | ^~~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:117:63: error: ‘uintb’ has not been declared 117 | virtual Datatype *nearestArrayedComponentBackward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:117:77: error: ‘int4’ has not been declared 117 | virtual Datatype *nearestArrayedComponentBackward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:109:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 109 | uint4 getInheritable(void) const { return (flags & coretype); } ///< Get properties pointers inherit | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh: In constructor ‘UnimplError::UnimplError(const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:41:60: error: ‘instruction_length’ was not declared in this scope 41 | UnimplError(const string &s,int4 l) : LowlevelError(s) { instruction_length = l; } | ^~~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:266:5: error: ‘int4’ does not name a type; did you mean ‘int’? 266 | int4 size; ///< The number of words in the array | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:269:16: error: ‘int4’ has not been declared 269 | void reset(int4 sz); ///< Resize the context blob, preserving old values | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:110:3: error: ‘int4’ does not name a type; did you mean ‘int’? 110 | int4 numInput(void) const; ///< Get the number of input varnodes to this op | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:111:25: error: ‘int4’ has not been declared 111 | VarnodeData *getInput(int4 i) const; ///< Get the i-th input varnode for this op | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:199:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 199 | virtual const uintm *getContext(const Address &addr,uintb &first,uintb &last) const=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:118:11: error: ‘int4’ does not name a type; did you mean ‘int’? 118 | virtual int4 numDepend(void) const { return 0; } ///< Return number of component sub-types | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:119:31: error: ‘int4’ has not been declared 119 | virtual Datatype *getDepend(int4 index) const { return (Datatype *)0; } ///< Return the i-th component sub-type | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:111:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 111 | uint8 getId(void) const { return id; } ///< Get the type id | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:240:44: error: ‘uintm’ has not been declared 240 | void setVariableDefault(const string &nm,uintm val); ///< Provide a default value for a context variable | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:147:52: error: ‘uintm’ has not been declared 147 | inline void PcodeOpRaw::setSeqNum(const Address &a,uintm b) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:273:3: error: ‘int4’ does not name a type; did you mean ‘int’? 273 | int4 size; ///< Number of words in a context blob (for this architecture) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:65:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 65 | uint4 size; ///< Size truncated addresses into the space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: In member function ‘void ContextBitRange::setValue(int*, int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:48:5: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 48 | uintm newval = vec[word]; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:121:11: error: ‘int4’ does not name a type; did you mean ‘int’? 121 | virtual int4 compare(const Datatype &op,int4 level) const; ///< Compare for functional equivalence | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:112:3: error: ‘int4’ does not name a type; did you mean ‘int’? 112 | int4 getSize(void) const { return size; } ///< Get the type size | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:65:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 65 | uint4 size; ///< Size truncated addresses into the space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:241:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 241 | uintm getDefaultValue(const string &nm) const; ///< Retrieve the default value for a context variable | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:242:57: error: ‘uintm’ has not been declared 242 | void setVariable(const string &nm,const Address &addr,uintm value); ///< Set a context value at the given address | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:115:32: error: ‘uintb’ has not been declared 115 | virtual Datatype *getSubType(uintb off,uintb *newoff) const; ///< Recover component data-type one-level down | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:115:42: error: ‘uintb’ has not been declared 115 | virtual Datatype *getSubType(uintb off,uintb *newoff) const; ///< Recover component data-type one-level down | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:116:52: error: ‘uintb’ has not been declared 116 | virtual Datatype *nearestArrayedComponentForward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:116:62: error: ‘uintb’ has not been declared 116 | virtual Datatype *nearestArrayedComponentForward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:116:76: error: ‘int4’ has not been declared 116 | virtual Datatype *nearestArrayedComponentForward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:117:53: error: ‘uintb’ has not been declared 117 | virtual Datatype *nearestArrayedComponentBackward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:117:63: error: ‘uintb’ has not been declared 117 | virtual Datatype *nearestArrayedComponentBackward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:117:77: error: ‘int4’ has not been declared 117 | virtual Datatype *nearestArrayedComponentBackward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:112:13: error: ‘uint1’ was not declared in this scope; did you mean ‘uint’? 112 | map page; ///< Overlayed pages | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:112:20: error: template argument 1 is invalid 112 | map page; ///< Overlayed pages | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:112:20: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:122:11: error: ‘int4’ does not name a type; did you mean ‘int’? 122 | virtual int4 compareDependency(const Datatype &op) const; ///< Compare for storage in tree structure | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:112:20: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:112:20: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:114:23: error: ‘uintb’ has not been declared 114 | virtual void insert(uintb addr,uintb val); ///< Overridden aligned word insert | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:69:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 69 | uint4 getSize(void) const { return size; } ///< Size (of pointers) for new truncated space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:114:34: error: ‘uintb’ has not been declared 114 | virtual void insert(uintb addr,uintb val); ///< Overridden aligned word insert | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:243:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 243 | uintm getVariable(const string &nm,const Address &addr) const; ///< Retrieve a context value at the given address | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:244:50: error: ‘int4’ has not been declared 244 | void setContextChangePoint(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:222:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 222 | map shortcut2Space; ///< Map from shortcut -> space | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:69:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 69 | uint4 getSize(void) const { return size; } ///< Size (of pointers) for new truncated space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:244:59: error: ‘uintm’ has not been declared 244 | void setContextChangePoint(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:206:8: error: ‘int4’ does not name a type; did you mean ‘int’? 206 | inline int4 PcodeOpRaw::numInput(void) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:92:90: error: ‘int4’ has not been declared 92 | virtual void dump(const Address &addr,OpCode opc,VarnodeData *outvar,VarnodeData *vars,int4 isize)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:244:70: error: ‘uintm’ has not been declared 244 | void setContextChangePoint(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:222:23: error: template argument 1 is invalid 222 | map shortcut2Space; ///< Map from shortcut -> space | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:217:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 217 | inline VarnodeData *PcodeOpRaw::getInput(int4 i) const | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:222:23: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:222:23: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:217:21: error: ‘VarnodeData* PcodeOpRaw::getInput’ is not a static data member of ‘class PcodeOpRaw’ 217 | inline VarnodeData *PcodeOpRaw::getInput(int4 i) const | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:245:67: error: ‘int4’ has not been declared 245 | void setContextRegion(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:245:76: error: ‘uintm’ has not been declared 245 | void setContextRegion(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:245:87: error: ‘uintm’ has not been declared 245 | void setContextRegion(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:118:11: error: ‘int4’ does not name a type; did you mean ‘int’? 118 | virtual int4 numDepend(void) const { return 0; } ///< Return number of component sub-types | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:119:31: error: ‘int4’ has not been declared 119 | virtual Datatype *getDepend(int4 index) const { return (Datatype *)0; } ///< Return the i-th component sub-type | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:247:47: error: ‘uintm’ has not been declared 247 | const Address &endad,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:92:90: error: ‘int4’ has not been declared 92 | virtual void dump(const Address &addr,OpCode opc,VarnodeData *outvar,VarnodeData *vars,int4 isize)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:277:57: error: ‘uintm’ does not name a type; did you mean ‘uint’? 277 | void saveContext(ostream &s,const Address &addr,const uintm *vec) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:125:3: error: ‘int4’ does not name a type; did you mean ‘int’? 125 | int4 typeOrder(const Datatype &op) const { if (this==&op) return 0; return compare(op,10); } ///< Order this with -op- datatype | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:115:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 115 | virtual uintb find(uintb addr) const; ///< Overridden aligned word find | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:116:24: error: ‘uintb’ has not been declared 116 | virtual void getPage(uintb addr,uint1 *res,int4 skip,int4 size) const; ///< Overridden getPage | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:116:35: error: ‘uint1’ has not been declared 116 | virtual void getPage(uintb addr,uint1 *res,int4 skip,int4 size) const; ///< Overridden getPage | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:116:46: error: ‘int4’ has not been declared 116 | virtual void getPage(uintb addr,uint1 *res,int4 skip,int4 size) const; ///< Overridden getPage | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:116:56: error: ‘int4’ has not been declared 116 | virtual void getPage(uintb addr,uint1 *res,int4 skip,int4 size) const; ///< Overridden getPage | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:117:24: error: ‘uintb’ has not been declared 117 | virtual void setPage(uintb addr,const uint1 *val,int4 skip,int4 size); ///< Overridden setPage | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:107:16: error: ‘uint1’ does not name a type; did you mean ‘uint’? 107 | static const uint1 *unpackOffset(const uint1 *ptr,uintb &off); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:231:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 231 | uintb joinallocate; ///< Next offset to be allocated in join space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:248:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 248 | uintb getTrackedValue(const VarnodeData &mem,const Address &point) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:121:11: error: ‘int4’ does not name a type; did you mean ‘int’? 121 | virtual int4 compare(const Datatype &op,int4 level) const; ///< Compare for functional equivalence | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:126:3: error: ‘int4’ does not name a type; did you mean ‘int’? 126 | int4 typeOrderBool(const Datatype &op) const; ///< Order \b this with -op-, treating \e bool data-type as special | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:107:16: error: ‘uint1’ does not name a type; did you mean ‘uint’? 107 | static const uint1 *unpackOffset(const uint1 *ptr,uintb &off); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:129:25: error: ‘uintb’ has not been declared 129 | bool isPtrsubMatching(uintb offset) const; ///< Is this data-type suitable as input to a CPUI_PTRSUB op | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:109:16: error: ‘uint1’ does not name a type; did you mean ‘uint’? 109 | static const uint1 *unpackVarnodeData(const uint1 *ptr,VarnodeData &v,const AddrSpaceManager *trans); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:117:41: error: ‘uint1’ does not name a type; did you mean ‘uint’? 117 | virtual void setPage(uintb addr,const uint1 *val,int4 skip,int4 size); ///< Overridden setPage | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:117:52: error: ‘int4’ has not been declared 117 | virtual void setPage(uintb addr,const uint1 *val,int4 skip,int4 size); ///< Overridden setPage | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:117:62: error: ‘int4’ has not been declared 117 | virtual void setPage(uintb addr,const uint1 *val,int4 skip,int4 size); ///< Overridden setPage | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:119:36: error: ‘int4’ has not been declared 119 | MemoryPageOverlay(AddrSpace *spc,int4 ws,int4 ps,MemoryBank *ul); ///< Constructor for page overlay | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:122:11: error: ‘int4’ does not name a type; did you mean ‘int’? 122 | virtual int4 compareDependency(const Datatype &op) const; ///< Compare for storage in tree structure | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:119:44: error: ‘int4’ has not been declared 119 | MemoryPageOverlay(AddrSpace *spc,int4 ws,int4 ps,MemoryBank *ul); ///< Constructor for page overlay | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:109:16: error: ‘uint1’ does not name a type; did you mean ‘uint’? 109 | static const uint1 *unpackVarnodeData(const uint1 *ptr,VarnodeData &v,const AddrSpaceManager *trans); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:49:5: error: ‘newval’ was not declared in this scope 49 | newval &= ~(mask< &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:130:3: error: ‘int4’ does not name a type; did you mean ‘int’? 130 | int4 alignshift; ///< How many LSBs are thrown away from address when doing hash table lookup | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 1 is invalid 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:156:27: error: ‘uintb’ has not been declared 156 | virtual Address resolve(uintb val,int4 sz,const Address &point,uintb &fullEncoding)=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:156:37: error: ‘int4’ has not been declared 156 | virtual Address resolve(uintb val,int4 sz,const Address &point,uintb &fullEncoding)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:265:5: error: ‘uintm’ does not name a type; did you mean ‘uint’? 265 | uintm *mask; ///< The mask array indicating which variables are explicitly set | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:156:66: error: ‘uintb’ has not been declared 156 | virtual Address resolve(uintb val,int4 sz,const Address &point,uintb &fullEncoding)=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:177:48: error: ‘int4’ has not been declared 177 | void setBaseRegister(const VarnodeData &data,int4 origSize,bool stackGrowth); ///< Set the base register at time space is created | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:156:27: error: ‘uintb’ has not been declared 156 | virtual Address resolve(uintb val,int4 sz,const Address &point,uintb &fullEncoding)=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:156:37: error: ‘int4’ has not been declared 156 | virtual Address resolve(uintb val,int4 sz,const Address &point,uintb &fullEncoding)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:156:66: error: ‘uintb’ has not been declared 156 | virtual Address resolve(uintb val,int4 sz,const Address &point,uintb &fullEncoding)=0; | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:179:74: error: ‘int4’ has not been declared 179 | SpacebaseSpace(AddrSpaceManager *m,const Translate *t,const string &nm,int4 ind,int4 sz,AddrSpace *base,int4 dl); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:179:83: error: ‘int4’ has not been declared 179 | SpacebaseSpace(AddrSpaceManager *m,const Translate *t,const string &nm,int4 ind,int4 sz,AddrSpace *base,int4 dl); | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:126:3: error: ‘int4’ does not name a type; did you mean ‘int’? 126 | int4 typeOrderBool(const Datatype &op) const; ///< Order \b this with -op-, treating \e bool data-type as special | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:179:107: error: ‘int4’ has not been declared 179 | SpacebaseSpace(AddrSpaceManager *m,const Translate *t,const string &nm,int4 ind,int4 sz,AddrSpace *base,int4 dl); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:129:25: error: ‘uintb’ has not been declared 129 | bool isPtrsubMatching(uintb offset) const; ///< Is this data-type suitable as input to a CPUI_PTRSUB op | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:131:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 131 | uintb collideskip; ///< How many slots to skip after a hashtable collision | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:266:5: error: ‘int4’ does not name a type; did you mean ‘int’? 266 | int4 size; ///< The number of words in the array | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:177:48: error: ‘int4’ has not been declared 177 | void setBaseRegister(const VarnodeData &data,int4 origSize,bool stackGrowth); ///< Set the base register at time space is created | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:179:74: error: ‘int4’ has not been declared 179 | SpacebaseSpace(AddrSpaceManager *m,const Translate *t,const string &nm,int4 ind,int4 sz,AddrSpace *base,int4 dl); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:82:3: error: ‘int4’ does not name a type; did you mean ‘int’? 82 | int4 size; ///< Size (of variable holding a value of this type) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:269:16: error: ‘int4’ has not been declared 269 | void reset(int4 sz); ///< Resize the context blob, preserving old values | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:179:83: error: ‘int4’ has not been declared 179 | SpacebaseSpace(AddrSpaceManager *m,const Translate *t,const string &nm,int4 ind,int4 sz,AddrSpace *base,int4 dl); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:179:107: error: ‘int4’ has not been declared 179 | SpacebaseSpace(AddrSpaceManager *m,const Translate *t,const string &nm,int4 ind,int4 sz,AddrSpace *base,int4 dl); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:277:57: error: ‘uintm’ does not name a type; did you mean ‘uint’? 277 | void saveContext(ostream &s,const Address &addr,const uintm *vec) const; | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In copy constructor ‘Datatype::Datatype(const Datatype&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:93:34: error: ‘size’ was not declared in this scope 93 | Datatype(const Datatype &op) { size = op.size; name=op.name; metatype=op.metatype; flags=op.flags; id=op.id; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:93:44: error: ‘const class Datatype’ has no member named ‘size’ 93 | Datatype(const Datatype &op) { size = op.size; name=op.name; metatype=op.metatype; flags=op.flags; id=op.id; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:181:11: error: ‘int4’ does not name a type; did you mean ‘int’? 181 | virtual int4 numSpacebase(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:182:43: error: ‘int4’ has not been declared 182 | virtual const VarnodeData &getSpacebase(int4 i) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:183:47: error: ‘int4’ has not been declared 183 | virtual const VarnodeData &getSpacebaseFull(int4 i) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:273:3: error: ‘int4’ does not name a type; did you mean ‘int’? 273 | int4 size; ///< Number of words in a context blob (for this architecture) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:85:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 85 | uint4 flags; ///< Boolean properties of the type | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:181:11: error: ‘int4’ does not name a type; did you mean ‘int’? 181 | virtual int4 numSpacebase(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:182:43: error: ‘int4’ has not been declared 182 | virtual const VarnodeData &getSpacebase(int4 i) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:183:47: error: ‘int4’ has not been declared 183 | virtual const VarnodeData &getSpacebaseFull(int4 i) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:49:17: error: ‘mask’ was not declared in this scope 49 | newval &= ~(mask< &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 1 is invalid 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:86:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 86 | uint8 id; ///< A unique id for the type (or 0 if an id is not assigned) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:132:10: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 132 | vector address; ///< The hashtable addresses | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:132:15: error: template argument 1 is invalid 132 | vector address; ///< The hashtable addresses | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:132:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:89:10: error: ‘uint8’ does not name a type; did you mean ‘uint’? 89 | static uint8 hashName(const string &nm); ///< Produce a data-type id by hashing the type name | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 1 is invalid 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 2 is invalid In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In copy constructor ‘Datatype::Datatype(const Datatype&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:93:34: error: ‘size’ was not declared in this scope 93 | Datatype(const Datatype &op) { size = op.size; name=op.name; metatype=op.metatype; flags=op.flags; id=op.id; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:93:44: error: ‘const class Datatype’ has no member named ‘size’ 93 | Datatype(const Datatype &op) { size = op.size; name=op.name; metatype=op.metatype; flags=op.flags; id=op.id; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:93:86: error: ‘flags’ was not declared in this scope 93 | Datatype(const Datatype &op) { size = op.size; name=op.name; metatype=op.metatype; flags=op.flags; id=op.id; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:90:10: error: ‘uint8’ does not name a type; did you mean ‘uint’? 90 | static uint8 hashSize(uint8 id,int4 size); ///< Reversibly hash size into id | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:93:95: error: ‘const class Datatype’ has no member named ‘flags’ 93 | Datatype(const Datatype &op) { size = op.size; name=op.name; metatype=op.metatype; flags=op.flags; id=op.id; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:95:16: error: expected ‘)’ before ‘s’ 95 | Datatype(int4 s,type_metatype m) { size=s; metatype=m; flags=0; id=0; } | ~ ^~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:97:16: error: expected ‘)’ before ‘s’ 97 | Datatype(int4 s,type_metatype m,const string &n) { name=n; size=s; metatype=m; flags=0; id=0; } | ~ ^~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 1 is invalid 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:32: error: ‘vector’ is not a type 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:38: error: expected ‘,’ or ‘...’ before ‘<’ token 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:49:23: error: ‘shift’ was not declared in this scope 49 | newval &= ~(mask< value; ///< The hashtable values | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:133:15: error: template argument 1 is invalid 133 | vector value; ///< The hashtable values | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:133:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:135:23: error: ‘uintb’ has not been declared 135 | virtual void insert(uintb addr,uintb val); ///< Overridden aligned word insert | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:135:34: error: ‘uintb’ has not been declared 135 | virtual void insert(uintb addr,uintb val); ///< Overridden aligned word insert | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:109:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 109 | uint4 getInheritable(void) const { return (flags & coretype); } ///< Get properties pointers inherit | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 1 is invalid 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:111:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 111 | uint8 getId(void) const { return id; } ///< Get the type id | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:136:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 136 | virtual uintb find(uintb addr) const; ///< Overridden aligned word find | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:138:36: error: ‘int4’ has not been declared 138 | MemoryHashOverlay(AddrSpace *spc,int4 ws,int4 ps,int4 hashsize,MemoryBank *ul); ///< Constructor for hash overlay | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:138:44: error: ‘int4’ has not been declared 138 | MemoryHashOverlay(AddrSpace *spc,int4 ws,int4 ps,int4 hashsize,MemoryBank *ul); ///< Constructor for hash overlay | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:138:52: error: ‘int4’ has not been declared 138 | MemoryHashOverlay(AddrSpace *spc,int4 ws,int4 ps,int4 hashsize,MemoryBank *ul); ///< Constructor for hash overlay | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:93:102: error: ‘id’ was not declared in this scope; did you mean ‘void’? 93 | Datatype(const Datatype &op) { size = op.size; name=op.name; metatype=op.metatype; flags=op.flags; id=op.id; } | ^~ | void /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:93:108: error: ‘const class Datatype’ has no member named ‘id’ 93 | Datatype(const Datatype &op) { size = op.size; name=op.name; metatype=op.metatype; flags=op.flags; id=op.id; } | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:112:3: error: ‘int4’ does not name a type; did you mean ‘int’? 112 | int4 getSize(void) const { return size; } ///< Get the type size | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:93:86: error: ‘flags’ was not declared in this scope 93 | Datatype(const Datatype &op) { size = op.size; name=op.name; metatype=op.metatype; flags=op.flags; id=op.id; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 1 is invalid 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:115:32: error: ‘uintb’ has not been declared 115 | virtual Datatype *getSubType(uintb off,uintb *newoff) const; ///< Recover component data-type one-level down | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:115:42: error: ‘uintb’ has not been declared 115 | virtual Datatype *getSubType(uintb off,uintb *newoff) const; ///< Recover component data-type one-level down | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:93:95: error: ‘const class Datatype’ has no member named ‘flags’ 93 | Datatype(const Datatype &op) { size = op.size; name=op.name; metatype=op.metatype; flags=op.flags; id=op.id; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:116:52: error: ‘uintb’ has not been declared 116 | virtual Datatype *nearestArrayedComponentForward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:116:62: error: ‘uintb’ has not been declared 116 | virtual Datatype *nearestArrayedComponentForward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:116:76: error: ‘int4’ has not been declared 116 | virtual Datatype *nearestArrayedComponentForward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:117:53: error: ‘uintb’ has not been declared 117 | virtual Datatype *nearestArrayedComponentBackward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:117:63: error: ‘uintb’ has not been declared 117 | virtual Datatype *nearestArrayedComponentBackward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:117:77: error: ‘int4’ has not been declared 117 | virtual Datatype *nearestArrayedComponentBackward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:200:3: error: ‘int4’ does not name a type; did you mean ‘int’? 200 | int4 numPieces(void) const { return pieces.size(); } ///< Get number of pieces in this record | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:202:31: error: ‘int4’ has not been declared 202 | const VarnodeData &getPiece(int4 i) const { return pieces[i]; } ///< Get the i-th piece | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:204:32: error: ‘uintb’ has not been declared 204 | Address getEquivalentAddress(uintb offset,int4 &pos) const; ///< Given offset in \e join space, get equivalent address of piece | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:51:9: error: ‘word’ was not declared in this scope 51 | vec[word] = newval; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:204:45: error: ‘int4’ has not been declared 204 | Address getEquivalentAddress(uintb offset,int4 &pos) const; ///< Given offset in \e join space, get equivalent address of piece | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:200:3: error: ‘int4’ does not name a type; did you mean ‘int’? 200 | int4 numPieces(void) const { return pieces.size(); } ///< Get number of pieces in this record | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:202:31: error: ‘int4’ has not been declared 202 | const VarnodeData &getPiece(int4 i) const { return pieces[i]; } ///< Get the i-th piece | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:237:28: error: ‘int4’ has not been declared 237 | void setDefaultCodeSpace(int4 index); ///< Set the default address space (for code) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:204:32: error: ‘uintb’ has not been declared 204 | Address getEquivalentAddress(uintb offset,int4 &pos) const; ///< Given offset in \e join space, get equivalent address of piece | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:238:28: error: ‘int4’ has not been declared 238 | void setDefaultDataSpace(int4 index); ///< Set the default address space for data | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:204:45: error: ‘int4’ has not been declared 204 | Address getEquivalentAddress(uintb offset,int4 &pos) const; ///< Given offset in \e join space, get equivalent address of piece | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:241:40: error: ‘int4’ has not been declared 241 | void markNearPointers(AddrSpace *spc,int4 size); ///< Mark that given space can be accessed with near pointers | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:118:11: error: ‘int4’ does not name a type; did you mean ‘int’? 118 | virtual int4 numDepend(void) const { return 0; } ///< Return number of component sub-types | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 1 is invalid 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:119:31: error: ‘int4’ has not been declared 119 | virtual Datatype *getDepend(int4 index) const { return (Datatype *)0; } ///< Return the i-th component sub-type | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:32: error: ‘vector’ is not a type 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:244:81: error: ‘int4’ has not been declared 244 | void addSpacebasePointer(SpacebaseSpace *basespace,const VarnodeData &ptrdata,int4 truncSize,bool stackGrowth); ///< Set the base register of a spacebase space | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:38: error: expected ‘,’ or ‘...’ before ‘<’ token 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:247:32: error: ‘uintb’ has not been declared 247 | JoinRecord *findJoinInternal(uintb offset) const; ///< Find JoinRecord for \e offset in the join space | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:70:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 70 | uintb val; ///< The value of the register | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:121:11: error: ‘int4’ does not name a type; did you mean ‘int’? 121 | virtual int4 compare(const Datatype &op,int4 level) const; ///< Compare for functional equivalence | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:251:3: error: ‘int4’ does not name a type; did you mean ‘int’? 251 | int4 getDefaultSize(void) const; ///< Get size of addresses for the default space | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 1 is invalid 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:93:102: error: ‘id’ was not declared in this scope; did you mean ‘void’? 93 | Datatype(const Datatype &op) { size = op.size; name=op.name; metatype=op.metatype; flags=op.flags; id=op.id; } | ^~ | void /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:93:108: error: ‘const class Datatype’ has no member named ‘id’ 93 | Datatype(const Datatype &op) { size = op.size; name=op.name; metatype=op.metatype; flags=op.flags; id=op.id; } | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:262:23: error: ‘uintb’ has not been declared 262 | Address getConstant(uintb val) const; ///< Get a constant encoded as an Address | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:122:11: error: ‘int4’ does not name a type; did you mean ‘int’? 122 | virtual int4 compareDependency(const Datatype &op) const; ///< Compare for storage in tree structure | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:264:42: error: ‘uintb’ has not been declared 264 | Address resolveConstant(AddrSpace *spc,uintb val,int4 sz,const Address &point,uintb &fullEncoding) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:264:52: error: ‘int4’ has not been declared 264 | Address resolveConstant(AddrSpace *spc,uintb val,int4 sz,const Address &point,uintb &fullEncoding) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:264:81: error: ‘uintb’ has not been declared 264 | Address resolveConstant(AddrSpace *spc,uintb val,int4 sz,const Address &point,uintb &fullEncoding) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In member function ‘bool Datatype::isCoreType() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:99:42: error: ‘flags’ was not declared in this scope 99 | bool isCoreType(void) const { return ((flags&coretype)!=0); } ///< Is this a core data-type | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:125:3: error: ‘int4’ does not name a type; did you mean ‘int’? 125 | int4 typeOrder(const Datatype &op) const { if (this==&op) return 0; return compare(op,10); } ///< Order this with -op- datatype | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 1 is invalid 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:265:3: error: ‘int4’ does not name a type; did you mean ‘int’? 265 | int4 numSpaces(void) const; ///< Get the number of address spaces for this processor | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:266:23: error: ‘int4’ has not been declared 266 | AddrSpace *getSpace(int4 i) const; ///< Get an address space via its index | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:268:61: error: ‘uint4’ has not been declared 268 | JoinRecord *findAddJoin(const vector &pieces,uint4 logicalsize); ///< Get (or create) JoinRecord for \e pieces | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:269:24: error: ‘uintb’ has not been declared 269 | JoinRecord *findJoin(uintb offset) const; ///< Find JoinRecord for \e offset in the join space | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:270:40: error: ‘int4’ has not been declared 270 | void setDeadcodeDelay(AddrSpace *spc,int4 delaydelta); ///< Set the deadcodedelay for a specific space | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:274:66: error: ‘int4’ has not been declared 274 | Address constructFloatExtensionAddress(const Address &realaddr,int4 realsize,int4 logicalsize); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:274:80: error: ‘int4’ has not been declared 274 | Address constructFloatExtensionAddress(const Address &realaddr,int4 realsize,int4 logicalsize); | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:126:3: error: ‘int4’ does not name a type; did you mean ‘int’? 126 | int4 typeOrderBool(const Datatype &op) const; ///< Order \b this with -op-, treating \e bool data-type as special | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:158:32: error: ‘uintb’ has not been declared 158 | void setValue(AddrSpace *spc,uintb off,int4 size,uintb cval); ///< Set a value on the memory state | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:277:81: error: ‘int4’ has not been declared 277 | Address constructJoinAddress(const Translate *translate,const Address &hiaddr,int4 hisz,const Address &loaddr,int4 losz); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:158:42: error: ‘int4’ has not been declared 158 | void setValue(AddrSpace *spc,uintb off,int4 size,uintb cval); ///< Set a value on the memory state | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:277:113: error: ‘int4’ has not been declared 277 | Address constructJoinAddress(const Translate *translate,const Address &hiaddr,int4 hisz,const Address &loaddr,int4 losz); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:158:52: error: ‘uintb’ has not been declared 158 | void setValue(AddrSpace *spc,uintb off,int4 size,uintb cval); ///< Set a value on the memory state | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:129:25: error: ‘uintb’ has not been declared 129 | bool isPtrsubMatching(uintb offset) const; ///< Is this data-type suitable as input to a CPUI_PTRSUB op | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:280:45: error: ‘int4’ has not been declared 280 | void renormalizeJoinAddress(Address &addr,int4 size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 1 is invalid 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 1 is invalid 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:39: error: ‘vector’ is not a type 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:45: error: expected ‘,’ or ‘...’ before ‘<’ token 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:159:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 159 | uintb getValue(AddrSpace *spc,uintb off,int4 size) const; ///< Retrieve a memory value from the memory state | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:296:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 296 | uintm unique_base; ///< Starting offset into unique space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:160:34: error: ‘uintb’ has not been declared 160 | void setValue(const string &nm,uintb cval); ///< Set a value on a named register in the memory state | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:284:11: error: ‘uintm’ does not name a type; did you mean ‘uint’? 284 | virtual uintm *getDefaultValue(void) { return database.defaultValue().array; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 1 is invalid 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:298:3: error: ‘int4’ does not name a type; did you mean ‘int’? 298 | int4 alignment; ///< Byte modulo on which instructions are aligned | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In member function ‘bool Datatype::isCoreType() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:99:42: error: ‘flags’ was not declared in this scope 99 | bool isCoreType(void) const { return ((flags&coretype)!=0); } ///< Is this a core data-type | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In member function ‘bool Datatype::isCharPrint() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:100:43: error: ‘flags’ was not declared in this scope 100 | bool isCharPrint(void) const { return ((flags&(chartype|utf16|utf32|opaque_string))!=0); } ///< Does this print as a 'char' | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:161:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 161 | uintb getValue(const string &nm) const; ///< Retrieve a value from a named register in the memory state | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:162:39: error: ‘uintb’ has not been declared 162 | void setValue(const VarnodeData *vn,uintb cval); ///< Set value on a given \b varnode | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:285:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 285 | virtual const uintm *getDefaultValue(void) const { return database.defaultValue().array; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 1 is invalid 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 2 is invalid In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In copy constructor ‘Datatype::Datatype(const Datatype&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:93:34: error: ‘size’ was not declared in this scope 93 | Datatype(const Datatype &op) { size = op.size; name=op.name; metatype=op.metatype; flags=op.flags; id=op.id; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:163:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 163 | uintb getValue(const VarnodeData *vn) const; ///< Get a value from a \b varnode | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:164:17: error: ‘uint1’ has not been declared 164 | void getChunk(uint1 *res,AddrSpace *spc,uintb off,int4 size) const; ///< Get a chunk of data from memory state | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:289:11: error: ‘int4’ does not name a type; did you mean ‘int’? 289 | virtual int4 getContextSize(void) const { return size; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:93:44: error: ‘const class Datatype’ has no member named ‘size’ 93 | Datatype(const Datatype &op) { size = op.size; name=op.name; metatype=op.metatype; flags=op.flags; id=op.id; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:164:43: error: ‘uintb’ has not been declared 164 | void getChunk(uint1 *res,AddrSpace *spc,uintb off,int4 size) const; ///< Get a chunk of data from memory state | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:164:53: error: ‘int4’ has not been declared 164 | void getChunk(uint1 *res,AddrSpace *spc,uintb off,int4 size) const; ///< Get a chunk of data from memory state | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:290:50: error: ‘int4’ has not been declared 290 | virtual void registerVariable(const string &nm,int4 sbit,int4 ebit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:290:60: error: ‘int4’ has not been declared 290 | virtual void registerVariable(const string &nm,int4 sbit,int4 ebit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:165:23: error: ‘uint1’ does not name a type; did you mean ‘uint’? 165 | void setChunk(const uint1 *val,AddrSpace *spc,uintb off,int4 size); ///< Set a chunk of data from memory state | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:165:49: error: ‘uintb’ has not been declared 165 | void setChunk(const uint1 *val,AddrSpace *spc,uintb off,int4 size); ///< Set a chunk of data from memory state | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:292:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 292 | virtual const uintm *getContext(const Address &addr) const { return database.getValue(addr).array; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:165:59: error: ‘int4’ has not been declared 165 | void setChunk(const uint1 *val,AddrSpace *spc,uintb off,int4 size); ///< Set a chunk of data from memory state | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 1 is invalid 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:39: error: ‘vector’ is not a type 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:45: error: expected ‘,’ or ‘...’ before ‘<’ token 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:293:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 293 | virtual const uintm *getContext(const Address &addr,uintb &first,uintb &last) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:284:11: error: ‘uintm’ does not name a type; did you mean ‘uint’? 284 | virtual uintm *getDefaultValue(void) { return database.defaultValue().array; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In member function ‘bool Datatype::isCharPrint() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:100:43: error: ‘flags’ was not declared in this scope 100 | bool isCharPrint(void) const { return ((flags&(chartype|utf16|utf32|opaque_string))!=0); } ///< Does this print as a 'char' | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In member function ‘bool Datatype::isEnumType() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:101:42: error: ‘flags’ was not declared in this scope 101 | bool isEnumType(void) const { return ((flags&enumtype)!=0); } ///< Is this an enumerated type | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 1 is invalid 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:32: error: ‘vector’ is not a type 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:38: error: expected ‘,’ or ‘...’ before ‘<’ token 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:285:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 285 | virtual const uintm *getDefaultValue(void) const { return database.defaultValue().array; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:93:86: error: ‘flags’ was not declared in this scope 93 | Datatype(const Datatype &op) { size = op.size; name=op.name; metatype=op.metatype; flags=op.flags; id=op.id; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:189:57: error: ‘uintb’ has not been declared 189 | inline void MemoryState::setValue(const VarnodeData *vn,uintb cval) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:93:95: error: ‘const class Datatype’ has no member named ‘flags’ 93 | Datatype(const Datatype &op) { size = op.size; name=op.name; metatype=op.metatype; flags=op.flags; id=op.id; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh: In member function ‘void MemoryState::setValue(const VarnodeData*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:192:26: error: ‘const struct VarnodeData’ has no member named ‘offset’ 192 | setValue(vn->space,vn->offset,vn->size,cval); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:192:37: error: ‘const struct VarnodeData’ has no member named ‘size’ 192 | setValue(vn->space,vn->offset,vn->size,cval); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:289:11: error: ‘int4’ does not name a type; did you mean ‘int’? 289 | virtual int4 getContextSize(void) const { return size; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:290:50: error: ‘int4’ has not been declared 290 | virtual void registerVariable(const string &nm,int4 sbit,int4 ebit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:290:60: error: ‘int4’ has not been declared 290 | virtual void registerVariable(const string &nm,int4 sbit,int4 ebit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:302:22: error: ‘uintm’ has not been declared 302 | void setUniqueBase(uintm val); ///< Set the base offset for new temporary registers | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:307:37: error: ‘int4’ has not been declared 307 | const FloatFormat *getFloatFormat(int4 size) const; ///< Get format for a particular floating point encoding | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:292:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 292 | virtual const uintm *getContext(const Address &addr) const { return database.getValue(addr).array; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:199:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 199 | inline uintb MemoryState::getValue(const VarnodeData *vn) const | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:308:3: error: ‘int4’ does not name a type; did you mean ‘int’? 308 | int4 getAlignment(void) const; ///< Get the instruction alignment for the processor | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: In constructor ‘ContextInternal::FreeArray::FreeArray()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:23: error: ‘size’ was not declared in this scope 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:293:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 293 | virtual const uintm *getContext(const Address &addr,uintb &first,uintb &last) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:37: error: missing template arguments before ‘=’ token 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 1 is invalid 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 2 is invalid In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:41:3: error: ‘int4’ does not name a type; did you mean ‘int’? 41 | int4 size; ///< Size of float in bytes (this format) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In member function ‘bool Datatype::isPowerOfTwo() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:102:44: error: ‘flags’ was not declared in this scope 102 | bool isPowerOfTwo(void) const { return ((flags&poweroftwo)!=0); } ///< Is this a flag-based enumeration | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:309:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 309 | uintm getUniqueBase(void) const; ///< Get the base offset for new temporary registers | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In member function ‘bool Datatype::isEnumType() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:101:42: error: ‘flags’ was not declared in this scope 101 | bool isEnumType(void) const { return ((flags&enumtype)!=0); } ///< Is this an enumerated type | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:328:51: error: ‘int4’ has not been declared 328 | virtual void registerContext(const string &name,int4 sbit,int4 ebit) {} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:328:61: error: ‘int4’ has not been declared 328 | virtual void registerContext(const string &name,int4 sbit,int4 ebit) {} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:337:53: error: ‘uintm’ has not been declared 337 | virtual void setContextDefault(const string &name,uintm val) {} | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:93:102: error: ‘id’ was not declared in this scope; did you mean ‘void’? 93 | Datatype(const Datatype &op) { size = op.size; name=op.name; metatype=op.metatype; flags=op.flags; id=op.id; } | ^~ | void /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:93:108: error: ‘const class Datatype’ has no member named ‘id’ 93 | Datatype(const Datatype &op) { size = op.size; name=op.name; metatype=op.metatype; flags=op.flags; id=op.id; } | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:357:61: error: ‘uintb’ has not been declared 357 | virtual void addRegister(const string &nm,AddrSpace *base,uintb offset,int4 size)=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:357:74: error: ‘int4’ has not been declared 357 | virtual void addRegister(const string &nm,AddrSpace *base,uintb offset,int4 size)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:376:50: error: ‘uintb’ has not been declared 376 | virtual string getRegisterName(AddrSpace *base,uintb off,int4 size) const=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:376:60: error: ‘int4’ has not been declared 376 | virtual string getRegisterName(AddrSpace *base,uintb off,int4 size) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:42:3: error: ‘int4’ does not name a type; did you mean ‘int’? 42 | int4 signbit_pos; ///< Bit position of sign bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:403:11: error: ‘int4’ does not name a type; did you mean ‘int’? 403 | virtual int4 instructionLength(const Address &baseaddr) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:43:3: error: ‘int4’ does not name a type; did you mean ‘int’? 43 | int4 frac_pos; ///< (lowest) bit position of fractional part | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:40: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:47: error: expected primary-expression before ‘)’ token 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 1 is invalid 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:418:11: error: ‘int4’ does not name a type; did you mean ‘int’? 418 | virtual int4 oneInstruction(PcodeEmit &emit,const Address &baseaddr) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:44:3: error: ‘int4’ does not name a type; did you mean ‘int’? 44 | int4 frac_size; ///< Number of bits in fractional part | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: In constructor ‘ContextInternal::FreeArray::FreeArray()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:23: error: ‘size’ was not declared in this scope 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:37: error: missing template arguments before ‘=’ token 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:428:11: error: ‘int4’ does not name a type; did you mean ‘int’? 428 | virtual int4 printAssembly(AssemblyEmit &emit,const Address &baseaddr) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:45:3: error: ‘int4’ does not name a type; did you mean ‘int’? 45 | int4 exp_pos; ///< (lowest) bit position of exponent | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In member function ‘bool Datatype::isASCII() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:103:39: error: ‘flags’ was not declared in this scope 103 | bool isASCII(void) const { return ((flags&chartype)!=0); } ///< Does this print as an ASCII 'char' | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In member function ‘bool Datatype::isPowerOfTwo() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:102:44: error: ‘flags’ was not declared in this scope 102 | bool isPowerOfTwo(void) const { return ((flags&poweroftwo)!=0); } ///< Is this a flag-based enumeration | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:434:8: error: ‘int4’ does not name a type; did you mean ‘int’? 434 | inline int4 AddrSpaceManager::getDefaultSize(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:46:3: error: ‘int4’ does not name a type; did you mean ‘int’? 46 | int4 exp_size; ///< Number of bits in exponent | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In member function ‘bool Datatype::isCoreType() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:99:42: error: ‘flags’ was not declared in this scope 99 | bool isCoreType(void) const { return ((flags&coretype)!=0); } ///< Is this a core data-type | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:518:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 518 | inline Address AddrSpaceManager::getConstant(uintb val) const { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:518:16: error: ‘Address AddrSpaceManager::getConstant’ is not a static data member of ‘class AddrSpaceManager’ 518 | inline Address AddrSpaceManager::getConstant(uintb val) const { | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:47:3: error: ‘int4’ does not name a type; did you mean ‘int’? 47 | int4 bias; ///< What to add to real exponent to get encoding | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 1 is invalid 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:39: error: ‘vector’ is not a type 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:45: error: expected ‘,’ or ‘...’ before ‘<’ token 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:51: error: ‘mask’ was not declared in this scope 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:66: error: expected primary-expression before ‘)’ token 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:48:3: error: ‘int4’ does not name a type; did you mean ‘int’? 48 | int4 maxexponent; ///< Maximum possible exponent | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:40: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:47: error: expected primary-expression before ‘)’ token 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:277:57: error: ‘uintm’ does not name a type; did you mean ‘uint’? 277 | void saveContext(ostream &s,const Address &addr,const uintm *vec) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:49:3: error: ‘int4’ does not name a type; did you mean ‘int’? 49 | int4 decimal_precision; ///< Number of decimal digits of precision | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:158:11: error: ‘uintm’ does not name a type; did you mean ‘uint’? 158 | virtual uintm *getDefaultValue(void)=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:51:39: error: ‘uintb’ has not been declared 51 | static double createFloat(bool sign,uintb signif,int4 exp); ///< Create a double given sign, fractional, and exponent | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:51:52: error: ‘int4’ has not been declared 51 | static double createFloat(bool sign,uintb signif,int4 exp); ///< Create a double given sign, fractional, and exponent | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:52:54: error: ‘uintb’ has not been declared 52 | static floatclass extractExpSig(double x,bool *sgn,uintb *signif,int4 *exp); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:52:68: error: ‘int4’ has not been declared 52 | static floatclass extractExpSig(double x,bool *sgn,uintb *signif,int4 *exp); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:53:34: error: ‘uintb’ has not been declared 53 | static bool roundToNearestEven(uintb &signif, int4 lowbitpos); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:53:49: error: ‘int4’ has not been declared 53 | static bool roundToNearestEven(uintb &signif, int4 lowbitpos); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In member function ‘bool Datatype::isUTF16() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:104:39: error: ‘flags’ was not declared in this scope 104 | bool isUTF16(void) const { return ((flags&utf16)!=0); } ///< Does this print as UTF16 'wchar' | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:165:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 165 | virtual const uintm *getDefaultValue(void) const=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In member function ‘bool Datatype::isASCII() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:103:39: error: ‘flags’ was not declared in this scope 103 | bool isASCII(void) const { return ((flags&chartype)!=0); } ///< Does this print as an ASCII 'char' | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:54:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 54 | uintb setFractionalCode(uintb x,uintb code) const; ///< Set the fractional part of an encoded value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:518:46: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 518 | inline Address AddrSpaceManager::getConstant(uintb val) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:518:57: error: expected ‘,’ or ‘;’ before ‘const’ 518 | inline Address AddrSpaceManager::getConstant(uintb val) const { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In member function ‘bool Datatype::isCharPrint() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:100:43: error: ‘flags’ was not declared in this scope 100 | bool isCharPrint(void) const { return ((flags&(chartype|utf16|utf32|opaque_string))!=0); } ///< Does this print as a 'char' | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:172:11: error: ‘int4’ does not name a type; did you mean ‘int’? 172 | virtual int4 getContextSize(void) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:183:50: error: ‘int4’ has not been declared 183 | virtual void registerVariable(const string &nm,int4 sbit,int4 ebit)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:55:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 55 | uintb setSign(uintb x,bool sign) const; ///< Set the sign bit of an encoded value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:183:60: error: ‘int4’ has not been declared 183 | virtual void registerVariable(const string &nm,int4 sbit,int4 ebit)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: In destructor ‘ContextInternal::FreeArray::~FreeArray()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:268:28: error: ‘size’ was not declared in this scope 268 | ~FreeArray(void) { if (size!=0) { delete [] array; delete [] mask; } } ///< Destructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:268:54: error: missing template arguments before ‘;’ token 268 | ~FreeArray(void) { if (size!=0) { delete [] array; delete [] mask; } } ///< Destructor | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:56:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 56 | uintb setExponentCode(uintb x,uintb code) const; ///< Set the exponent of an encoded value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:51: error: ‘mask’ was not declared in this scope 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:66: error: expected primary-expression before ‘)’ token 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 1 is invalid 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:189:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 189 | virtual const uintm *getContext(const Address &addr) const=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:57:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 57 | uintb getZeroEncoding(bool sgn) const; ///< Get an encoded zero value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:199:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 199 | virtual const uintm *getContext(const Address &addr,uintb &first,uintb &last) const=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:240:44: error: ‘uintm’ has not been declared 240 | void setVariableDefault(const string &nm,uintm val); ///< Provide a default value for a context variable | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:58:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 58 | uintb getInfinityEncoding(bool sgn) const; ///< Get an encoded infinite value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh: In member function ‘Address AddrSpaceManager::createConstFromSpace(AddrSpace*) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:529:33: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 529 | return Address(constantspace,(uintb)(uintp)spc); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In member function ‘bool Datatype::isUTF32() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:105:39: error: ‘flags’ was not declared in this scope 105 | bool isUTF32(void) const { return ((flags&utf32)!=0); } ///< Does this print as UTF32 'wchar' | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:222:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 222 | map shortcut2Space; ///< Map from shortcut -> space | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:222:23: error: template argument 1 is invalid 222 | map shortcut2Space; ///< Map from shortcut -> space | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:222:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 222 | map shortcut2Space; ///< Map from shortcut -> space | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:241:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 241 | uintm getDefaultValue(const string &nm) const; ///< Retrieve the default value for a context variable | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:222:23: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:222:23: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:242:57: error: ‘uintm’ has not been declared 242 | void setVariable(const string &nm,const Address &addr,uintm value); ///< Set a context value at the given address | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:222:23: error: template argument 1 is invalid 222 | map shortcut2Space; ///< Map from shortcut -> space | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:222:23: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:222:23: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In member function ‘bool Datatype::isUTF16() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:104:39: error: ‘flags’ was not declared in this scope 104 | bool isUTF16(void) const { return ((flags&utf16)!=0); } ///< Does this print as UTF16 'wchar' | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:59:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 59 | uintb getNaNEncoding(bool sgn) const; ///< Get an encoded NaN value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:63:19: error: expected ‘)’ before ‘sz’ 63 | FloatFormat(int4 sz); ///< Construct default IEEE 754 standard settings | ~ ^~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In member function ‘bool Datatype::isEnumType() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:101:42: error: ‘flags’ was not declared in this scope 101 | bool isEnumType(void) const { return ((flags&enumtype)!=0); } ///< Is this an enumerated type | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 1 is invalid 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:243:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 243 | uintm getVariable(const string &nm,const Address &addr) const; ///< Retrieve a context value at the given address | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:244:50: error: ‘int4’ has not been declared 244 | void setContextChangePoint(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:244:59: error: ‘uintm’ has not been declared 244 | void setContextChangePoint(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:244:70: error: ‘uintm’ has not been declared 244 | void setContextChangePoint(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:231:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 231 | uintb joinallocate; ///< Next offset to be allocated in join space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:245:67: error: ‘int4’ has not been declared 245 | void setContextRegion(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:245:76: error: ‘uintm’ has not been declared 245 | void setContextRegion(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:268:66: error: ‘mask’ was not declared in this scope 268 | ~FreeArray(void) { if (size!=0) { delete [] array; delete [] mask; } } ///< Destructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:245:87: error: ‘uintm’ has not been declared 245 | void setContextRegion(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:64:3: error: ‘int4’ does not name a type; did you mean ‘int’? 64 | int4 getSize(void) const { return size; } ///< Get the size of the encoding in bytes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:247:47: error: ‘uintm’ has not been declared 247 | const Address &endad,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:65:23: error: ‘uintb’ has not been declared 65 | double getHostFloat(uintb encoding,floatclass *type) const; ///< Convert an encoding into host's double | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:231:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 231 | uintb joinallocate; ///< Next offset to be allocated in join space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: In destructor ‘ContextInternal::FreeArray::~FreeArray()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:268:28: error: ‘size’ was not declared in this scope 268 | ~FreeArray(void) { if (size!=0) { delete [] array; delete [] mask; } } ///< Destructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:268:54: error: missing template arguments before ‘;’ token 268 | ~FreeArray(void) { if (size!=0) { delete [] array; delete [] mask; } } ///< Destructor | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:66:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 66 | uintb getEncoding(double host) const; ///< Convert host's double into \b this encoding | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:248:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 248 | uintb getTrackedValue(const VarnodeData &mem,const Address &point) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:529:40: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 529 | return Address(constantspace,(uintb)(uintp)spc); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:67:3: error: ‘int4’ does not name a type; did you mean ‘int’? 67 | int4 getDecimalPrecision(void) const { return decimal_precision; } ///< Get number of digits of precision | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:536:8: error: ‘int4’ does not name a type; did you mean ‘int’? 536 | inline int4 AddrSpaceManager::numSpaces(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:545:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 545 | inline AddrSpace *AddrSpaceManager::getSpace(int4 i) const { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:545:19: error: ‘AddrSpace* AddrSpaceManager::getSpace’ is not a static data member of ‘class AddrSpaceManager’ 545 | inline AddrSpace *AddrSpaceManager::getSpace(int4 i) const { | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In member function ‘bool Datatype::isVariableLength() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:106:48: error: ‘flags’ was not declared in this scope 106 | bool isVariableLength(void) const { return ((flags&variable_length)!=0); } ///< Is \b this a variable length structure | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:68:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 68 | uintb convertEncoding(uintb encoding,const FloatFormat *formin) const; ///< Convert between two different formats | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:264:5: error: ‘uintm’ does not name a type; did you mean ‘uint’? 264 | uintm *array; ///< The "array of words" holding context variable values | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 1 is invalid 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:32: error: ‘vector’ is not a type 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:38: error: expected ‘,’ or ‘...’ before ‘<’ token 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In member function ‘bool Datatype::isUTF32() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:105:39: error: ‘flags’ was not declared in this scope 105 | bool isUTF32(void) const { return ((flags&utf32)!=0); } ///< Does this print as UTF32 'wchar' | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:70:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 70 | uintb extractFractionalCode(uintb x) const; ///< Extract the fractional part of the encoding | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:71:20: error: ‘uintb’ has not been declared 71 | bool extractSign(uintb x) const; ///< Extract the sign bit from the encoding | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In member function ‘bool Datatype::isPowerOfTwo() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:102:44: error: ‘flags’ was not declared in this scope 102 | bool isPowerOfTwo(void) const { return ((flags&poweroftwo)!=0); } ///< Is this a flag-based enumeration | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:265:5: error: ‘uintm’ does not name a type; did you mean ‘uint’? 265 | uintm *mask; ///< The mask array indicating which variables are explicitly set | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:268:66: error: ‘mask’ was not declared in this scope 268 | ~FreeArray(void) { if (size!=0) { delete [] array; delete [] mask; } } ///< Destructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:277:57: error: ‘uintm’ does not name a type; did you mean ‘uint’? 277 | void saveContext(ostream &s,const Address &addr,const uintm *vec) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:72:3: error: ‘int4’ does not name a type; did you mean ‘int’? 72 | int4 extractExponentCode(uintb x) const; ///< Extract the exponent from the encoding | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:266:5: error: ‘int4’ does not name a type; did you mean ‘int’? 266 | int4 size; ///< The number of words in the array | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:269:16: error: ‘int4’ has not been declared 269 | void reset(int4 sz); ///< Resize the context blob, preserving old values | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:545:46: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 545 | inline AddrSpace *AddrSpaceManager::getSpace(int4 i) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:76:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 76 | uintb opEqual(uintb a,uintb b) const; ///< Equality comparison (==) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:564:13: error: variable or field ‘setUniqueBase’ declared void 564 | inline void Translate::setUniqueBase(uintm val) { | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:77:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 77 | uintb opNotEqual(uintb a,uintb b) const; ///< Inequality comparison (!=) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:273:3: error: ‘int4’ does not name a type; did you mean ‘int’? 273 | int4 size; ///< Number of words in a context blob (for this architecture) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 1 is invalid 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In member function ‘bool Datatype::isOpaqueString() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:108:46: error: ‘flags’ was not declared in this scope 108 | bool isOpaqueString(void) const { return ((flags&opaque_string)!=0); } ///< Is \b this an opaquely encoded string | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:78:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 78 | uintb opLess(uintb a,uintb b) const; ///< Less-than comparison (<) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In member function ‘bool Datatype::isVariableLength() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:106:48: error: ‘flags’ was not declared in this scope 106 | bool isVariableLength(void) const { return ((flags&variable_length)!=0); } ///< Is \b this a variable length structure | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:564:38: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 564 | inline void Translate::setUniqueBase(uintm val) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In member function ‘bool Datatype::isASCII() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:103:39: error: ‘flags’ was not declared in this scope 103 | bool isASCII(void) const { return ((flags&chartype)!=0); } ///< Does this print as an ASCII 'char' | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 1 is invalid 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:79:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 79 | uintb opLessEqual(uintb a,uintb b) const; ///< Less-than-or-equal comparison (<=) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:582:8: error: ‘int4’ does not name a type; did you mean ‘int’? 582 | inline int4 Translate::getAlignment(void) const { | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:134:3: error: ‘int4’ does not name a type; did you mean ‘int’? 134 | int4 offset; ///< Offset (into containing struct) of subfield | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:80:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 80 | uintb opNan(uintb a) const; ///< Test if Not-a-Number (NaN) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:592:8: error: ‘uintm’ does not name a type; did you mean ‘uint’? 592 | inline uintm Translate::getUniqueBase(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 1 is invalid 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:81:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 81 | uintb opAdd(uintb a,uintb b) const; ///< Addition (+) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:82:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 82 | uintb opDiv(uintb a,uintb b) const; ///< Division (/) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 1 is invalid 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:83:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 83 | uintb opMult(uintb a,uintb b) const; ///< Multiplication (*) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In member function ‘bool Datatype::isOpaqueString() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:108:46: error: ‘flags’ was not declared in this scope 108 | bool isOpaqueString(void) const { return ((flags&opaque_string)!=0); } ///< Is \b this an opaquely encoded string | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In member function ‘bool Datatype::isUTF16() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:104:39: error: ‘flags’ was not declared in this scope 104 | bool isUTF16(void) const { return ((flags&utf16)!=0); } ///< Does this print as UTF16 'wchar' | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:84:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 84 | uintb opSub(uintb a,uintb b) const; ///< Subtraction (-) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 1 is invalid 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:39: error: ‘vector’ is not a type 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:45: error: expected ‘,’ or ‘...’ before ‘<’ token 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:85:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 85 | uintb opNeg(uintb a) const; ///< Unary negate | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In member function ‘bool TypeField::operator<(const TypeField&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:137:56: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 137 | bool operator<(const TypeField &op2) const { return (offset < op2.offset); } ///< Compare based on offset | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:137:69: error: ‘const struct TypeField’ has no member named ‘offset’ 137 | bool operator<(const TypeField &op2) const { return (offset < op2.offset); } ///< Compare based on offset | ^~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:31:3: error: ‘int4’ does not name a type; did you mean ‘int’? 31 | int4 word; ///< Index of word containing this context value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:86:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 86 | uintb opAbs(uintb a) const; ///< Absolute value (abs) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 1 is invalid 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:32: error: ‘vector’ is not a type 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:284:11: error: ‘uintm’ does not name a type; did you mean ‘uint’? 284 | virtual uintm *getDefaultValue(void) { return database.defaultValue().array; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:38: error: expected ‘,’ or ‘...’ before ‘<’ token 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:134:3: error: ‘int4’ does not name a type; did you mean ‘int’? 134 | int4 offset; ///< Offset (into containing struct) of subfield | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:237:28: error: ‘int4’ has not been declared 237 | void setDefaultCodeSpace(int4 index); ///< Set the default address space (for code) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:238:28: error: ‘int4’ has not been declared 238 | void setDefaultDataSpace(int4 index); ///< Set the default address space for data | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:237:28: error: ‘int4’ has not been declared 237 | void setDefaultCodeSpace(int4 index); ///< Set the default address space (for code) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:241:40: error: ‘int4’ has not been declared 241 | void markNearPointers(AddrSpace *spc,int4 size); ///< Mark that given space can be accessed with near pointers | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:238:28: error: ‘int4’ has not been declared 238 | void setDefaultDataSpace(int4 index); ///< Set the default address space for data | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:244:81: error: ‘int4’ has not been declared 244 | void addSpacebasePointer(SpacebaseSpace *basespace,const VarnodeData &ptrdata,int4 truncSize,bool stackGrowth); ///< Set the base register of a spacebase space | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:241:40: error: ‘int4’ has not been declared 241 | void markNearPointers(AddrSpace *spc,int4 size); ///< Mark that given space can be accessed with near pointers | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:87:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 87 | uintb opSqrt(uintb a) const; ///< Square root (sqrt) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:247:32: error: ‘uintb’ has not been declared 247 | JoinRecord *findJoinInternal(uintb offset) const; ///< Find JoinRecord for \e offset in the join space | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:244:81: error: ‘int4’ has not been declared 244 | void addSpacebasePointer(SpacebaseSpace *basespace,const VarnodeData &ptrdata,int4 truncSize,bool stackGrowth); ///< Set the base register of a spacebase space | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:32:3: error: ‘int4’ does not name a type; did you mean ‘int’? 32 | int4 startbit; ///< Starting bit of the value within its word (0=most significant bit 1=least significant) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:247:32: error: ‘uintb’ has not been declared 247 | JoinRecord *findJoinInternal(uintb offset) const; ///< Find JoinRecord for \e offset in the join space | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:285:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 285 | virtual const uintm *getDefaultValue(void) const { return database.defaultValue().array; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:88:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 88 | uintb opTrunc(uintb a,int4 sizeout) const; ///< Convert floating-point to integer | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:33:3: error: ‘int4’ does not name a type; did you mean ‘int’? 33 | int4 endbit; ///< Ending bit of the value within its word | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In member function ‘bool Datatype::isUTF32() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:105:39: error: ‘flags’ was not declared in this scope 105 | bool isUTF32(void) const { return ((flags&utf32)!=0); } ///< Does this print as UTF32 'wchar' | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:251:3: error: ‘int4’ does not name a type; did you mean ‘int’? 251 | int4 getDefaultSize(void) const; ///< Get size of addresses for the default space | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:289:11: error: ‘int4’ does not name a type; did you mean ‘int’? 289 | virtual int4 getContextSize(void) const { return size; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:290:50: error: ‘int4’ has not been declared 290 | virtual void registerVariable(const string &nm,int4 sbit,int4 ebit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:89:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 89 | uintb opCeil(uintb a) const; ///< Ceiling (ceil) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:251:3: error: ‘int4’ does not name a type; did you mean ‘int’? 251 | int4 getDefaultSize(void) const; ///< Get size of addresses for the default space | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:290:60: error: ‘int4’ has not been declared 290 | virtual void registerVariable(const string &nm,int4 sbit,int4 ebit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:262:23: error: ‘uintb’ has not been declared 262 | Address getConstant(uintb val) const; ///< Get a constant encoded as an Address | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:264:42: error: ‘uintb’ has not been declared 264 | Address resolveConstant(AddrSpace *spc,uintb val,int4 sz,const Address &point,uintb &fullEncoding) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In member function ‘bool DatatypeCompare::operator()(const Datatype*, const Datatype*) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:144:5: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 144 | int4 res = a->compareDependency(*b); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:264:52: error: ‘int4’ has not been declared 264 | Address resolveConstant(AddrSpace *spc,uintb val,int4 sz,const Address &point,uintb &fullEncoding) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:262:23: error: ‘uintb’ has not been declared 262 | Address getConstant(uintb val) const; ///< Get a constant encoded as an Address | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:264:81: error: ‘uintb’ has not been declared 264 | Address resolveConstant(AddrSpace *spc,uintb val,int4 sz,const Address &point,uintb &fullEncoding) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:264:42: error: ‘uintb’ has not been declared 264 | Address resolveConstant(AddrSpace *spc,uintb val,int4 sz,const Address &point,uintb &fullEncoding) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:264:52: error: ‘int4’ has not been declared 264 | Address resolveConstant(AddrSpace *spc,uintb val,int4 sz,const Address &point,uintb &fullEncoding) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:34:3: error: ‘int4’ does not name a type; did you mean ‘int’? 34 | int4 shift; ///< Right-shift amount to apply when unpacking this value from its word | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:264:81: error: ‘uintb’ has not been declared 264 | Address resolveConstant(AddrSpace *spc,uintb val,int4 sz,const Address &point,uintb &fullEncoding) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:90:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 90 | uintb opFloor(uintb a) const; ///< Floor (floor) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 1 is invalid 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:292:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 292 | virtual const uintm *getContext(const Address &addr) const { return database.getValue(addr).array; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:35:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 35 | uintm mask; ///< Mask to apply (after shifting) when unpacking this value from its word | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:265:3: error: ‘int4’ does not name a type; did you mean ‘int’? 265 | int4 numSpaces(void) const; ///< Get the number of address spaces for this processor | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:266:23: error: ‘int4’ has not been declared 266 | AddrSpace *getSpace(int4 i) const; ///< Get an address space via its index | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:38:23: error: expected ‘)’ before ‘sbit’ 38 | ContextBitRange(int4 sbit,int4 ebit); ///< Construct a context value given an absolute bit range | ~ ^~~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:91:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 91 | uintb opRound(uintb a) const; ///< Round | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:265:3: error: ‘int4’ does not name a type; did you mean ‘int’? 265 | int4 numSpaces(void) const; ///< Get the number of address spaces for this processor | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:266:23: error: ‘int4’ has not been declared 266 | AddrSpace *getSpace(int4 i) const; ///< Get an address space via its index | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:268:61: error: ‘uint4’ has not been declared 268 | JoinRecord *findAddJoin(const vector &pieces,uint4 logicalsize); ///< Get (or create) JoinRecord for \e pieces | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:269:24: error: ‘uintb’ has not been declared 269 | JoinRecord *findJoin(uintb offset) const; ///< Find JoinRecord for \e offset in the join space | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:293:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 293 | virtual const uintm *getContext(const Address &addr,uintb &first,uintb &last) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:268:61: error: ‘uint4’ has not been declared 268 | JoinRecord *findAddJoin(const vector &pieces,uint4 logicalsize); ///< Get (or create) JoinRecord for \e pieces | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:270:40: error: ‘int4’ has not been declared 270 | void setDeadcodeDelay(AddrSpace *spc,int4 delaydelta); ///< Set the deadcodedelay for a specific space | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:269:24: error: ‘uintb’ has not been declared 269 | JoinRecord *findJoin(uintb offset) const; ///< Find JoinRecord for \e offset in the join space | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:274:66: error: ‘int4’ has not been declared 274 | Address constructFloatExtensionAddress(const Address &realaddr,int4 realsize,int4 logicalsize); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:270:40: error: ‘int4’ has not been declared 270 | void setDeadcodeDelay(AddrSpace *spc,int4 delaydelta); ///< Set the deadcodedelay for a specific space | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:274:80: error: ‘int4’ has not been declared 274 | Address constructFloatExtensionAddress(const Address &realaddr,int4 realsize,int4 logicalsize); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:277:81: error: ‘int4’ has not been declared 277 | Address constructJoinAddress(const Translate *translate,const Address &hiaddr,int4 hisz,const Address &loaddr,int4 losz); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:274:66: error: ‘int4’ has not been declared 274 | Address constructFloatExtensionAddress(const Address &realaddr,int4 realsize,int4 logicalsize); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:277:113: error: ‘int4’ has not been declared 277 | Address constructJoinAddress(const Translate *translate,const Address &hiaddr,int4 hisz,const Address &loaddr,int4 losz); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:274:80: error: ‘int4’ has not been declared 274 | Address constructFloatExtensionAddress(const Address &realaddr,int4 realsize,int4 logicalsize); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:280:45: error: ‘int4’ has not been declared 280 | void renormalizeJoinAddress(Address &addr,int4 size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:277:81: error: ‘int4’ has not been declared 277 | Address constructJoinAddress(const Translate *translate,const Address &hiaddr,int4 hisz,const Address &loaddr,int4 losz); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:277:113: error: ‘int4’ has not been declared 277 | Address constructJoinAddress(const Translate *translate,const Address &hiaddr,int4 hisz,const Address &loaddr,int4 losz); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:92:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 92 | uintb opInt2Float(uintb a,int4 sizein) const; ///< Convert integer to floating-point | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:39:3: error: ‘int4’ does not name a type; did you mean ‘int’? 39 | int4 getShift(void) const { return shift; } ///< Return the shift-amount for \b this value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:280:45: error: ‘int4’ has not been declared 280 | void renormalizeJoinAddress(Address &addr,int4 size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In member function ‘bool TypeField::operator<(const TypeField&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:137:56: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 137 | bool operator<(const TypeField &op2) const { return (offset < op2.offset); } ///< Compare based on offset | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:137:69: error: ‘const struct TypeField’ has no member named ‘offset’ 137 | bool operator<(const TypeField &op2) const { return (offset < op2.offset); } ///< Compare based on offset | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:93:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 93 | uintb opFloat2Float(uintb a,const FloatFormat &outformat) const; ///< Convert between floating-point precisions | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:40:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 40 | uintm getMask(void) const { return mask; } ///< Return the mask for \b this value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: In constructor ‘ContextInternal::ContextInternal()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:287:27: error: ‘size’ was not declared in this scope 287 | ContextInternal(void) { size = 0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:145:9: error: ‘res’ was not declared in this scope 145 | if (res != 0) return (res<0); | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In member function ‘bool Datatype::isVariableLength() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:106:48: error: ‘flags’ was not declared in this scope 106 | bool isVariableLength(void) const { return ((flags&variable_length)!=0); } ///< Is \b this a variable length structure | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:146:15: error: ‘const class Datatype’ has no member named ‘getId’ 146 | return a->getId() < b->getId(); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:146:28: error: ‘const class Datatype’ has no member named ‘getId’ 146 | return a->getId() < b->getId(); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 1 is invalid 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:296:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 296 | uintm unique_base; ///< Starting offset into unique space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:296:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 296 | uintm unique_base; ///< Starting offset into unique space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:41:3: error: ‘int4’ does not name a type; did you mean ‘int’? 41 | int4 getWord(void) const { return word; } ///< Return the word index for \b this value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:47:17: error: ‘uintm’ has not been declared 47 | void setValue(uintm *vec,uintm val) const { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:47:28: error: ‘uintm’ has not been declared 47 | void setValue(uintm *vec,uintm val) const { | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:36:3: error: ‘int4’ does not name a type; did you mean ‘int’? 36 | int4 instruction_length; ///< Number of bytes in the unimplemented instruction | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:41:31: error: ‘int4’ has not been declared 41 | UnimplError(const string &s,int4 l) : LowlevelError(s) { instruction_length = l; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:298:3: error: ‘int4’ does not name a type; did you mean ‘int’? 298 | int4 alignment; ///< Byte modulo on which instructions are aligned | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:298:3: error: ‘int4’ does not name a type; did you mean ‘int’? 298 | int4 alignment; ///< Byte modulo on which instructions are aligned | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:58:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 58 | uintm getValue(const uintm *vec) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:313:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 313 | mutable uintb first; ///< Starting offset of the current valid range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: In constructor ‘ContextInternal::FreeArray::FreeArray()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:23: error: ‘size’ was not declared in this scope 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:37: error: missing template arguments before ‘=’ token 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:314:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 314 | mutable uintb last; ///< Ending offset of the current valid range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In member function ‘bool DatatypeCompare::operator()(const Datatype*, const Datatype*) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:144:5: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 144 | int4 res = a->compareDependency(*b); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 1 is invalid 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:39: error: ‘vector’ is not a type 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:45: error: expected ‘,’ or ‘...’ before ‘<’ token 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:315:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 315 | mutable const uintm *context; ///< The current cached context blob | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In member function ‘bool DatatypeNameCompare::operator()(const Datatype*, const Datatype*) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:153:5: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 153 | int4 res = a->getName().compare( b->getName() ); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:320:39: error: ‘uintm’ has not been declared 320 | void getContext(const Address &addr,uintm *buf) const; ///< Retrieve the context blob for the given address | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:321:39: error: ‘int4’ has not been declared 321 | void setContext(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:321:48: error: ‘uintm’ has not been declared 321 | void setContext(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:321:59: error: ‘uintm’ has not been declared 321 | void setContext(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: In constructor ‘ContextInternal::ContextInternal()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:287:27: error: ‘size’ was not declared in this scope 287 | ContextInternal(void) { size = 0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:322:61: error: ‘int4’ has not been declared 322 | void setContext(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:322:70: error: ‘uintm’ has not been declared 322 | void setContext(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:322:81: error: ‘uintm’ has not been declared 322 | void setContext(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In member function ‘bool Datatype::isOpaqueString() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:108:46: error: ‘flags’ was not declared in this scope 108 | bool isOpaqueString(void) const { return ((flags&opaque_string)!=0); } ///< Is \b this an opaquely encoded string | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:284:11: error: ‘uintm’ does not name a type; did you mean ‘uint’? 284 | virtual uintm *getDefaultValue(void) { return database.defaultValue().array; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: In member function ‘void ContextBitRange::setValue(int*, int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:48:5: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 48 | uintm newval = vec[word]; | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:24:3: error: ‘int4’ does not name a type; did you mean ‘int’? 24 | int4 size; // Number of bytes in token; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:285:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 285 | virtual const uintm *getDefaultValue(void) const { return database.defaultValue().array; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:40: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:47: error: expected primary-expression before ‘)’ token 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:25:3: error: ‘int4’ does not name a type; did you mean ‘int’? 25 | int4 index; // Index of this token, for resolving offsets | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:313:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 313 | mutable uintb first; ///< Starting offset of the current valid range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:28:26: error: ‘int4’ has not been declared 28 | Token(const string &nm,int4 sz,bool be,int4 ind) : name(nm) { size = sz; bigendian=be; index = ind; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:28:42: error: ‘int4’ has not been declared 28 | Token(const string &nm,int4 sz,bool be,int4 ind) : name(nm) { size = sz; bigendian=be; index = ind; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:145:9: error: ‘res’ was not declared in this scope 145 | if (res != 0) return (res<0); | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:289:11: error: ‘int4’ does not name a type; did you mean ‘int’? 289 | virtual int4 getContextSize(void) const { return size; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:290:50: error: ‘int4’ has not been declared 290 | virtual void registerVariable(const string &nm,int4 sbit,int4 ebit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:290:60: error: ‘int4’ has not been declared 290 | virtual void registerVariable(const string &nm,int4 sbit,int4 ebit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:146:15: error: ‘const class Datatype’ has no member named ‘getId’ 146 | return a->getId() < b->getId(); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:146:28: error: ‘const class Datatype’ has no member named ‘getId’ 146 | return a->getId() < b->getId(); } | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:134:3: error: ‘int4’ does not name a type; did you mean ‘int’? 134 | int4 offset; ///< Offset (into containing struct) of subfield | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:154:9: error: ‘res’ was not declared in this scope 154 | if (res != 0) return (res < 0); | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:29:3: error: ‘int4’ does not name a type; did you mean ‘int’? 29 | int4 getSize(void) const { return size; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:155:15: error: ‘const class Datatype’ has no member named ‘getId’ 155 | return a->getId() < b->getId(); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:314:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 314 | mutable uintb last; ///< Ending offset of the current valid range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:155:28: error: ‘const class Datatype’ has no member named ‘getId’ 155 | return a->getId() < b->getId(); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:292:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 292 | virtual const uintm *getContext(const Address &addr) const { return database.getValue(addr).array; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:302:22: error: ‘uintm’ has not been declared 302 | void setUniqueBase(uintm val); ///< Set the base offset for new temporary registers | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:174:16: error: expected ‘)’ before ‘s’ 174 | TypeBase(int4 s,type_metatype m) : Datatype(s,m) {} | ~ ^~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:176:16: error: expected ‘)’ before ‘s’ 176 | TypeBase(int4 s,type_metatype m,const string &n) : Datatype(s,m,n) {} | ~ ^~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:302:22: error: ‘uintm’ has not been declared 302 | void setUniqueBase(uintm val); ///< Set the base offset for new temporary registers | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:307:37: error: ‘int4’ has not been declared 307 | const FloatFormat *getFloatFormat(int4 size) const; ///< Get format for a particular floating point encoding | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:31:3: error: ‘int4’ does not name a type; did you mean ‘int’? 31 | int4 getIndex(void) const { return index; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:307:37: error: ‘int4’ has not been declared 307 | const FloatFormat *getFloatFormat(int4 size) const; ///< Get format for a particular floating point encoding | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:315:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 315 | mutable const uintm *context; ///< The current cached context blob | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:293:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 293 | virtual const uintm *getContext(const Address &addr,uintb &first,uintb &last) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:320:39: error: ‘uintm’ has not been declared 320 | void getContext(const Address &addr,uintm *buf) const; ///< Retrieve the context blob for the given address | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:321:39: error: ‘int4’ has not been declared 321 | void setContext(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:321:48: error: ‘uintm’ has not been declared 321 | void setContext(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:321:59: error: ‘uintm’ has not been declared 321 | void setContext(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:322:61: error: ‘int4’ has not been declared 322 | void setContext(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:322:70: error: ‘uintm’ has not been declared 322 | void setContext(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:322:81: error: ‘uintm’ has not been declared 322 | void setContext(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:308:3: error: ‘int4’ does not name a type; did you mean ‘int’? 308 | int4 getAlignment(void) const; ///< Get the instruction alignment for the processor | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:308:3: error: ‘int4’ does not name a type; did you mean ‘int’? 308 | int4 getAlignment(void) const; ///< Get the instruction alignment for the processor | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh: In constructor ‘UnimplError::UnimplError(const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:41:60: error: ‘instruction_length’ was not declared in this scope 41 | UnimplError(const string &s,int4 l) : LowlevelError(s) { instruction_length = l; } | ^~~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:49:5: error: ‘newval’ was not declared in this scope 49 | newval &= ~(mask<getName().compare( b->getName() ); | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:24:3: error: ‘int4’ does not name a type; did you mean ‘int’? 24 | int4 size; // Number of bytes in token; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:309:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 309 | uintm getUniqueBase(void) const; ///< Get the base offset for new temporary registers | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:309:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 309 | uintm getUniqueBase(void) const; ///< Get the base offset for new temporary registers | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:328:51: error: ‘int4’ has not been declared 328 | virtual void registerContext(const string &name,int4 sbit,int4 ebit) {} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:328:61: error: ‘int4’ has not been declared 328 | virtual void registerContext(const string &name,int4 sbit,int4 ebit) {} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:328:51: error: ‘int4’ has not been declared 328 | virtual void registerContext(const string &name,int4 sbit,int4 ebit) {} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:328:61: error: ‘int4’ has not been declared 328 | virtual void registerContext(const string &name,int4 sbit,int4 ebit) {} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:337:53: error: ‘uintm’ has not been declared 337 | virtual void setContextDefault(const string &name,uintm val) {} | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:337:53: error: ‘uintm’ has not been declared 337 | virtual void setContextDefault(const string &name,uintm val) {} | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:357:61: error: ‘uintb’ has not been declared 357 | virtual void addRegister(const string &nm,AddrSpace *base,uintb offset,int4 size)=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:357:74: error: ‘int4’ has not been declared 357 | virtual void addRegister(const string &nm,AddrSpace *base,uintb offset,int4 size)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:357:61: error: ‘uintb’ has not been declared 357 | virtual void addRegister(const string &nm,AddrSpace *base,uintb offset,int4 size)=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:357:74: error: ‘int4’ has not been declared 357 | virtual void addRegister(const string &nm,AddrSpace *base,uintb offset,int4 size)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:376:50: error: ‘uintb’ has not been declared 376 | virtual string getRegisterName(AddrSpace *base,uintb off,int4 size) const=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:376:60: error: ‘int4’ has not been declared 376 | virtual string getRegisterName(AddrSpace *base,uintb off,int4 size) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:376:50: error: ‘uintb’ has not been declared 376 | virtual string getRegisterName(AddrSpace *base,uintb off,int4 size) const=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:376:60: error: ‘int4’ has not been declared 376 | virtual string getRegisterName(AddrSpace *base,uintb off,int4 size) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:25:3: error: ‘int4’ does not name a type; did you mean ‘int’? 25 | int4 index; // Index of this token, for resolving offsets | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In member function ‘bool TypeField::operator<(const TypeField&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:137:56: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 137 | bool operator<(const TypeField &op2) const { return (offset < op2.offset); } ///< Compare based on offset | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:65:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 65 | uint4 size; ///< Size truncated addresses into the space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:28:26: error: ‘int4’ has not been declared 28 | Token(const string &nm,int4 sz,bool be,int4 ind) : name(nm) { size = sz; bigendian=be; index = ind; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In constructor ‘Token::Token(const string&, int, bool, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:28:65: error: ‘size’ was not declared in this scope 28 | Token(const string &nm,int4 sz,bool be,int4 ind) : name(nm) { size = sz; bigendian=be; index = ind; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:137:69: error: ‘const struct TypeField’ has no member named ‘offset’ 137 | bool operator<(const TypeField &op2) const { return (offset < op2.offset); } ///< Compare based on offset | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:28:42: error: ‘int4’ has not been declared 28 | Token(const string &nm,int4 sz,bool be,int4 ind) : name(nm) { size = sz; bigendian=be; index = ind; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:28:98: error: overloaded function with no contextual type information 28 | Token(const string &nm,int4 sz,bool be,int4 ind) : name(nm) { size = sz; bigendian=be; index = ind; } | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:403:11: error: ‘int4’ does not name a type; did you mean ‘int’? 403 | virtual int4 instructionLength(const Address &baseaddr) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:403:11: error: ‘int4’ does not name a type; did you mean ‘int’? 403 | virtual int4 instructionLength(const Address &baseaddr) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:29:3: error: ‘int4’ does not name a type; did you mean ‘int’? 29 | int4 getSize(void) const { return size; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: In constructor ‘ContextInternal::FreeArray::FreeArray()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:23: error: ‘size’ was not declared in this scope 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:69:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 69 | uint4 getSize(void) const { return size; } ///< Size (of pointers) for new truncated space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:37: error: missing template arguments before ‘=’ token 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:92:90: error: ‘int4’ has not been declared 92 | virtual void dump(const Address &addr,OpCode opc,VarnodeData *outvar,VarnodeData *vars,int4 isize)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:37:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 37 | uint4 size; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:49:17: error: ‘mask’ was not declared in this scope 49 | newval &= ~(mask<getId() < b->getId(); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:428:11: error: ‘int4’ does not name a type; did you mean ‘int’? 428 | virtual int4 printAssembly(AssemblyEmit &emit,const Address &baseaddr) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:39:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 39 | uintb offset_offset; // Either static offset or ptr offset | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:428:11: error: ‘int4’ does not name a type; did you mean ‘int’? 428 | virtual int4 printAssembly(AssemblyEmit &emit,const Address &baseaddr) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:155:28: error: ‘const class Datatype’ has no member named ‘getId’ 155 | return a->getId() < b->getId(); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:107:16: error: ‘uint1’ does not name a type; did you mean ‘uint’? 107 | static const uint1 *unpackOffset(const uint1 *ptr,uintb &off); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:174:16: error: expected ‘)’ before ‘s’ 174 | TypeBase(int4 s,type_metatype m) : Datatype(s,m) {} | ~ ^~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In constructor ‘TypeChar::TypeChar(const string&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:190:52: error: no matching function for call to ‘TypeBase::TypeBase(int, type_metatype, const string&)’ 190 | TypeChar(const string &n) : TypeBase(1,TYPE_INT,n) { flags |= Datatype::chartype; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:176:16: error: expected ‘)’ before ‘s’ 176 | TypeBase(int4 s,type_metatype m,const string &n) : Datatype(s,m,n) {} | ~ ^~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:172:3: note: candidate: ‘TypeBase::TypeBase(const TypeBase&)’ 172 | TypeBase(const TypeBase &op) : Datatype(op) {} | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:172:3: note: candidate expects 1 argument, 3 provided /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:40:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 40 | uint4 offset_size; // Size of pointer | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:434:8: error: ‘int4’ does not name a type; did you mean ‘int’? 434 | inline int4 AddrSpaceManager::getDefaultSize(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In member function ‘bool DatatypeCompare::operator()(const Datatype*, const Datatype*) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:144:5: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 144 | int4 res = a->compareDependency(*b); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:434:8: error: ‘int4’ does not name a type; did you mean ‘int’? 434 | inline int4 AddrSpaceManager::getDefaultSize(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:109:16: error: ‘uint1’ does not name a type; did you mean ‘uint’? 109 | static const uint1 *unpackVarnodeData(const uint1 *ptr,VarnodeData &v,const AddrSpaceManager *trans); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:42:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 42 | uintb temp_offset; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:40: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:518:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 518 | inline Address AddrSpaceManager::getConstant(uintb val) const { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:47: error: expected primary-expression before ‘)’ token 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:518:16: error: ‘Address AddrSpaceManager::getConstant’ is not a static data member of ‘class AddrSpaceManager’ 518 | inline Address AddrSpaceManager::getConstant(uintb val) const { | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:518:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 518 | inline Address AddrSpaceManager::getConstant(uintb val) const { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:518:16: error: ‘Address AddrSpaceManager::getConstant’ is not a static data member of ‘class AddrSpaceManager’ 518 | inline Address AddrSpaceManager::getConstant(uintb val) const { | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:111:9: error: ‘uint1’ does not name a type; did you mean ‘uint’? 111 | const uint1 *restorePackedOp(const Address &addr,const uint1 *ptr,const AddrSpaceManager *trans); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:49:23: error: ‘shift’ was not declared in this scope 49 | newval &= ~(mask<getId() < b->getId(); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:146:28: error: ‘const class Datatype’ has no member named ‘getId’ 146 | return a->getId() < b->getId(); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:37:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 37 | uint4 size; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:518:46: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 518 | inline Address AddrSpaceManager::getConstant(uintb val) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:181:11: error: ‘int4’ does not name a type; did you mean ‘int’? 181 | virtual int4 numSpacebase(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:182:43: error: ‘int4’ has not been declared 182 | virtual const VarnodeData &getSpacebase(int4 i) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:518:57: error: expected ‘,’ or ‘;’ before ‘const’ 518 | inline Address AddrSpaceManager::getConstant(uintb val) const { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:183:47: error: ‘int4’ has not been declared 183 | virtual const VarnodeData &getSpacebaseFull(int4 i) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:518:46: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 518 | inline Address AddrSpaceManager::getConstant(uintb val) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:518:57: error: expected ‘,’ or ‘;’ before ‘const’ 518 | inline Address AddrSpaceManager::getConstant(uintb val) const { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:206:32: error: ‘int4’ has not been declared 206 | TypeUnicode(const string &nm,int4 sz,type_metatype m); ///< Construct given name,size, meta-type | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:51: error: ‘mask’ was not declared in this scope 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:39:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 39 | uintb offset_offset; // Either static offset or ptr offset | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:51:9: error: ‘word’ was not declared in this scope 51 | vec[word] = newval; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:66: error: expected primary-expression before ‘)’ token 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In constructor ‘TypeUnicode::TypeUnicode()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:204:42: error: no matching function for call to ‘TypeBase::TypeBase(int, type_metatype)’ 204 | TypeUnicode(void) : TypeBase(0,TYPE_INT) {} ///< For use with restoreXml | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:172:3: note: candidate: ‘TypeBase::TypeBase(const TypeBase&)’ 172 | TypeBase(const TypeBase &op) : Datatype(op) {} | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:172:3: note: candidate expects 1 argument, 2 provided /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In copy constructor ‘TypeChar::TypeChar(const TypeChar&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:188:49: error: ‘flags’ was not declared in this scope 188 | TypeChar(const TypeChar &op) : TypeBase(op) { flags |= Datatype::chartype; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:40:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 40 | uint4 offset_size; // Size of pointer | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:70:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 70 | uintb val; ///< The value of the register | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In constructor ‘TypeChar::TypeChar(const string&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:190:52: error: no matching function for call to ‘TypeBase::TypeBase(int, type_metatype, const string&)’ 190 | TypeChar(const string &n) : TypeBase(1,TYPE_INT,n) { flags |= Datatype::chartype; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:172:3: note: candidate: ‘TypeBase::TypeBase(const TypeBase&)’ 172 | TypeBase(const TypeBase &op) : Datatype(op) {} | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:42:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 42 | uintb temp_offset; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:172:3: note: candidate expects 1 argument, 3 provided /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh: In member function ‘Address AddrSpaceManager::createConstFromSpace(AddrSpace*) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:529:33: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 529 | return Address(constantspace,(uintb)(uintp)spc); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh: In member function ‘Address AddrSpaceManager::createConstFromSpace(AddrSpace*) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:529:33: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 529 | return Address(constantspace,(uintb)(uintp)spc); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In member function ‘bool DatatypeNameCompare::operator()(const Datatype*, const Datatype*) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:153:5: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 153 | int4 res = a->getName().compare( b->getName() ); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:51:3: error: ‘int4’ does not name a type; did you mean ‘int’? 51 | int4 length; // Length of this instantiation of the constructor | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: In destructor ‘ContextInternal::FreeArray::~FreeArray()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:268:28: error: ‘size’ was not declared in this scope 268 | ~FreeArray(void) { if (size!=0) { delete [] array; delete [] mask; } } ///< Destructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:268:54: error: missing template arguments before ‘;’ token 268 | ~FreeArray(void) { if (size!=0) { delete [] array; delete [] mask; } } ///< Destructor | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:52:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 52 | uint4 offset; // Absolute offset (from start of instruction) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 1 is invalid 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:59:3: error: ‘int4’ does not name a type; did you mean ‘int’? 59 | int4 num; // Number of context word affected | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In copy constructor ‘TypeVoid::TypeVoid(const TypeVoid&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:220:49: error: ‘flags’ was not declared in this scope 220 | TypeVoid(const TypeVoid &op) : Datatype(op) { flags |= Datatype::coretype; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:529:40: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 529 | return Address(constantspace,(uintb)(uintp)spc); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In constructor ‘TypeVoid::TypeVoid()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:222:47: error: no matching function for call to ‘Datatype::Datatype(int, type_metatype, const char [5])’ 222 | TypeVoid(void) : Datatype(0,TYPE_VOID,"void") { flags |= Datatype::coretype; } | ^ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:93:3: note: candidate: ‘Datatype::Datatype(const Datatype&)’ 93 | Datatype(const Datatype &op) { size = op.size; name=op.name; metatype=op.metatype; flags=op.flags; id=op.id; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:93:3: note: candidate expects 1 argument, 3 provided /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:529:40: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 529 | return Address(constantspace,(uintb)(uintp)spc); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:277:57: error: ‘uintm’ does not name a type; did you mean ‘uint’? 277 | void saveContext(ostream &s,const Address &addr,const uintm *vec) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:60:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 60 | uintm mask; // Bits within word affected | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:154:9: error: ‘res’ was not declared in this scope 154 | if (res != 0) return (res < 0); | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:155:15: error: ‘const class Datatype’ has no member named ‘getId’ 155 | return a->getId() < b->getId(); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:155:28: error: ‘const class Datatype’ has no member named ‘getId’ 155 | return a->getId() < b->getId(); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:536:8: error: ‘int4’ does not name a type; did you mean ‘int’? 536 | inline int4 AddrSpaceManager::numSpaces(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:545:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 545 | inline AddrSpace *AddrSpaceManager::getSpace(int4 i) const { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:545:19: error: ‘AddrSpace* AddrSpaceManager::getSpace’ is not a static data member of ‘class AddrSpaceManager’ 545 | inline AddrSpace *AddrSpaceManager::getSpace(int4 i) const { | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:174:16: error: expected ‘)’ before ‘s’ 174 | TypeBase(int4 s,type_metatype m) : Datatype(s,m) {} | ~ ^~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:200:3: error: ‘int4’ does not name a type; did you mean ‘int’? 200 | int4 numPieces(void) const { return pieces.size(); } ///< Get number of pieces in this record | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:536:8: error: ‘int4’ does not name a type; did you mean ‘int’? 536 | inline int4 AddrSpaceManager::numSpaces(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:176:16: error: expected ‘)’ before ‘s’ 176 | TypeBase(int4 s,type_metatype m,const string &n) : Datatype(s,m,n) {} | ~ ^~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:545:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 545 | inline AddrSpace *AddrSpaceManager::getSpace(int4 i) const { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:202:31: error: ‘int4’ has not been declared 202 | const VarnodeData &getPiece(int4 i) const { return pieces[i]; } ///< Get the i-th piece | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:61:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 61 | uintm value; // New setting for bits | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:545:19: error: ‘AddrSpace* AddrSpaceManager::getSpace’ is not a static data member of ‘class AddrSpaceManager’ 545 | inline AddrSpace *AddrSpaceManager::getSpace(int4 i) const { | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:204:32: error: ‘uintb’ has not been declared 204 | Address getEquivalentAddress(uintb offset,int4 &pos) const; ///< Given offset in \e join space, get equivalent address of piece | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:204:45: error: ‘int4’ has not been declared 204 | Address getEquivalentAddress(uintb offset,int4 &pos) const; ///< Given offset in \e join space, get equivalent address of piece | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 1 is invalid 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:268:66: error: ‘mask’ was not declared in this scope 268 | ~FreeArray(void) { if (size!=0) { delete [] array; delete [] mask; } } ///< Destructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:190:56: error: ‘flags’ was not declared in this scope 190 | TypeChar(const string &n) : TypeBase(1,TYPE_INT,n) { flags |= Datatype::chartype; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:78:3: error: ‘int4’ does not name a type; did you mean ‘int’? 78 | int4 parsestate; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:206:32: error: ‘int4’ has not been declared 206 | TypeUnicode(const string &nm,int4 sz,type_metatype m); ///< Construct given name,size, meta-type | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:80:3: error: ‘uint1’ does not name a type; did you mean ‘uint’? 80 | uint1 buf[16]; // Buffer of bytes in the instruction stream | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In constructor ‘TypeUnicode::TypeUnicode()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:204:42: error: no matching function for call to ‘TypeBase::TypeBase(int, type_metatype)’ 204 | TypeUnicode(void) : TypeBase(0,TYPE_INT) {} ///< For use with restoreXml | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:172:3: note: candidate: ‘TypeBase::TypeBase(const TypeBase&)’ 172 | TypeBase(const TypeBase &op) : Datatype(op) {} | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:172:3: note: candidate expects 1 argument, 2 provided /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:51:3: error: ‘int4’ does not name a type; did you mean ‘int’? 51 | int4 length; // Length of this instantiation of the constructor | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:545:46: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 545 | inline AddrSpace *AddrSpaceManager::getSpace(int4 i) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 1 is invalid 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 2 is invalid In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:222:51: error: ‘flags’ was not declared in this scope 222 | TypeVoid(void) : Datatype(0,TYPE_VOID,"void") { flags |= Datatype::coretype; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:564:13: error: variable or field ‘setUniqueBase’ declared void 564 | inline void Translate::setUniqueBase(uintm val) { | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:81:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 81 | uintm *context; // Pointer to local context | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:545:46: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 545 | inline AddrSpace *AddrSpaceManager::getSpace(int4 i) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:52:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 52 | uint4 offset; // Absolute offset (from start of instruction) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:564:13: error: variable or field ‘setUniqueBase’ declared void 564 | inline void Translate::setUniqueBase(uintm val) { | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 1 is invalid 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:32: error: ‘vector’ is not a type 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:82:3: error: ‘int4’ does not name a type; did you mean ‘int’? 82 | int4 contextsize; // Number of entries in context array | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:38: error: expected ‘,’ or ‘...’ before ‘<’ token 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:59:3: error: ‘int4’ does not name a type; did you mean ‘int’? 59 | int4 num; // Number of context word affected | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:564:38: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 564 | inline void Translate::setUniqueBase(uintm val) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:232:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 232 | uint4 wordsize; ///< What size unit does the pointer address | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:240:19: error: expected ‘)’ before ‘s’ 240 | TypePointer(int4 s,Datatype *pt,uint4 ws) : Datatype(s,TYPE_PTR) { ptrto = pt; flags = ptrto->getInheritable(); wordsize=ws; } | ~ ^~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:564:38: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 564 | inline void Translate::setUniqueBase(uintm val) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:60:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 60 | uintm mask; // Bits within word affected | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:582:8: error: ‘int4’ does not name a type; did you mean ‘int’? 582 | inline int4 Translate::getAlignment(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In copy constructor ‘TypeChar::TypeChar(const TypeChar&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:188:49: error: ‘flags’ was not declared in this scope 188 | TypeChar(const TypeChar &op) : TypeBase(op) { flags |= Datatype::chartype; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 1 is invalid 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:61:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 61 | uintm value; // New setting for bits | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:582:8: error: ‘int4’ does not name a type; did you mean ‘int’? 582 | inline int4 Translate::getAlignment(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:242:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 242 | uint4 getWordSize(void) const { return wordsize; } ///< Get the wordsize of the pointer | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:592:8: error: ‘uintm’ does not name a type; did you mean ‘uint’? 592 | inline uintm Translate::getUniqueBase(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In constructor ‘TypeChar::TypeChar(const string&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:190:52: error: no matching function for call to ‘TypeBase::TypeBase(int, type_metatype, const string&)’ 190 | TypeChar(const string &n) : TypeBase(1,TYPE_INT,n) { flags |= Datatype::chartype; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:172:3: note: candidate: ‘TypeBase::TypeBase(const TypeBase&)’ 172 | TypeBase(const TypeBase &op) : Datatype(op) {} | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:172:3: note: candidate expects 1 argument, 3 provided /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 1 is invalid 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:592:8: error: ‘uintm’ does not name a type; did you mean ‘uint’? 592 | inline uintm Translate::getUniqueBase(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In copy constructor ‘TypeVoid::TypeVoid(const TypeVoid&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:220:49: error: ‘flags’ was not declared in this scope 220 | TypeVoid(const TypeVoid &op) : Datatype(op) { flags |= Datatype::coretype; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:78:3: error: ‘int4’ does not name a type; did you mean ‘int’? 78 | int4 parsestate; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:244:11: error: ‘int4’ does not name a type; did you mean ‘int’? 244 | virtual int4 numDepend(void) const { return 1; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:245:31: error: ‘int4’ has not been declared 245 | virtual Datatype *getDepend(int4 index) const { return ptrto; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In constructor ‘TypeVoid::TypeVoid()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:222:47: error: no matching function for call to ‘Datatype::Datatype(int, type_metatype, const char [5])’ 222 | TypeVoid(void) : Datatype(0,TYPE_VOID,"void") { flags |= Datatype::coretype; } | ^ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:93:3: note: candidate: ‘Datatype::Datatype(const Datatype&)’ 93 | Datatype(const Datatype &op) { size = op.size; name=op.name; metatype=op.metatype; flags=op.flags; id=op.id; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:93:3: note: candidate expects 1 argument, 3 provided /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:80:3: error: ‘uint1’ does not name a type; did you mean ‘uint’? 80 | uint1 buf[16]; // Buffer of bytes in the instruction stream | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:247:11: error: ‘int4’ does not name a type; did you mean ‘int’? 247 | virtual int4 compare(const Datatype &op,int4 level) const; // For tree structure | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 1 is invalid 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:32: error: ‘vector’ is not a type 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:38: error: expected ‘,’ or ‘...’ before ‘<’ token 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:81:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 81 | uintm *context; // Pointer to local context | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: In constructor ‘ContextInternal::ContextInternal()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:287:27: error: ‘size’ was not declared in this scope 287 | ContextInternal(void) { size = 0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:248:11: error: ‘int4’ does not name a type; did you mean ‘int’? 248 | virtual int4 compareDependency(const Datatype &op) const; // For tree structure | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 1 is invalid 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:82:3: error: ‘int4’ does not name a type; did you mean ‘int’? 82 | int4 contextsize; // Number of entries in context array | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In constructor ‘TypePointer::TypePointer()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:235:42: error: no matching function for call to ‘Datatype::Datatype(int, type_metatype)’ 235 | TypePointer(void) : Datatype(0,TYPE_PTR) { ptrto = (Datatype *)0; wordsize=1; } | ^ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:93:3: note: candidate: ‘Datatype::Datatype(const Datatype&)’ 93 | Datatype(const Datatype &op) { size = op.size; name=op.name; metatype=op.metatype; flags=op.flags; id=op.id; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:93:3: note: candidate expects 1 argument, 2 provided /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:190:56: error: ‘flags’ was not declared in this scope 190 | TypeChar(const string &n) : TypeBase(1,TYPE_INT,n) { flags |= Datatype::chartype; } | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:31:3: error: ‘int4’ does not name a type; did you mean ‘int’? 31 | int4 word; ///< Index of word containing this context value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:313:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 313 | mutable uintb first; ///< Starting offset of the current valid range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:206:32: error: ‘int4’ has not been declared 206 | TypeUnicode(const string &nm,int4 sz,type_metatype m); ///< Construct given name,size, meta-type | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:222:51: error: ‘flags’ was not declared in this scope 222 | TypeVoid(void) : Datatype(0,TYPE_VOID,"void") { flags |= Datatype::coretype; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:32:3: error: ‘int4’ does not name a type; did you mean ‘int’? 32 | int4 startbit; ///< Starting bit of the value within its word (0=most significant bit 1=least significant) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:314:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 314 | mutable uintb last; ///< Ending offset of the current valid range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In constructor ‘TypeUnicode::TypeUnicode()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:204:42: error: no matching function for call to ‘TypeBase::TypeBase(int, type_metatype)’ 204 | TypeUnicode(void) : TypeBase(0,TYPE_INT) {} ///< For use with restoreXml | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:172:3: note: candidate: ‘TypeBase::TypeBase(const TypeBase&)’ 172 | TypeBase(const TypeBase &op) : Datatype(op) {} | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:172:3: note: candidate expects 1 argument, 2 provided /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 1 is invalid 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 1 is invalid 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:39: error: ‘vector’ is not a type 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:45: error: expected ‘,’ or ‘...’ before ‘<’ token 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:33:3: error: ‘int4’ does not name a type; did you mean ‘int’? 33 | int4 endbit; ///< Ending bit of the value within its word | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:315:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 315 | mutable const uintm *context; ///< The current cached context blob | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:320:39: error: ‘uintm’ has not been declared 320 | void getContext(const Address &addr,uintm *buf) const; ///< Retrieve the context blob for the given address | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:321:39: error: ‘int4’ has not been declared 321 | void setContext(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:321:48: error: ‘uintm’ has not been declared 321 | void setContext(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:321:59: error: ‘uintm’ has not been declared 321 | void setContext(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc: In member function ‘void AddrSpace::calcScaleMask()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:24:3: error: ‘pointerLowerBound’ was not declared in this scope 24 | pointerLowerBound = (addressSize < 3) ? 0x100: 0x1000; | ^~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:322:61: error: ‘int4’ has not been declared 322 | void setContext(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:322:70: error: ‘uintm’ has not been declared 322 | void setContext(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:322:81: error: ‘uintm’ has not been declared 322 | void setContext(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:158:11: error: ‘uintm’ does not name a type; did you mean ‘uint’? 158 | virtual uintm *getDefaultValue(void)=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:232:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 232 | uint4 wordsize; ///< What size unit does the pointer address | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:34:3: error: ‘int4’ does not name a type; did you mean ‘int’? 34 | int4 shift; ///< Right-shift amount to apply when unpacking this value from its word | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:240:19: error: expected ‘)’ before ‘s’ 240 | TypePointer(int4 s,Datatype *pt,uint4 ws) : Datatype(s,TYPE_PTR) { ptrto = pt; flags = ptrto->getInheritable(); wordsize=ws; } | ~ ^~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:165:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 165 | virtual const uintm *getDefaultValue(void) const=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:35:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 35 | uintm mask; ///< Mask to apply (after shifting) when unpacking this value from its word | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:24:3: error: ‘int4’ does not name a type; did you mean ‘int’? 24 | int4 size; // Number of bytes in token; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:38:23: error: expected ‘)’ before ‘sbit’ 38 | ContextBitRange(int4 sbit,int4 ebit); ///< Construct a context value given an absolute bit range | ~ ^~~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 1 is invalid 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:242:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 242 | uint4 getWordSize(void) const { return wordsize; } ///< Get the wordsize of the pointer | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:172:11: error: ‘int4’ does not name a type; did you mean ‘int’? 172 | virtual int4 getContextSize(void) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:183:50: error: ‘int4’ has not been declared 183 | virtual void registerVariable(const string &nm,int4 sbit,int4 ebit)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:25:3: error: ‘int4’ does not name a type; did you mean ‘int’? 25 | int4 index; // Index of this token, for resolving offsets | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:183:60: error: ‘int4’ has not been declared 183 | virtual void registerVariable(const string &nm,int4 sbit,int4 ebit)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:39:3: error: ‘int4’ does not name a type; did you mean ‘int’? 39 | int4 getShift(void) const { return shift; } ///< Return the shift-amount for \b this value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:28:26: error: ‘int4’ has not been declared 28 | Token(const string &nm,int4 sz,bool be,int4 ind) : name(nm) { size = sz; bigendian=be; index = ind; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:28:42: error: ‘int4’ has not been declared 28 | Token(const string &nm,int4 sz,bool be,int4 ind) : name(nm) { size = sz; bigendian=be; index = ind; } | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:235:69: error: ‘wordsize’ was not declared in this scope 235 | TypePointer(void) : Datatype(0,TYPE_PTR) { ptrto = (Datatype *)0; wordsize=1; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:90:3: error: ‘int4’ does not name a type; did you mean ‘int’? 90 | int4 alloc; // Number of ConstructState's allocated | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:40:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 40 | uintm getMask(void) const { return mask; } ///< Return the mask for \b this value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:189:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 189 | virtual const uintm *getContext(const Address &addr) const=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:244:11: error: ‘int4’ does not name a type; did you mean ‘int’? 244 | virtual int4 numDepend(void) const { return 1; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:29:3: error: ‘int4’ does not name a type; did you mean ‘int’? 29 | int4 getSize(void) const { return size; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:245:31: error: ‘int4’ has not been declared 245 | virtual Datatype *getDepend(int4 index) const { return ptrto; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:41:3: error: ‘int4’ does not name a type; did you mean ‘int’? 41 | int4 getWord(void) const { return word; } ///< Return the word index for \b this value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:47:17: error: ‘uintm’ has not been declared 47 | void setValue(uintm *vec,uintm val) const { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:47:28: error: ‘uintm’ has not been declared 47 | void setValue(uintm *vec,uintm val) const { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:199:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 199 | virtual const uintm *getContext(const Address &addr,uintb &first,uintb &last) const=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:31:3: error: ‘int4’ does not name a type; did you mean ‘int’? 31 | int4 getIndex(void) const { return index; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:91:3: error: ‘int4’ does not name a type; did you mean ‘int’? 91 | int4 delayslot; // delayslot depth | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In copy constructor ‘TypeVoid::TypeVoid(const TypeVoid&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:220:49: error: ‘flags’ was not declared in this scope 220 | TypeVoid(const TypeVoid &op) : Datatype(op) { flags |= Datatype::coretype; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:240:44: error: ‘uintm’ has not been declared 240 | void setVariableDefault(const string &nm,uintm val); ///< Provide a default value for a context variable | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:247:11: error: ‘int4’ does not name a type; did you mean ‘int’? 247 | virtual int4 compare(const Datatype &op,int4 level) const; // For tree structure | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In constructor ‘TypeVoid::TypeVoid()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:222:47: error: no matching function for call to ‘Datatype::Datatype(int, type_metatype, const char [5])’ 222 | TypeVoid(void) : Datatype(0,TYPE_VOID,"void") { flags |= Datatype::coretype; } | ^ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:93:3: note: candidate: ‘Datatype::Datatype(const Datatype&)’ 93 | Datatype(const Datatype &op) { size = op.size; name=op.name; metatype=op.metatype; flags=op.flags; id=op.id; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:58:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 58 | uintm getValue(const uintm *vec) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:93:3: note: candidate expects 1 argument, 3 provided /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 1 is invalid 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:39: error: ‘vector’ is not a type 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:241:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 241 | uintm getDefaultValue(const string &nm) const; ///< Retrieve the default value for a context variable | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:45: error: expected ‘,’ or ‘...’ before ‘<’ token 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:242:57: error: ‘uintm’ has not been declared 242 | void setVariable(const string &nm,const Address &addr,uintm value); ///< Set a context value at the given address | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:97:3: error: ‘uint1’ does not name a type; did you mean ‘uint’? 97 | uint1 *getBuffer(void) { return buf; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:98:19: error: ‘int4’ has not been declared 98 | void initialize(int4 maxstate,int4 maxparam,AddrSpace *spc); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:98:33: error: ‘int4’ has not been declared 98 | void initialize(int4 maxstate,int4 maxparam,AddrSpace *spc); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:248:11: error: ‘int4’ does not name a type; did you mean ‘int’? 248 | virtual int4 compareDependency(const Datatype &op) const; // For tree structure | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In constructor ‘TypePointer::TypePointer()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:235:42: error: no matching function for call to ‘Datatype::Datatype(int, type_metatype)’ 235 | TypePointer(void) : Datatype(0,TYPE_PTR) { ptrto = (Datatype *)0; wordsize=1; } | ^ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:93:3: note: candidate: ‘Datatype::Datatype(const Datatype&)’ 93 | Datatype(const Datatype &op) { size = op.size; name=op.name; metatype=op.metatype; flags=op.flags; id=op.id; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:93:3: note: candidate expects 1 argument, 2 provided /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:243:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 243 | uintm getVariable(const string &nm,const Address &addr) const; ///< Retrieve a context value at the given address | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:24:24: error: ‘addressSize’ was not declared in this scope 24 | pointerLowerBound = (addressSize < 3) ? 0x100: 0x1000; | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:244:50: error: ‘int4’ has not been declared 244 | void setContextChangePoint(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:244:59: error: ‘uintm’ has not been declared 244 | void setContextChangePoint(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:244:70: error: ‘uintm’ has not been declared 244 | void setContextChangePoint(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:245:67: error: ‘int4’ has not been declared 245 | void setContextRegion(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:245:76: error: ‘uintm’ has not been declared 245 | void setContextRegion(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:284:11: error: ‘uintm’ does not name a type; did you mean ‘uint’? 284 | virtual uintm *getDefaultValue(void) { return database.defaultValue().array; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:245:87: error: ‘uintm’ has not been declared 245 | void setContextRegion(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:247:47: error: ‘uintm’ has not been declared 247 | const Address &endad,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:99:3: error: ‘int4’ does not name a type; did you mean ‘int’? 99 | int4 getParserState(void) const { return parsestate; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:100:23: error: ‘int4’ has not been declared 100 | void setParserState(int4 st) { parsestate = st; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:102:24: error: ‘int4’ has not been declared 102 | void allocateOperand(int4 i,ParserWalkerChange &walker); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:106:36: error: ‘int4’ has not been declared 106 | void addCommit(TripleSymbol *sym,int4 num,uintm mask,bool flow,ConstructState *point); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:106:45: error: ‘uintm’ has not been declared 106 | void addCommit(TripleSymbol *sym,int4 num,uintm mask,bool flow,ConstructState *point); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:248:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 248 | uintb getTrackedValue(const VarnodeData &mem,const Address &point) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:285:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 285 | virtual const uintm *getDefaultValue(void) const { return database.defaultValue().array; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In constructor ‘Token::Token(const string&, int, bool, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:28:65: error: ‘size’ was not declared in this scope 28 | Token(const string &nm,int4 sz,bool be,int4 ind) : name(nm) { size = sz; bigendian=be; index = ind; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: In member function ‘void ContextBitRange::setValue(int*, int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:48:5: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 48 | uintm newval = vec[word]; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:28:98: error: overloaded function with no contextual type information 28 | Token(const string &nm,int4 sz,bool be,int4 ind) : name(nm) { size = sz; bigendian=be; index = ind; } | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:289:11: error: ‘int4’ does not name a type; did you mean ‘int’? 289 | virtual int4 getContextSize(void) const { return size; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:115:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 115 | uintm getInstructionBytes(int4 byteoff,int4 numbytes,uint4 off) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:290:50: error: ‘int4’ has not been declared 290 | virtual void registerVariable(const string &nm,int4 sbit,int4 ebit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:290:60: error: ‘int4’ has not been declared 290 | virtual void registerVariable(const string &nm,int4 sbit,int4 ebit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:264:5: error: ‘uintm’ does not name a type; did you mean ‘uint’? 264 | uintm *array; ///< The "array of words" holding context variable values | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: In constructor ‘ContextInternal::ContextInternal()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:287:27: error: ‘size’ was not declared in this scope 287 | ContextInternal(void) { size = 0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In copy constructor ‘TypePointer::TypePointer(const TypePointer&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:238:73: error: ‘wordsize’ was not declared in this scope 238 | TypePointer(const TypePointer &op) : Datatype(op) { ptrto = op.ptrto; wordsize=op.wordsize; } | ^~~~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:222:51: error: ‘flags’ was not declared in this scope 222 | TypeVoid(void) : Datatype(0,TYPE_VOID,"void") { flags |= Datatype::coretype; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:238:85: error: ‘const class TypePointer’ has no member named ‘wordsize’ 238 | TypePointer(const TypePointer &op) : Datatype(op) { ptrto = op.ptrto; wordsize=op.wordsize; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:116:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 116 | uintm getContextBytes(int4 byteoff,int4 numbytes) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:292:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 292 | virtual const uintm *getContext(const Address &addr) const { return database.getValue(addr).array; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:265:5: error: ‘uintm’ does not name a type; did you mean ‘uint’? 265 | uintm *mask; ///< The mask array indicating which variables are explicitly set | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:90:3: error: ‘int4’ does not name a type; did you mean ‘int’? 90 | int4 alloc; // Number of ConstructState's allocated | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:37:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 37 | uint4 size; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:117:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 117 | uintm getInstructionBits(int4 startbit,int4 size,uint4 off) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:266:5: error: ‘int4’ does not name a type; did you mean ‘int’? 266 | int4 size; ///< The number of words in the array | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:293:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 293 | virtual const uintm *getContext(const Address &addr,uintb &first,uintb &last) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:269:16: error: ‘int4’ has not been declared 269 | void reset(int4 sz); ///< Resize the context blob, preserving old values | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:91:3: error: ‘int4’ does not name a type; did you mean ‘int’? 91 | int4 delayslot; // delayslot depth | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:39:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 39 | uintb offset_offset; // Either static offset or ptr offset | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:118:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 118 | uintm getContextBits(int4 startbit,int4 size) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:119:23: error: ‘int4’ has not been declared 119 | void setContextWord(int4 i,uintm val,uintm mask) { context[i] = (context[i]&(~mask))|(mask&val); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:25:3: error: ‘highest’ was not declared in this scope 25 | highest = calc_mask(addressSize); // Maximum address | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:232:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 232 | uint4 wordsize; ///< What size unit does the pointer address | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:119:30: error: ‘uintm’ has not been declared 119 | void setContextWord(int4 i,uintm val,uintm mask) { context[i] = (context[i]&(~mask))|(mask&val); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:119:40: error: ‘uintm’ has not been declared 119 | void setContextWord(int4 i,uintm val,uintm mask) { context[i] = (context[i]&(~mask))|(mask&val); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:313:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 313 | mutable uintb first; ///< Starting offset of the current valid range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:240:19: error: expected ‘)’ before ‘s’ 240 | TypePointer(int4 s,Datatype *pt,uint4 ws) : Datatype(s,TYPE_PTR) { ptrto = pt; flags = ptrto->getInheritable(); wordsize=ws; } | ~ ^~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:273:3: error: ‘int4’ does not name a type; did you mean ‘int’? 273 | int4 size; ///< Number of words in a context blob (for this architecture) | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:235:69: error: ‘wordsize’ was not declared in this scope 235 | TypePointer(void) : Datatype(0,TYPE_PTR) { ptrto = (Datatype *)0; wordsize=1; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:97:3: error: ‘uint1’ does not name a type; did you mean ‘uint’? 97 | uint1 *getBuffer(void) { return buf; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:98:19: error: ‘int4’ has not been declared 98 | void initialize(int4 maxstate,int4 maxparam,AddrSpace *spc); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:40:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 40 | uint4 offset_size; // Size of pointer | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:98:33: error: ‘int4’ has not been declared 98 | void initialize(int4 maxstate,int4 maxparam,AddrSpace *spc); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:258:3: error: ‘int4’ does not name a type; did you mean ‘int’? 258 | int4 arraysize; ///< Number of elements in the array | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:121:3: error: ‘int4’ does not name a type; did you mean ‘int’? 121 | int4 getLength(void) const { return base_state->length; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:122:21: error: ‘int4’ has not been declared 122 | void setDelaySlot(int4 val) { delayslot = val; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:266:17: error: expected ‘)’ before ‘n’ 266 | TypeArray(int4 n,Datatype *ao) : Datatype(n*ao->getSize(),TYPE_ARRAY) { | ~ ^~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:49:5: error: ‘newval’ was not declared in this scope 49 | newval &= ~(mask< shortcut2Space; ///< Map from shortcut -> space | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:244:11: error: ‘int4’ does not name a type; did you mean ‘int’? 244 | virtual int4 numDepend(void) const { return 1; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:245:31: error: ‘int4’ has not been declared 245 | virtual Datatype *getDepend(int4 index) const { return ptrto; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:222:23: error: template argument 1 is invalid 222 | map shortcut2Space; ///< Map from shortcut -> space | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:321:39: error: ‘int4’ has not been declared 321 | void setContext(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:222:23: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:222:23: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:321:48: error: ‘uintm’ has not been declared 321 | void setContext(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:321:59: error: ‘uintm’ has not been declared 321 | void setContext(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:322:61: error: ‘int4’ has not been declared 322 | void setContext(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:322:70: error: ‘uintm’ has not been declared 322 | void setContext(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:322:81: error: ‘uintm’ has not been declared 322 | void setContext(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:115:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 115 | uintm getInstructionBytes(int4 byteoff,int4 numbytes,uint4 off) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: In constructor ‘ContextInternal::FreeArray::FreeArray()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:23: error: ‘size’ was not declared in this scope 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:37: error: missing template arguments before ‘=’ token 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:273:11: error: ‘int4’ does not name a type; did you mean ‘int’? 273 | virtual int4 numDepend(void) const { return 1; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:274:31: error: ‘int4’ has not been declared 274 | virtual Datatype *getDepend(int4 index) const { return arrayof; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:247:11: error: ‘int4’ does not name a type; did you mean ‘int’? 247 | virtual int4 compare(const Datatype &op,int4 level) const; // For tree structure | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:231:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 231 | uintb joinallocate; ///< Next offset to be allocated in join space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:116:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 116 | uintm getContextBytes(int4 byteoff,int4 numbytes) const; | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh:19, from src/decompile/cpp/pcodeparse.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:24:3: error: ‘int4’ does not name a type; did you mean ‘int’? 24 | int4 size; // Number of bytes in token; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:49:17: error: ‘mask’ was not declared in this scope 49 | newval &= ~(mask<length; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:122:21: error: ‘int4’ has not been declared 122 | void setDelaySlot(int4 val) { delayslot = val; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:29:3: error: ‘int4’ does not name a type; did you mean ‘int’? 29 | int4 getSize(void) const { return size; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:123:3: error: ‘int4’ does not name a type; did you mean ‘int’? 123 | int4 getDelaySlot(void) const { return delayslot; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:31:3: error: ‘int4’ does not name a type; did you mean ‘int’? 31 | int4 getIndex(void) const { return index; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:49:23: error: ‘shift’ was not declared in this scope 49 | newval &= ~(mask<getSize(),TYPE_ARRAY) { | ~ ^~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:49: error: expected primary-expression before ‘)’ token 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:50: error: expected ‘)’ before numeric constant 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:29: note: to match this ‘(’ 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:63: error: type ‘’ argument given to ‘delete’, expected pointer 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:52:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 52 | uint4 offset; // Absolute offset (from start of instruction) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:26:23: error: ‘wordsize’ was not declared in this scope 26 | highest = highest * wordsize + (wordsize-1); // Maximum byte address | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:59:3: error: ‘int4’ does not name a type; did you mean ‘int’? 59 | int4 num; // Number of context word affected | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:269:3: error: ‘int4’ does not name a type; did you mean ‘int’? 269 | int4 numElements(void) const { return arraysize; } ///< Get the number of elements | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:270:25: error: ‘int4’ has not been declared 270 | Datatype *getSubEntry(int4 off,int4 sz,int4 *newoff,int4 *el) const; ///< Figure out what a byte range overlaps | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:51: error: ‘mask’ was not declared in this scope 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:270:34: error: ‘int4’ has not been declared 270 | Datatype *getSubEntry(int4 off,int4 sz,int4 *newoff,int4 *el) const; ///< Figure out what a byte range overlaps | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:270:42: error: ‘int4’ has not been declared 270 | Datatype *getSubEntry(int4 off,int4 sz,int4 *newoff,int4 *el) const; ///< Figure out what a byte range overlaps | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:66: error: expected primary-expression before ‘)’ token 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:270:55: error: ‘int4’ has not been declared 270 | Datatype *getSubEntry(int4 off,int4 sz,int4 *newoff,int4 *el) const; ///< Figure out what a byte range overlaps | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:272:32: error: ‘uintb’ has not been declared 272 | virtual Datatype *getSubType(uintb off,uintb *newoff) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:272:42: error: ‘uintb’ has not been declared 272 | virtual Datatype *getSubType(uintb off,uintb *newoff) const; | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:235:69: error: ‘wordsize’ was not declared in this scope 235 | TypePointer(void) : Datatype(0,TYPE_PTR) { ptrto = (Datatype *)0; wordsize=1; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:60:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 60 | uintm mask; // Bits within word affected | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:51:9: error: ‘word’ was not declared in this scope 51 | vec[word] = newval; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In constructor ‘Token::Token(const string&, int, bool, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:28:65: error: ‘size’ was not declared in this scope 28 | Token(const string &nm,int4 sz,bool be,int4 ind) : name(nm) { size = sz; bigendian=be; index = ind; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In destructor ‘ParserContext::~ParserContext()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:30: error: ‘context’ was not declared in this scope 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:28:98: error: overloaded function with no contextual type information 28 | Token(const string &nm,int4 sz,bool be,int4 ind) : name(nm) { size = sz; bigendian=be; index = ind; } | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:273:11: error: ‘int4’ does not name a type; did you mean ‘int’? 273 | virtual int4 numDepend(void) const { return 1; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:274:31: error: ‘int4’ has not been declared 274 | virtual Datatype *getDepend(int4 index) const { return arrayof; } | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:261:46: error: ‘arraysize’ was not declared in this scope 261 | TypeArray(void) : Datatype(0,TYPE_ARRAY) { arraysize = 0; arrayof = (Datatype *)0; } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:61:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 61 | uintm value; // New setting for bits | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:70:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 70 | uintb val; ///< The value of the register | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:276:11: error: ‘int4’ does not name a type; did you mean ‘int’? 276 | virtual int4 compare(const Datatype &op,int4 level) const; // For tree structure | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:78:3: error: ‘int4’ does not name a type; did you mean ‘int’? 78 | int4 parsestate; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:37:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 37 | uint4 size; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:80:3: error: ‘uint1’ does not name a type; did you mean ‘uint’? 80 | uint1 buf[16]; // Buffer of bytes in the instruction stream | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:277:11: error: ‘int4’ does not name a type; did you mean ‘int’? 277 | virtual int4 compareDependency(const Datatype &op) const; // For tree structure | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: In destructor ‘ContextInternal::FreeArray::~FreeArray()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:268:28: error: ‘size’ was not declared in this scope 268 | ~FreeArray(void) { if (size!=0) { delete [] array; delete [] mask; } } ///< Destructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:268:54: error: missing template arguments before ‘;’ token 268 | ~FreeArray(void) { if (size!=0) { delete [] array; delete [] mask; } } ///< Destructor | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserContext::setParserState(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:100:34: error: ‘parsestate’ was not declared in this scope; did you mean ‘base_state’? 100 | void setParserState(int4 st) { parsestate = st; } | ^~~~~~~~~~ | base_state /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In constructor ‘TypeArray::TypeArray()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:261:42: error: no matching function for call to ‘Datatype::Datatype(int, type_metatype)’ 261 | TypeArray(void) : Datatype(0,TYPE_ARRAY) { arraysize = 0; arrayof = (Datatype *)0; } | ^ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:93:3: note: candidate: ‘Datatype::Datatype(const Datatype&)’ 93 | Datatype(const Datatype &op) { size = op.size; name=op.name; metatype=op.metatype; flags=op.flags; id=op.id; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:39:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 39 | uintb offset_offset; // Either static offset or ptr offset | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:93:3: note: candidate expects 1 argument, 2 provided /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:81:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 81 | uintm *context; // Pointer to local context | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:42: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:49: error: expected primary-expression before ‘)’ token 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:50: error: expected ‘)’ before numeric constant 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:29: note: to match this ‘(’ 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:63: error: type ‘’ argument given to ‘delete’, expected pointer 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:82:3: error: ‘int4’ does not name a type; did you mean ‘int’? 82 | int4 contextsize; // Number of entries in context array | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:40:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 40 | uint4 offset_size; // Size of pointer | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 1 is invalid 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:42:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 42 | uintb temp_offset; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In copy constructor ‘TypePointer::TypePointer(const TypePointer&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:238:73: error: ‘wordsize’ was not declared in this scope 238 | TypePointer(const TypePointer &op) : Datatype(op) { ptrto = op.ptrto; wordsize=op.wordsize; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:237:28: error: ‘int4’ has not been declared 237 | void setDefaultCodeSpace(int4 index); ///< Set the default address space (for code) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:27:3: error: ‘pointerUpperBound’ was not declared in this scope 27 | pointerUpperBound = highest; | ^~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:238:28: error: ‘int4’ has not been declared 238 | void setDefaultDataSpace(int4 index); ///< Set the default address space for data | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:238:85: error: ‘const class TypePointer’ has no member named ‘wordsize’ 238 | TypePointer(const TypePointer &op) : Datatype(op) { ptrto = op.ptrto; wordsize=op.wordsize; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:241:40: error: ‘int4’ has not been declared 241 | void markNearPointers(AddrSpace *spc,int4 size); ///< Mark that given space can be accessed with near pointers | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:41:22: error: ‘uint4’ has not been declared 41 | uint4 size,uint4 ws, int4 ind,uint4 fl,int4 dl) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:41:33: error: ‘uint4’ has not been declared 41 | uint4 size,uint4 ws, int4 ind,uint4 fl,int4 dl) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:41:43: error: ‘int4’ has not been declared 41 | uint4 size,uint4 ws, int4 ind,uint4 fl,int4 dl) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:244:81: error: ‘int4’ has not been declared 244 | void addSpacebasePointer(SpacebaseSpace *basespace,const VarnodeData &ptrdata,int4 truncSize,bool stackGrowth); ///< Set the base register of a spacebase space | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:41:52: error: ‘uint4’ has not been declared 41 | uint4 size,uint4 ws, int4 ind,uint4 fl,int4 dl) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:41:61: error: ‘int4’ has not been declared 41 | uint4 size,uint4 ws, int4 ind,uint4 fl,int4 dl) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:247:32: error: ‘uintb’ has not been declared 247 | JoinRecord *findJoinInternal(uintb offset) const; ///< Find JoinRecord for \e offset in the join space | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:268:66: error: ‘mask’ was not declared in this scope 268 | ~FreeArray(void) { if (size!=0) { delete [] array; delete [] mask; } } ///< Destructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In copy constructor ‘TypeArray::TypeArray(const TypeArray&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:264:73: error: ‘arraysize’ was not declared in this scope 264 | TypeArray(const TypeArray &op) : Datatype(op) { arrayof = op.arrayof; arraysize = op.arraysize; } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:264:88: error: ‘const class TypeArray’ has no member named ‘arraysize’ 264 | TypeArray(const TypeArray &op) : Datatype(op) { arrayof = op.arrayof; arraysize = op.arraysize; } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:251:3: error: ‘int4’ does not name a type; did you mean ‘int’? 251 | int4 getDefaultSize(void) const; ///< Get size of addresses for the default space | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 1 is invalid 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:262:23: error: ‘uintb’ has not been declared 262 | Address getConstant(uintb val) const; ///< Get a constant encoded as an Address | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:264:42: error: ‘uintb’ has not been declared 264 | Address resolveConstant(AddrSpace *spc,uintb val,int4 sz,const Address &point,uintb &fullEncoding) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserContext::setContextWord(int, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:119:54: error: ‘context’ was not declared in this scope 119 | void setContextWord(int4 i,uintm val,uintm mask) { context[i] = (context[i]&(~mask))|(mask&val); } | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:264:52: error: ‘int4’ has not been declared 264 | Address resolveConstant(AddrSpace *spc,uintb val,int4 sz,const Address &point,uintb &fullEncoding) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:264:81: error: ‘uintb’ has not been declared 264 | Address resolveConstant(AddrSpace *spc,uintb val,int4 sz,const Address &point,uintb &fullEncoding) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:258:3: error: ‘int4’ does not name a type; did you mean ‘int’? 258 | int4 arraysize; ///< Number of elements in the array | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:261:46: error: ‘arraysize’ was not declared in this scope 261 | TypeArray(void) : Datatype(0,TYPE_ARRAY) { arraysize = 0; arrayof = (Datatype *)0; } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:266:17: error: expected ‘)’ before ‘n’ 266 | TypeArray(int4 n,Datatype *ao) : Datatype(n*ao->getSize(),TYPE_ARRAY) { | ~ ^~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserContext::setParserState(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:100:34: error: ‘parsestate’ was not declared in this scope; did you mean ‘base_state’? 100 | void setParserState(int4 st) { parsestate = st; } | ^~~~~~~~~~ | base_state /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:265:3: error: ‘int4’ does not name a type; did you mean ‘int’? 265 | int4 numSpaces(void) const; ///< Get the number of address spaces for this processor | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:266:23: error: ‘int4’ has not been declared 266 | AddrSpace *getSpace(int4 i) const; ///< Get an address space via its index | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:269:3: error: ‘int4’ does not name a type; did you mean ‘int’? 269 | int4 numElements(void) const { return arraysize; } ///< Get the number of elements | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:270:25: error: ‘int4’ has not been declared 270 | Datatype *getSubEntry(int4 off,int4 sz,int4 *newoff,int4 *el) const; ///< Figure out what a byte range overlaps | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:270:34: error: ‘int4’ has not been declared 270 | Datatype *getSubEntry(int4 off,int4 sz,int4 *newoff,int4 *el) const; ///< Figure out what a byte range overlaps | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:268:61: error: ‘uint4’ has not been declared 268 | JoinRecord *findAddJoin(const vector &pieces,uint4 logicalsize); ///< Get (or create) JoinRecord for \e pieces | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:270:42: error: ‘int4’ has not been declared 270 | Datatype *getSubEntry(int4 off,int4 sz,int4 *newoff,int4 *el) const; ///< Figure out what a byte range overlaps | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:270:55: error: ‘int4’ has not been declared 270 | Datatype *getSubEntry(int4 off,int4 sz,int4 *newoff,int4 *el) const; ///< Figure out what a byte range overlaps | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:269:24: error: ‘uintb’ has not been declared 269 | JoinRecord *findJoin(uintb offset) const; ///< Find JoinRecord for \e offset in the join space | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:270:40: error: ‘int4’ has not been declared 270 | void setDeadcodeDelay(AddrSpace *spc,int4 delaydelta); ///< Set the deadcodedelay for a specific space | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 1 is invalid 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:272:32: error: ‘uintb’ has not been declared 272 | virtual Datatype *getSubType(uintb off,uintb *newoff) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:272:42: error: ‘uintb’ has not been declared 272 | virtual Datatype *getSubType(uintb off,uintb *newoff) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:274:66: error: ‘int4’ has not been declared 274 | Address constructFloatExtensionAddress(const Address &realaddr,int4 realsize,int4 logicalsize); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:32: error: ‘vector’ is not a type 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:274:80: error: ‘int4’ has not been declared 274 | Address constructFloatExtensionAddress(const Address &realaddr,int4 realsize,int4 logicalsize); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:38: error: expected ‘,’ or ‘...’ before ‘<’ token 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:277:81: error: ‘int4’ has not been declared 277 | Address constructJoinAddress(const Translate *translate,const Address &hiaddr,int4 hisz,const Address &loaddr,int4 losz); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:277:113: error: ‘int4’ has not been declared 277 | Address constructJoinAddress(const Translate *translate,const Address &hiaddr,int4 hisz,const Address &loaddr,int4 losz); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:280:45: error: ‘int4’ has not been declared 280 | void renormalizeJoinAddress(Address &addr,int4 size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc: In constructor ‘AddrSpace::AddrSpace(AddrSpaceManager*, const Translate*, spacetype, const string&, int, int, int, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:43:3: error: ‘refcount’ was not declared in this scope 43 | refcount = 0; // No references to this space yet | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:289:7: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 289 | map namemap; ///< Map from integer to name | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:289:19: error: template argument 1 is invalid 289 | map namemap; ///< Map from integer to name | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:289:19: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:289:19: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:273:11: error: ‘int4’ does not name a type; did you mean ‘int’? 273 | virtual int4 numDepend(void) const { return 1; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:274:31: error: ‘int4’ has not been declared 274 | virtual Datatype *getDepend(int4 index) const { return arrayof; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserContext::loadContext()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:120:55: error: ‘context’ was not declared in this scope 120 | void loadContext(void) { contcache->getContext(addr,context); } | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:296:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 296 | uintm unique_base; ///< Starting offset into unique space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:51:3: error: ‘int4’ does not name a type; did you mean ‘int’? 51 | int4 length; // Length of this instantiation of the constructor | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:276:11: error: ‘int4’ does not name a type; did you mean ‘int’? 276 | virtual int4 compare(const Datatype &op,int4 level) const; // For tree structure | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:298:3: error: ‘int4’ does not name a type; did you mean ‘int’? 298 | int4 alignment; ///< Byte modulo on which instructions are aligned | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 1 is invalid 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:52:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 52 | uint4 offset; // Absolute offset (from start of instruction) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserContext::setContextWord(int, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:119:54: error: ‘context’ was not declared in this scope 119 | void setContextWord(int4 i,uintm val,uintm mask) { context[i] = (context[i]&(~mask))|(mask&val); } | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:277:11: error: ‘int4’ does not name a type; did you mean ‘int’? 277 | virtual int4 compareDependency(const Datatype &op) const; // For tree structure | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In copy constructor ‘TypeArray::TypeArray(const TypeArray&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:264:73: error: ‘arraysize’ was not declared in this scope 264 | TypeArray(const TypeArray &op) : Datatype(op) { arrayof = op.arrayof; arraysize = op.arraysize; } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:264:88: error: ‘const class TypeArray’ has no member named ‘arraysize’ 264 | TypeArray(const TypeArray &op) : Datatype(op) { arrayof = op.arrayof; arraysize = op.arraysize; } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In constructor ‘TypeArray::TypeArray()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:261:42: error: no matching function for call to ‘Datatype::Datatype(int, type_metatype)’ 261 | TypeArray(void) : Datatype(0,TYPE_ARRAY) { arraysize = 0; arrayof = (Datatype *)0; } | ^ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:93:3: note: candidate: ‘Datatype::Datatype(const Datatype&)’ 93 | Datatype(const Datatype &op) { size = op.size; name=op.name; metatype=op.metatype; flags=op.flags; id=op.id; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:93:3: note: candidate expects 1 argument, 2 provided /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:290:10: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 290 | vector masklist; ///< Masks for each bitfield within the enum | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:59:3: error: ‘int4’ does not name a type; did you mean ‘int’? 59 | int4 num; // Number of context word affected | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:290:15: error: template argument 1 is invalid 290 | vector masklist; ///< Masks for each bitfield within the enum | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:290:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:60:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 60 | uintm mask; // Bits within word affected | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:90:3: error: ‘int4’ does not name a type; did you mean ‘int’? 90 | int4 alloc; // Number of ConstructState's allocated | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 1 is invalid 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:61:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 61 | uintm value; // New setting for bits | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:48:3: error: ‘addressSize’ was not declared in this scope 48 | addressSize = size; | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserContext::setDelaySlot(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:122:33: error: ‘delayslot’ was not declared in this scope; did you mean ‘setDelaySlot’? 122 | void setDelaySlot(int4 val) { delayslot = val; } | ^~~~~~~~~ | setDelaySlot /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:91:3: error: ‘int4’ does not name a type; did you mean ‘int’? 91 | int4 delayslot; // delayslot depth | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:78:3: error: ‘int4’ does not name a type; did you mean ‘int’? 78 | int4 parsestate; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:291:29: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 291 | void setNameMap(const map &nmap); ///< Establish the value -> name map | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:291:41: error: template argument 1 is invalid 291 | void setNameMap(const map &nmap); ///< Establish the value -> name map | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:291:41: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:291:41: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:297:16: error: expected ‘)’ before ‘s’ 297 | TypeEnum(int4 s,type_metatype m) : TypeBase(s,m) { flags |= enumtype; } | ~ ^~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:131:3: error: ‘int4’ does not name a type; did you mean ‘int’? 131 | int4 depth; // Depth of the current node | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:299:16: error: expected ‘)’ before ‘s’ 299 | TypeEnum(int4 s,type_metatype m,const string &nm) : TypeBase(s,m,nm) { flags |= enumtype; } | ~ ^~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:97:3: error: ‘uint1’ does not name a type; did you mean ‘uint’? 97 | uint1 *getBuffer(void) { return buf; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:98:19: error: ‘int4’ has not been declared 98 | void initialize(int4 maxstate,int4 maxparam,AddrSpace *spc); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserContext::loadContext()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:120:55: error: ‘context’ was not declared in this scope 120 | void loadContext(void) { contcache->getContext(addr,context); } | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:98:33: error: ‘int4’ has not been declared 98 | void initialize(int4 maxstate,int4 maxparam,AddrSpace *spc); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:80:3: error: ‘uint1’ does not name a type; did you mean ‘uint’? 80 | uint1 buf[16]; // Buffer of bytes in the instruction stream | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:289:7: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 289 | map namemap; ///< Map from integer to name | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:289:19: error: template argument 1 is invalid 289 | map namemap; ///< Map from integer to name | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:289:19: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:289:19: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:302:22: error: ‘uintm’ has not been declared 302 | void setUniqueBase(uintm val); ///< Set the base offset for new temporary registers | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:307:37: error: ‘int4’ has not been declared 307 | const FloatFormat *getFloatFormat(int4 size) const; ///< Get format for a particular floating point encoding | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 1 is invalid 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:132:3: error: ‘int4’ does not name a type; did you mean ‘int’? 132 | int4 breadcrumb[32]; // Path of operands from root | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:39: error: ‘vector’ is not a type 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:45: error: expected ‘,’ or ‘...’ before ‘<’ token 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:81:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 81 | uintm *context; // Pointer to local context | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:99:3: error: ‘int4’ does not name a type; did you mean ‘int’? 99 | int4 getParserState(void) const { return parsestate; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:100:23: error: ‘int4’ has not been declared 100 | void setParserState(int4 st) { parsestate = st; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:138:42: error: ‘int4’ has not been declared 138 | void setOutOfBandState(Constructor *ct,int4 index,ConstructState *tempstate,const ParserWalker &otherwalker); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:102:24: error: ‘int4’ has not been declared 102 | void allocateOperand(int4 i,ParserWalkerChange &walker); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:140:20: error: ‘int4’ has not been declared 140 | void pushOperand(int4 i) { breadcrumb[depth++] = i+1; point = point->resolve[i]; breadcrumb[depth] = 0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:106:36: error: ‘int4’ has not been declared 106 | void addCommit(TripleSymbol *sym,int4 num,uintm mask,bool flow,ConstructState *point); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:106:45: error: ‘uintm’ has not been declared 106 | void addCommit(TripleSymbol *sym,int4 num,uintm mask,bool flow,ConstructState *point); | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:261:46: error: ‘arraysize’ was not declared in this scope 261 | TypeArray(void) : Datatype(0,TYPE_ARRAY) { arraysize = 0; arrayof = (Datatype *)0; } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:82:3: error: ‘int4’ does not name a type; did you mean ‘int’? 82 | int4 contextsize; // Number of entries in context array | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:158:11: error: ‘uintm’ does not name a type; did you mean ‘uint’? 158 | virtual uintm *getDefaultValue(void)=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:308:3: error: ‘int4’ does not name a type; did you mean ‘int’? 308 | int4 getAlignment(void) const; ///< Get the instruction alignment for the processor | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:142:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 142 | uint4 getOffset(int4 i) const { if (i<0) return point->offset; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:115:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 115 | uintm getInstructionBytes(int4 byteoff,int4 numbytes,uint4 off) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:165:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 165 | virtual const uintm *getDefaultValue(void) const=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:145:3: error: ‘int4’ does not name a type; did you mean ‘int’? 145 | int4 getOperand(void) const { return breadcrumb[depth]; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:147:37: error: ‘int4’ has not been declared 147 | const FixedHandle &getFixedHandle(int4 i) const { return point->resolve[i]->hand; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:300:7: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 300 | map::const_iterator beginEnum(void) const { return namemap.begin(); } ///< Beginning of name map | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:300:19: error: template argument 1 is invalid 300 | map::const_iterator beginEnum(void) const { return namemap.begin(); } ///< Beginning of name map | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:300:19: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:300:19: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:116:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 116 | uintm getContextBytes(int4 byteoff,int4 numbytes) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:300:22: error: expected ‘;’ at end of member declaration 300 | map::const_iterator beginEnum(void) const { return namemap.begin(); } ///< Beginning of name map | ^~~~~~~~~~~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:309:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 309 | uintm getUniqueBase(void) const; ///< Get the base offset for new temporary registers | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:300:37: error: ISO C++ forbids declaration of ‘beginEnum’ with no type [-fpermissive] 300 | map::const_iterator beginEnum(void) const { return namemap.begin(); } ///< Beginning of name map | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:328:51: error: ‘int4’ has not been declared 328 | virtual void registerContext(const string &name,int4 sbit,int4 ebit) {} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:328:61: error: ‘int4’ has not been declared 328 | virtual void registerContext(const string &name,int4 sbit,int4 ebit) {} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:49:3: error: ‘wordsize’ was not declared in this scope 49 | wordsize = ws; | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:337:53: error: ‘uintm’ has not been declared 337 | virtual void setContextDefault(const string &name,uintm val) {} | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:290:10: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 290 | vector masklist; ///< Masks for each bitfield within the enum | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:357:61: error: ‘uintb’ has not been declared 357 | virtual void addRegister(const string &nm,AddrSpace *base,uintb offset,int4 size)=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:50:11: error: overloaded function with no contextual type information 50 | index = ind; | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:290:15: error: template argument 1 is invalid 290 | vector masklist; ///< Masks for each bitfield within the enum | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:172:11: error: ‘int4’ does not name a type; did you mean ‘int’? 172 | virtual int4 getContextSize(void) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:357:74: error: ‘int4’ has not been declared 357 | virtual void addRegister(const string &nm,AddrSpace *base,uintb offset,int4 size)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:290:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:183:50: error: ‘int4’ has not been declared 183 | virtual void registerVariable(const string &nm,int4 sbit,int4 ebit)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:183:60: error: ‘int4’ has not been declared 183 | virtual void registerVariable(const string &nm,int4 sbit,int4 ebit)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:376:50: error: ‘uintb’ has not been declared 376 | virtual string getRegisterName(AddrSpace *base,uintb off,int4 size) const=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:376:60: error: ‘int4’ has not been declared 376 | virtual string getRegisterName(AddrSpace *base,uintb off,int4 size) const=0; | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:154:3: error: ‘int4’ does not name a type; did you mean ‘int’? 154 | int4 getLength(void) const { return const_context->getLength(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:117:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 117 | uintm getInstructionBits(int4 startbit,int4 size,uint4 off) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:155:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 155 | uintm getInstructionBytes(int4 byteoff,int4 numbytes) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:189:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 189 | virtual const uintm *getContext(const Address &addr) const=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:118:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 118 | uintm getContextBits(int4 startbit,int4 size) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:119:23: error: ‘int4’ has not been declared 119 | void setContextWord(int4 i,uintm val,uintm mask) { context[i] = (context[i]&(~mask))|(mask&val); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:119:30: error: ‘uintm’ has not been declared 119 | void setContextWord(int4 i,uintm val,uintm mask) { context[i] = (context[i]&(~mask))|(mask&val); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:119:40: error: ‘uintm’ has not been declared 119 | void setContextWord(int4 i,uintm val,uintm mask) { context[i] = (context[i]&(~mask))|(mask&val); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:403:11: error: ‘int4’ does not name a type; did you mean ‘int’? 403 | virtual int4 instructionLength(const Address &baseaddr) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:157:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 157 | uintm getContextBytes(int4 byteoff,int4 numbytes) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:277:57: error: ‘uintm’ does not name a type; did you mean ‘uint’? 277 | void saveContext(ostream &s,const Address &addr,const uintm *vec) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:199:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 199 | virtual const uintm *getContext(const Address &addr,uintb &first,uintb &last) const=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:121:3: error: ‘int4’ does not name a type; did you mean ‘int’? 121 | int4 getLength(void) const { return base_state->length; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:122:21: error: ‘int4’ has not been declared 122 | void setDelaySlot(int4 val) { delayslot = val; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:240:44: error: ‘uintm’ has not been declared 240 | void setVariableDefault(const string &nm,uintm val); ///< Provide a default value for a context variable | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserContext::setDelaySlot(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:122:33: error: ‘delayslot’ was not declared in this scope; did you mean ‘setDelaySlot’? 122 | void setDelaySlot(int4 val) { delayslot = val; } | ^~~~~~~~~ | setDelaySlot /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:418:11: error: ‘int4’ does not name a type; did you mean ‘int’? 418 | virtual int4 oneInstruction(PcodeEmit &emit,const Address &baseaddr) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:159:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 159 | uintm getInstructionBits(int4 startbit,int4 size) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:123:3: error: ‘int4’ does not name a type; did you mean ‘int’? 123 | int4 getDelaySlot(void) const { return delayslot; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:301:7: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 301 | map::const_iterator endEnum(void) const { return namemap.end(); } ///< End of name map | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:301:19: error: template argument 1 is invalid 301 | map::const_iterator endEnum(void) const { return namemap.end(); } ///< End of name map | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:241:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 241 | uintm getDefaultValue(const string &nm) const; ///< Retrieve the default value for a context variable | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:301:19: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:301:19: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:242:57: error: ‘uintm’ has not been declared 242 | void setVariable(const string &nm,const Address &addr,uintm value); ///< Set a context value at the given address | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:301:22: error: expected ‘;’ at end of member declaration 301 | map::const_iterator endEnum(void) const { return namemap.end(); } ///< End of name map | ^~~~~~~~~~~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:301:22: error: redeclaration of ‘int TypeEnum::const_iterator’ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:300:22: note: previous declaration ‘int TypeEnum::const_iterator’ 300 | map::const_iterator beginEnum(void) const { return namemap.begin(); } ///< Beginning of name map | ^~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:301:37: error: ISO C++ forbids declaration of ‘endEnum’ with no type [-fpermissive] 301 | map::const_iterator endEnum(void) const { return namemap.end(); } ///< End of name map | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:161:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 161 | uintm getContextBits(int4 startbit,int4 size) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:291:29: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 291 | void setNameMap(const map &nmap); ///< Establish the value -> name map | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:302:19: error: ‘uintb’ has not been declared 302 | bool getMatches(uintb val,vector &matchname) const; ///< Recover the named representation | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:291:41: error: template argument 1 is invalid 291 | void setNameMap(const map &nmap); ///< Establish the value -> name map | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:291:41: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:428:11: error: ‘int4’ does not name a type; did you mean ‘int’? 428 | virtual int4 printAssembly(AssemblyEmit &emit,const Address &baseaddr) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:291:41: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: In constructor ‘ContextInternal::ContextInternal()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:287:27: error: ‘size’ was not declared in this scope 287 | ContextInternal(void) { size = 0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:297:16: error: expected ‘)’ before ‘s’ 297 | TypeEnum(int4 s,type_metatype m) : TypeBase(s,m) { flags |= enumtype; } | ~ ^~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In copy constructor ‘TypeArray::TypeArray(const TypeArray&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:264:73: error: ‘arraysize’ was not declared in this scope 264 | TypeArray(const TypeArray &op) : Datatype(op) { arrayof = op.arrayof; arraysize = op.arraysize; } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:299:16: error: expected ‘)’ before ‘s’ 299 | TypeEnum(int4 s,type_metatype m,const string &nm) : TypeBase(s,m,nm) { flags |= enumtype; } | ~ ^~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:243:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 243 | uintm getVariable(const string &nm,const Address &addr) const; ///< Retrieve a context value at the given address | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:244:50: error: ‘int4’ has not been declared 244 | void setContextChangePoint(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:264:88: error: ‘const class TypeArray’ has no member named ‘arraysize’ 264 | TypeArray(const TypeArray &op) : Datatype(op) { arrayof = op.arrayof; arraysize = op.arraysize; } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:244:59: error: ‘uintm’ has not been declared 244 | void setContextChangePoint(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:51:3: error: ‘delay’ was not declared in this scope; did you mean ‘overlay’? 51 | delay = dl; | ^~~~~ | overlay /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:244:70: error: ‘uintm’ has not been declared 244 | void setContextChangePoint(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:245:67: error: ‘int4’ has not been declared 245 | void setContextRegion(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:245:76: error: ‘uintm’ has not been declared 245 | void setContextRegion(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:245:87: error: ‘uintm’ has not been declared 245 | void setContextRegion(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:247:47: error: ‘uintm’ has not been declared 247 | const Address &endad,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:131:3: error: ‘int4’ does not name a type; did you mean ‘int’? 131 | int4 depth; // Depth of the current node | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:303:11: error: ‘int4’ does not name a type; did you mean ‘int’? 303 | virtual int4 compare(const Datatype &op,int4 level) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:434:8: error: ‘int4’ does not name a type; did you mean ‘int’? 434 | inline int4 AddrSpaceManager::getDefaultSize(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:248:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 248 | uintb getTrackedValue(const VarnodeData &mem,const Address &point) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 1 is invalid 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:132:3: error: ‘int4’ does not name a type; did you mean ‘int’? 132 | int4 breadcrumb[32]; // Path of operands from root | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:518:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 518 | inline Address AddrSpaceManager::getConstant(uintb val) const { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:518:16: error: ‘Address AddrSpaceManager::getConstant’ is not a static data member of ‘class AddrSpaceManager’ 518 | inline Address AddrSpaceManager::getConstant(uintb val) const { | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:313:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 313 | mutable uintb first; ///< Starting offset of the current valid range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:138:42: error: ‘int4’ has not been declared 138 | void setOutOfBandState(Constructor *ct,int4 index,ConstructState *tempstate,const ParserWalker &otherwalker); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:140:20: error: ‘int4’ has not been declared 140 | void pushOperand(int4 i) { breadcrumb[depth++] = i+1; point = point->resolve[i]; breadcrumb[depth] = 0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:304:11: error: ‘int4’ does not name a type; did you mean ‘int’? 304 | virtual int4 compareDependency(const Datatype &op) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:264:5: error: ‘uintm’ does not name a type; did you mean ‘uint’? 264 | uintm *array; ///< The "array of words" holding context variable values | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:314:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 314 | mutable uintb last; ///< Ending offset of the current valid range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In member function ‘int TypeEnum::beginEnum() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:300:76: error: request for member ‘begin’ in ‘((const TypeEnum*)this)->TypeEnum::namemap’, which is of non-class type ‘const int’ 300 | map::const_iterator beginEnum(void) const { return namemap.begin(); } ///< Beginning of name map | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:300:7: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 300 | map::const_iterator beginEnum(void) const { return namemap.begin(); } ///< Beginning of name map | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In member function ‘int TypeEnum::endEnum() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:301:74: error: request for member ‘end’ in ‘((const TypeEnum*)this)->TypeEnum::namemap’, which is of non-class type ‘const int’ 301 | map::const_iterator endEnum(void) const { return namemap.end(); } ///< End of name map | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:300:19: error: template argument 1 is invalid 300 | map::const_iterator beginEnum(void) const { return namemap.begin(); } ///< Beginning of name map | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:300:19: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:300:19: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:300:22: error: expected ‘;’ at end of member declaration 300 | map::const_iterator beginEnum(void) const { return namemap.begin(); } ///< Beginning of name map | ^~~~~~~~~~~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:265:5: error: ‘uintm’ does not name a type; did you mean ‘uint’? 265 | uintm *mask; ///< The mask array indicating which variables are explicitly set | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:300:37: error: ISO C++ forbids declaration of ‘beginEnum’ with no type [-fpermissive] 300 | map::const_iterator beginEnum(void) const { return namemap.begin(); } ///< Beginning of name map | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:142:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 142 | uint4 getOffset(int4 i) const { if (i<0) return point->offset; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In destructor ‘ParserContext::~ParserContext()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:30: error: ‘context’ was not declared in this scope 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:315:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 315 | mutable const uintm *context; ///< The current cached context blob | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserWalker::baseState()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:137:61: error: ‘depth’ was not declared in this scope 137 | void baseState(void) { point = const_context->base_state; depth=0; breadcrumb[0] = 0; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:266:5: error: ‘int4’ does not name a type; did you mean ‘int’? 266 | int4 size; ///< The number of words in the array | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:320:39: error: ‘uintm’ has not been declared 320 | void getContext(const Address &addr,uintm *buf) const; ///< Retrieve the context blob for the given address | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:269:16: error: ‘int4’ has not been declared 269 | void reset(int4 sz); ///< Resize the context blob, preserving old values | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 1 is invalid 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:321:39: error: ‘int4’ has not been declared 321 | void setContext(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:321:48: error: ‘uintm’ has not been declared 321 | void setContext(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:321:59: error: ‘uintm’ has not been declared 321 | void setContext(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:322:61: error: ‘int4’ has not been declared 322 | void setContext(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:145:3: error: ‘int4’ does not name a type; did you mean ‘int’? 145 | int4 getOperand(void) const { return breadcrumb[depth]; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:322:70: error: ‘uintm’ has not been declared 322 | void setContext(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:322:81: error: ‘uintm’ has not been declared 322 | void setContext(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:147:37: error: ‘int4’ has not been declared 147 | const FixedHandle &getFixedHandle(int4 i) const { return point->resolve[i]->hand; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:289:7: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 289 | map namemap; ///< Map from integer to name | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:289:19: error: template argument 1 is invalid 289 | map namemap; ///< Map from integer to name | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:289:19: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:289:19: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:273:3: error: ‘int4’ does not name a type; did you mean ‘int’? 273 | int4 size; ///< Number of words in a context blob (for this architecture) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:518:46: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 518 | inline Address AddrSpaceManager::getConstant(uintb val) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:518:57: error: expected ‘,’ or ‘;’ before ‘const’ 518 | inline Address AddrSpaceManager::getConstant(uintb val) const { | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:154:3: error: ‘int4’ does not name a type; did you mean ‘int’? 154 | int4 getLength(void) const { return const_context->getLength(); } | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:24:3: error: ‘int4’ does not name a type; did you mean ‘int’? 24 | int4 size; // Number of bytes in token; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:155:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 155 | uintm getInstructionBytes(int4 byteoff,int4 numbytes) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:42: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:52:3: error: ‘deadcodedelay’ was not declared in this scope 52 | deadcodedelay = dl; // Deadcode delay initially starts the same as heritage delay | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:49: error: expected primary-expression before ‘)’ token 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:50: error: expected ‘)’ before numeric constant 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:29: note: to match this ‘(’ 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:301:7: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 301 | map::const_iterator endEnum(void) const { return namemap.end(); } ///< End of name map | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:25:3: error: ‘int4’ does not name a type; did you mean ‘int’? 25 | int4 index; // Index of this token, for resolving offsets | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:63: error: type ‘’ argument given to ‘delete’, expected pointer 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:301:19: error: template argument 1 is invalid 301 | map::const_iterator endEnum(void) const { return namemap.end(); } ///< End of name map | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:301:19: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:301:19: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:28:26: error: ‘int4’ has not been declared 28 | Token(const string &nm,int4 sz,bool be,int4 ind) : name(nm) { size = sz; bigendian=be; index = ind; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:301:22: error: expected ‘;’ at end of member declaration 301 | map::const_iterator endEnum(void) const { return namemap.end(); } ///< End of name map | ^~~~~~~~~~~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:28:42: error: ‘int4’ has not been declared 28 | Token(const string &nm,int4 sz,bool be,int4 ind) : name(nm) { size = sz; bigendian=be; index = ind; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:301:22: error: redeclaration of ‘int TypeEnum::const_iterator’ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:300:22: note: previous declaration ‘int TypeEnum::const_iterator’ 300 | map::const_iterator beginEnum(void) const { return namemap.begin(); } ///< Beginning of name map | ^~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:301:37: error: ISO C++ forbids declaration of ‘endEnum’ with no type [-fpermissive] 301 | map::const_iterator endEnum(void) const { return namemap.end(); } ///< End of name map | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:302:19: error: ‘uintb’ has not been declared 302 | bool getMatches(uintb val,vector &matchname) const; ///< Recover the named representation | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 1 is invalid 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:32: error: ‘vector’ is not a type 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:38: error: expected ‘,’ or ‘...’ before ‘<’ token 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:90:3: error: ‘int4’ does not name a type; did you mean ‘int’? 90 | int4 alloc; // Number of ConstructState's allocated | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:157:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 157 | uintm getContextBytes(int4 byteoff,int4 numbytes) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:29:3: error: ‘int4’ does not name a type; did you mean ‘int’? 29 | int4 getSize(void) const { return size; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:159:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 159 | uintm getInstructionBits(int4 startbit,int4 size) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:91:3: error: ‘int4’ does not name a type; did you mean ‘int’? 91 | int4 delayslot; // delayslot depth | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:303:11: error: ‘int4’ does not name a type; did you mean ‘int’? 303 | virtual int4 compare(const Datatype &op,int4 level) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:290:10: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 290 | vector masklist; ///< Masks for each bitfield within the enum | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:290:15: error: template argument 1 is invalid 290 | vector masklist; ///< Masks for each bitfield within the enum | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:290:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:31:3: error: ‘int4’ does not name a type; did you mean ‘int’? 31 | int4 getIndex(void) const { return index; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh: In member function ‘Address AddrSpaceManager::createConstFromSpace(AddrSpace*) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:529:33: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 529 | return Address(constantspace,(uintb)(uintp)spc); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:161:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 161 | uintm getContextBits(int4 startbit,int4 size) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:97:3: error: ‘uint1’ does not name a type; did you mean ‘uint’? 97 | uint1 *getBuffer(void) { return buf; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:98:19: error: ‘int4’ has not been declared 98 | void initialize(int4 maxstate,int4 maxparam,AddrSpace *spc); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:98:33: error: ‘int4’ has not been declared 98 | void initialize(int4 maxstate,int4 maxparam,AddrSpace *spc); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:304:11: error: ‘int4’ does not name a type; did you mean ‘int’? 304 | virtual int4 compareDependency(const Datatype &op) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:137:70: error: ‘breadcrumb’ was not declared in this scope 137 | void baseState(void) { point = const_context->base_state; depth=0; breadcrumb[0] = 0; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In member function ‘int TypeEnum::beginEnum() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:300:76: error: request for member ‘begin’ in ‘((const TypeEnum*)this)->TypeEnum::namemap’, which is of non-class type ‘const int’ 300 | map::const_iterator beginEnum(void) const { return namemap.begin(); } ///< Beginning of name map | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In member function ‘int TypeEnum::endEnum() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:301:74: error: request for member ‘end’ in ‘((const TypeEnum*)this)->TypeEnum::namemap’, which is of non-class type ‘const int’ 301 | map::const_iterator endEnum(void) const { return namemap.end(); } ///< End of name map | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:99:3: error: ‘int4’ does not name a type; did you mean ‘int’? 99 | int4 getParserState(void) const { return parsestate; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 1 is invalid 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:100:23: error: ‘int4’ has not been declared 100 | void setParserState(int4 st) { parsestate = st; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:102:24: error: ‘int4’ has not been declared 102 | void allocateOperand(int4 i,ParserWalkerChange &walker); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:106:36: error: ‘int4’ has not been declared 106 | void addCommit(TripleSymbol *sym,int4 num,uintm mask,bool flow,ConstructState *point); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:106:45: error: ‘uintm’ has not been declared 106 | void addCommit(TripleSymbol *sym,int4 num,uintm mask,bool flow,ConstructState *point); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:315:3: error: ‘int4’ does not name a type; did you mean ‘int’? 315 | int4 getFieldIter(int4 off) const; ///< Get index into field list | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:115:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 115 | uintm getInstructionBytes(int4 byteoff,int4 numbytes,uint4 off) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserContext::setParserState(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:100:34: error: ‘parsestate’ was not declared in this scope; did you mean ‘base_state’? 100 | void setParserState(int4 st) { parsestate = st; } | ^~~~~~~~~~ | base_state /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:291:29: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 291 | void setNameMap(const map &nmap); ///< Establish the value -> name map | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:529:40: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 529 | return Address(constantspace,(uintb)(uintp)spc); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:291:41: error: template argument 1 is invalid 291 | void setNameMap(const map &nmap); ///< Establish the value -> name map | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:291:41: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:291:41: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In constructor ‘Token::Token(const string&, int, bool, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:28:65: error: ‘size’ was not declared in this scope 28 | Token(const string &nm,int4 sz,bool be,int4 ind) : name(nm) { size = sz; bigendian=be; index = ind; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:297:16: error: expected ‘)’ before ‘s’ 297 | TypeEnum(int4 s,type_metatype m) : TypeBase(s,m) { flags |= enumtype; } | ~ ^~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:28:98: error: overloaded function with no contextual type information 28 | Token(const string &nm,int4 sz,bool be,int4 ind) : name(nm) { size = sz; bigendian=be; index = ind; } | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:299:16: error: expected ‘)’ before ‘s’ 299 | TypeEnum(int4 s,type_metatype m,const string &nm) : TypeBase(s,m,nm) { flags |= enumtype; } | ~ ^~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:116:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 116 | uintm getContextBytes(int4 byteoff,int4 numbytes) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:316:3: error: ‘int4’ does not name a type; did you mean ‘int’? 316 | int4 getLowerBoundField(int4 off) const; ///< Get index of last field before or equal to given offset | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:323:29: error: ‘int4’ has not been declared 323 | const TypeField *getField(int4 off,int4 sz,int4 *newoff) const; ///< Get field based on offset | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:536:8: error: ‘int4’ does not name a type; did you mean ‘int’? 536 | inline int4 AddrSpaceManager::numSpaces(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:323:38: error: ‘int4’ has not been declared 323 | const TypeField *getField(int4 off,int4 sz,int4 *newoff) const; ///< Get field based on offset | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:323:46: error: ‘int4’ has not been declared 323 | const TypeField *getField(int4 off,int4 sz,int4 *newoff) const; ///< Get field based on offset | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:545:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 545 | inline AddrSpace *AddrSpaceManager::getSpace(int4 i) const { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:545:19: error: ‘AddrSpace* AddrSpaceManager::getSpace’ is not a static data member of ‘class AddrSpaceManager’ 545 | inline AddrSpace *AddrSpaceManager::getSpace(int4 i) const { | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:324:32: error: ‘uintb’ has not been declared 324 | virtual Datatype *getSubType(uintb off,uintb *newoff) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:324:42: error: ‘uintb’ has not been declared 324 | virtual Datatype *getSubType(uintb off,uintb *newoff) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 1 is invalid 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:325:52: error: ‘uintb’ has not been declared 325 | virtual Datatype *nearestArrayedComponentForward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:325:62: error: ‘uintb’ has not been declared 325 | virtual Datatype *nearestArrayedComponentForward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:325:76: error: ‘int4’ has not been declared 325 | virtual Datatype *nearestArrayedComponentForward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:326:53: error: ‘uintb’ has not been declared 326 | virtual Datatype *nearestArrayedComponentBackward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:117:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 117 | uintm getInstructionBits(int4 startbit,int4 size,uint4 off) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:326:63: error: ‘uintb’ has not been declared 326 | virtual Datatype *nearestArrayedComponentBackward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserWalker::baseState()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:137:61: error: ‘depth’ was not declared in this scope 137 | void baseState(void) { point = const_context->base_state; depth=0; breadcrumb[0] = 0; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:326:77: error: ‘int4’ has not been declared 326 | virtual Datatype *nearestArrayedComponentBackward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:53:3: error: ‘minimumPointerSize’ was not declared in this scope 53 | minimumPointerSize = 0; // (initially) assume pointers must match the space size exactly | ^~~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:37:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 37 | uint4 size; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:118:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 118 | uintm getContextBits(int4 startbit,int4 size) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:119:23: error: ‘int4’ has not been declared 119 | void setContextWord(int4 i,uintm val,uintm mask) { context[i] = (context[i]&(~mask))|(mask&val); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:119:30: error: ‘uintm’ has not been declared 119 | void setContextWord(int4 i,uintm val,uintm mask) { context[i] = (context[i]&(~mask))|(mask&val); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:119:40: error: ‘uintm’ has not been declared 119 | void setContextWord(int4 i,uintm val,uintm mask) { context[i] = (context[i]&(~mask))|(mask&val); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:327:11: error: ‘int4’ does not name a type; did you mean ‘int’? 327 | virtual int4 numDepend(void) const { return field.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:328:31: error: ‘int4’ has not been declared 328 | virtual Datatype *getDepend(int4 index) const { return field[index].type; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:39:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 39 | uintb offset_offset; // Either static offset or ptr offset | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:121:3: error: ‘int4’ does not name a type; did you mean ‘int’? 121 | int4 getLength(void) const { return base_state->length; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:122:21: error: ‘int4’ has not been declared 122 | void setDelaySlot(int4 val) { delayslot = val; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserWalker::pushOperand(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:140:30: error: ‘breadcrumb’ was not declared in this scope 140 | void pushOperand(int4 i) { breadcrumb[depth++] = i+1; point = point->resolve[i]; breadcrumb[depth] = 0; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:300:7: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 300 | map::const_iterator beginEnum(void) const { return namemap.begin(); } ///< Beginning of name map | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:40:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 40 | uint4 offset_size; // Size of pointer | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:300:19: error: template argument 1 is invalid 300 | map::const_iterator beginEnum(void) const { return namemap.begin(); } ///< Beginning of name map | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:300:19: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:329:11: error: ‘int4’ does not name a type; did you mean ‘int’? 329 | virtual int4 compare(const Datatype &op,int4 level) const; // For tree structure | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:300:19: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:300:22: error: expected ‘;’ at end of member declaration 300 | map::const_iterator beginEnum(void) const { return namemap.begin(); } ///< Beginning of name map | ^~~~~~~~~~~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:123:3: error: ‘int4’ does not name a type; did you mean ‘int’? 123 | int4 getDelaySlot(void) const { return delayslot; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 1 is invalid 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:300:37: error: ISO C++ forbids declaration of ‘beginEnum’ with no type [-fpermissive] 300 | map::const_iterator beginEnum(void) const { return namemap.begin(); } ///< Beginning of name map | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:39: error: ‘vector’ is not a type 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:545:46: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 545 | inline AddrSpace *AddrSpaceManager::getSpace(int4 i) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:45: error: expected ‘,’ or ‘...’ before ‘<’ token 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:564:13: error: variable or field ‘setUniqueBase’ declared void 564 | inline void Translate::setUniqueBase(uintm val) { | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:42:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 42 | uintb temp_offset; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:330:11: error: ‘int4’ does not name a type; did you mean ‘int’? 330 | virtual int4 compareDependency(const Datatype &op) const; // For tree structure | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserContext::setContextWord(int, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:119:54: error: ‘context’ was not declared in this scope 119 | void setContextWord(int4 i,uintm val,uintm mask) { context[i] = (context[i]&(~mask))|(mask&val); } | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:284:11: error: ‘uintm’ does not name a type; did you mean ‘uint’? 284 | virtual uintm *getDefaultValue(void) { return database.defaultValue().array; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In constructor ‘TypeStruct::TypeStruct(const string&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:320:57: error: no matching function for call to ‘Datatype::Datatype(int, type_metatype, const string&)’ 320 | TypeStruct(const string &n) : Datatype(0,TYPE_STRUCT,n) {} ///< Construct empty TypeStruct from a name | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:57:3: error: ‘flags’ was not declared in this scope 57 | flags = (fl & hasphysical); | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:93:3: note: candidate: ‘Datatype::Datatype(const Datatype&)’ 93 | Datatype(const Datatype &op) { size = op.size; name=op.name; metatype=op.metatype; flags=op.flags; id=op.id; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:93:3: note: candidate expects 1 argument, 3 provided /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:315:3: error: ‘int4’ does not name a type; did you mean ‘int’? 315 | int4 getFieldIter(int4 off) const; ///< Get index into field list | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:285:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 285 | virtual const uintm *getDefaultValue(void) const { return database.defaultValue().array; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:564:38: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 564 | inline void Translate::setUniqueBase(uintm val) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:316:3: error: ‘int4’ does not name a type; did you mean ‘int’? 316 | int4 getLowerBoundField(int4 off) const; ///< Get index of last field before or equal to given offset | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:289:11: error: ‘int4’ does not name a type; did you mean ‘int’? 289 | virtual int4 getContextSize(void) const { return size; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:290:50: error: ‘int4’ has not been declared 290 | virtual void registerVariable(const string &nm,int4 sbit,int4 ebit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:290:60: error: ‘int4’ has not been declared 290 | virtual void registerVariable(const string &nm,int4 sbit,int4 ebit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:137:70: error: ‘breadcrumb’ was not declared in this scope 137 | void baseState(void) { point = const_context->base_state; depth=0; breadcrumb[0] = 0; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:323:29: error: ‘int4’ has not been declared 323 | const TypeField *getField(int4 off,int4 sz,int4 *newoff) const; ///< Get field based on offset | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:323:38: error: ‘int4’ has not been declared 323 | const TypeField *getField(int4 off,int4 sz,int4 *newoff) const; ///< Get field based on offset | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:323:46: error: ‘int4’ has not been declared 323 | const TypeField *getField(int4 off,int4 sz,int4 *newoff) const; ///< Get field based on offset | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:324:32: error: ‘uintb’ has not been declared 324 | virtual Datatype *getSubType(uintb off,uintb *newoff) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:324:42: error: ‘uintb’ has not been declared 324 | virtual Datatype *getSubType(uintb off,uintb *newoff) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:301:7: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 301 | map::const_iterator endEnum(void) const { return namemap.end(); } ///< End of name map | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:140:41: error: ‘depth’ was not declared in this scope 140 | void pushOperand(int4 i) { breadcrumb[depth++] = i+1; point = point->resolve[i]; breadcrumb[depth] = 0; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:582:8: error: ‘int4’ does not name a type; did you mean ‘int’? 582 | inline int4 Translate::getAlignment(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:325:52: error: ‘uintb’ has not been declared 325 | virtual Datatype *nearestArrayedComponentForward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:301:19: error: template argument 1 is invalid 301 | map::const_iterator endEnum(void) const { return namemap.end(); } ///< End of name map | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:325:62: error: ‘uintb’ has not been declared 325 | virtual Datatype *nearestArrayedComponentForward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:301:19: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:301:19: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:325:76: error: ‘int4’ has not been declared 325 | virtual Datatype *nearestArrayedComponentForward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:301:22: error: expected ‘;’ at end of member declaration 301 | map::const_iterator endEnum(void) const { return namemap.end(); } ///< End of name map | ^~~~~~~~~~~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:326:53: error: ‘uintb’ has not been declared 326 | virtual Datatype *nearestArrayedComponentBackward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:326:63: error: ‘uintb’ has not been declared 326 | virtual Datatype *nearestArrayedComponentBackward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:301:22: error: redeclaration of ‘int TypeEnum::const_iterator’ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:326:77: error: ‘int4’ has not been declared 326 | virtual Datatype *nearestArrayedComponentBackward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:300:22: note: previous declaration ‘int TypeEnum::const_iterator’ 300 | map::const_iterator beginEnum(void) const { return namemap.begin(); } ///< Beginning of name map | ^~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:301:37: error: ISO C++ forbids declaration of ‘endEnum’ with no type [-fpermissive] 301 | map::const_iterator endEnum(void) const { return namemap.end(); } ///< End of name map | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:302:19: error: ‘uintb’ has not been declared 302 | bool getMatches(uintb val,vector &matchname) const; ///< Recover the named representation | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:292:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 292 | virtual const uintm *getContext(const Address &addr) const { return database.getValue(addr).array; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:592:8: error: ‘uintm’ does not name a type; did you mean ‘uint’? 592 | inline uintm Translate::getUniqueBase(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:327:11: error: ‘int4’ does not name a type; did you mean ‘int’? 327 | virtual int4 numDepend(void) const { return field.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:293:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 293 | virtual const uintm *getContext(const Address &addr,uintb &first,uintb &last) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:328:31: error: ‘int4’ has not been declared 328 | virtual Datatype *getDepend(int4 index) const { return field[index].type; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In destructor ‘ParserContext::~ParserContext()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:30: error: ‘context’ was not declared in this scope 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:303:11: error: ‘int4’ does not name a type; did you mean ‘int’? 303 | virtual int4 compare(const Datatype &op,int4 level) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserContext::loadContext()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:120:55: error: ‘context’ was not declared in this scope 120 | void loadContext(void) { contcache->getContext(addr,context); } | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:329:11: error: ‘int4’ does not name a type; did you mean ‘int’? 329 | virtual int4 compare(const Datatype &op,int4 level) const; // For tree structure | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:330:11: error: ‘int4’ does not name a type; did you mean ‘int’? 330 | virtual int4 compareDependency(const Datatype &op) const; // For tree structure | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:304:11: error: ‘int4’ does not name a type; did you mean ‘int’? 304 | virtual int4 compareDependency(const Datatype &op) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In constructor ‘TypeStruct::TypeStruct(const string&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:320:57: error: no matching function for call to ‘Datatype::Datatype(int, type_metatype, const string&)’ 320 | TypeStruct(const string &n) : Datatype(0,TYPE_STRUCT,n) {} ///< Construct empty TypeStruct from a name | ^ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:93:3: note: candidate: ‘Datatype::Datatype(const Datatype&)’ 93 | Datatype(const Datatype &op) { size = op.size; name=op.name; metatype=op.metatype; flags=op.flags; id=op.id; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:93:3: note: candidate expects 1 argument, 3 provided /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In member function ‘int TypeEnum::beginEnum() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:300:76: error: request for member ‘begin’ in ‘((const TypeEnum*)this)->TypeEnum::namemap’, which is of non-class type ‘const int’ 300 | map::const_iterator beginEnum(void) const { return namemap.begin(); } ///< Beginning of name map | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc: In constructor ‘AddrSpace::AddrSpace(AddrSpaceManager*, const Translate*, spacetype)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:73:3: error: ‘refcount’ was not declared in this scope 73 | refcount = 0; | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In member function ‘int TypeEnum::endEnum() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:301:74: error: request for member ‘end’ in ‘((const TypeEnum*)this)->TypeEnum::namemap’, which is of non-class type ‘const int’ 301 | map::const_iterator endEnum(void) const { return namemap.end(); } ///< End of name map | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserWalker::popOperand()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:141:50: error: ‘depth’ was not declared in this scope 141 | void popOperand(void) { point = point->parent; depth-= 1; } | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:353:3: error: ‘int4’ does not name a type; did you mean ‘int’? 353 | int4 compareBasic(const TypeCode *op) const; ///< Compare surface characteristics of two TypeCodes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:358:32: error: ‘uintb’ has not been declared 358 | virtual Datatype *getSubType(uintb off,uintb *newoff) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:358:42: error: ‘uintb’ has not been declared 358 | virtual Datatype *getSubType(uintb off,uintb *newoff) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:42: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:49: error: expected primary-expression before ‘)’ token 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:51:3: error: ‘int4’ does not name a type; did you mean ‘int’? 51 | int4 length; // Length of this instantiation of the constructor | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:50: error: expected ‘)’ before numeric constant 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:29: note: to match this ‘(’ 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:63: error: type ‘’ argument given to ‘delete’, expected pointer 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: In constructor ‘ContextInternal::FreeArray::FreeArray()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:23: error: ‘size’ was not declared in this scope 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:37: error: missing template arguments before ‘=’ token 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:172:18: error: ‘uint4’ has not been declared 172 | void setOffset(uint4 off) { point->offset = off; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:174:25: error: ‘int4’ has not been declared 174 | void setCurrentLength(int4 len) { point->length = len; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:175:26: error: ‘int4’ has not been declared 175 | void calcCurrentLength(int4 length,int4 numopers); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserWalker::pushOperand(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:140:30: error: ‘breadcrumb’ was not declared in this scope 140 | void pushOperand(int4 i) { breadcrumb[depth++] = i+1; point = point->resolve[i]; breadcrumb[depth] = 0; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:175:38: error: ‘int4’ has not been declared 175 | void calcCurrentLength(int4 length,int4 numopers); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:359:11: error: ‘int4’ does not name a type; did you mean ‘int’? 359 | virtual int4 compare(const Datatype &op,int4 level) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:52:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 52 | uint4 offset; // Absolute offset (from start of instruction) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserWalkerChange::setOffset(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:172:38: error: ‘struct ConstructState’ has no member named ‘offset’ 172 | void setOffset(uint4 off) { point->offset = off; } | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserWalkerChange::setCurrentLength(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:174:44: error: ‘struct ConstructState’ has no member named ‘length’ 174 | void setCurrentLength(int4 len) { point->length = len; } | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:360:11: error: ‘int4’ does not name a type; did you mean ‘int’? 360 | virtual int4 compareDependency(const Datatype &op) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserContext::setDelaySlot(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:122:33: error: ‘delayslot’ was not declared in this scope; did you mean ‘setDelaySlot’? 122 | void setDelaySlot(int4 val) { delayslot = val; } | ^~~~~~~~~ | setDelaySlot /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:59:3: error: ‘int4’ does not name a type; did you mean ‘int’? 59 | int4 num; // Number of context word affected | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:77:3: error: ‘flags’ was not declared in this scope 77 | flags = (heritaged | does_deadcode); // Always on unless explicitly turned off in derived constructor | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:385:22: error: ‘uintb’ has not been declared 385 | Address getAddress(uintb off,int4 sz,const Address &point) const; ///< Construct an Address given an offset | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:385:32: error: ‘int4’ has not been declared 385 | Address getAddress(uintb off,int4 sz,const Address &point) const; ///< Construct an Address given an offset | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:60:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 60 | uintm mask; // Bits within word affected | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:386:32: error: ‘uintb’ has not been declared 386 | virtual Datatype *getSubType(uintb off,uintb *newoff) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:386:42: error: ‘uintb’ has not been declared 386 | virtual Datatype *getSubType(uintb off,uintb *newoff) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:131:3: error: ‘int4’ does not name a type; did you mean ‘int’? 131 | int4 depth; // Depth of the current node | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:387:52: error: ‘uintb’ has not been declared 387 | virtual Datatype *nearestArrayedComponentForward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:387:62: error: ‘uintb’ has not been declared 387 | virtual Datatype *nearestArrayedComponentForward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:40: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:387:76: error: ‘int4’ has not been declared 387 | virtual Datatype *nearestArrayedComponentForward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:47: error: expected primary-expression before ‘)’ token 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:388:53: error: ‘uintb’ has not been declared 388 | virtual Datatype *nearestArrayedComponentBackward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:388:63: error: ‘uintb’ has not been declared 388 | virtual Datatype *nearestArrayedComponentBackward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:388:77: error: ‘int4’ has not been declared 388 | virtual Datatype *nearestArrayedComponentBackward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:353:3: error: ‘int4’ does not name a type; did you mean ‘int’? 353 | int4 compareBasic(const TypeCode *op) const; ///< Compare surface characteristics of two TypeCodes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:61:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 61 | uintm value; // New setting for bits | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:132:3: error: ‘int4’ does not name a type; did you mean ‘int’? 132 | int4 breadcrumb[32]; // Path of operands from root | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:358:32: error: ‘uintb’ has not been declared 358 | virtual Datatype *getSubType(uintb off,uintb *newoff) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:358:42: error: ‘uintb’ has not been declared 358 | virtual Datatype *getSubType(uintb off,uintb *newoff) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:138:42: error: ‘int4’ has not been declared 138 | void setOutOfBandState(Constructor *ct,int4 index,ConstructState *tempstate,const ParserWalker &otherwalker); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:140:20: error: ‘int4’ has not been declared 140 | void pushOperand(int4 i) { breadcrumb[depth++] = i+1; point = point->resolve[i]; breadcrumb[depth] = 0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:140:41: error: ‘depth’ was not declared in this scope 140 | void pushOperand(int4 i) { breadcrumb[depth++] = i+1; point = point->resolve[i]; breadcrumb[depth] = 0; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:389:11: error: ‘int4’ does not name a type; did you mean ‘int’? 389 | virtual int4 compare(const Datatype &op,int4 level) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserContext::setParserState(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:100:34: error: ‘parsestate’ was not declared in this scope; did you mean ‘base_state’? 100 | void setParserState(int4 st) { parsestate = st; } | ^~~~~~~~~~ | base_state /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:78:3: error: ‘int4’ does not name a type; did you mean ‘int’? 78 | int4 parsestate; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserContext::deallocateState(ParserWalkerChange&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:183:3: error: ‘alloc’ was not declared in this scope; did you mean ‘valloc’? 183 | alloc = 1; | ^~~~~ | valloc /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:142:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 142 | uint4 getOffset(int4 i) const { if (i<0) return point->offset; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:359:11: error: ‘int4’ does not name a type; did you mean ‘int’? 359 | virtual int4 compare(const Datatype &op,int4 level) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:188:13: error: variable or field ‘allocateOperand’ declared void 188 | inline void ParserContext::allocateOperand(int4 i,ParserWalkerChange &walker) { | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:390:11: error: ‘int4’ does not name a type; did you mean ‘int’? 390 | virtual int4 compareDependency(const Datatype &op) const; // For tree structure | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:80:3: error: ‘uint1’ does not name a type; did you mean ‘uint’? 80 | uint1 buf[16]; // Buffer of bytes in the instruction stream | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:145:3: error: ‘int4’ does not name a type; did you mean ‘int’? 145 | int4 getOperand(void) const { return breadcrumb[depth]; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:147:37: error: ‘int4’ has not been declared 147 | const FixedHandle &getFixedHandle(int4 i) const { return point->resolve[i]->hand; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:360:11: error: ‘int4’ does not name a type; did you mean ‘int’? 360 | virtual int4 compareDependency(const Datatype &op) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:315:3: error: ‘int4’ does not name a type; did you mean ‘int’? 315 | int4 getFieldIter(int4 off) const; ///< Get index into field list | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:51: error: ‘mask’ was not declared in this scope 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In constructor ‘TypeSpacebase::TypeSpacebase(AddrSpace*, const Address&, Architecture*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:383:51: error: no matching function for call to ‘Datatype::Datatype(int, type_metatype)’ 383 | : Datatype(0,TYPE_SPACEBASE), localframe(frame) { spaceid = id; glb = g; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:66: error: expected primary-expression before ‘)’ token 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:93:3: note: candidate: ‘Datatype::Datatype(const Datatype&)’ 93 | Datatype(const Datatype &op) { size = op.size; name=op.name; metatype=op.metatype; flags=op.flags; id=op.id; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:81:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 81 | uintm *context; // Pointer to local context | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:93:3: note: candidate expects 1 argument, 2 provided In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:154:3: error: ‘int4’ does not name a type; did you mean ‘int’? 154 | int4 getLength(void) const { return const_context->getLength(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:385:22: error: ‘uintb’ has not been declared 385 | Address getAddress(uintb off,int4 sz,const Address &point) const; ///< Construct an Address given an offset | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:188:44: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 188 | inline void ParserContext::allocateOperand(int4 i,ParserWalkerChange &walker) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:188:70: error: expected primary-expression before ‘&’ token 188 | inline void ParserContext::allocateOperand(int4 i,ParserWalkerChange &walker) { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:78:3: error: ‘wordsize’ was not declared in this scope 78 | wordsize = 1; | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:82:3: error: ‘int4’ does not name a type; did you mean ‘int’? 82 | int4 contextsize; // Number of entries in context array | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:316:3: error: ‘int4’ does not name a type; did you mean ‘int’? 316 | int4 getLowerBoundField(int4 off) const; ///< Get index of last field before or equal to given offset | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:385:32: error: ‘int4’ has not been declared 385 | Address getAddress(uintb off,int4 sz,const Address &point) const; ///< Construct an Address given an offset | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:386:32: error: ‘uintb’ has not been declared 386 | virtual Datatype *getSubType(uintb off,uintb *newoff) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:386:42: error: ‘uintb’ has not been declared 386 | virtual Datatype *getSubType(uintb off,uintb *newoff) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:387:52: error: ‘uintb’ has not been declared 387 | virtual Datatype *nearestArrayedComponentForward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:387:62: error: ‘uintb’ has not been declared 387 | virtual Datatype *nearestArrayedComponentForward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:387:76: error: ‘int4’ has not been declared 387 | virtual Datatype *nearestArrayedComponentForward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:155:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 155 | uintm getInstructionBytes(int4 byteoff,int4 numbytes) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:388:53: error: ‘uintb’ has not been declared 388 | virtual Datatype *nearestArrayedComponentBackward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:388:63: error: ‘uintb’ has not been declared 388 | virtual Datatype *nearestArrayedComponentBackward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:388:77: error: ‘int4’ has not been declared 388 | virtual Datatype *nearestArrayedComponentBackward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:323:29: error: ‘int4’ has not been declared 323 | const TypeField *getField(int4 off,int4 sz,int4 *newoff) const; ///< Get field based on offset | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:323:38: error: ‘int4’ has not been declared 323 | const TypeField *getField(int4 off,int4 sz,int4 *newoff) const; ///< Get field based on offset | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:397:3: error: ‘int4’ does not name a type; did you mean ‘int’? 397 | int4 sizeOfInt; ///< Size of the core "int" datatype | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:323:46: error: ‘int4’ has not been declared 323 | const TypeField *getField(int4 off,int4 sz,int4 *newoff) const; ///< Get field based on offset | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserWalker::popOperand()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:141:50: error: ‘depth’ was not declared in this scope 141 | void popOperand(void) { point = point->parent; depth-= 1; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:157:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 157 | uintm getContextBytes(int4 byteoff,int4 numbytes) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:324:32: error: ‘uintb’ has not been declared 324 | virtual Datatype *getSubType(uintb off,uintb *newoff) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:324:42: error: ‘uintb’ has not been declared 324 | virtual Datatype *getSubType(uintb off,uintb *newoff) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:325:52: error: ‘uintb’ has not been declared 325 | virtual Datatype *nearestArrayedComponentForward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:325:62: error: ‘uintb’ has not been declared 325 | virtual Datatype *nearestArrayedComponentForward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:325:76: error: ‘int4’ has not been declared 325 | virtual Datatype *nearestArrayedComponentForward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:326:53: error: ‘uintb’ has not been declared 326 | virtual Datatype *nearestArrayedComponentBackward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:326:63: error: ‘uintb’ has not been declared 326 | virtual Datatype *nearestArrayedComponentBackward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:326:77: error: ‘int4’ has not been declared 326 | virtual Datatype *nearestArrayedComponentBackward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:389:11: error: ‘int4’ does not name a type; did you mean ‘int’? 389 | virtual int4 compare(const Datatype &op,int4 level) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:159:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 159 | uintm getInstructionBits(int4 startbit,int4 size) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:398:3: error: ‘int4’ does not name a type; did you mean ‘int’? 398 | int4 align; ///< Alignment of structures | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:188:71: error: ‘walker’ was not declared in this scope 188 | inline void ParserContext::allocateOperand(int4 i,ParserWalkerChange &walker) { | ^~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:172:18: error: ‘uint4’ has not been declared 172 | void setOffset(uint4 off) { point->offset = off; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:174:25: error: ‘int4’ has not been declared 174 | void setCurrentLength(int4 len) { point->length = len; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:175:26: error: ‘int4’ has not been declared 175 | void calcCurrentLength(int4 length,int4 numopers); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: In destructor ‘ContextInternal::FreeArray::~FreeArray()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:268:28: error: ‘size’ was not declared in this scope 268 | ~FreeArray(void) { if (size!=0) { delete [] array; delete [] mask; } } ///< Destructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:175:38: error: ‘int4’ has not been declared 175 | void calcCurrentLength(int4 length,int4 numopers); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:161:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 161 | uintm getContextBits(int4 startbit,int4 size) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:390:11: error: ‘int4’ does not name a type; did you mean ‘int’? 390 | virtual int4 compareDependency(const Datatype &op) const; // For tree structure | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:268:54: error: missing template arguments before ‘;’ token 268 | ~FreeArray(void) { if (size!=0) { delete [] array; delete [] mask; } } ///< Destructor | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserContext::setContextWord(int, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:119:54: error: ‘context’ was not declared in this scope 119 | void setContextWord(int4 i,uintm val,uintm mask) { context[i] = (context[i]&(~mask))|(mask&val); } | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:327:11: error: ‘int4’ does not name a type; did you mean ‘int’? 327 | virtual int4 numDepend(void) const { return field.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:328:31: error: ‘int4’ has not been declared 328 | virtual Datatype *getDepend(int4 index) const { return field[index].type; } | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:141:7: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 141 | map pcodecallback; ///< a container of addressed based breakpoints | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:141:28: error: template argument 1 is invalid 141 | map pcodecallback; ///< a container of addressed based breakpoints | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:141:28: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:141:28: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:399:3: error: ‘int4’ does not name a type; did you mean ‘int’? 399 | int4 enumsize; ///< Size of an enumerated type | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserWalkerChange::setOffset(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:172:38: error: ‘struct ConstructState’ has no member named ‘offset’ 172 | void setOffset(uint4 off) { point->offset = off; } | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserWalkerChange::setCurrentLength(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:174:44: error: ‘struct ConstructState’ has no member named ‘length’ 174 | void setCurrentLength(int4 len) { point->length = len; } | ^~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:42:5: error: ‘int4’ does not name a type; did you mean ‘int’? 42 | int4 handle_index; // Place holder for run-time determined value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In constructor ‘TypeSpacebase::TypeSpacebase(AddrSpace*, const Address&, Architecture*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:383:51: error: no matching function for call to ‘Datatype::Datatype(int, type_metatype)’ 383 | : Datatype(0,TYPE_SPACEBASE), localframe(frame) { spaceid = id; glb = g; } | ^ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:93:3: note: candidate: ‘Datatype::Datatype(const Datatype&)’ 93 | Datatype(const Datatype &op) { size = op.size; name=op.name; metatype=op.metatype; flags=op.flags; id=op.id; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:93:3: note: candidate expects 1 argument, 2 provided /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:329:11: error: ‘int4’ does not name a type; did you mean ‘int’? 329 | virtual int4 compare(const Datatype &op,int4 level) const; // For tree structure | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:44:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 44 | uintb value_real; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:52:26: error: ‘uintb’ has not been declared 52 | ConstTpl(const_type tp,uintb val); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:55:26: error: ‘int4’ has not been declared 55 | ConstTpl(const_type tp,int4 ht,v_field vf); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:56:26: error: ‘int4’ has not been declared 56 | ConstTpl(const_type tp,int4 ht,v_field vf,uintb plus); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:56:45: error: ‘uintb’ has not been declared 56 | ConstTpl(const_type tp,int4 ht,v_field vf,uintb plus); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:330:11: error: ‘int4’ does not name a type; did you mean ‘int’? 330 | virtual int4 compareDependency(const Datatype &op) const; // For tree structure | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:397:3: error: ‘int4’ does not name a type; did you mean ‘int’? 397 | int4 sizeOfInt; ///< Size of the core "int" datatype | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In constructor ‘TypeStruct::TypeStruct(const string&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:320:57: error: no matching function for call to ‘Datatype::Datatype(int, type_metatype, const string&)’ 320 | TypeStruct(const string &n) : Datatype(0,TYPE_STRUCT,n) {} ///< Construct empty TypeStruct from a name | ^ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:93:3: note: candidate: ‘Datatype::Datatype(const Datatype&)’ 93 | Datatype(const Datatype &op) { size = op.size; name=op.name; metatype=op.metatype; flags=op.flags; id=op.id; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:93:3: note: candidate expects 1 argument, 3 provided /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:61:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 61 | uintb getReal(void) const { return value_real; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:268:66: error: ‘mask’ was not declared in this scope 268 | ~FreeArray(void) { if (size!=0) { delete [] array; delete [] mask; } } ///< Destructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:398:3: error: ‘int4’ does not name a type; did you mean ‘int’? 398 | int4 align; ///< Alignment of structures | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:63:3: error: ‘int4’ does not name a type; did you mean ‘int’? 63 | int4 getHandleIndex(void) const { return value.handle_index; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:79:3: error: ‘minimumPointerSize’ was not declared in this scope 79 | minimumPointerSize = 0; | ^~~~~~~~~~~~~~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserWalker::baseState()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:137:61: error: ‘depth’ was not declared in this scope 137 | void baseState(void) { point = const_context->base_state; depth=0; breadcrumb[0] = 0; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:399:3: error: ‘int4’ does not name a type; did you mean ‘int’? 399 | int4 enumsize; ///< Size of an enumerated type | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserContext::deallocateState(ParserWalkerChange&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:183:3: error: ‘alloc’ was not declared in this scope; did you mean ‘valloc’? 183 | alloc = 1; | ^~~~~ | valloc /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserContext::loadContext()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:120:55: error: ‘context’ was not declared in this scope 120 | void loadContext(void) { contcache->getContext(addr,context); } | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:188:13: error: variable or field ‘allocateOperand’ declared void 188 | inline void ParserContext::allocateOperand(int4 i,ParserWalkerChange &walker) { | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:66:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 66 | uintb fix(const ParserWalker &walker) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc: In member function ‘void AddrSpace::saveBasicAttributes(std::ostream&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:92:8: error: cannot resolve overloaded function ‘index’ based on conversion to type ‘int’ 92 | a_v_i(s,"index",index); | ~~~~~^~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:277:57: error: ‘uintm’ does not name a type; did you mean ‘uint’? 277 | void saveContext(ostream &s,const Address &addr,const uintm *vec) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:188:44: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 188 | inline void ParserContext::allocateOperand(int4 i,ParserWalkerChange &walker) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:188:70: error: expected primary-expression before ‘&’ token 188 | inline void ParserContext::allocateOperand(int4 i,ParserWalkerChange &walker) { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:70:39: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 70 | void changeHandleIndex(const vector &handmap); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:70:43: error: template argument 1 is invalid 70 | void changeHandleIndex(const vector &handmap); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:70:43: error: template argument 2 is invalid In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:353:3: error: ‘int4’ does not name a type; did you mean ‘int’? 353 | int4 compareBasic(const TypeCode *op) const; ///< Compare surface characteristics of two TypeCodes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:358:32: error: ‘uintb’ has not been declared 358 | virtual Datatype *getSubType(uintb off,uintb *newoff) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:358:42: error: ‘uintb’ has not been declared 358 | virtual Datatype *getSubType(uintb off,uintb *newoff) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:94:19: error: ‘delay’ was not declared in this scope; did you mean ‘overlay’? 94 | a_v_i(s,"delay",delay); | ^~~~~ | overlay /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 1 is invalid 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:90:3: error: ‘int4’ does not name a type; did you mean ‘int’? 90 | int4 alloc; // Number of ConstructState's allocated | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:188:71: error: ‘walker’ was not declared in this scope 188 | inline void ParserContext::allocateOperand(int4 i,ParserWalkerChange &walker) { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserContext::setDelaySlot(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:122:33: error: ‘delayslot’ was not declared in this scope; did you mean ‘setDelaySlot’? 122 | void setDelaySlot(int4 val) { delayslot = val; } | ^~~~~~~~~ | setDelaySlot /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:137:70: error: ‘breadcrumb’ was not declared in this scope 137 | void baseState(void) { point = const_context->base_state; depth=0; breadcrumb[0] = 0; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:282:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 282 | uintm uniq; ///< Starting offset for defining temporaries in \e unique space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:359:11: error: ‘int4’ does not name a type; did you mean ‘int’? 359 | virtual int4 compare(const Datatype &op,int4 level) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:286:49: error: ‘uintb’ has not been declared 286 | const vector &in,uintb uniqReserve); ///< Constructor | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:287:90: error: ‘int4’ has not been declared 287 | virtual void dump(const Address &addr,OpCode opc,VarnodeData *outvar,VarnodeData *vars,int4 isize); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:91:3: error: ‘int4’ does not name a type; did you mean ‘int’? 91 | int4 delayslot; // delayslot depth | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:42:5: error: ‘int4’ does not name a type; did you mean ‘int’? 42 | int4 handle_index; // Place holder for run-time determined value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:131:3: error: ‘int4’ does not name a type; did you mean ‘int’? 131 | int4 depth; // Depth of the current node | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:360:11: error: ‘int4’ does not name a type; did you mean ‘int’? 360 | virtual int4 compareDependency(const Datatype &op) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:97:3: error: ‘uint1’ does not name a type; did you mean ‘uint’? 97 | uint1 *getBuffer(void) { return buf; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:98:19: error: ‘int4’ has not been declared 98 | void initialize(int4 maxstate,int4 maxparam,AddrSpace *spc); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:98:33: error: ‘int4’ has not been declared 98 | void initialize(int4 maxstate,int4 maxparam,AddrSpace *spc); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:44:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 44 | uintb value_real; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:132:3: error: ‘int4’ does not name a type; did you mean ‘int’? 132 | int4 breadcrumb[32]; // Path of operands from root | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 1 is invalid 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:385:22: error: ‘uintb’ has not been declared 385 | Address getAddress(uintb off,int4 sz,const Address &point) const; ///< Construct an Address given an offset | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:385:32: error: ‘int4’ has not been declared 385 | Address getAddress(uintb off,int4 sz,const Address &point) const; ///< Construct an Address given an offset | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:386:32: error: ‘uintb’ has not been declared 386 | virtual Datatype *getSubType(uintb off,uintb *newoff) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:386:42: error: ‘uintb’ has not been declared 386 | virtual Datatype *getSubType(uintb off,uintb *newoff) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:52:26: error: ‘uintb’ has not been declared 52 | ConstTpl(const_type tp,uintb val); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:138:42: error: ‘int4’ has not been declared 138 | void setOutOfBandState(Constructor *ct,int4 index,ConstructState *tempstate,const ParserWalker &otherwalker); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:387:52: error: ‘uintb’ has not been declared 387 | virtual Datatype *nearestArrayedComponentForward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:387:62: error: ‘uintb’ has not been declared 387 | virtual Datatype *nearestArrayedComponentForward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:387:76: error: ‘int4’ has not been declared 387 | virtual Datatype *nearestArrayedComponentForward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:55:26: error: ‘int4’ has not been declared 55 | ConstTpl(const_type tp,int4 ht,v_field vf); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:140:20: error: ‘int4’ has not been declared 140 | void pushOperand(int4 i) { breadcrumb[depth++] = i+1; point = point->resolve[i]; breadcrumb[depth] = 0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:388:53: error: ‘uintb’ has not been declared 388 | virtual Datatype *nearestArrayedComponentBackward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:56:26: error: ‘int4’ has not been declared 56 | ConstTpl(const_type tp,int4 ht,v_field vf,uintb plus); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:388:63: error: ‘uintb’ has not been declared 388 | virtual Datatype *nearestArrayedComponentBackward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:99:3: error: ‘int4’ does not name a type; did you mean ‘int’? 99 | int4 getParserState(void) const { return parsestate; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:388:77: error: ‘int4’ has not been declared 388 | virtual Datatype *nearestArrayedComponentBackward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:56:45: error: ‘uintb’ has not been declared 56 | ConstTpl(const_type tp,int4 ht,v_field vf,uintb plus); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:100:23: error: ‘int4’ has not been declared 100 | void setParserState(int4 st) { parsestate = st; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:102:24: error: ‘int4’ has not been declared 102 | void allocateOperand(int4 i,ParserWalkerChange &walker); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:106:36: error: ‘int4’ has not been declared 106 | void addCommit(TripleSymbol *sym,int4 num,uintm mask,bool flow,ConstructState *point); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:106:45: error: ‘uintm’ has not been declared 106 | void addCommit(TripleSymbol *sym,int4 num,uintm mask,bool flow,ConstructState *point); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:142:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 142 | uint4 getOffset(int4 i) const { if (i<0) return point->offset; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: In constructor ‘ConstTpl::ConstTpl()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:49:33: error: ‘value_real’ was not declared in this scope 49 | ConstTpl(void) { type = real; value_real = 0; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:61:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 61 | uintb getReal(void) const { return value_real; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:115:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 115 | uintm getInstructionBytes(int4 byteoff,int4 numbytes,uint4 off) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:389:11: error: ‘int4’ does not name a type; did you mean ‘int’? 389 | virtual int4 compare(const Datatype &op,int4 level) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:145:3: error: ‘int4’ does not name a type; did you mean ‘int’? 145 | int4 getOperand(void) const { return breadcrumb[depth]; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:116:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 116 | uintm getContextBytes(int4 byteoff,int4 numbytes) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 1 is invalid 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:147:37: error: ‘int4’ has not been declared 147 | const FixedHandle &getFixedHandle(int4 i) const { return point->resolve[i]->hand; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:32: error: ‘vector’ is not a type 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:63:3: error: ‘int4’ does not name a type; did you mean ‘int’? 63 | int4 getHandleIndex(void) const { return value.handle_index; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:38: error: expected ‘,’ or ‘...’ before ‘<’ token 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:95:16: error: ‘deadcodedelay’ was not declared in this scope 95 | if (delay != deadcodedelay) | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:390:11: error: ‘int4’ does not name a type; did you mean ‘int’? 390 | virtual int4 compareDependency(const Datatype &op) const; // For tree structure | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserWalker::pushOperand(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:140:30: error: ‘breadcrumb’ was not declared in this scope 140 | void pushOperand(int4 i) { breadcrumb[depth++] = i+1; point = point->resolve[i]; breadcrumb[depth] = 0; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:117:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 117 | uintm getInstructionBits(int4 startbit,int4 size,uint4 off) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:66:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 66 | uintb fix(const ParserWalker &walker) const; | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh:19, from src/decompile/cpp/pcodeparse.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:154:3: error: ‘int4’ does not name a type; did you mean ‘int’? 154 | int4 getLength(void) const { return const_context->getLength(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In constructor ‘TypeSpacebase::TypeSpacebase(AddrSpace*, const Address&, Architecture*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:383:51: error: no matching function for call to ‘Datatype::Datatype(int, type_metatype)’ 383 | : Datatype(0,TYPE_SPACEBASE), localframe(frame) { spaceid = id; glb = g; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:413:48: error: ‘int4’ has not been declared 413 | TypeUnicode *getTypeUnicode(const string &nm,int4 sz,type_metatype m); ///< Create a default "unicode" type | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:118:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 118 | uintm getContextBits(int4 startbit,int4 size) const; | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:93:3: note: candidate: ‘Datatype::Datatype(const Datatype&)’ 93 | Datatype(const Datatype &op) { size = op.size; name=op.name; metatype=op.metatype; flags=op.flags; id=op.id; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:93:3: note: candidate expects 1 argument, 2 provided /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:119:23: error: ‘int4’ has not been declared 119 | void setContextWord(int4 i,uintm val,uintm mask) { context[i] = (context[i]&(~mask))|(mask&val); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:119:30: error: ‘uintm’ has not been declared 119 | void setContextWord(int4 i,uintm val,uintm mask) { context[i] = (context[i]&(~mask))|(mask&val); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:119:40: error: ‘uintm’ has not been declared 119 | void setContextWord(int4 i,uintm val,uintm mask) { context[i] = (context[i]&(~mask))|(mask&val); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:417:44: error: ‘uint8’ has not been declared 417 | Datatype *findByIdLocal(const string &nm,uint8 id) const; ///< Search locally by name and id | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:418:46: error: ‘uint8’ has not been declared 418 | virtual Datatype *findById(const string &n,uint8 id); ///< Search by name and id | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:425:23: error: ‘int4’ has not been declared 425 | void setStructAlign(int4 al) { align = al; } ///< Set the default structure alignment | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:155:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 155 | uintm getInstructionBytes(int4 byteoff,int4 numbytes) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:121:3: error: ‘int4’ does not name a type; did you mean ‘int’? 121 | int4 getLength(void) const { return base_state->length; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:122:21: error: ‘int4’ has not been declared 122 | void setDelaySlot(int4 val) { delayslot = val; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 1 is invalid 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:157:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 157 | uintm getContextBytes(int4 byteoff,int4 numbytes) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:123:3: error: ‘int4’ does not name a type; did you mean ‘int’? 123 | int4 getDelaySlot(void) const { return delayslot; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:426:3: error: ‘int4’ does not name a type; did you mean ‘int’? 426 | int4 getStructAlign(void) const { return align; } ///< Get the default structure alignment | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:397:3: error: ‘int4’ does not name a type; did you mean ‘int’? 397 | int4 sizeOfInt; ///< Size of the core "int" datatype | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:159:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 159 | uintm getInstructionBits(int4 startbit,int4 size) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:70:39: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 70 | void changeHandleIndex(const vector &handmap); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:140:41: error: ‘depth’ was not declared in this scope 140 | void pushOperand(int4 i) { breadcrumb[depth++] = i+1; point = point->resolve[i]; breadcrumb[depth] = 0; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:70:43: error: template argument 1 is invalid 70 | void changeHandleIndex(const vector &handmap); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:70:43: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:413:48: error: ‘int4’ has not been declared 413 | TypeUnicode *getTypeUnicode(const string &nm,int4 sz,type_metatype m); ///< Create a default "unicode" type | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:417:44: error: ‘uint8’ has not been declared 417 | Datatype *findByIdLocal(const string &nm,uint8 id) const; ///< Search locally by name and id | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:427:3: error: ‘int4’ does not name a type; did you mean ‘int’? 427 | int4 getSizeOfInt(void) const { return sizeOfInt; } ///< Get the size of the default "int" | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:418:46: error: ‘uint8’ has not been declared 418 | virtual Datatype *findById(const string &n,uint8 id); ///< Search by name and id | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: In copy constructor ‘ConstTpl::ConstTpl(const ConstTpl&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:51:37: error: ‘value_real’ was not declared in this scope 51 | type=op2.type; value=op2.value; value_real=op2.value_real; select=op2.select; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:398:3: error: ‘int4’ does not name a type; did you mean ‘int’? 398 | int4 align; ///< Alignment of structures | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:425:23: error: ‘int4’ has not been declared 425 | void setStructAlign(int4 al) { align = al; } ///< Set the default structure alignment | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:51:52: error: ‘const class ConstTpl’ has no member named ‘value_real’ 51 | type=op2.type; value=op2.value; value_real=op2.value_real; select=op2.select; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:431:55: error: ‘int4’ has not been declared 431 | bool setFields(vector &fd,TypeStruct *ot,int4 fixedsize,uint4 flags); ///< Set fields on a TypeStruct | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:431:70: error: ‘uint4’ has not been declared 431 | bool setFields(vector &fd,TypeStruct *ot,int4 fixedsize,uint4 flags); ///< Set fields on a TypeStruct | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:161:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 161 | uintm getContextBits(int4 startbit,int4 size) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 1 is invalid 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:97:18: error: ‘addressSize’ was not declared in this scope 97 | a_v_i(s,"size",addressSize); | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:399:3: error: ‘int4’ does not name a type; did you mean ‘int’? 399 | int4 enumsize; ///< Size of an enumerated type | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:426:3: error: ‘int4’ does not name a type; did you mean ‘int’? 426 | int4 getStructAlign(void) const { return align; } ///< Get the default structure alignment | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: In constructor ‘ContextInternal::ContextInternal()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:287:27: error: ‘size’ was not declared in this scope 287 | ContextInternal(void) { size = 0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:427:3: error: ‘int4’ does not name a type; did you mean ‘int’? 427 | int4 getSizeOfInt(void) const { return sizeOfInt; } ///< Get the size of the default "int" | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:431:55: error: ‘int4’ has not been declared 431 | bool setFields(vector &fd,TypeStruct *ot,int4 fixedsize,uint4 flags); ///< Set fields on a TypeStruct | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:431:70: error: ‘uint4’ has not been declared 431 | bool setFields(vector &fd,TypeStruct *ot,int4 fixedsize,uint4 flags); ///< Set fields on a TypeStruct | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:304:3: error: ‘int4’ does not name a type; did you mean ‘int’? 304 | int4 current_op; ///< Index of current pcode op within machine instruction | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In destructor ‘ParserContext::~ParserContext()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:30: error: ‘context’ was not declared in this scope 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:433:36: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 433 | const vector &vallist, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:433:41: error: template argument 1 is invalid 433 | const vector &vallist, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:433:41: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserWalker::popOperand()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:141:50: error: ‘depth’ was not declared in this scope 141 | void popOperand(void) { point = point->parent; depth-= 1; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 1 is invalid 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:39: error: ‘vector’ is not a type 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:313:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 313 | mutable uintb first; ///< Starting offset of the current valid range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:45: error: expected ‘,’ or ‘...’ before ‘<’ token 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:439:27: error: ‘int4’ has not been declared 439 | Datatype *getBaseNoChar(int4 s,type_metatype m); ///< Get atomic type excluding "char" | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:440:21: error: ‘int4’ has not been declared 440 | Datatype *getBase(int4 s,type_metatype m); ///< Get atomic type | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:441:21: error: ‘int4’ has not been declared 441 | Datatype *getBase(int4 s,type_metatype m,const string &n); ///< Get named atomic type | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:305:3: error: ‘int4’ does not name a type; did you mean ‘int’? 305 | int4 instruction_length; ///< Length of current instruction in bytes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:443:41: error: ‘int4’ has not been declared 443 | TypePointer *getTypePointerStripArray(int4 s,Datatype *pt,uint4 ws); ///< Construct a pointer data-type, stripping an ARRAY level | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:443:61: error: ‘uint4’ has not been declared 443 | TypePointer *getTypePointerStripArray(int4 s,Datatype *pt,uint4 ws); ///< Construct a pointer data-type, stripping an ARRAY level | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:444:31: error: ‘int4’ has not been declared 444 | TypePointer *getTypePointer(int4 s,Datatype *pt,uint4 ws); ///< Construct an absolute pointer data-type | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:444:51: error: ‘uint4’ has not been declared 444 | TypePointer *getTypePointer(int4 s,Datatype *pt,uint4 ws); ///< Construct an absolute pointer data-type | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:445:38: error: ‘int4’ has not been declared 445 | TypePointer *getTypePointerNoDepth(int4 s,Datatype *pt,uint4 ws); ///< Construct a depth limited pointer data-type | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:445:58: error: ‘uint4’ has not been declared 445 | TypePointer *getTypePointerNoDepth(int4 s,Datatype *pt,uint4 ws); ///< Construct a depth limited pointer data-type | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:446:27: error: ‘int4’ has not been declared 446 | TypeArray *getTypeArray(int4 as,Datatype *ao); ///< Construct an array data-type | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:314:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 314 | mutable uintb last; ///< Ending offset of the current valid range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:454:41: error: ‘uintb’ has not been declared 454 | Datatype *downChain(Datatype *ptrtype,uintb &off); ///< Find a sub-type matching a pointer and offset | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:284:11: error: ‘uintm’ does not name a type; did you mean ‘uint’? 284 | virtual uintm *getDefaultValue(void) { return database.defaultValue().array; } | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:172:18: error: ‘uint4’ has not been declared 172 | void setOffset(uint4 off) { point->offset = off; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:174:25: error: ‘int4’ has not been declared 174 | void setCurrentLength(int4 len) { point->length = len; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:175:26: error: ‘int4’ has not been declared 175 | void calcCurrentLength(int4 length,int4 numopers); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:175:38: error: ‘int4’ has not been declared 175 | void calcCurrentLength(int4 length,int4 numopers); | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh:19, from src/decompile/cpp/pcodeparse.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserWalker::baseState()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:137:61: error: ‘depth’ was not declared in this scope 137 | void baseState(void) { point = const_context->base_state; depth=0; breadcrumb[0] = 0; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:463:39: error: ‘int4’ has not been declared 463 | void setCoreType(const string &name,int4 size,type_metatype meta,bool chartp); ///< Create a core data-type | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:317:3: error: ‘int4’ does not name a type; did you mean ‘int’? 317 | int4 numCurrentOps(void) const; ///< Return number of pcode ops in translation of current instruction | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:315:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 315 | mutable const uintm *context; ///< The current cached context blob | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:433:36: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 433 | const vector &vallist, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:285:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 285 | virtual const uintm *getDefaultValue(void) const { return database.defaultValue().array; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:433:41: error: template argument 1 is invalid 433 | const vector &vallist, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:320:39: error: ‘uintm’ has not been declared 320 | void getContext(const Address &addr,uintm *buf) const; ///< Retrieve the context blob for the given address | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:433:41: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserWalkerChange::setOffset(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:172:38: error: ‘struct ConstructState’ has no member named ‘offset’ 172 | void setOffset(uint4 off) { point->offset = off; } | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:321:39: error: ‘int4’ has not been declared 321 | void setContext(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:321:48: error: ‘uintm’ has not been declared 321 | void setContext(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: In constructor ‘ConstTpl::ConstTpl()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:49:33: error: ‘value_real’ was not declared in this scope 49 | ConstTpl(void) { type = real; value_real = 0; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:321:59: error: ‘uintm’ has not been declared 321 | void setContext(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserWalkerChange::setCurrentLength(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:174:44: error: ‘struct ConstructState’ has no member named ‘length’ 174 | void setCurrentLength(int4 len) { point->length = len; } | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:322:61: error: ‘int4’ has not been declared 322 | void setContext(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:322:70: error: ‘uintm’ has not been declared 322 | void setContext(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:439:27: error: ‘int4’ has not been declared 439 | Datatype *getBaseNoChar(int4 s,type_metatype m); ///< Get atomic type excluding "char" | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:322:81: error: ‘uintm’ has not been declared 322 | void setContext(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:440:21: error: ‘int4’ has not been declared 440 | Datatype *getBase(int4 s,type_metatype m); ///< Get atomic type | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:98:7: error: ‘wordsize’ was not declared in this scope 98 | if (wordsize > 1) a_v_i(s,"wordsize",wordsize); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:441:21: error: ‘int4’ has not been declared 441 | Datatype *getBase(int4 s,type_metatype m,const string &n); ///< Get named atomic type | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:443:41: error: ‘int4’ has not been declared 443 | TypePointer *getTypePointerStripArray(int4 s,Datatype *pt,uint4 ws); ///< Construct a pointer data-type, stripping an ARRAY level | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:42: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:443:61: error: ‘uint4’ has not been declared 443 | TypePointer *getTypePointerStripArray(int4 s,Datatype *pt,uint4 ws); ///< Construct a pointer data-type, stripping an ARRAY level | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:49: error: expected primary-expression before ‘)’ token 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:444:31: error: ‘int4’ has not been declared 444 | TypePointer *getTypePointer(int4 s,Datatype *pt,uint4 ws); ///< Construct an absolute pointer data-type | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:50: error: expected ‘)’ before numeric constant 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:29: note: to match this ‘(’ 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:444:51: error: ‘uint4’ has not been declared 444 | TypePointer *getTypePointer(int4 s,Datatype *pt,uint4 ws); ///< Construct an absolute pointer data-type | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:445:38: error: ‘int4’ has not been declared 445 | TypePointer *getTypePointerNoDepth(int4 s,Datatype *pt,uint4 ws); ///< Construct a depth limited pointer data-type | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:63: error: type ‘’ argument given to ‘delete’, expected pointer 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:445:58: error: ‘uint4’ has not been declared 445 | TypePointer *getTypePointerNoDepth(int4 s,Datatype *pt,uint4 ws); ///< Construct a depth limited pointer data-type | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:318:3: error: ‘int4’ does not name a type; did you mean ‘int’? 318 | int4 getCurrentOpIndex(void) const; ///< Get the index of current pcode op within current instruction | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:446:27: error: ‘int4’ has not been declared 446 | TypeArray *getTypeArray(int4 as,Datatype *ao); ///< Construct an array data-type | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:319:28: error: ‘int4’ has not been declared 319 | PcodeOpRaw *getOpByIndex(int4 i) const; ///< Get pcode op in current instruction translation by index | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:105:6: error: variable or field ‘truncateSpace’ declared void 105 | void AddrSpace::truncateSpace(uint4 newsize) | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: In member function ‘bool ConstTpl::isZero() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:69:52: error: ‘value_real’ was not declared in this scope 69 | bool isZero(void) const { return ((type==real)&&(value_real==0)); } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:289:11: error: ‘int4’ does not name a type; did you mean ‘int’? 289 | virtual int4 getContextSize(void) const { return size; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:290:50: error: ‘int4’ has not been declared 290 | virtual void registerVariable(const string &nm,int4 sbit,int4 ebit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:290:60: error: ‘int4’ has not been declared 290 | virtual void registerVariable(const string &nm,int4 sbit,int4 ebit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:454:41: error: ‘uintb’ has not been declared 454 | Datatype *downChain(Datatype *ptrtype,uintb &off); ///< Find a sub-type matching a pointer and offset | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:83:18: error: expected ‘)’ before ‘hand’ 83 | VarnodeTpl(int4 hand,bool zerosize); | ~ ^~~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:463:39: error: ‘int4’ has not been declared 463 | void setCoreType(const string &name,int4 size,type_metatype meta,bool chartp); ///< Create a core data-type | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:24:3: error: ‘int4’ does not name a type; did you mean ‘int’? 24 | int4 size; // Number of bytes in token; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:292:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 292 | virtual const uintm *getContext(const Address &addr) const { return database.getValue(addr).array; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:338:8: error: ‘int4’ does not name a type; did you mean ‘int’? 338 | inline int4 EmulatePcodeCache::numCurrentOps(void) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:91:3: error: ‘int4’ does not name a type; did you mean ‘int’? 91 | int4 transfer(const vector ¶ms); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:25:3: error: ‘int4’ does not name a type; did you mean ‘int’? 25 | int4 index; // Index of this token, for resolving offsets | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:94:18: error: ‘uintb’ has not been declared 94 | void setOffset(uintb constVal) { offset = ConstTpl(ConstTpl::real,constVal); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:28:26: error: ‘int4’ has not been declared 28 | Token(const string &nm,int4 sz,bool be,int4 ind) : name(nm) { size = sz; bigendian=be; index = ind; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:28:42: error: ‘int4’ has not been declared 28 | Token(const string &nm,int4 sz,bool be,int4 ind) : name(nm) { size = sz; bigendian=be; index = ind; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:95:20: error: ‘uintb’ has not been declared 95 | void setRelative(uintb constVal) { offset = ConstTpl(ConstTpl::j_relative,constVal); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:105:31: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 105 | void AddrSpace::truncateSpace(uint4 newsize) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:119:46: error: ‘uintb’ has not been declared 119 | void AddrSpace::saveXmlAttributes(ostream &s,uintb offset) const | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:347:8: error: ‘int4’ does not name a type; did you mean ‘int’? 347 | inline int4 EmulatePcodeCache::getCurrentOpIndex(void) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:293:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 293 | virtual const uintm *getContext(const Address &addr,uintb &first,uintb &last) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:357:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 357 | inline PcodeOpRaw *EmulatePcodeCache::getOpByIndex(int4 i) const | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:357:20: error: ‘PcodeOpRaw* EmulatePcodeCache::getOpByIndex’ is not a static data member of ‘class EmulatePcodeCache’ 357 | inline PcodeOpRaw *EmulatePcodeCache::getOpByIndex(int4 i) const | ^~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:29:3: error: ‘int4’ does not name a type; did you mean ‘int’? 29 | int4 getSize(void) const { return size; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserContext::deallocateState(ParserWalkerChange&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:183:3: error: ‘alloc’ was not declared in this scope; did you mean ‘valloc’? 183 | alloc = 1; | ^~~~~ | valloc /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:188:13: error: variable or field ‘allocateOperand’ declared void 188 | inline void ParserContext::allocateOperand(int4 i,ParserWalkerChange &walker) { | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In member function ‘void TypeFactory::setStructAlign(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:425:34: error: ‘align’ was not declared in this scope 425 | void setStructAlign(int4 al) { align = al; } ///< Set the default structure alignment | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:134:46: error: ‘uintb’ has not been declared 134 | void AddrSpace::saveXmlAttributes(ostream &s,uintb offset,int4 size) const | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:134:59: error: ‘int4’ has not been declared 134 | void AddrSpace::saveXmlAttributes(ostream &s,uintb offset,int4 size) const | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:31:3: error: ‘int4’ does not name a type; did you mean ‘int’? 31 | int4 getIndex(void) const { return index; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:137:70: error: ‘breadcrumb’ was not declared in this scope 137 | void baseState(void) { point = const_context->base_state; depth=0; breadcrumb[0] = 0; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:473:8: error: ‘int4’ does not name a type; did you mean ‘int’? 473 | inline int4 Datatype::typeOrderBool(const Datatype &op) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:101:39: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 101 | void changeHandleIndex(const vector &handmap); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:101:43: error: template argument 1 is invalid 101 | void changeHandleIndex(const vector &handmap); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:101:43: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:188:44: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 188 | inline void ParserContext::allocateOperand(int4 i,ParserWalkerChange &walker) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In member function ‘void TypeFactory::setStructAlign(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:425:34: error: ‘align’ was not declared in this scope 425 | void setStructAlign(int4 al) { align = al; } ///< Set the default structure alignment | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:188:70: error: expected primary-expression before ‘&’ token 188 | inline void ParserContext::allocateOperand(int4 i,ParserWalkerChange &walker) { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:102:25: error: ‘int4’ has not been declared 102 | bool adjustTruncation(int4 sz,bool isbigendian); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:357:52: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 357 | inline PcodeOpRaw *EmulatePcodeCache::getOpByIndex(int4 i) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserContext::setParserState(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:100:34: error: ‘parsestate’ was not declared in this scope; did you mean ‘base_state’? 100 | void setParserState(int4 st) { parsestate = st; } | ^~~~~~~~~~ | base_state /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: In copy constructor ‘ConstTpl::ConstTpl(const ConstTpl&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:51:37: error: ‘value_real’ was not declared in this scope 51 | type=op2.type; value=op2.value; value_real=op2.value_real; select=op2.select; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:149:1: error: ‘uintb’ does not name a type; did you mean ‘uint’? 149 | uintb AddrSpace::restoreXmlAttributes(const Element *el,uint4 &size) const | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:51:52: error: ‘const class ConstTpl’ has no member named ‘value_real’ 51 | type=op2.type; value=op2.value; value_real=op2.value_real; select=op2.select; } | ^~~~~~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:25:35: error: ‘uint1’ has not been declared 25 | extern void print_data(ostream &s,uint1 *buffer,int4 size,const Address &baseaddr); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:25:49: error: ‘int4’ has not been declared 25 | extern void print_data(ostream &s,uint1 *buffer,int4 size,const Address &baseaddr); | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:40:10: error: ‘uintm’ does not name a type; did you mean ‘uint’? 40 | static uintm getUIndex(const PcodeOp *op); ///< Get the comparison index for a PcodeOp | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:177:40: error: ‘uintb’ has not been declared 177 | void AddrSpace::printOffset(ostream &s,uintb offset) const | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:473:8: error: ‘int4’ does not name a type; did you mean ‘int’? 473 | inline int4 Datatype::typeOrderBool(const Datatype &op) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: In constructor ‘ContextInternal::FreeArray::FreeArray()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:23: error: ‘size’ was not declared in this scope 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:37: error: missing template arguments before ‘=’ token 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:119:33: error: ‘uintb’ has not been declared 119 | AddrSpace *t_space,uintb t_offset); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In constructor ‘Token::Token(const string&, int, bool, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:28:65: error: ‘size’ was not declared in this scope 28 | Token(const string &nm,int4 sz,bool be,int4 ind) : name(nm) { size = sz; bigendian=be; index = ind; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:49:3: error: ‘int4’ does not name a type; did you mean ‘int’? 49 | int4 intersect(const CoverBlock &op2) const; ///< Compute intersection with another CoverBlock | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:189:37: error: ‘uintb’ has not been declared 189 | void AddrSpace::printRaw(ostream &s,uintb offset) const | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:82:3: error: ‘int4’ does not name a type; did you mean ‘int’? 82 | int4 size; ///< Size (of variable holding a value of this type) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:129:21: error: ‘uintb’ has not been declared 129 | void setPtrOffset(uintb val) { ptroffset = ConstTpl(ConstTpl::real,val); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:28:98: error: overloaded function with no contextual type information 28 | Token(const string &nm,int4 sz,bool be,int4 ind) : name(nm) { size = sz; bigendian=be; index = ind; } | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:130:22: error: ‘uintb’ has not been declared 130 | void setTempOffset(uintb val) { temp_offset = ConstTpl(ConstTpl::real,val); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:188:71: error: ‘walker’ was not declared in this scope 188 | inline void ParserContext::allocateOperand(int4 i,ParserWalkerChange &walker) { | ^~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:40:10: error: ‘uintm’ does not name a type; did you mean ‘uint’? 40 | static uintm getUIndex(const PcodeOp *op); ///< Get the comparison index for a PcodeOp | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:53:3: error: ‘int4’ does not name a type; did you mean ‘int’? 53 | int4 boundary(const PcodeOp *point) const; ///< Characterize given point as boundary | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:85:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 85 | uint4 flags; ///< Boolean properties of the type | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:37:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 37 | uint4 size; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:49:3: error: ‘int4’ does not name a type; did you mean ‘int’? 49 | int4 intersect(const CoverBlock &op2) const; ///< Compute intersection with another CoverBlock | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:42:5: error: ‘int4’ does not name a type; did you mean ‘int’? 42 | int4 handle_index; // Place holder for run-time determined value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:40: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:47: error: expected primary-expression before ‘)’ token 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:86:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 86 | uint8 id; ///< A unique id for the type (or 0 if an id is not assigned) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:53:3: error: ‘int4’ does not name a type; did you mean ‘int’? 53 | int4 boundary(const PcodeOp *point) const; ///< Characterize given point as boundary | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:39:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 39 | uintb offset_offset; // Either static offset or ptr offset | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:44:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 44 | uintb value_real; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:52:26: error: ‘uintb’ has not been declared 52 | ConstTpl(const_type tp,uintb val); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:413:48: error: ‘int4’ has not been declared 413 | TypeUnicode *getTypeUnicode(const string &nm,int4 sz,type_metatype m); ///< Create a default "unicode" type | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc: In member function ‘virtual void AddrSpace::printRaw(std::ostream&, int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:192:3: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 192 | int4 sz = getAddrSize(); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:55:26: error: ‘int4’ has not been declared 55 | ConstTpl(const_type tp,int4 ht,v_field vf); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserWalker::pushOperand(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:140:30: error: ‘breadcrumb’ was not declared in this scope 140 | void pushOperand(int4 i) { breadcrumb[depth++] = i+1; point = point->resolve[i]; breadcrumb[depth] = 0; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:56:26: error: ‘int4’ has not been declared 56 | ConstTpl(const_type tp,int4 ht,v_field vf,uintb plus); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:132:39: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 132 | void changeHandleIndex(const vector &handmap); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:417:44: error: ‘uint8’ has not been declared 417 | Datatype *findByIdLocal(const string &nm,uint8 id) const; ///< Search locally by name and id | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:56:45: error: ‘uintb’ has not been declared 56 | ConstTpl(const_type tp,int4 ht,v_field vf,uintb plus); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:132:43: error: template argument 1 is invalid 132 | void changeHandleIndex(const vector &handmap); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:132:43: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:418:46: error: ‘uint8’ has not been declared 418 | virtual Datatype *findById(const string &n,uint8 id); ///< Search by name and id | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:89:10: error: ‘uint8’ does not name a type; did you mean ‘uint’? 89 | static uint8 hashName(const string &nm); ///< Produce a data-type id by hashing the type name | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:40:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 40 | uint4 offset_size; // Size of pointer | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:425:23: error: ‘int4’ has not been declared 425 | void setStructAlign(int4 al) { align = al; } ///< Set the default structure alignment | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserContext::setContextWord(int, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:119:54: error: ‘context’ was not declared in this scope 119 | void setContextWord(int4 i,uintm val,uintm mask) { context[i] = (context[i]&(~mask))|(mask&val); } | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:90:10: error: ‘uint8’ does not name a type; did you mean ‘uint’? 90 | static uint8 hashSize(uint8 id,int4 size); ///< Reversibly hash size into id | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:42:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 42 | uintb temp_offset; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:61:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 61 | uintb getReal(void) const { return value_real; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:95:16: error: expected ‘)’ before ‘s’ 95 | Datatype(int4 s,type_metatype m) { size=s; metatype=m; flags=0; id=0; } | ~ ^~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:97:16: error: expected ‘)’ before ‘s’ 97 | Datatype(int4 s,type_metatype m,const string &n) { name=n; size=s; metatype=m; flags=0; id=0; } | ~ ^~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:426:3: error: ‘int4’ does not name a type; did you mean ‘int’? 426 | int4 getStructAlign(void) const { return align; } ///< Get the default structure alignment | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: In member function ‘bool ConstTpl::isZero() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:69:52: error: ‘value_real’ was not declared in this scope 69 | bool isZero(void) const { return ((type==real)&&(value_real==0)); } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:69:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 69 | map cover; ///< block index -> CoverBlock | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:63:3: error: ‘int4’ does not name a type; did you mean ‘int’? 63 | int4 getHandleIndex(void) const { return value.handle_index; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:83:18: error: expected ‘)’ before ‘hand’ 83 | VarnodeTpl(int4 hand,bool zerosize); | ~ ^~~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:69:22: error: template argument 1 is invalid 69 | map cover; ///< block index -> CoverBlock | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:69:22: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:69:22: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:193:7: error: ‘sz’ was not declared in this scope; did you mean ‘s’? 193 | if (sz > 4) { | ^~ | s /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:109:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 109 | uint4 getInheritable(void) const { return (flags & coretype); } ///< Get properties pointers inherit | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:51: error: ‘mask’ was not declared in this scope 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:194:16: warning: right shift count >= width of type [-Wshift-count-overflow] 194 | if ((offset>>32) == 0) | ~~~~~~^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:66: error: expected primary-expression before ‘)’ token 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:196:21: warning: right shift count >= width of type [-Wshift-count-overflow] 196 | else if ((offset>>48) == 0) | ~~~~~~^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:66:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 66 | uintb fix(const ParserWalker &walker) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:427:3: error: ‘int4’ does not name a type; did you mean ‘int’? 427 | int4 getSizeOfInt(void) const { return sizeOfInt; } ///< Get the size of the default "int" | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:431:55: error: ‘int4’ has not been declared 431 | bool setFields(vector &fd,TypeStruct *ot,int4 fixedsize,uint4 flags); ///< Set fields on a TypeStruct | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:431:70: error: ‘uint4’ has not been declared 431 | bool setFields(vector &fd,TypeStruct *ot,int4 fixedsize,uint4 flags); ///< Set fields on a TypeStruct | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:74:3: error: ‘int4’ does not name a type; did you mean ‘int’? 74 | int4 compareTo(const Cover &op2) const; ///< Give ordering of \b this and another Cover | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:69:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 69 | map cover; ///< block index -> CoverBlock | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:75:35: error: ‘int4’ has not been declared 75 | const CoverBlock &getCoverBlock(int4 i) const; ///< Get the CoverBlock corresponding to the i-th block | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:91:3: error: ‘int4’ does not name a type; did you mean ‘int’? 91 | int4 transfer(const vector ¶ms); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:69:22: error: template argument 1 is invalid 69 | map cover; ///< block index -> CoverBlock | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:69:22: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:69:22: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:111:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 111 | uint8 getId(void) const { return id; } ///< Get the type id | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:94:18: error: ‘uintb’ has not been declared 94 | void setOffset(uintb constVal) { offset = ConstTpl(ConstTpl::real,constVal); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:95:20: error: ‘uintb’ has not been declared 95 | void setRelative(uintb constVal) { offset = ConstTpl(ConstTpl::j_relative,constVal); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:140:41: error: ‘depth’ was not declared in this scope 140 | void pushOperand(int4 i) { breadcrumb[depth++] = i+1; point = point->resolve[i]; breadcrumb[depth] = 0; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:112:3: error: ‘int4’ does not name a type; did you mean ‘int’? 112 | int4 getSize(void) const { return size; } ///< Get the type size | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:76:3: error: ‘int4’ does not name a type; did you mean ‘int’? 76 | int4 intersect(const Cover &op2) const; ///< Characterize the intersection between \b this and another Cover. | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:115:32: error: ‘uintb’ has not been declared 115 | virtual Datatype *getSubType(uintb off,uintb *newoff) const; ///< Recover component data-type one-level down | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:115:42: error: ‘uintb’ has not been declared 115 | virtual Datatype *getSubType(uintb off,uintb *newoff) const; ///< Recover component data-type one-level down | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:74:3: error: ‘int4’ does not name a type; did you mean ‘int’? 74 | int4 compareTo(const Cover &op2) const; ///< Give ordering of \b this and another Cover | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:116:52: error: ‘uintb’ has not been declared 116 | virtual Datatype *nearestArrayedComponentForward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:75:35: error: ‘int4’ has not been declared 75 | const CoverBlock &getCoverBlock(int4 i) const; ///< Get the CoverBlock corresponding to the i-th block | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:116:62: error: ‘uintb’ has not been declared 116 | virtual Datatype *nearestArrayedComponentForward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:116:76: error: ‘int4’ has not been declared 116 | virtual Datatype *nearestArrayedComponentForward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:117:53: error: ‘uintb’ has not been declared 117 | virtual Datatype *nearestArrayedComponentBackward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserContext::loadContext()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:120:55: error: ‘context’ was not declared in this scope 120 | void loadContext(void) { contcache->getContext(addr,context); } | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:117:63: error: ‘uintb’ has not been declared 117 | virtual Datatype *nearestArrayedComponentBackward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:117:77: error: ‘int4’ has not been declared 117 | virtual Datatype *nearestArrayedComponentBackward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:77:3: error: ‘int4’ does not name a type; did you mean ‘int’? 77 | int4 intersectByBlock(int4 blk,const Cover &op2) const; ///< Characterize the intersection on a specific block | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:76:3: error: ‘int4’ does not name a type; did you mean ‘int’? 76 | int4 intersect(const Cover &op2) const; ///< Characterize the intersection between \b this and another Cover. | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:70:39: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 70 | void changeHandleIndex(const vector &handmap); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:70:43: error: template argument 1 is invalid 70 | void changeHandleIndex(const vector &handmap); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:70:43: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: In destructor ‘ContextInternal::FreeArray::~FreeArray()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:268:28: error: ‘size’ was not declared in this scope 268 | ~FreeArray(void) { if (size!=0) { delete [] array; delete [] mask; } } ///< Destructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:118:11: error: ‘int4’ does not name a type; did you mean ‘int’? 118 | virtual int4 numDepend(void) const { return 0; } ///< Return number of component sub-types | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:119:31: error: ‘int4’ has not been declared 119 | virtual Datatype *getDepend(int4 index) const { return (Datatype *)0; } ///< Return the i-th component sub-type | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:268:54: error: missing template arguments before ‘;’ token 268 | ~FreeArray(void) { if (size!=0) { delete [] array; delete [] mask; } } ///< Destructor | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:199:39: error: ‘sz’ was not declared in this scope; did you mean ‘s’? 199 | s << "0x" << setfill('0') << setw(2*sz) << hex << byteToAddress(offset,wordsize); | ^~ | s /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:77:3: error: ‘int4’ does not name a type; did you mean ‘int’? 77 | int4 intersectByBlock(int4 blk,const Cover &op2) const; ///< Characterize the intersection on a specific block | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:433:36: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 433 | const vector &vallist, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:433:41: error: template argument 1 is invalid 433 | const vector &vallist, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:433:41: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:101:39: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 101 | void changeHandleIndex(const vector &handmap); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:101:43: error: template argument 1 is invalid 101 | void changeHandleIndex(const vector &handmap); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:101:43: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:102:25: error: ‘int4’ has not been declared 102 | bool adjustTruncation(int4 sz,bool isbigendian); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:121:11: error: ‘int4’ does not name a type; did you mean ‘int’? 121 | virtual int4 compare(const Datatype &op,int4 level) const; ///< Compare for functional equivalence | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:439:27: error: ‘int4’ has not been declared 439 | Datatype *getBaseNoChar(int4 s,type_metatype m); ///< Get atomic type excluding "char" | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:440:21: error: ‘int4’ has not been declared 440 | Datatype *getBase(int4 s,type_metatype m); ///< Get atomic type | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:441:21: error: ‘int4’ has not been declared 441 | Datatype *getBase(int4 s,type_metatype m,const string &n); ///< Get named atomic type | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:443:41: error: ‘int4’ has not been declared 443 | TypePointer *getTypePointerStripArray(int4 s,Datatype *pt,uint4 ws); ///< Construct a pointer data-type, stripping an ARRAY level | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:443:61: error: ‘uint4’ has not been declared 443 | TypePointer *getTypePointerStripArray(int4 s,Datatype *pt,uint4 ws); ///< Construct a pointer data-type, stripping an ARRAY level | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:444:31: error: ‘int4’ has not been declared 444 | TypePointer *getTypePointer(int4 s,Datatype *pt,uint4 ws); ///< Construct an absolute pointer data-type | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:444:51: error: ‘uint4’ has not been declared 444 | TypePointer *getTypePointer(int4 s,Datatype *pt,uint4 ws); ///< Construct an absolute pointer data-type | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:445:38: error: ‘int4’ has not been declared 445 | TypePointer *getTypePointerNoDepth(int4 s,Datatype *pt,uint4 ws); ///< Construct a depth limited pointer data-type | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:445:58: error: ‘uint4’ has not been declared 445 | TypePointer *getTypePointerNoDepth(int4 s,Datatype *pt,uint4 ws); ///< Construct a depth limited pointer data-type | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:446:27: error: ‘int4’ has not been declared 446 | TypeArray *getTypeArray(int4 as,Datatype *ao); ///< Construct an array data-type | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:51:3: error: ‘int4’ does not name a type; did you mean ‘int’? 51 | int4 length; // Length of this instantiation of the constructor | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:122:11: error: ‘int4’ does not name a type; did you mean ‘int’? 122 | virtual int4 compareDependency(const Datatype &op) const; ///< Compare for storage in tree structure | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:454:41: error: ‘uintb’ has not been declared 454 | Datatype *downChain(Datatype *ptrtype,uintb &off); ///< Find a sub-type matching a pointer and offset | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:146:3: error: ‘int4’ does not name a type; did you mean ‘int’? 146 | int4 numInput(void) const { return input.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:147:21: error: ‘int4’ has not been declared 147 | VarnodeTpl *getIn(int4 i) const { return input[i]; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:463:39: error: ‘int4’ has not been declared 463 | void setCoreType(const string &name,int4 size,type_metatype meta,bool chartp); ///< Create a core data-type | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserWalker::popOperand()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:141:50: error: ‘depth’ was not declared in this scope 141 | void popOperand(void) { point = point->parent; depth-= 1; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:154:32: error: ‘int4’ has not been declared 154 | void setInput(VarnodeTpl *vt,int4 slot) { input[slot] = vt; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:155:20: error: ‘int4’ has not been declared 155 | void removeInput(int4 index); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:78:29: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 78 | void intersectList(vector &listout,const Cover &op2,int4 level) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:78:33: error: template argument 1 is invalid 78 | void intersectList(vector &listout,const Cover &op2,int4 level) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:78:33: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:78:61: error: ‘int4’ has not been declared 78 | void intersectList(vector &listout,const Cover &op2,int4 level) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:79:34: error: ‘int4’ has not been declared 79 | bool contain(const PcodeOp *op,int4 max) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:52:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 52 | uint4 offset; // Absolute offset (from start of instruction) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:119:33: error: ‘uintb’ has not been declared 119 | AddrSpace *t_space,uintb t_offset); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:125:3: error: ‘int4’ does not name a type; did you mean ‘int’? 125 | int4 typeOrder(const Datatype &op) const { if (this==&op) return 0; return compare(op,10); } ///< Order this with -op- datatype | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:78:29: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 78 | void intersectList(vector &listout,const Cover &op2,int4 level) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:78:33: error: template argument 1 is invalid 78 | void intersectList(vector &listout,const Cover &op2,int4 level) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:78:33: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:129:21: error: ‘uintb’ has not been declared 129 | void setPtrOffset(uintb val) { ptroffset = ConstTpl(ConstTpl::real,val); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:78:61: error: ‘int4’ has not been declared 78 | void intersectList(vector &listout,const Cover &op2,int4 level) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:130:22: error: ‘uintb’ has not been declared 130 | void setTempOffset(uintb val) { temp_offset = ConstTpl(ConstTpl::real,val); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:79:34: error: ‘int4’ has not been declared 79 | bool contain(const PcodeOp *op,int4 max) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:268:66: error: ‘mask’ was not declared in this scope 268 | ~FreeArray(void) { if (size!=0) { delete [] array; delete [] mask; } } ///< Destructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:59:3: error: ‘int4’ does not name a type; did you mean ‘int’? 59 | int4 num; // Number of context word affected | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh:19, from src/decompile/cpp/pcodeparse.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:172:18: error: ‘uint4’ has not been declared 172 | void setOffset(uint4 off) { point->offset = off; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:174:25: error: ‘int4’ has not been declared 174 | void setCurrentLength(int4 len) { point->length = len; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:175:26: error: ‘int4’ has not been declared 175 | void calcCurrentLength(int4 length,int4 numopers); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:175:38: error: ‘int4’ has not been declared 175 | void calcCurrentLength(int4 length,int4 numopers); | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:126:3: error: ‘int4’ does not name a type; did you mean ‘int’? 126 | int4 typeOrderBool(const Datatype &op) const; ///< Order \b this with -op-, treating \e bool data-type as special | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:80:3: error: ‘int4’ does not name a type; did you mean ‘int’? 80 | int4 containVarnodeDef(const Varnode *vn) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:80:3: error: ‘int4’ does not name a type; did you mean ‘int’? 80 | int4 containVarnodeDef(const Varnode *vn) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserContext::setDelaySlot(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:122:33: error: ‘delayslot’ was not declared in this scope; did you mean ‘setDelaySlot’? 122 | void setDelaySlot(int4 val) { delayslot = val; } | ^~~~~~~~~ | setDelaySlot /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:129:25: error: ‘uintb’ has not been declared 129 | bool isPtrsubMatching(uintb offset) const; ///< Is this data-type suitable as input to a CPUI_PTRSUB op | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:60:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 60 | uintm mask; // Bits within word affected | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserWalkerChange::setOffset(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:172:38: error: ‘struct ConstructState’ has no member named ‘offset’ 172 | void setOffset(uint4 off) { point->offset = off; } | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserWalkerChange::setCurrentLength(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:174:44: error: ‘struct ConstructState’ has no member named ‘length’ 174 | void setCurrentLength(int4 len) { point->length = len; } | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:156:39: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 156 | void changeHandleIndex(const vector &handmap); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:156:43: error: template argument 1 is invalid 156 | void changeHandleIndex(const vector &handmap); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:199:74: error: ‘wordsize’ was not declared in this scope 199 | s << "0x" << setfill('0') << setw(2*sz) << hex << byteToAddress(offset,wordsize); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:156:43: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:61:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 61 | uintm value; // New setting for bits | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:131:3: error: ‘int4’ does not name a type; did you mean ‘int’? 131 | int4 depth; // Depth of the current node | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: In constructor ‘ConstTpl::ConstTpl()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:49:33: error: ‘value_real’ was not declared in this scope 49 | ConstTpl(void) { type = real; value_real = 0; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:78:3: error: ‘int4’ does not name a type; did you mean ‘int’? 78 | int4 parsestate; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:132:3: error: ‘int4’ does not name a type; did you mean ‘int’? 132 | int4 breadcrumb[32]; // Path of operands from root | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:132:39: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 132 | void changeHandleIndex(const vector &handmap); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:132:43: error: template argument 1 is invalid 132 | void changeHandleIndex(const vector &handmap); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:132:43: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:138:42: error: ‘int4’ has not been declared 138 | void setOutOfBandState(Constructor *ct,int4 index,ConstructState *tempstate,const ParserWalker &otherwalker); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:140:20: error: ‘int4’ has not been declared 140 | void pushOperand(int4 i) { breadcrumb[depth++] = i+1; point = point->resolve[i]; breadcrumb[depth] = 0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In member function ‘void TypeFactory::setStructAlign(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:425:34: error: ‘align’ was not declared in this scope 425 | void setStructAlign(int4 al) { align = al; } ///< Set the default structure alignment | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:88:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 88 | map::const_iterator begin(void) const { return cover.begin(); } ///< Get beginning of CoverBlocks | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:88:22: error: template argument 1 is invalid 88 | map::const_iterator begin(void) const { return cover.begin(); } ///< Get beginning of CoverBlocks | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:88:22: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:88:22: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:88:25: error: expected ‘;’ at end of member declaration 88 | map::const_iterator begin(void) const { return cover.begin(); } ///< Get beginning of CoverBlocks | ^~~~~~~~~~~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:80:3: error: ‘uint1’ does not name a type; did you mean ‘uint’? 80 | uint1 buf[16]; // Buffer of bytes in the instruction stream | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:88:40: error: ISO C++ forbids declaration of ‘begin’ with no type [-fpermissive] 88 | map::const_iterator begin(void) const { return cover.begin(); } ///< Get beginning of CoverBlocks | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:88:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 88 | map::const_iterator begin(void) const { return cover.begin(); } ///< Get beginning of CoverBlocks | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:88:22: error: template argument 1 is invalid 88 | map::const_iterator begin(void) const { return cover.begin(); } ///< Get beginning of CoverBlocks | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:88:22: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:88:22: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:88:25: error: expected ‘;’ at end of member declaration 88 | map::const_iterator begin(void) const { return cover.begin(); } ///< Get beginning of CoverBlocks | ^~~~~~~~~~~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:88:40: error: ISO C++ forbids declaration of ‘begin’ with no type [-fpermissive] 88 | map::const_iterator begin(void) const { return cover.begin(); } ///< Get beginning of CoverBlocks | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:142:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 142 | uint4 getOffset(int4 i) const { if (i<0) return point->offset; | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In copy constructor ‘Datatype::Datatype(const Datatype&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:93:34: error: ‘size’ was not declared in this scope 93 | Datatype(const Datatype &op) { size = op.size; name=op.name; metatype=op.metatype; flags=op.flags; id=op.id; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:81:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 81 | uintm *context; // Pointer to local context | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:93:44: error: ‘const class Datatype’ has no member named ‘size’ 93 | Datatype(const Datatype &op) { size = op.size; name=op.name; metatype=op.metatype; flags=op.flags; id=op.id; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:473:8: error: ‘int4’ does not name a type; did you mean ‘int’? 473 | inline int4 Datatype::typeOrderBool(const Datatype &op) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserContext::deallocateState(ParserWalkerChange&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:183:3: error: ‘alloc’ was not declared in this scope; did you mean ‘valloc’? 183 | alloc = 1; | ^~~~~ | valloc /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:145:3: error: ‘int4’ does not name a type; did you mean ‘int’? 145 | int4 getOperand(void) const { return breadcrumb[depth]; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:82:3: error: ‘int4’ does not name a type; did you mean ‘int’? 82 | int4 contextsize; // Number of entries in context array | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:147:37: error: ‘int4’ has not been declared 147 | const FixedHandle &getFixedHandle(int4 i) const { return point->resolve[i]->hand; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:188:13: error: variable or field ‘allocateOperand’ declared void 188 | inline void ParserContext::allocateOperand(int4 i,ParserWalkerChange &walker) { | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:164:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 164 | uint4 delayslot; | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:154:3: error: ‘int4’ does not name a type; did you mean ‘int’? 154 | int4 getLength(void) const { return const_context->getLength(); } | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:40:10: error: ‘uintm’ does not name a type; did you mean ‘uint’? 40 | static uintm getUIndex(const PcodeOp *op); ///< Get the comparison index for a PcodeOp | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:89:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 89 | map::const_iterator end(void) const { return cover.end(); } ///< Get end of CoverBlocks | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:89:22: error: template argument 1 is invalid 89 | map::const_iterator end(void) const { return cover.end(); } ///< Get end of CoverBlocks | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:89:22: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:89:22: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:89:25: error: expected ‘;’ at end of member declaration 89 | map::const_iterator end(void) const { return cover.end(); } ///< Get end of CoverBlocks | ^~~~~~~~~~~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:89:25: error: redeclaration of ‘int Cover::const_iterator’ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:88:25: note: previous declaration ‘int Cover::const_iterator’ 88 | map::const_iterator begin(void) const { return cover.begin(); } ///< Get beginning of CoverBlocks | ^~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:89:40: error: ISO C++ forbids declaration of ‘end’ with no type [-fpermissive] 89 | map::const_iterator end(void) const { return cover.end(); } ///< Get end of CoverBlocks | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:89:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 89 | map::const_iterator end(void) const { return cover.end(); } ///< Get end of CoverBlocks | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh: In member function ‘void Cover::clear()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:73:28: error: request for member ‘clear’ in ‘((Cover*)this)->Cover::cover’, which is of non-class type ‘int’ 73 | void clear(void) { cover.clear(); } ///< Clear \b this to an empty Cover | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:155:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 155 | uintm getInstructionBytes(int4 byteoff,int4 numbytes) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:165:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 165 | uint4 numlabels; // Number of label templates | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:188:44: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 188 | inline void ParserContext::allocateOperand(int4 i,ParserWalkerChange &walker) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:89:22: error: template argument 1 is invalid 89 | map::const_iterator end(void) const { return cover.end(); } ///< Get end of CoverBlocks | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:89:22: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh: In member function ‘int Cover::begin() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:88:73: error: request for member ‘begin’ in ‘((const Cover*)this)->Cover::cover’, which is of non-class type ‘const int’ 88 | map::const_iterator begin(void) const { return cover.begin(); } ///< Get beginning of CoverBlocks | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:89:22: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:188:70: error: expected primary-expression before ‘&’ token 188 | inline void ParserContext::allocateOperand(int4 i,ParserWalkerChange &walker) { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:89:25: error: expected ‘;’ at end of member declaration 89 | map::const_iterator end(void) const { return cover.end(); } ///< Get end of CoverBlocks | ^~~~~~~~~~~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh: In member function ‘int Cover::end() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:89:71: error: request for member ‘end’ in ‘((const Cover*)this)->Cover::cover’, which is of non-class type ‘const int’ 89 | map::const_iterator end(void) const { return cover.end(); } ///< Get end of CoverBlocks | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:89:25: error: redeclaration of ‘int Cover::const_iterator’ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:88:25: note: previous declaration ‘int Cover::const_iterator’ 88 | map::const_iterator begin(void) const { return cover.begin(); } ///< Get beginning of CoverBlocks | ^~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:89:40: error: ISO C++ forbids declaration of ‘end’ with no type [-fpermissive] 89 | map::const_iterator end(void) const { return cover.end(); } ///< Get end of CoverBlocks | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:199:53: error: ‘byteToAddress’ was not declared in this scope 199 | s << "0x" << setfill('0') << setw(2*sz) << hex << byteToAddress(offset,wordsize); | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh: In member function ‘void Cover::clear()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:73:28: error: request for member ‘clear’ in ‘((Cover*)this)->Cover::cover’, which is of non-class type ‘int’ 73 | void clear(void) { cover.clear(); } ///< Clear \b this to an empty Cover | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:201:9: error: expected ‘;’ before ‘cut’ 201 | int4 cut = offset % wordsize; | ^~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:49:3: error: ‘int4’ does not name a type; did you mean ‘int’? 49 | int4 intersect(const CoverBlock &op2) const; ///< Compute intersection with another CoverBlock | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh: In member function ‘int Cover::begin() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:88:73: error: request for member ‘begin’ in ‘((const Cover*)this)->Cover::cover’, which is of non-class type ‘const int’ 88 | map::const_iterator begin(void) const { return cover.begin(); } ///< Get beginning of CoverBlocks | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh: In member function ‘int Cover::end() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:89:71: error: request for member ‘end’ in ‘((const Cover*)this)->Cover::cover’, which is of non-class type ‘const int’ 89 | map::const_iterator end(void) const { return cover.end(); } ///< Get end of CoverBlocks | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:157:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 157 | uintm getContextBytes(int4 byteoff,int4 numbytes) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: In copy constructor ‘ConstTpl::ConstTpl(const ConstTpl&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:51:37: error: ‘value_real’ was not declared in this scope 51 | type=op2.type; value=op2.value; value_real=op2.value_real; select=op2.select; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:51:52: error: ‘const class ConstTpl’ has no member named ‘value_real’ 51 | type=op2.type; value=op2.value; value_real=op2.value_real; select=op2.select; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:93:86: error: ‘flags’ was not declared in this scope 93 | Datatype(const Datatype &op) { size = op.size; name=op.name; metatype=op.metatype; flags=op.flags; id=op.id; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:93:95: error: ‘const class Datatype’ has no member named ‘flags’ 93 | Datatype(const Datatype &op) { size = op.size; name=op.name; metatype=op.metatype; flags=op.flags; id=op.id; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:53:3: error: ‘int4’ does not name a type; did you mean ‘int’? 53 | int4 boundary(const PcodeOp *point) const; ///< Characterize given point as boundary | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:159:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 159 | uintm getInstructionBits(int4 startbit,int4 size) const { | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:123:11: error: ‘uint4’ does not name a type; did you mean ‘uint’? 123 | mutable uint4 flags; ///< The collection of boolean attributes for this Varnode | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:123:11: error: ‘uint4’ does not name a type; did you mean ‘uint’? 123 | mutable uint4 flags; ///< The collection of boolean attributes for this Varnode | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:161:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 161 | uintm getContextBits(int4 startbit,int4 size) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:188:71: error: ‘walker’ was not declared in this scope 188 | inline void ParserContext::allocateOperand(int4 i,ParserWalkerChange &walker) { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:124:3: error: ‘int4’ does not name a type; did you mean ‘int’? 124 | int4 size; ///< Size of the Varnode in bytes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:202:9: error: ‘cut’ was not declared in this scope 202 | if (cut != 0) | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:124:3: error: ‘int4’ does not name a type; did you mean ‘int’? 124 | int4 size; ///< Size of the Varnode in bytes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:93:102: error: ‘id’ was not declared in this scope; did you mean ‘void’? 93 | Datatype(const Datatype &op) { size = op.size; name=op.name; metatype=op.metatype; flags=op.flags; id=op.id; } | ^~ | void /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:146:3: error: ‘int4’ does not name a type; did you mean ‘int’? 146 | int4 numInput(void) const { return input.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:147:21: error: ‘int4’ has not been declared 147 | VarnodeTpl *getIn(int4 i) const { return input[i]; } | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh:19, from src/decompile/cpp/pcodeparse.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:42:5: error: ‘int4’ does not name a type; did you mean ‘int’? 42 | int4 handle_index; // Place holder for run-time determined value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:93:108: error: ‘const class Datatype’ has no member named ‘id’ 93 | Datatype(const Datatype &op) { size = op.size; name=op.name; metatype=op.metatype; flags=op.flags; id=op.id; } | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:154:32: error: ‘int4’ has not been declared 154 | void setInput(VarnodeTpl *vt,int4 slot) { input[slot] = vt; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:155:20: error: ‘int4’ has not been declared 155 | void removeInput(int4 index); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:125:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 125 | uint4 create_index; ///< A unique one-up index assigned to Varnode at its creation | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:207:8: error: ‘int4’ does not name a type; did you mean ‘int’? 207 | static int4 get_offset_size(const char *ptr,uintb &offset) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:125:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 125 | uint4 create_index; ///< A unique one-up index assigned to Varnode at its creation | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:44:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 44 | uintb value_real; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:169:21: error: ‘uint4’ has not been declared 169 | void setNumLabels(uint4 val) { numlabels = val; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:238:1: error: ‘uintb’ does not name a type; did you mean ‘uint’? 238 | uintb AddrSpace::read(const string &s,int4 &size) const | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:52:26: error: ‘uintb’ has not been declared 52 | ConstTpl(const_type tp,uintb val); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:126:3: error: ‘int2’ does not name a type; did you mean ‘int’? 126 | int2 mergegroup; ///< Which group of forced merges does this Varnode belong to | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:55:26: error: ‘int4’ has not been declared 55 | ConstTpl(const_type tp,int4 ht,v_field vf); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:56:26: error: ‘int4’ has not been declared 56 | ConstTpl(const_type tp,int4 ht,v_field vf,uintb plus); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:56:45: error: ‘uintb’ has not been declared 56 | ConstTpl(const_type tp,int4 ht,v_field vf,uintb plus); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:69:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 69 | map cover; ///< block index -> CoverBlock | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:126:3: error: ‘int2’ does not name a type; did you mean ‘int’? 126 | int2 mergegroup; ///< Which group of forced merges does this Varnode belong to | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:69:22: error: template argument 1 is invalid 69 | map cover; ///< block index -> CoverBlock | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:69:22: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:69:22: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:127:3: error: ‘uint2’ does not name a type; did you mean ‘uint’? 127 | uint2 addlflags; ///< Additional flags | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:173:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 173 | uint4 delaySlot(void) const { return delayslot; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:127:3: error: ‘uint2’ does not name a type; did you mean ‘uint’? 127 | uint2 addlflags; ///< Additional flags | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserWalker::baseState()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:137:61: error: ‘depth’ was not declared in this scope 137 | void baseState(void) { point = const_context->base_state; depth=0; breadcrumb[0] = 0; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:61:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 61 | uintb getReal(void) const { return value_real; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:156:39: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 156 | void changeHandleIndex(const vector &handmap); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:156:43: error: template argument 1 is invalid 156 | void changeHandleIndex(const vector &handmap); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:156:43: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: In member function ‘bool ConstTpl::isZero() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:69:52: error: ‘value_real’ was not declared in this scope 69 | bool isZero(void) const { return ((type==real)&&(value_real==0)); } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:74:3: error: ‘int4’ does not name a type; did you mean ‘int’? 74 | int4 compareTo(const Cover &op2) const; ///< Give ordering of \b this and another Cover | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:75:35: error: ‘int4’ has not been declared 75 | const CoverBlock &getCoverBlock(int4 i) const; ///< Get the CoverBlock corresponding to the i-th block | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:83:18: error: expected ‘)’ before ‘hand’ 83 | VarnodeTpl(int4 hand,bool zerosize); | ~ ^~~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:174:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 174 | uint4 numLabels(void) const { return numlabels; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:63:3: error: ‘int4’ does not name a type; did you mean ‘int’? 63 | int4 getHandleIndex(void) const { return value.handle_index; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In member function ‘bool Datatype::isCoreType() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:99:42: error: ‘flags’ was not declared in this scope 99 | bool isCoreType(void) const { return ((flags&coretype)!=0); } ///< Is this a core data-type | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:76:3: error: ‘int4’ does not name a type; did you mean ‘int’? 76 | int4 intersect(const Cover &op2) const; ///< Characterize the intersection between \b this and another Cover. | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:91:3: error: ‘int4’ does not name a type; did you mean ‘int’? 91 | int4 transfer(const vector ¶ms); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:180:3: error: ‘int4’ does not name a type; did you mean ‘int’? 180 | int4 fillinBuild(vector &check,AddrSpace *const_space); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:94:18: error: ‘uintb’ has not been declared 94 | void setOffset(uintb constVal) { offset = ConstTpl(ConstTpl::real,constVal); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:95:20: error: ‘uintb’ has not been declared 95 | void setRelative(uintb constVal) { offset = ConstTpl(ConstTpl::j_relative,constVal); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:66:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 66 | uintb fix(const ParserWalker &walker) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc: In member function ‘virtual void AddrSpace::restoreXml(const Element*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:301:3: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 301 | int4 numAttribs = el->getNumAttributes(); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:90:3: error: ‘int4’ does not name a type; did you mean ‘int’? 90 | int4 alloc; // Number of ConstructState's allocated | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:77:3: error: ‘int4’ does not name a type; did you mean ‘int’? 77 | int4 intersectByBlock(int4 blk,const Cover &op2) const; ///< Characterize the intersection on a specific block | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:91:3: error: ‘int4’ does not name a type; did you mean ‘int’? 91 | int4 delayslot; // delayslot depth | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: In constructor ‘ContextInternal::ContextInternal()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:287:27: error: ‘size’ was not declared in this scope 287 | ContextInternal(void) { size = 0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:97:3: error: ‘uint1’ does not name a type; did you mean ‘uint’? 97 | uint1 *getBuffer(void) { return buf; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:98:19: error: ‘int4’ has not been declared 98 | void initialize(int4 maxstate,int4 maxparam,AddrSpace *spc); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:98:33: error: ‘int4’ has not been declared 98 | void initialize(int4 maxstate,int4 maxparam,AddrSpace *spc); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:182:39: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 182 | void changeHandleIndex(const vector &handmap); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:182:43: error: template argument 1 is invalid 182 | void changeHandleIndex(const vector &handmap); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:182:43: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:183:32: error: ‘int4’ has not been declared 183 | void setInput(VarnodeTpl *vn,int4 index,int4 slot); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:183:43: error: ‘int4’ has not been declared 183 | void setInput(VarnodeTpl *vn,int4 index,int4 slot); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:101:39: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 101 | void changeHandleIndex(const vector &handmap); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:184:33: error: ‘int4’ has not been declared 184 | void setOutput(VarnodeTpl *vn,int4 index); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:101:43: error: template argument 1 is invalid 101 | void changeHandleIndex(const vector &handmap); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In member function ‘bool Datatype::isCharPrint() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:100:43: error: ‘flags’ was not declared in this scope 100 | bool isCharPrint(void) const { return ((flags&(chartype|utf16|utf32|opaque_string))!=0); } ///< Does this print as a 'char' | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:101:43: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:99:3: error: ‘int4’ does not name a type; did you mean ‘int’? 99 | int4 getParserState(void) const { return parsestate; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:102:25: error: ‘int4’ has not been declared 102 | bool adjustTruncation(int4 sz,bool isbigendian); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:100:23: error: ‘int4’ has not been declared 100 | void setParserState(int4 st) { parsestate = st; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:164:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 164 | uint4 delayslot; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:102:24: error: ‘int4’ has not been declared 102 | void allocateOperand(int4 i,ParserWalkerChange &walker); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:70:39: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 70 | void changeHandleIndex(const vector &handmap); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:70:43: error: template argument 1 is invalid 70 | void changeHandleIndex(const vector &handmap); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:106:36: error: ‘int4’ has not been declared 106 | void addCommit(TripleSymbol *sym,int4 num,uintm mask,bool flow,ConstructState *point); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:70:43: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:106:45: error: ‘uintm’ has not been declared 106 | void addCommit(TripleSymbol *sym,int4 num,uintm mask,bool flow,ConstructState *point); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:137:70: error: ‘breadcrumb’ was not declared in this scope 137 | void baseState(void) { point = const_context->base_state; depth=0; breadcrumb[0] = 0; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:78:29: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 78 | void intersectList(vector &listout,const Cover &op2,int4 level) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:78:33: error: template argument 1 is invalid 78 | void intersectList(vector &listout,const Cover &op2,int4 level) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:78:33: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:313:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 313 | mutable uintb first; ///< Starting offset of the current valid range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:78:61: error: ‘int4’ has not been declared 78 | void intersectList(vector &listout,const Cover &op2,int4 level) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:79:34: error: ‘int4’ has not been declared 79 | bool contain(const PcodeOp *op,int4 max) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:165:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 165 | uint4 numlabels; // Number of label templates | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:115:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 115 | uintm getInstructionBytes(int4 byteoff,int4 numbytes,uint4 off) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:119:33: error: ‘uintb’ has not been declared 119 | AddrSpace *t_space,uintb t_offset); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:129:21: error: ‘uintb’ has not been declared 129 | void setPtrOffset(uintb val) { ptroffset = ConstTpl(ConstTpl::real,val); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:314:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 314 | mutable uintb last; ///< Ending offset of the current valid range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:130:22: error: ‘uintb’ has not been declared 130 | void setTempOffset(uintb val) { temp_offset = ConstTpl(ConstTpl::real,val); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:116:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 116 | uintm getContextBytes(int4 byteoff,int4 numbytes) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:80:3: error: ‘int4’ does not name a type; did you mean ‘int’? 80 | int4 containVarnodeDef(const Varnode *vn) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:185:31: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 185 | void deleteOps(const vector &indices); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:185:35: error: template argument 1 is invalid 185 | void deleteOps(const vector &indices); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:185:35: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:186:27: error: ‘int4’ has not been declared 186 | void saveXml(ostream &s,int4 sectionid) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:117:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 117 | uintm getInstructionBits(int4 startbit,int4 size,uint4 off) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:315:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 315 | mutable const uintm *context; ///< The current cached context blob | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:302:3: error: ‘deadcodedelay’ was not declared in this scope 302 | deadcodedelay = -1; | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:320:39: error: ‘uintm’ has not been declared 320 | void getContext(const Address &addr,uintm *buf) const; ///< Retrieve the context blob for the given address | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:321:39: error: ‘int4’ has not been declared 321 | void setContext(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:303:12: error: expected ‘;’ before ‘i’ 303 | for (int4 i=0; i < numAttribs; i++) { | ^~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:321:48: error: ‘uintm’ has not been declared 321 | void setContext(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:321:59: error: ‘uintm’ has not been declared 321 | void setContext(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:322:61: error: ‘int4’ has not been declared 322 | void setContext(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:322:70: error: ‘uintm’ has not been declared 322 | void setContext(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:322:81: error: ‘uintm’ has not been declared 322 | void setContext(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:187:3: error: ‘int4’ does not name a type; did you mean ‘int’? 187 | int4 restoreXml(const Element *el,const AddrSpaceManager *manage); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:118:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 118 | uintm getContextBits(int4 startbit,int4 size) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:119:23: error: ‘int4’ has not been declared 119 | void setContextWord(int4 i,uintm val,uintm mask) { context[i] = (context[i]&(~mask))|(mask&val); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:119:30: error: ‘uintm’ has not been declared 119 | void setContextWord(int4 i,uintm val,uintm mask) { context[i] = (context[i]&(~mask))|(mask&val); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In member function ‘bool Datatype::isEnumType() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:101:42: error: ‘flags’ was not declared in this scope 101 | bool isEnumType(void) const { return ((flags&enumtype)!=0); } ///< Is this an enumerated type | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:119:40: error: ‘uintm’ has not been declared 119 | void setContextWord(int4 i,uintm val,uintm mask) { context[i] = (context[i]&(~mask))|(mask&val); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:121:3: error: ‘int4’ does not name a type; did you mean ‘int’? 121 | int4 getLength(void) const { return base_state->length; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:122:21: error: ‘int4’ has not been declared 122 | void setDelaySlot(int4 val) { delayslot = val; } | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:24:3: error: ‘int4’ does not name a type; did you mean ‘int’? 24 | int4 size; // Number of bytes in token; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:132:39: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 132 | void changeHandleIndex(const vector &handmap); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:132:43: error: template argument 1 is invalid 132 | void changeHandleIndex(const vector &handmap); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:132:43: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:123:3: error: ‘int4’ does not name a type; did you mean ‘int’? 123 | int4 getDelaySlot(void) const { return delayslot; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:88:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 88 | map::const_iterator begin(void) const { return cover.begin(); } ///< Get beginning of CoverBlocks | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:88:22: error: template argument 1 is invalid 88 | map::const_iterator begin(void) const { return cover.begin(); } ///< Get beginning of CoverBlocks | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:88:22: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:88:22: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:88:25: error: expected ‘;’ at end of member declaration 88 | map::const_iterator begin(void) const { return cover.begin(); } ///< Get beginning of CoverBlocks | ^~~~~~~~~~~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:88:40: error: ISO C++ forbids declaration of ‘begin’ with no type [-fpermissive] 88 | map::const_iterator begin(void) const { return cover.begin(); } ///< Get beginning of CoverBlocks | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:25:3: error: ‘int4’ does not name a type; did you mean ‘int’? 25 | int4 index; // Index of this token, for resolving offsets | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:303:18: error: ‘i’ was not declared in this scope 303 | for (int4 i=0; i < numAttribs; i++) { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:28:26: error: ‘int4’ has not been declared 28 | Token(const string &nm,int4 sz,bool be,int4 ind) : name(nm) { size = sz; bigendian=be; index = ind; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:28:42: error: ‘int4’ has not been declared 28 | Token(const string &nm,int4 sz,bool be,int4 ind) : name(nm) { size = sz; bigendian=be; index = ind; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: In constructor ‘ConstTpl::ConstTpl()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:49:33: error: ‘value_real’ was not declared in this scope 49 | ConstTpl(void) { type = real; value_real = 0; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserWalker::pushOperand(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:140:30: error: ‘breadcrumb’ was not declared in this scope 140 | void pushOperand(int4 i) { breadcrumb[depth++] = i+1; point = point->resolve[i]; breadcrumb[depth] = 0; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:29:3: error: ‘int4’ does not name a type; did you mean ‘int’? 29 | int4 getSize(void) const { return size; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:169:21: error: ‘uint4’ has not been declared 169 | void setNumLabels(uint4 val) { numlabels = val; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In member function ‘bool Datatype::isPowerOfTwo() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:102:44: error: ‘flags’ was not declared in this scope 102 | bool isPowerOfTwo(void) const { return ((flags&poweroftwo)!=0); } ///< Is this a flag-based enumeration | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:31:3: error: ‘int4’ does not name a type; did you mean ‘int’? 31 | int4 getIndex(void) const { return index; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:173:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 173 | uint4 delaySlot(void) const { return delayslot; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:89:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 89 | map::const_iterator end(void) const { return cover.end(); } ///< Get end of CoverBlocks | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: In member function ‘void ConstructTpl::setNumLabels(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:169:34: error: ‘numlabels’ was not declared in this scope; did you mean ‘setNumLabels’? 169 | void setNumLabels(uint4 val) { numlabels = val; } | ^~~~~~~~~ | setNumLabels /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:89:22: error: template argument 1 is invalid 89 | map::const_iterator end(void) const { return cover.end(); } ///< Get end of CoverBlocks | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:89:22: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:89:22: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:89:25: error: expected ‘;’ at end of member declaration 89 | map::const_iterator end(void) const { return cover.end(); } ///< Get end of CoverBlocks | ^~~~~~~~~~~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:89:25: error: redeclaration of ‘int Cover::const_iterator’ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:88:25: note: previous declaration ‘int Cover::const_iterator’ 88 | map::const_iterator begin(void) const { return cover.begin(); } ///< Get beginning of CoverBlocks | ^~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:89:40: error: ISO C++ forbids declaration of ‘end’ with no type [-fpermissive] 89 | map::const_iterator end(void) const { return cover.end(); } ///< Get end of CoverBlocks | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh: In member function ‘void Cover::clear()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:73:28: error: request for member ‘clear’ in ‘((Cover*)this)->Cover::cover’, which is of non-class type ‘int’ 73 | void clear(void) { cover.clear(); } ///< Clear \b this to an empty Cover | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh: In member function ‘int Cover::begin() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:88:73: error: request for member ‘begin’ in ‘((const Cover*)this)->Cover::cover’, which is of non-class type ‘const int’ 88 | map::const_iterator begin(void) const { return cover.begin(); } ///< Get beginning of CoverBlocks | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:174:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 174 | uint4 numLabels(void) const { return numlabels; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh: In member function ‘int Cover::end() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:89:71: error: request for member ‘end’ in ‘((const Cover*)this)->Cover::cover’, which is of non-class type ‘const int’ 89 | map::const_iterator end(void) const { return cover.end(); } ///< Get end of CoverBlocks | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In destructor ‘ParserContext::~ParserContext()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:30: error: ‘context’ was not declared in this scope 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:140:41: error: ‘depth’ was not declared in this scope 140 | void pushOperand(int4 i) { breadcrumb[depth++] = i+1; point = point->resolve[i]; breadcrumb[depth] = 0; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:180:3: error: ‘int4’ does not name a type; did you mean ‘int’? 180 | int4 fillinBuild(vector &check,AddrSpace *const_space); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In constructor ‘Token::Token(const string&, int, bool, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:28:65: error: ‘size’ was not declared in this scope 28 | Token(const string &nm,int4 sz,bool be,int4 ind) : name(nm) { size = sz; bigendian=be; index = ind; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:303:22: error: ‘numAttribs’ was not declared in this scope 303 | for (int4 i=0; i < numAttribs; i++) { | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In member function ‘bool Datatype::isASCII() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:103:39: error: ‘flags’ was not declared in this scope 103 | bool isASCII(void) const { return ((flags&chartype)!=0); } ///< Does this print as an ASCII 'char' | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:28:98: error: overloaded function with no contextual type information 28 | Token(const string &nm,int4 sz,bool be,int4 ind) : name(nm) { size = sz; bigendian=be; index = ind; } | ^~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:123:11: error: ‘uint4’ does not name a type; did you mean ‘uint’? 123 | mutable uint4 flags; ///< The collection of boolean attributes for this Varnode | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:42: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:49: error: expected primary-expression before ‘)’ token 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:124:3: error: ‘int4’ does not name a type; did you mean ‘int’? 124 | int4 size; ///< Size of the Varnode in bytes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:50: error: expected ‘)’ before numeric constant 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:29: note: to match this ‘(’ 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:63: error: type ‘’ argument given to ‘delete’, expected pointer 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: In copy constructor ‘ConstTpl::ConstTpl(const ConstTpl&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:51:37: error: ‘value_real’ was not declared in this scope 51 | type=op2.type; value=op2.value; value_real=op2.value_real; select=op2.select; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:51:52: error: ‘const class ConstTpl’ has no member named ‘value_real’ 51 | type=op2.type; value=op2.value; value_real=op2.value_real; select=op2.select; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:146:3: error: ‘int4’ does not name a type; did you mean ‘int’? 146 | int4 numInput(void) const { return input.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:147:21: error: ‘int4’ has not been declared 147 | VarnodeTpl *getIn(int4 i) const { return input[i]; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:37:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 37 | uint4 size; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:154:32: error: ‘int4’ has not been declared 154 | void setInput(VarnodeTpl *vt,int4 slot) { input[slot] = vt; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:182:39: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 182 | void changeHandleIndex(const vector &handmap); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:155:20: error: ‘int4’ has not been declared 155 | void removeInput(int4 index); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:182:43: error: template argument 1 is invalid 182 | void changeHandleIndex(const vector &handmap); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:182:43: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:183:32: error: ‘int4’ has not been declared 183 | void setInput(VarnodeTpl *vn,int4 index,int4 slot); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:183:43: error: ‘int4’ has not been declared 183 | void setInput(VarnodeTpl *vn,int4 index,int4 slot); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:184:33: error: ‘int4’ has not been declared 184 | void setOutput(VarnodeTpl *vn,int4 index); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:314:12: error: no match for ‘operator>>’ (operand types are ‘std::istringstream’ {aka ‘std::__cxx11::basic_istringstream’} and ‘’) 314 | s1 >> index; | ~~~^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:125:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 125 | uint4 create_index; ///< A unique one-up index assigned to Varnode at its creation | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:39:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 39 | uintb offset_offset; // Either static offset or ptr offset | ^~~~~ | uint In file included from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:16: /usr/include/c++/11.2.0/istream:120:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(std::basic_istream<_CharT, _Traits>::__istream_type& (*)(std::basic_istream<_CharT, _Traits>::__istream_type&)) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 120 | operator>>(__istream_type& (*__pf)(__istream_type&)) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:120:36: note: no known conversion for argument 1 from ‘’ to ‘std::basic_istream::__istream_type& (*)(std::basic_istream::__istream_type&)’ {aka ‘std::basic_istream& (*)(std::basic_istream&)’} 120 | operator>>(__istream_type& (*__pf)(__istream_type&)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/11.2.0/istream:124:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(std::basic_istream<_CharT, _Traits>::__ios_type& (*)(std::basic_istream<_CharT, _Traits>::__ios_type&)) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream; std::basic_istream<_CharT, _Traits>::__ios_type = std::basic_ios]’ 124 | operator>>(__ios_type& (*__pf)(__ios_type&)) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:124:32: note: no known conversion for argument 1 from ‘’ to ‘std::basic_istream::__ios_type& (*)(std::basic_istream::__ios_type&)’ {aka ‘std::basic_ios& (*)(std::basic_ios&)’} 124 | operator>>(__ios_type& (*__pf)(__ios_type&)) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/include/c++/11.2.0/istream:131:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(std::ios_base& (*)(std::ios_base&)) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 131 | operator>>(ios_base& (*__pf)(ios_base&)) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:131:30: note: no known conversion for argument 1 from ‘’ to ‘std::ios_base& (*)(std::ios_base&)’ 131 | operator>>(ios_base& (*__pf)(ios_base&)) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/include/c++/11.2.0/istream:168:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(bool&) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 168 | operator>>(bool& __n) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:168:24: note: no known conversion for argument 1 from ‘’ to ‘bool&’ 168 | operator>>(bool& __n) | ~~~~~~^~~ /usr/include/c++/11.2.0/istream:172:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(short int&) [with _CharT = char; _Traits = std::char_traits]’ 172 | operator>>(short& __n); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserWalker::popOperand()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:141:50: error: ‘depth’ was not declared in this scope 141 | void popOperand(void) { point = point->parent; depth-= 1; } | ^~~~~ /usr/include/c++/11.2.0/istream:172:25: note: no known conversion for argument 1 from ‘’ to ‘short int&’ 172 | operator>>(short& __n); | ~~~~~~~^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:126:3: error: ‘int2’ does not name a type; did you mean ‘int’? 126 | int2 mergegroup; ///< Which group of forced merges does this Varnode belong to | ^~~~ | int /usr/include/c++/11.2.0/istream:175:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(short unsigned int&) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 175 | operator>>(unsigned short& __n) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:175:34: note: no known conversion for argument 1 from ‘’ to ‘short unsigned int&’ 175 | operator>>(unsigned short& __n) | ~~~~~~~~~~~~~~~~^~~ /usr/include/c++/11.2.0/istream:179:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(int&) [with _CharT = char; _Traits = std::char_traits]’ 179 | operator>>(int& __n); | ^~~~~~~~ /usr/include/c++/11.2.0/istream:179:23: note: no known conversion for argument 1 from ‘’ to ‘int&’ 179 | operator>>(int& __n); | ~~~~~^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:40:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 40 | uint4 offset_size; // Size of pointer | ^~~~~ | uint /usr/include/c++/11.2.0/istream:182:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(unsigned int&) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 182 | operator>>(unsigned int& __n) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:182:32: note: no known conversion for argument 1 from ‘’ to ‘unsigned int&’ 182 | operator>>(unsigned int& __n) | ~~~~~~~~~~~~~~^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In member function ‘bool Datatype::isUTF16() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:104:39: error: ‘flags’ was not declared in this scope 104 | bool isUTF16(void) const { return ((flags&utf16)!=0); } ///< Does this print as UTF16 'wchar' | ^~~~~ /usr/include/c++/11.2.0/istream:186:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long int&) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 186 | operator>>(long& __n) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:186:24: note: no known conversion for argument 1 from ‘’ to ‘long int&’ 186 | operator>>(long& __n) | ~~~~~~^~~ /usr/include/c++/11.2.0/istream:190:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long unsigned int&) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 190 | operator>>(unsigned long& __n) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:190:33: note: no known conversion for argument 1 from ‘’ to ‘long unsigned int&’ 190 | operator>>(unsigned long& __n) | ~~~~~~~~~~~~~~~^~~ /usr/include/c++/11.2.0/istream:195:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long long int&) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 195 | operator>>(long long& __n) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:195:29: note: no known conversion for argument 1 from ‘’ to ‘long long int&’ 195 | operator>>(long long& __n) | ~~~~~~~~~~~^~~ /usr/include/c++/11.2.0/istream:199:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long long unsigned int&) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 199 | operator>>(unsigned long long& __n) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:199:38: note: no known conversion for argument 1 from ‘’ to ‘long long unsigned int&’ 199 | operator>>(unsigned long long& __n) | ~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/11.2.0/istream:214:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(float&) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 214 | operator>>(float& __f) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:214:25: note: no known conversion for argument 1 from ‘’ to ‘float&’ 214 | operator>>(float& __f) | ~~~~~~~^~~ /usr/include/c++/11.2.0/istream:218:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(double&) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 218 | operator>>(double& __f) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:218:26: note: no known conversion for argument 1 from ‘’ to ‘double&’ 218 | operator>>(double& __f) | ~~~~~~~~^~~ /usr/include/c++/11.2.0/istream:222:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long double&) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 222 | operator>>(long double& __f) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:222:31: note: no known conversion for argument 1 from ‘’ to ‘long double&’ 222 | operator>>(long double& __f) | ~~~~~~~~~~~~~^~~ /usr/include/c++/11.2.0/istream:235:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(void*&) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 235 | operator>>(void*& __p) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:235:25: note: no known conversion for argument 1 from ‘’ to ‘void*&’ 235 | operator>>(void*& __p) | ~~~~~~~^~~ /usr/include/c++/11.2.0/istream:259:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(std::basic_istream<_CharT, _Traits>::__streambuf_type*) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__streambuf_type = std::basic_streambuf]’ 259 | operator>>(__streambuf_type* __sb); | ^~~~~~~~ /usr/include/c++/11.2.0/istream:259:36: note: no known conversion for argument 1 from ‘’ to ‘std::basic_istream::__streambuf_type*’ {aka ‘std::basic_streambuf*’} 259 | operator>>(__streambuf_type* __sb); | ~~~~~~~~~~~~~~~~~~^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:42:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 42 | uintb temp_offset; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:127:3: error: ‘uint2’ does not name a type; did you mean ‘uint’? 127 | uint2 addlflags; ///< Additional flags | ^~~~~ | uint In file included from /usr/include/c++/11.2.0/string:56, from /usr/include/c++/11.2.0/bits/locale_classes.h:40, from /usr/include/c++/11.2.0/bits/ios_base.h:41, from /usr/include/c++/11.2.0/ios:42, from /usr/include/c++/11.2.0/istream:38, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:16: /usr/include/c++/11.2.0/bits/basic_string.tcc:1485:5: note: candidate: ‘template std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)’ 1485 | operator>>(basic_istream<_CharT, _Traits>& __in, | ^~~~~~~~ /usr/include/c++/11.2.0/bits/basic_string.tcc:1485:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:314:15: note: mismatched types ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ and ‘const char*(const char*, int) noexcept’ {aka ‘const char*(const char*, int)’} 314 | s1 >> index; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:314:15: note: mismatched types ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ and ‘char*(char*, int) noexcept’ {aka ‘char*(char*, int)’} In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:172:18: error: ‘uint4’ has not been declared 172 | void setOffset(uint4 off) { point->offset = off; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:314:15: note: couldn’t deduce template parameter ‘_Alloc’ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: In constructor ‘ConstructTpl::ConstructTpl()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:171:24: error: ‘delayslot’ was not declared in this scope 171 | ConstructTpl(void) { delayslot=0; numlabels=0; result = (HandleTpl *)0; } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:156:39: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 156 | void changeHandleIndex(const vector &handmap); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:156:43: error: template argument 1 is invalid 156 | void changeHandleIndex(const vector &handmap); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:174:25: error: ‘int4’ has not been declared 174 | void setCurrentLength(int4 len) { point->length = len; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:156:43: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:175:26: error: ‘int4’ has not been declared 175 | void calcCurrentLength(int4 length,int4 numopers); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:175:38: error: ‘int4’ has not been declared 175 | void calcCurrentLength(int4 length,int4 numopers); | ^~~~ In file included from /usr/include/c++/11.2.0/istream:995, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:16: /usr/include/c++/11.2.0/bits/istream.tcc:958:5: note: candidate: ‘std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, _CharT&) [with _CharT = char; _Traits = std::char_traits]’ 958 | operator>>(basic_istream<_CharT, _Traits>& __in, _CharT& __c) | ^~~~~~~~ /usr/include/c++/11.2.0/bits/istream.tcc:958:62: note: no known conversion for argument 2 from ‘’ to ‘char&’ 958 | operator>>(basic_istream<_CharT, _Traits>& __in, _CharT& __c) | ~~~~~~~~^~~ In file included from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:16: /usr/include/c++/11.2.0/istream:756:5: note: candidate: ‘template std::basic_istream& std::operator>>(std::basic_istream&, unsigned char&)’ 756 | operator>>(basic_istream& __in, unsigned char& __c) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:756:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:185:31: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 185 | void deleteOps(const vector &indices); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:185:35: error: template argument 1 is invalid 185 | void deleteOps(const vector &indices); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:314:15: note: cannot convert ‘index’ (type ‘’) to type ‘unsigned char&’ 314 | s1 >> index; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:185:35: error: template argument 2 is invalid In file included from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:16: /usr/include/c++/11.2.0/istream:761:5: note: candidate: ‘template std::basic_istream& std::operator>>(std::basic_istream&, signed char&)’ 761 | operator>>(basic_istream& __in, signed char& __c) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:761:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:314:15: note: cannot convert ‘index’ (type ‘’) to type ‘signed char&’ 314 | s1 >> index; | ^~~~~ In file included from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:16: /usr/include/c++/11.2.0/istream:803:5: note: candidate: ‘std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, _CharT*) [with _CharT = char; _Traits = std::char_traits]’ 803 | operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s) | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:186:27: error: ‘int4’ has not been declared 186 | void saveXml(ostream &s,int4 sectionid) const; | ^~~~ /usr/include/c++/11.2.0/istream:803:62: note: no known conversion for argument 2 from ‘’ to ‘char*’ 803 | operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s) | ~~~~~~~~^~~ /usr/include/c++/11.2.0/istream:825:5: note: candidate: ‘template std::basic_istream& std::operator>>(std::basic_istream&, unsigned char*)’ 825 | operator>>(basic_istream& __in, unsigned char* __s) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:825:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:314:15: note: cannot convert ‘index’ (type ‘’) to type ‘unsigned char*’ 314 | s1 >> index; | ^~~~~ In file included from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:16: /usr/include/c++/11.2.0/istream:831:5: note: candidate: ‘template std::basic_istream& std::operator>>(std::basic_istream&, signed char*)’ 831 | operator>>(basic_istream& __in, signed char* __s) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:831:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:314:15: note: cannot convert ‘index’ (type ‘’) to type ‘signed char*’ 314 | s1 >> index; | ^~~~~ In file included from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:16: /usr/include/c++/11.2.0/istream:985:5: note: candidate: ‘template _Istream&& std::operator>>(_Istream&&, _Tp&&)’ 985 | operator>>(_Istream&& __is, _Tp&& __x) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:985:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:314:15: note: couldn’t deduce template parameter ‘_Tp’ 314 | s1 >> index; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserWalkerChange::setOffset(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:172:38: error: ‘struct ConstructState’ has no member named ‘offset’ 172 | void setOffset(uint4 off) { point->offset = off; } | ^~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:27, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:16: /usr/include/c++/11.2.0/iomanip:71:5: note: candidate: ‘template std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Resetiosflags)’ 71 | operator>>(basic_istream<_CharT, _Traits>& __is, _Resetiosflags __f) | ^~~~~~~~ /usr/include/c++/11.2.0/iomanip:71:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:314:15: note: cannot convert ‘index’ (type ‘’) to type ‘std::_Resetiosflags’ 314 | s1 >> index; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserWalkerChange::setCurrentLength(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:174:44: error: ‘struct ConstructState’ has no member named ‘length’ 174 | void setCurrentLength(int4 len) { point->length = len; } | ^~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:27, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:16: /usr/include/c++/11.2.0/iomanip:101:5: note: candidate: ‘template std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Setiosflags)’ 101 | operator>>(basic_istream<_CharT, _Traits>& __is, _Setiosflags __f) | ^~~~~~~~ /usr/include/c++/11.2.0/iomanip:101:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:314:15: note: cannot convert ‘index’ (type ‘’) to type ‘std::_Setiosflags’ 314 | s1 >> index; | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:27, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:16: /usr/include/c++/11.2.0/iomanip:132:5: note: candidate: ‘template std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Setbase)’ 132 | operator>>(basic_istream<_CharT, _Traits>& __is, _Setbase __f) | ^~~~~~~~ /usr/include/c++/11.2.0/iomanip:132:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:314:15: note: cannot convert ‘index’ (type ‘’) to type ‘std::_Setbase’ 314 | s1 >> index; | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:27, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:16: /usr/include/c++/11.2.0/iomanip:170:5: note: candidate: ‘std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Setfill<_CharT>) [with _CharT = char; _Traits = std::char_traits]’ 170 | operator>>(basic_istream<_CharT, _Traits>& __is, _Setfill<_CharT> __f) | ^~~~~~~~ /usr/include/c++/11.2.0/iomanip:170:71: note: no known conversion for argument 2 from ‘’ to ‘std::_Setfill’ 170 | operator>>(basic_istream<_CharT, _Traits>& __is, _Setfill<_CharT> __f) | ~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/11.2.0/iomanip:200:5: note: candidate: ‘template std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Setprecision)’ 200 | operator>>(basic_istream<_CharT, _Traits>& __is, _Setprecision __f) | ^~~~~~~~ /usr/include/c++/11.2.0/iomanip:200:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:314:15: note: cannot convert ‘index’ (type ‘’) to type ‘std::_Setprecision’ 314 | s1 >> index; | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:27, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:16: /usr/include/c++/11.2.0/iomanip:230:5: note: candidate: ‘template std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Setw)’ 230 | operator>>(basic_istream<_CharT, _Traits>& __is, _Setw __f) | ^~~~~~~~ /usr/include/c++/11.2.0/iomanip:230:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:314:15: note: cannot convert ‘index’ (type ‘’) to type ‘std::_Setw’ 314 | s1 >> index; | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:27, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:16: /usr/include/c++/11.2.0/iomanip:264:5: note: candidate: ‘template std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Get_money<_MoneyT>)’ 264 | operator>>(basic_istream<_CharT, _Traits>& __is, _Get_money<_MoneyT> __f) | ^~~~~~~~ /usr/include/c++/11.2.0/iomanip:264:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:187:3: error: ‘int4’ does not name a type; did you mean ‘int’? 187 | int4 restoreXml(const Element *el,const AddrSpaceManager *manage); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:314:15: note: mismatched types ‘std::_Get_money<_MoneyT>’ and ‘const char* (*)(const char*, int) noexcept’ {aka ‘const char* (*)(const char*, int)’} 314 | s1 >> index; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:314:15: note: mismatched types ‘std::_Get_money<_MoneyT>’ and ‘char* (*)(char*, int) noexcept’ {aka ‘char* (*)(char*, int)’} /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:314:15: note: couldn’t deduce template parameter ‘_MoneyT’ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserContext::setParserState(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:100:34: error: ‘parsestate’ was not declared in this scope; did you mean ‘base_state’? 100 | void setParserState(int4 st) { parsestate = st; } | ^~~~~~~~~~ | base_state In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:27, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:16: /usr/include/c++/11.2.0/iomanip:418:5: note: candidate: ‘std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Get_time<_CharT>) [with _CharT = char; _Traits = std::char_traits]’ 418 | operator>>(basic_istream<_CharT, _Traits>& __is, _Get_time<_CharT> __f) | ^~~~~~~~ /usr/include/c++/11.2.0/iomanip:418:72: note: no known conversion for argument 2 from ‘’ to ‘std::_Get_time’ 418 | operator>>(basic_istream<_CharT, _Traits>& __is, _Get_time<_CharT> __f) | ~~~~~~~~~~~~~~~~~~^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In member function ‘bool Datatype::isUTF32() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:105:39: error: ‘flags’ was not declared in this scope 105 | bool isUTF32(void) const { return ((flags&utf32)!=0); } ///< Does this print as UTF32 'wchar' | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:143:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 143 | uintb consumed; ///< What parts of this varnode are used | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: In member function ‘bool ConstTpl::isZero() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:69:52: error: ‘value_real’ was not declared in this scope 69 | bool isZero(void) const { return ((type==real)&&(value_real==0)); } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:83:18: error: expected ‘)’ before ‘hand’ 83 | VarnodeTpl(int4 hand,bool zerosize); | ~ ^~~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:144:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 144 | uintb nzm; ///< Which bits do we know are zero | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:151:17: error: ‘uint4’ has not been declared 151 | void setFlags(uint4 fl) const; ///< Internal method for setting boolean attributes | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:152:19: error: ‘uint4’ has not been declared 152 | void clearFlags(uint4 fl) const; ///< Internal method for clearing boolean attributes | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserContext::deallocateState(ParserWalkerChange&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:183:3: error: ‘alloc’ was not declared in this scope; did you mean ‘valloc’? 183 | alloc = 1; | ^~~~~ | valloc /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:164:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 164 | uint4 delayslot; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:159:46: error: ‘int4’ has not been declared 159 | void setSymbolReference(SymbolEntry *entry,int4 off); ///< Attach a Symbol reference to \b this | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:171:37: error: ‘numlabels’ was not declared in this scope; did you mean ‘setNumLabels’? 171 | ConstructTpl(void) { delayslot=0; numlabels=0; result = (HandleTpl *)0; } | ^~~~~~~~~ | setNumLabels /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:165:33: error: ‘int2’ has not been declared 165 | void setHigh(HighVariable *tv,int2 mg) { high = tv; mergegroup = mg; } ///< Set the HighVariable owning this Varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:188:13: error: variable or field ‘allocateOperand’ declared void 188 | inline void ParserContext::allocateOperand(int4 i,ParserWalkerChange &walker) { | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:91:3: error: ‘int4’ does not name a type; did you mean ‘int’? 91 | int4 transfer(const vector ¶ms); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:94:18: error: ‘uintb’ has not been declared 94 | void setOffset(uintb constVal) { offset = ConstTpl(ConstTpl::real,constVal); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:95:20: error: ‘uintb’ has not been declared 95 | void setRelative(uintb constVal) { offset = ConstTpl(ConstTpl::j_relative,constVal); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:143:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 143 | uintb consumed; ///< What parts of this varnode are used | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:165:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 165 | uint4 numlabels; // Number of label templates | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:169:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 169 | uintb getOffset(void) const { return loc.getOffset(); } ///< Get the offset (within its AddrSpace) where this is stored | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In member function ‘bool Datatype::isVariableLength() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:106:48: error: ‘flags’ was not declared in this scope 106 | bool isVariableLength(void) const { return ((flags&variable_length)!=0); } ///< Is \b this a variable length structure | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:144:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 144 | uintb nzm; ///< Which bits do we know are zero | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:193:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 193 | uint4 labelbase; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:51:3: error: ‘int4’ does not name a type; did you mean ‘int’? 51 | int4 length; // Length of this instantiation of the constructor | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:151:17: error: ‘uint4’ has not been declared 151 | void setFlags(uint4 fl) const; ///< Internal method for setting boolean attributes | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserContext::setContextWord(int, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:119:54: error: ‘context’ was not declared in this scope 119 | void setContextWord(int4 i,uintm val,uintm mask) { context[i] = (context[i]&(~mask))|(mask&val); } | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:152:19: error: ‘uint4’ has not been declared 152 | void clearFlags(uint4 fl) const; ///< Internal method for clearing boolean attributes | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: In member function ‘void ConstructTpl::setNumLabels(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:169:34: error: ‘numlabels’ was not declared in this scope; did you mean ‘setNumLabels’? 169 | void setNumLabels(uint4 val) { numlabels = val; } | ^~~~~~~~~ | setNumLabels /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:159:46: error: ‘int4’ has not been declared 159 | void setSymbolReference(SymbolEntry *entry,int4 off); ///< Attach a Symbol reference to \b this | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:188:44: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 188 | inline void ParserContext::allocateOperand(int4 i,ParserWalkerChange &walker) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:188:70: error: expected primary-expression before ‘&’ token 188 | inline void ParserContext::allocateOperand(int4 i,ParserWalkerChange &walker) { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:170:3: error: ‘int4’ does not name a type; did you mean ‘int’? 170 | int4 getSize(void) const { return size; } ///< Get the number of bytes this Varnode stores | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:165:33: error: ‘int2’ has not been declared 165 | void setHigh(HighVariable *tv,int2 mg) { high = tv; mergegroup = mg; } ///< Set the HighVariable owning this Varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:194:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 194 | uint4 labelcount; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:199:21: error: expected ‘)’ before ‘lbcnt’ 199 | PcodeBuilder(uint4 lbcnt) { labelbase=labelcount=lbcnt; } | ~ ^~~~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:52:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 52 | uint4 offset; // Absolute offset (from start of instruction) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:171:3: error: ‘int2’ does not name a type; did you mean ‘int’? 171 | int2 getMergeGroup(void) const { return mergegroup; } ///< Get the \e forced \e merge group of this Varnode | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:320:15: error: ‘addressSize’ was not declared in this scope 320 | s1 >> addressSize; | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:169:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 169 | uintb getOffset(void) const { return loc.getOffset(); } ///< Get the offset (within its AddrSpace) where this is stored | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:101:39: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 101 | void changeHandleIndex(const vector &handmap); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:101:43: error: template argument 1 is invalid 101 | void changeHandleIndex(const vector &handmap); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:101:43: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:102:25: error: ‘int4’ has not been declared 102 | bool adjustTruncation(int4 sz,bool isbigendian); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:202:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 202 | uint4 getLabelBase(void) const { return labelbase; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:204:38: error: ‘int4’ has not been declared 204 | void build(ConstructTpl *construct,int4 secnum); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:205:39: error: ‘int4’ has not been declared 205 | virtual void appendBuild(OpTpl *bld,int4 secnum)=0; | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:176:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 176 | uint4 getFlags(void) const { return flags; } ///< Get all the boolean attributes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:59:3: error: ‘int4’ does not name a type; did you mean ‘int’? 59 | int4 num; // Number of context word affected | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:208:44: error: ‘int4’ has not been declared 208 | virtual void appendCrossBuild(OpTpl *bld,int4 secnum)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:170:3: error: ‘int4’ does not name a type; did you mean ‘int’? 170 | int4 getSize(void) const { return size; } ///< Get the number of bytes this Varnode stores | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:188:71: error: ‘walker’ was not declared in this scope 188 | inline void ParserContext::allocateOperand(int4 i,ParserWalkerChange &walker) { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:60:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 60 | uintm mask; // Bits within word affected | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:182:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 182 | uint4 getCreateIndex(void) const { return create_index; } ///< Get the creation index | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In member function ‘bool Datatype::isOpaqueString() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:108:46: error: ‘flags’ was not declared in this scope 108 | bool isOpaqueString(void) const { return ((flags&opaque_string)!=0); } ///< Is \b this an opaquely encoded string | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:171:3: error: ‘int2’ does not name a type; did you mean ‘int’? 171 | int2 getMergeGroup(void) const { return mergegroup; } ///< Get the \e forced \e merge group of this Varnode | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:119:33: error: ‘uintb’ has not been declared 119 | AddrSpace *t_space,uintb t_offset); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:129:21: error: ‘uintb’ has not been declared 129 | void setPtrOffset(uintb val) { ptroffset = ConstTpl(ConstTpl::real,val); } | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:41:3: error: ‘int4’ does not name a type; did you mean ‘int’? 41 | int4 size; ///< Size of float in bytes (this format) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:130:22: error: ‘uintb’ has not been declared 130 | void setTempOffset(uintb val) { temp_offset = ConstTpl(ConstTpl::real,val); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:61:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 61 | uintm value; // New setting for bits | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:186:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 186 | uintb getConsume(void) const { return consumed; } ///< Get mask of consumed bits | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:187:19: error: ‘uintb’ has not been declared 187 | void setConsume(uintb val) { consumed = val; } ///< Set the mask of consumed bits (used by dead-code algorithm) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserContext::loadContext()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:120:55: error: ‘context’ was not declared in this scope 120 | void loadContext(void) { contcache->getContext(addr,context); } | ^~~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:42:5: error: ‘int4’ does not name a type; did you mean ‘int’? 42 | int4 handle_index; // Place holder for run-time determined value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:169:21: error: ‘uint4’ has not been declared 169 | void setNumLabels(uint4 val) { numlabels = val; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:42:3: error: ‘int4’ does not name a type; did you mean ‘int’? 42 | int4 signbit_pos; ///< Bit position of sign bit | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:176:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 176 | uint4 getFlags(void) const { return flags; } ///< Get all the boolean attributes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:78:3: error: ‘int4’ does not name a type; did you mean ‘int’? 78 | int4 parsestate; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:196:3: error: ‘int4’ does not name a type; did you mean ‘int’? 196 | int4 printRawNoMarkup(ostream &s) const; ///< Print a simple identifier for the Varnode | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:134:3: error: ‘int4’ does not name a type; did you mean ‘int’? 134 | int4 offset; ///< Offset (into containing struct) of subfield | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:43:3: error: ‘int4’ does not name a type; did you mean ‘int’? 43 | int4 frac_pos; ///< (lowest) bit position of fractional part | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:44:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 44 | uintb value_real; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:200:15: error: expected ‘)’ before ‘s’ 200 | Varnode(int4 s,const Address &m,Datatype *dt); ///< Construct a \e free Varnode | ~ ^~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:52:26: error: ‘uintb’ has not been declared 52 | ConstTpl(const_type tp,uintb val); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:206:41: error: ‘int4’ has not been declared 206 | bool intersects(const Address &op2loc,int4 op2size) const; ///< Check intersection against an Address range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:182:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 182 | uint4 getCreateIndex(void) const { return create_index; } ///< Get the creation index | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:173:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 173 | uint4 delaySlot(void) const { return delayslot; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:55:26: error: ‘int4’ has not been declared 55 | ConstTpl(const_type tp,int4 ht,v_field vf); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:56:26: error: ‘int4’ has not been declared 56 | ConstTpl(const_type tp,int4 ht,v_field vf,uintb plus); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:56:45: error: ‘uintb’ has not been declared 56 | ConstTpl(const_type tp,int4 ht,v_field vf,uintb plus); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:80:3: error: ‘uint1’ does not name a type; did you mean ‘uint’? 80 | uint1 buf[16]; // Buffer of bytes in the instruction stream | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:44:3: error: ‘int4’ does not name a type; did you mean ‘int’? 44 | int4 frac_size; ///< Number of bits in fractional part | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:207:3: error: ‘int4’ does not name a type; did you mean ‘int’? 207 | int4 contains(const Varnode &op) const; ///< Return info about the containment of \e op in \b this | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:326:15: error: ‘wordsize’ was not declared in this scope 326 | s1 >> wordsize; | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:132:39: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 132 | void changeHandleIndex(const vector &handmap); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:174:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 174 | uint4 numLabels(void) const { return numlabels; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:132:43: error: template argument 1 is invalid 132 | void changeHandleIndex(const vector &handmap); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:81:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 81 | uintm *context; // Pointer to local context | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:132:43: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:45:3: error: ‘int4’ does not name a type; did you mean ‘int’? 45 | int4 exp_pos; ///< (lowest) bit position of exponent | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:186:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 186 | uintb getConsume(void) const { return consumed; } ///< Get mask of consumed bits | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:187:19: error: ‘uintb’ has not been declared 187 | void setConsume(uintb val) { consumed = val; } ///< Set the mask of consumed bits (used by dead-code algorithm) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:61:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 61 | uintb getReal(void) const { return value_real; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: In constructor ‘ConstructTpl::ConstructTpl()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:171:24: error: ‘delayslot’ was not declared in this scope 171 | ConstructTpl(void) { delayslot=0; numlabels=0; result = (HandleTpl *)0; } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:208:3: error: ‘int4’ does not name a type; did you mean ‘int’? 208 | int4 characterizeOverlap(const Varnode &op) const; ///< Return 0, 1, or 2 for "no overlap", "partial overlap", "identical storage" | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:82:3: error: ‘int4’ does not name a type; did you mean ‘int’? 82 | int4 contextsize; // Number of entries in context array | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:46:3: error: ‘int4’ does not name a type; did you mean ‘int’? 46 | int4 exp_size; ///< Number of bits in exponent | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:180:3: error: ‘int4’ does not name a type; did you mean ‘int’? 180 | int4 fillinBuild(vector &check,AddrSpace *const_space); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:63:3: error: ‘int4’ does not name a type; did you mean ‘int’? 63 | int4 getHandleIndex(void) const { return value.handle_index; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:196:3: error: ‘int4’ does not name a type; did you mean ‘int’? 196 | int4 printRawNoMarkup(ostream &s) const; ///< Print a simple identifier for the Varnode | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:209:3: error: ‘int4’ does not name a type; did you mean ‘int’? 209 | int4 overlap(const Varnode &op) const; ///< Return relative point of overlap between two Varnodes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:47:3: error: ‘int4’ does not name a type; did you mean ‘int’? 47 | int4 bias; ///< What to add to real exponent to get encoding | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:200:15: error: expected ‘)’ before ‘s’ 200 | Varnode(int4 s,const Address &m,Datatype *dt); ///< Construct a \e free Varnode | ~ ^~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:206:41: error: ‘int4’ has not been declared 206 | bool intersects(const Address &op2loc,int4 op2size) const; ///< Check intersection against an Address range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:66:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 66 | uintb fix(const ParserWalker &walker) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:48:3: error: ‘int4’ does not name a type; did you mean ‘int’? 48 | int4 maxexponent; ///< Maximum possible exponent | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:210:3: error: ‘int4’ does not name a type; did you mean ‘int’? 210 | int4 overlap(const Address &op2loc,int4 op2size) const; ///< Return relative point of overlap with Address range | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserContext::setDelaySlot(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:122:33: error: ‘delayslot’ was not declared in this scope; did you mean ‘setDelaySlot’? 122 | void setDelaySlot(int4 val) { delayslot = val; } | ^~~~~~~~~ | setDelaySlot /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In member function ‘bool TypeField::operator<(const TypeField&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:137:56: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 137 | bool operator<(const TypeField &op2) const { return (offset < op2.offset); } ///< Compare based on offset | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:207:3: error: ‘int4’ does not name a type; did you mean ‘int’? 207 | int4 contains(const Varnode &op) const; ///< Return info about the containment of \e op in \b this | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:137:69: error: ‘const struct TypeField’ has no member named ‘offset’ 137 | bool operator<(const TypeField &op2) const { return (offset < op2.offset); } ///< Compare based on offset | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:49:3: error: ‘int4’ does not name a type; did you mean ‘int’? 49 | int4 decimal_precision; ///< Number of decimal digits of precision | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:51:39: error: ‘uintb’ has not been declared 51 | static double createFloat(bool sign,uintb signif,int4 exp); ///< Create a double given sign, fractional, and exponent | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:51:52: error: ‘int4’ has not been declared 51 | static double createFloat(bool sign,uintb signif,int4 exp); ///< Create a double given sign, fractional, and exponent | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:211:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 211 | uintb getNZMask(void) const { return nzm; } ///< Get the mask of bits within \b this that are known to be zero | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:52:54: error: ‘uintb’ has not been declared 52 | static floatclass extractExpSig(double x,bool *sgn,uintb *signif,int4 *exp); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:52:68: error: ‘int4’ has not been declared 52 | static floatclass extractExpSig(double x,bool *sgn,uintb *signif,int4 *exp); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:53:34: error: ‘uintb’ has not been declared 53 | static bool roundToNearestEven(uintb &signif, int4 lowbitpos); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:53:49: error: ‘int4’ has not been declared 53 | static bool roundToNearestEven(uintb &signif, int4 lowbitpos); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:131:3: error: ‘int4’ does not name a type; did you mean ‘int’? 131 | int4 depth; // Depth of the current node | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:330:9: error: ‘flags’ was not declared in this scope 330 | flags |= big_endian; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:182:39: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 182 | void changeHandleIndex(const vector &handmap); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:212:3: error: ‘int4’ does not name a type; did you mean ‘int’? 212 | int4 termOrder(const Varnode *op) const; ///< Compare two Varnodes based on their term order | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:208:3: error: ‘int4’ does not name a type; did you mean ‘int’? 208 | int4 characterizeOverlap(const Varnode &op) const; ///< Return 0, 1, or 2 for "no overlap", "partial overlap", "identical storage" | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:182:43: error: template argument 1 is invalid 182 | void changeHandleIndex(const vector &handmap); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:182:43: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:213:36: error: ‘int4’ has not been declared 213 | void printRawHeritage(ostream &s,int4 depth) const; ///< Print a simple SSA subtree rooted at \b this | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:183:32: error: ‘int4’ has not been declared 183 | void setInput(VarnodeTpl *vn,int4 index,int4 slot); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:54:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 54 | uintb setFractionalCode(uintb x,uintb code) const; ///< Set the fractional part of an encoded value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:183:43: error: ‘int4’ has not been declared 183 | void setInput(VarnodeTpl *vn,int4 index,int4 slot); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:184:33: error: ‘int4’ has not been declared 184 | void setOutput(VarnodeTpl *vn,int4 index); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:132:3: error: ‘int4’ does not name a type; did you mean ‘int’? 132 | int4 breadcrumb[32]; // Path of operands from root | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:265:22: error: ‘uintb’ has not been declared 265 | bool constantMatch(uintb val) const { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:138:42: error: ‘int4’ has not been declared 138 | void setOutOfBandState(Constructor *ct,int4 index,ConstructState *tempstate,const ParserWalker &otherwalker); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:140:20: error: ‘int4’ has not been declared 140 | void pushOperand(int4 i) { breadcrumb[depth++] = i+1; point = point->resolve[i]; breadcrumb[depth] = 0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:55:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 55 | uintb setSign(uintb x,bool sign) const; ///< Set the sign bit of an encoded value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:209:3: error: ‘int4’ does not name a type; did you mean ‘int’? 209 | int4 overlap(const Varnode &op) const; ///< Return relative point of overlap between two Varnodes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:70:39: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 70 | void changeHandleIndex(const vector &handmap); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:171:37: error: ‘numlabels’ was not declared in this scope; did you mean ‘setNumLabels’? 171 | ConstructTpl(void) { delayslot=0; numlabels=0; result = (HandleTpl *)0; } | ^~~~~~~~~ | setNumLabels /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:70:43: error: template argument 1 is invalid 70 | void changeHandleIndex(const vector &handmap); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:70:43: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:56:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 56 | uintb setExponentCode(uintb x,uintb code) const; ///< Set the exponent of an encoded value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:142:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 142 | uint4 getOffset(int4 i) const { if (i<0) return point->offset; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:270:3: error: ‘int4’ does not name a type; did you mean ‘int’? 270 | int4 isConstantExtended(uintb &val) const; ///< Is \b this an (extended) constant | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:210:3: error: ‘int4’ does not name a type; did you mean ‘int’? 210 | int4 overlap(const Address &op2loc,int4 op2size) const; ///< Return relative point of overlap with Address range | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In member function ‘bool DatatypeCompare::operator()(const Datatype*, const Datatype*) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:144:5: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 144 | int4 res = a->compareDependency(*b); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:57:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 57 | uintb getZeroEncoding(bool sgn) const; ///< Get an encoded zero value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:145:3: error: ‘int4’ does not name a type; did you mean ‘int’? 145 | int4 getOperand(void) const { return breadcrumb[depth]; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:147:37: error: ‘int4’ has not been declared 147 | const FixedHandle &getFixedHandle(int4 i) const { return point->resolve[i]->hand; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:211:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 211 | uintb getNZMask(void) const { return nzm; } ///< Get the mask of bits within \b this that are known to be zero | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:193:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 193 | uint4 labelbase; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:185:31: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 185 | void deleteOps(const vector &indices); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:185:35: error: template argument 1 is invalid 185 | void deleteOps(const vector &indices); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:185:35: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:186:27: error: ‘int4’ has not been declared 186 | void saveXml(ostream &s,int4 sectionid) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:58:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 58 | uintb getInfinityEncoding(bool sgn) const; ///< Get an encoded infinite value | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:154:3: error: ‘int4’ does not name a type; did you mean ‘int’? 154 | int4 getLength(void) const { return const_context->getLength(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:212:3: error: ‘int4’ does not name a type; did you mean ‘int’? 212 | int4 termOrder(const Varnode *op) const; ///< Compare two Varnodes based on their term order | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:59:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 59 | uintb getNaNEncoding(bool sgn) const; ///< Get an encoded NaN value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:213:36: error: ‘int4’ has not been declared 213 | void printRawHeritage(ostream &s,int4 depth) const; ///< Print a simple SSA subtree rooted at \b this | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:194:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 194 | uint4 labelcount; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:63:19: error: expected ‘)’ before ‘sz’ 63 | FloatFormat(int4 sz); ///< Construct default IEEE 754 standard settings | ~ ^~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:187:3: error: ‘int4’ does not name a type; did you mean ‘int’? 187 | int4 restoreXml(const Element *el,const AddrSpaceManager *manage); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:199:21: error: expected ‘)’ before ‘lbcnt’ 199 | PcodeBuilder(uint4 lbcnt) { labelbase=labelcount=lbcnt; } | ~ ^~~~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:335:13: error: ‘delay’ was not declared in this scope; did you mean ‘overlay’? 335 | s1 >> delay; | ^~~~~ | overlay /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:146:3: error: ‘int4’ does not name a type; did you mean ‘int’? 146 | int4 numInput(void) const { return input.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:147:21: error: ‘int4’ has not been declared 147 | VarnodeTpl *getIn(int4 i) const { return input[i]; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:155:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 155 | uintm getInstructionBytes(int4 byteoff,int4 numbytes) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:154:32: error: ‘int4’ has not been declared 154 | void setInput(VarnodeTpl *vt,int4 slot) { input[slot] = vt; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:155:20: error: ‘int4’ has not been declared 155 | void removeInput(int4 index); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:265:22: error: ‘uintb’ has not been declared 265 | bool constantMatch(uintb val) const { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:64:3: error: ‘int4’ does not name a type; did you mean ‘int’? 64 | int4 getSize(void) const { return size; } ///< Get the size of the encoding in bytes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:65:23: error: ‘uintb’ has not been declared 65 | double getHostFloat(uintb encoding,floatclass *type) const; ///< Convert an encoding into host's double | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:202:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 202 | uint4 getLabelBase(void) const { return labelbase; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:204:38: error: ‘int4’ has not been declared 204 | void build(ConstructTpl *construct,int4 secnum); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:157:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 157 | uintm getContextBytes(int4 byteoff,int4 numbytes) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:205:39: error: ‘int4’ has not been declared 205 | virtual void appendBuild(OpTpl *bld,int4 secnum)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:145:9: error: ‘res’ was not declared in this scope 145 | if (res != 0) return (res<0); | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:208:44: error: ‘int4’ has not been declared 208 | virtual void appendCrossBuild(OpTpl *bld,int4 secnum)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:146:15: error: ‘const class Datatype’ has no member named ‘getId’ 146 | return a->getId() < b->getId(); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:146:28: error: ‘const class Datatype’ has no member named ‘getId’ 146 | return a->getId() < b->getId(); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:66:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 66 | uintb getEncoding(double host) const; ///< Convert host's double into \b this encoding | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:270:3: error: ‘int4’ does not name a type; did you mean ‘int’? 270 | int4 isConstantExtended(uintb &val) const; ///< Is \b this an (extended) constant | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:159:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 159 | uintm getInstructionBits(int4 startbit,int4 size) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:67:3: error: ‘int4’ does not name a type; did you mean ‘int’? 67 | int4 getDecimalPrecision(void) const { return decimal_precision; } ///< Get number of digits of precision | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:161:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 161 | uintm getContextBits(int4 startbit,int4 size) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:68:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 68 | uintb convertEncoding(uintb encoding,const FloatFormat *formin) const; ///< Convert between two different formats | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:20, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:23:3: error: ‘int4’ does not name a type; did you mean ‘int’? 23 | int4 offset; // Offset to non-zero byte of mask | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: In constructor ‘ConstTpl::ConstTpl()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:49:33: error: ‘value_real’ was not declared in this scope 49 | ConstTpl(void) { type = real; value_real = 0; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:143:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 143 | uintb consumed; ///< What parts of this varnode are used | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:156:39: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 156 | void changeHandleIndex(const vector &handmap); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:156:43: error: template argument 1 is invalid 156 | void changeHandleIndex(const vector &handmap); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:156:43: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:70:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 70 | uintb extractFractionalCode(uintb x) const; ///< Extract the fractional part of the encoding | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:71:20: error: ‘uintb’ has not been declared 71 | bool extractSign(uintb x) const; ///< Extract the sign bit from the encoding | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:24:3: error: ‘int4’ does not name a type; did you mean ‘int’? 24 | int4 nonzerosize; // Last byte(+1) containing nonzero mask | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:72:3: error: ‘int4’ does not name a type; did you mean ‘int’? 72 | int4 extractExponentCode(uintb x) const; ///< Extract the exponent from the encoding | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:344:9: error: ‘flags’ was not declared in this scope 344 | flags |= hasphysical; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:90:3: error: ‘int4’ does not name a type; did you mean ‘int’? 90 | int4 alloc; // Number of ConstructState's allocated | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::setHigh(HighVariable*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:165:55: error: ‘mergegroup’ was not declared in this scope 165 | void setHigh(HighVariable *tv,int2 mg) { high = tv; mergegroup = mg; } ///< Set the HighVariable owning this Varnode | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:144:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 144 | uintb nzm; ///< Which bits do we know are zero | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In member function ‘bool DatatypeNameCompare::operator()(const Datatype*, const Datatype*) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:153:5: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 153 | int4 res = a->getName().compare( b->getName() ); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:151:17: error: ‘uint4’ has not been declared 151 | void setFlags(uint4 fl) const; ///< Internal method for setting boolean attributes | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:76:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 76 | uintb opEqual(uintb a,uintb b) const; ///< Equality comparison (==) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:152:19: error: ‘uint4’ has not been declared 152 | void clearFlags(uint4 fl) const; ///< Internal method for clearing boolean attributes | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: In member function ‘void ConstructTpl::setNumLabels(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:169:34: error: ‘numlabels’ was not declared in this scope; did you mean ‘setNumLabels’? 169 | void setNumLabels(uint4 val) { numlabels = val; } | ^~~~~~~~~ | setNumLabels /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:159:46: error: ‘int4’ has not been declared 159 | void setSymbolReference(SymbolEntry *entry,int4 off); ///< Attach a Symbol reference to \b this | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:165:33: error: ‘int2’ has not been declared 165 | void setHigh(HighVariable *tv,int2 mg) { high = tv; mergegroup = mg; } ///< Set the HighVariable owning this Varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:91:3: error: ‘int4’ does not name a type; did you mean ‘int’? 91 | int4 delayslot; // delayslot depth | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:77:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 77 | uintb opNotEqual(uintb a,uintb b) const; ///< Inequality comparison (!=) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:78:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 78 | uintb opLess(uintb a,uintb b) const; ///< Less-than comparison (<) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:25:10: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 25 | vector maskvec; // Mask | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:169:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 169 | uintb getOffset(void) const { return loc.getOffset(); } ///< Get the offset (within its AddrSpace) where this is stored | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:25:15: error: template argument 1 is invalid 25 | vector maskvec; // Mask | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:25:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:97:3: error: ‘uint1’ does not name a type; did you mean ‘uint’? 97 | uint1 *getBuffer(void) { return buf; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:98:19: error: ‘int4’ has not been declared 98 | void initialize(int4 maxstate,int4 maxparam,AddrSpace *spc); | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserWalker::baseState()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:137:61: error: ‘depth’ was not declared in this scope 137 | void baseState(void) { point = const_context->base_state; depth=0; breadcrumb[0] = 0; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:98:33: error: ‘int4’ has not been declared 98 | void initialize(int4 maxstate,int4 maxparam,AddrSpace *spc); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:79:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 79 | uintb opLessEqual(uintb a,uintb b) const; ///< Less-than-or-equal comparison (<=) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:170:3: error: ‘int4’ does not name a type; did you mean ‘int’? 170 | int4 getSize(void) const { return size; } ///< Get the number of bytes this Varnode stores | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:99:3: error: ‘int4’ does not name a type; did you mean ‘int’? 99 | int4 getParserState(void) const { return parsestate; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:100:23: error: ‘int4’ has not been declared 100 | void setParserState(int4 st) { parsestate = st; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:80:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 80 | uintb opNan(uintb a) const; ///< Test if Not-a-Number (NaN) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:154:9: error: ‘res’ was not declared in this scope 154 | if (res != 0) return (res < 0); | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:102:24: error: ‘int4’ has not been declared 102 | void allocateOperand(int4 i,ParserWalkerChange &walker); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:349:21: error: ‘delay’ was not declared in this scope; did you mean ‘overlay’? 349 | deadcodedelay = delay; // If deadcodedelay attribute not present, set it to delay | ^~~~~ | overlay /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:106:36: error: ‘int4’ has not been declared 106 | void addCommit(TripleSymbol *sym,int4 num,uintm mask,bool flow,ConstructState *point); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:155:15: error: ‘const class Datatype’ has no member named ‘getId’ 155 | return a->getId() < b->getId(); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:106:45: error: ‘uintm’ has not been declared 106 | void addCommit(TripleSymbol *sym,int4 num,uintm mask,bool flow,ConstructState *point); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:155:28: error: ‘const class Datatype’ has no member named ‘getId’ 155 | return a->getId() < b->getId(); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:164:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 164 | uint4 delayslot; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:361:47: error: ‘int4’ has not been declared 361 | const string &nm,int4 ind) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:174:16: error: expected ‘)’ before ‘s’ 174 | TypeBase(int4 s,type_metatype m) : Datatype(s,m) {} | ~ ^~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:81:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 81 | uintb opAdd(uintb a,uintb b) const; ///< Addition (+) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:176:16: error: expected ‘)’ before ‘s’ 176 | TypeBase(int4 s,type_metatype m,const string &n) : Datatype(s,m,n) {} | ~ ^~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:171:3: error: ‘int2’ does not name a type; did you mean ‘int’? 171 | int2 getMergeGroup(void) const { return mergegroup; } ///< Get the \e forced \e merge group of this Varnode | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:115:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 115 | uintm getInstructionBytes(int4 byteoff,int4 numbytes,uint4 off) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:82:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 82 | uintb opDiv(uintb a,uintb b) const; ///< Division (/) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:165:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 165 | uint4 numlabels; // Number of label templates | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::setHigh(HighVariable*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:165:55: error: ‘mergegroup’ was not declared in this scope 165 | void setHigh(HighVariable *tv,int2 mg) { high = tv; mergegroup = mg; } ///< Set the HighVariable owning this Varnode | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: In copy constructor ‘ConstTpl::ConstTpl(const ConstTpl&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:51:37: error: ‘value_real’ was not declared in this scope 51 | type=op2.type; value=op2.value; value_real=op2.value_real; select=op2.select; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:26:10: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 26 | vector valvec; // Value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:26:15: error: template argument 1 is invalid 26 | vector valvec; // Value | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:26:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:51:52: error: ‘const class ConstTpl’ has no member named ‘value_real’ 51 | type=op2.type; value=op2.value; value_real=op2.value_real; select=op2.select; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:29:20: error: expected ‘)’ before ‘off’ 29 | PatternBlock(int4 off,uintm msk,uintm val); | ~ ^~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:83:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 83 | uintb opMult(uintb a,uintb b) const; ///< Multiplication (*) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:116:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 116 | uintm getContextBytes(int4 byteoff,int4 numbytes) const; | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:176:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 176 | uint4 getFlags(void) const { return flags; } ///< Get all the boolean attributes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:38:14: error: ‘int4’ has not been declared 38 | void shift(int4 sa) { offset += sa; normalize(); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:84:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 84 | uintb opSub(uintb a,uintb b) const; ///< Subtraction (-) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:117:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 117 | uintm getInstructionBits(int4 startbit,int4 size,uint4 off) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:85:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 85 | uintb opNeg(uintb a) const; ///< Unary negate | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:39:3: error: ‘int4’ does not name a type; did you mean ‘int’? 39 | int4 getLength(void) const { return offset+nonzerosize; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:118:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 118 | uintm getContextBits(int4 startbit,int4 size) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:119:23: error: ‘int4’ has not been declared 119 | void setContextWord(int4 i,uintm val,uintm mask) { context[i] = (context[i]&(~mask))|(mask&val); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:119:30: error: ‘uintm’ has not been declared 119 | void setContextWord(int4 i,uintm val,uintm mask) { context[i] = (context[i]&(~mask))|(mask&val); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc: In constructor ‘ConstantSpace::ConstantSpace(AddrSpaceManager*, const Translate*, const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:362:43: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 362 | : AddrSpace(m,t,IPTR_CONSTANT,nm,sizeof(uintb),1,ind,0,0) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:119:40: error: ‘uintm’ has not been declared 119 | void setContextWord(int4 i,uintm val,uintm mask) { context[i] = (context[i]&(~mask))|(mask&val); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:182:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 182 | uint4 getCreateIndex(void) const { return create_index; } ///< Get the creation index | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:86:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 86 | uintb opAbs(uintb a) const; ///< Absolute value (abs) | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::setConsume(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:187:32: error: ‘consumed’ was not declared in this scope 187 | void setConsume(uintb val) { consumed = val; } ///< Set the mask of consumed bits (used by dead-code algorithm) | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: In constructor ‘ConstructTpl::ConstructTpl()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:171:24: error: ‘delayslot’ was not declared in this scope 171 | ConstructTpl(void) { delayslot=0; numlabels=0; result = (HandleTpl *)0; } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:137:70: error: ‘breadcrumb’ was not declared in this scope 137 | void baseState(void) { point = const_context->base_state; depth=0; breadcrumb[0] = 0; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:121:3: error: ‘int4’ does not name a type; did you mean ‘int’? 121 | int4 getLength(void) const { return base_state->length; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:122:21: error: ‘int4’ has not been declared 122 | void setDelaySlot(int4 val) { delayslot = val; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:40:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 40 | uintm getMask(int4 startbit,int4 size) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:87:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 87 | uintb opSqrt(uintb a) const; ///< Square root (sqrt) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:123:3: error: ‘int4’ does not name a type; did you mean ‘int’? 123 | int4 getDelaySlot(void) const { return delayslot; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:186:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 186 | uintb getConsume(void) const { return consumed; } ///< Get mask of consumed bits | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:187:19: error: ‘uintb’ has not been declared 187 | void setConsume(uintb val) { consumed = val; } ///< Set the mask of consumed bits (used by dead-code algorithm) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:88:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 88 | uintb opTrunc(uintb a,int4 sizeout) const; ///< Convert floating-point to integer | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:41:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 41 | uintm getValue(int4 startbit,int4 size) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:89:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 89 | uintb opCeil(uintb a) const; ///< Ceiling (ceil) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In copy constructor ‘TypeChar::TypeChar(const TypeChar&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:188:49: error: ‘flags’ was not declared in this scope 188 | TypeChar(const TypeChar &op) : TypeBase(op) { flags |= Datatype::chartype; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:196:3: error: ‘int4’ does not name a type; did you mean ‘int’? 196 | int4 printRawNoMarkup(ostream &s) const; ///< Print a simple identifier for the Varnode | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:200:15: error: expected ‘)’ before ‘s’ 200 | Varnode(int4 s,const Address &m,Datatype *dt); ///< Construct a \e free Varnode | ~ ^~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:90:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 90 | uintb opFloor(uintb a) const; ///< Floor (floor) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In constructor ‘TypeChar::TypeChar(const string&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:190:52: error: no matching function for call to ‘TypeBase::TypeBase(int, type_metatype, const string&)’ 190 | TypeChar(const string &n) : TypeBase(1,TYPE_INT,n) { flags |= Datatype::chartype; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:172:3: note: candidate: ‘TypeBase::TypeBase(const TypeBase&)’ 172 | TypeBase(const TypeBase &op) : Datatype(op) {} | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:172:3: note: candidate expects 1 argument, 3 provided /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:206:41: error: ‘int4’ has not been declared 206 | bool intersects(const Address &op2loc,int4 op2size) const; ///< Check intersection against an Address range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:169:21: error: ‘uint4’ has not been declared 169 | void setNumLabels(uint4 val) { numlabels = val; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:91:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 91 | uintb opRound(uintb a) const; ///< Round | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isConsumeList() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:188:45: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 188 | bool isConsumeList(void) const { return ((addlflags&Varnode::lisconsume)!=0); } ///< Get marker used by dead-code algorithm | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:92:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 92 | uintb opInt2Float(uintb a,int4 sizein) const; ///< Convert integer to floating-point | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:207:3: error: ‘int4’ does not name a type; did you mean ‘int’? 207 | int4 contains(const Varnode &op) const; ///< Return info about the containment of \e op in \b this | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: In member function ‘bool ConstTpl::isZero() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:69:52: error: ‘value_real’ was not declared in this scope 69 | bool isZero(void) const { return ((type==real)&&(value_real==0)); } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:83:18: error: expected ‘)’ before ‘hand’ 83 | VarnodeTpl(int4 hand,bool zerosize); | ~ ^~~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:173:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 173 | uint4 delaySlot(void) const { return delayslot; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:93:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 93 | uintb opFloat2Float(uintb a,const FloatFormat &outformat) const; ///< Convert between floating-point precisions | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:171:37: error: ‘numlabels’ was not declared in this scope; did you mean ‘setNumLabels’? 171 | ConstructTpl(void) { delayslot=0; numlabels=0; result = (HandleTpl *)0; } | ^~~~~~~~~ | setNumLabels /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:208:3: error: ‘int4’ does not name a type; did you mean ‘int’? 208 | int4 characterizeOverlap(const Varnode &op) const; ///< Return 0, 1, or 2 for "no overlap", "partial overlap", "identical storage" | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::setConsume(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:187:32: error: ‘consumed’ was not declared in this scope 187 | void setConsume(uintb val) { consumed = val; } ///< Set the mask of consumed bits (used by dead-code algorithm) | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In destructor ‘ParserContext::~ParserContext()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:30: error: ‘context’ was not declared in this scope 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh: In member function ‘void PatternBlock::shift(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:38:25: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 38 | void shift(int4 sa) { offset += sa; normalize(); } | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:174:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 174 | uint4 numLabels(void) const { return numlabels; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:365:7: error: ‘HOST_ENDIAN’ was not declared in this scope 365 | if (HOST_ENDIAN==1) // Endianness always matches host | ^~~~~~~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:36:3: error: ‘int4’ does not name a type; did you mean ‘int’? 36 | int4 instruction_length; ///< Number of bytes in the unimplemented instruction | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:91:3: error: ‘int4’ does not name a type; did you mean ‘int’? 91 | int4 transfer(const vector ¶ms); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:41:31: error: ‘int4’ has not been declared 41 | UnimplError(const string &s,int4 l) : LowlevelError(s) { instruction_length = l; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserWalker::pushOperand(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:140:30: error: ‘breadcrumb’ was not declared in this scope 140 | void pushOperand(int4 i) { breadcrumb[depth++] = i+1; point = point->resolve[i]; breadcrumb[depth] = 0; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:94:18: error: ‘uintb’ has not been declared 94 | void setOffset(uintb constVal) { offset = ConstTpl(ConstTpl::real,constVal); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:209:3: error: ‘int4’ does not name a type; did you mean ‘int’? 209 | int4 overlap(const Varnode &op) const; ///< Return relative point of overlap between two Varnodes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:371:41: error: ‘uintb’ has not been declared 371 | void ConstantSpace::printRaw(ostream &s,uintb offset) const | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:95:20: error: ‘uintb’ has not been declared 95 | void setRelative(uintb constVal) { offset = ConstTpl(ConstTpl::j_relative,constVal); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:193:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 193 | uint4 labelbase; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:180:3: error: ‘int4’ does not name a type; did you mean ‘int’? 180 | int4 fillinBuild(vector &check,AddrSpace *const_space); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:190:56: error: ‘flags’ was not declared in this scope 190 | TypeChar(const string &n) : TypeBase(1,TYPE_INT,n) { flags |= Datatype::chartype; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:210:3: error: ‘int4’ does not name a type; did you mean ‘int’? 210 | int4 overlap(const Address &op2loc,int4 op2size) const; ///< Return relative point of overlap with Address range | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isConsumeVacuous() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:189:48: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 189 | bool isConsumeVacuous(void) const { return ((addlflags&Varnode::vacconsume)!=0); } ///< Get marker used by dead-code algorithm | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:194:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 194 | uint4 labelcount; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:206:32: error: ‘int4’ has not been declared 206 | TypeUnicode(const string &nm,int4 sz,type_metatype m); ///< Construct given name,size, meta-type | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:199:21: error: expected ‘)’ before ‘lbcnt’ 199 | PcodeBuilder(uint4 lbcnt) { labelbase=labelcount=lbcnt; } | ~ ^~~~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:211:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 211 | uintb getNZMask(void) const { return nzm; } ///< Get the mask of bits within \b this that are known to be zero | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In constructor ‘TypeUnicode::TypeUnicode()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:204:42: error: no matching function for call to ‘TypeBase::TypeBase(int, type_metatype)’ 204 | TypeUnicode(void) : TypeBase(0,TYPE_INT) {} ///< For use with restoreXml | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:172:3: note: candidate: ‘TypeBase::TypeBase(const TypeBase&)’ 172 | TypeBase(const TypeBase &op) : Datatype(op) {} | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:172:3: note: candidate expects 1 argument, 2 provided /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:42: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:49: error: expected primary-expression before ‘)’ token 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:50: error: expected ‘)’ before numeric constant 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:29: note: to match this ‘(’ 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:63: error: type ‘’ argument given to ‘delete’, expected pointer 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:401:41: error: ‘int4’ has not been declared 401 | const string &nm,int4 ind) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:202:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 202 | uint4 getLabelBase(void) const { return labelbase; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:204:38: error: ‘int4’ has not been declared 204 | void build(ConstructTpl *construct,int4 secnum); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:212:3: error: ‘int4’ does not name a type; did you mean ‘int’? 212 | int4 termOrder(const Varnode *op) const; ///< Compare two Varnodes based on their term order | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:205:39: error: ‘int4’ has not been declared 205 | virtual void appendBuild(OpTpl *bld,int4 secnum)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:213:36: error: ‘int4’ has not been declared 213 | void printRawHeritage(ostream &s,int4 depth) const; ///< Print a simple SSA subtree rooted at \b this | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:208:44: error: ‘int4’ has not been declared 208 | virtual void appendCrossBuild(OpTpl *bld,int4 secnum)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isConsumeList() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:188:45: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 188 | bool isConsumeList(void) const { return ((addlflags&Varnode::lisconsume)!=0); } ///< Get marker used by dead-code algorithm | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:101:39: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 101 | void changeHandleIndex(const vector &handmap); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:101:43: error: template argument 1 is invalid 101 | void changeHandleIndex(const vector &handmap); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:101:43: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:102:25: error: ‘int4’ has not been declared 102 | bool adjustTruncation(int4 sz,bool isbigendian); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:265:22: error: ‘uintb’ has not been declared 265 | bool constantMatch(uintb val) const { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:182:39: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 182 | void changeHandleIndex(const vector &handmap); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:182:43: error: template argument 1 is invalid 182 | void changeHandleIndex(const vector &handmap); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:182:43: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:183:32: error: ‘int4’ has not been declared 183 | void setInput(VarnodeTpl *vn,int4 index,int4 slot); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:183:43: error: ‘int4’ has not been declared 183 | void setInput(VarnodeTpl *vn,int4 index,int4 slot); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:140:41: error: ‘depth’ was not declared in this scope 140 | void pushOperand(int4 i) { breadcrumb[depth++] = i+1; point = point->resolve[i]; breadcrumb[depth] = 0; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:184:33: error: ‘int4’ has not been declared 184 | void setOutput(VarnodeTpl *vn,int4 index); | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:20, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:23:3: error: ‘int4’ does not name a type; did you mean ‘int’? 23 | int4 offset; // Offset to non-zero byte of mask | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:270:3: error: ‘int4’ does not name a type; did you mean ‘int’? 270 | int4 isConstantExtended(uintb &val) const; ///< Is \b this an (extended) constant | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:119:33: error: ‘uintb’ has not been declared 119 | AddrSpace *t_space,uintb t_offset); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:24:3: error: ‘int4’ does not name a type; did you mean ‘int’? 24 | int4 nonzerosize; // Last byte(+1) containing nonzero mask | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::setConsumeList()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:190:31: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 190 | void setConsumeList(void) { addlflags |= Varnode::lisconsume; } ///< Set marker used by dead-code algorithm | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:129:21: error: ‘uintb’ has not been declared 129 | void setPtrOffset(uintb val) { ptroffset = ConstTpl(ConstTpl::real,val); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:130:22: error: ‘uintb’ has not been declared 130 | void setTempOffset(uintb val) { temp_offset = ConstTpl(ConstTpl::real,val); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh: In member function ‘bool PatternBlock::alwaysTrue() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:42:41: error: ‘nonzerosize’ was not declared in this scope 42 | bool alwaysTrue(void) const { return (nonzerosize==0); } | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc: In constructor ‘OtherSpace::OtherSpace(AddrSpaceManager*, const Translate*, const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:402:44: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 402 | : AddrSpace(m,t,IPTR_PROCESSOR,nm,sizeof(uintb),1,ind,0,0) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:415:38: error: ‘uintb’ has not been declared 415 | void OtherSpace::printRaw(ostream &s,uintb offset) const | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:185:31: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 185 | void deleteOps(const vector &indices); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:185:35: error: template argument 1 is invalid 185 | void deleteOps(const vector &indices); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:185:35: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:186:27: error: ‘int4’ has not been declared 186 | void saveXml(ostream &s,int4 sectionid) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isConsumeVacuous() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:189:48: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 189 | bool isConsumeVacuous(void) const { return ((addlflags&Varnode::vacconsume)!=0); } ///< Get marker used by dead-code algorithm | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In copy constructor ‘TypeVoid::TypeVoid(const TypeVoid&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:220:49: error: ‘flags’ was not declared in this scope 220 | TypeVoid(const TypeVoid &op) : Datatype(op) { flags |= Datatype::coretype; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh: In constructor ‘UnimplError::UnimplError(const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:41:60: error: ‘instruction_length’ was not declared in this scope 41 | UnimplError(const string &s,int4 l) : LowlevelError(s) { instruction_length = l; } | ^~~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In constructor ‘TypeVoid::TypeVoid()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:222:47: error: no matching function for call to ‘Datatype::Datatype(int, type_metatype, const char [5])’ 222 | TypeVoid(void) : Datatype(0,TYPE_VOID,"void") { flags |= Datatype::coretype; } | ^ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:93:3: note: candidate: ‘Datatype::Datatype(const Datatype&)’ 93 | Datatype(const Datatype &op) { size = op.size; name=op.name; metatype=op.metatype; flags=op.flags; id=op.id; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:93:3: note: candidate expects 1 argument, 3 provided /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserContext::setParserState(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:100:34: error: ‘parsestate’ was not declared in this scope; did you mean ‘base_state’? 100 | void setParserState(int4 st) { parsestate = st; } | ^~~~~~~~~~ | base_state /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:25:10: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 25 | vector maskvec; // Mask | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:25:15: error: template argument 1 is invalid 25 | vector maskvec; // Mask | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:25:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:187:3: error: ‘int4’ does not name a type; did you mean ‘int’? 187 | int4 restoreXml(const Element *el,const AddrSpaceManager *manage); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserWalker::popOperand()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:141:50: error: ‘depth’ was not declared in this scope 141 | void popOperand(void) { point = point->parent; depth-= 1; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:438:26: error: ‘int4’ has not been declared 438 | int4 ind,uint4 fl) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:438:35: error: ‘uint4’ has not been declared 438 | int4 ind,uint4 fl) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:132:39: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 132 | void changeHandleIndex(const vector &handmap); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:132:43: error: template argument 1 is invalid 132 | void changeHandleIndex(const vector &handmap); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:132:43: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::setConsumeVacuous()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:191:34: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 191 | void setConsumeVacuous(void) { addlflags |= Varnode::vacconsume; } ///< Set marker used by dead-code algorithm | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:65:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 65 | uint4 size; ///< Size truncated addresses into the space | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:172:18: error: ‘uint4’ has not been declared 172 | void setOffset(uint4 off) { point->offset = off; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:174:25: error: ‘int4’ has not been declared 174 | void setCurrentLength(int4 len) { point->length = len; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:175:26: error: ‘int4’ has not been declared 175 | void calcCurrentLength(int4 length,int4 numopers); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:175:38: error: ‘int4’ has not been declared 175 | void calcCurrentLength(int4 length,int4 numopers); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserWalkerChange::setOffset(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:172:38: error: ‘struct ConstructState’ has no member named ‘offset’ 172 | void setOffset(uint4 off) { point->offset = off; } | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:69:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 69 | uint4 getSize(void) const { return size; } ///< Size (of pointers) for new truncated space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserWalkerChange::setCurrentLength(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:174:44: error: ‘struct ConstructState’ has no member named ‘length’ 174 | void setCurrentLength(int4 len) { point->length = len; } | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::setConsumeList()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:190:31: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 190 | void setConsumeList(void) { addlflags |= Varnode::lisconsume; } ///< Set marker used by dead-code algorithm | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:92:90: error: ‘int4’ has not been declared 92 | virtual void dump(const Address &addr,OpCode opc,VarnodeData *outvar,VarnodeData *vars,int4 isize)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:26:10: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 26 | vector valvec; // Value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:26:15: error: template argument 1 is invalid 26 | vector valvec; // Value | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:26:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:29:20: error: expected ‘)’ before ‘off’ 29 | PatternBlock(int4 off,uintm msk,uintm val); | ~ ^~~~ | ) In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:222:51: error: ‘flags’ was not declared in this scope 222 | TypeVoid(void) : Datatype(0,TYPE_VOID,"void") { flags |= Datatype::coretype; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:38:14: error: ‘int4’ has not been declared 38 | void shift(int4 sa) { offset += sa; normalize(); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh: In member function ‘bool PatternBlock::alwaysFalse() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:43:42: error: ‘nonzerosize’ was not declared in this scope 43 | bool alwaysFalse(void) const { return (nonzerosize==-1); } | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc: In constructor ‘UniqueSpace::UniqueSpace(AddrSpaceManager*, const Translate*, const string&, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:439:43: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 439 | : AddrSpace(m,t,IPTR_INTERNAL,nm,sizeof(uintm),1,ind,fl,0) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:55:33: error: ‘int4’ has not been declared 55 | virtual void shiftInstruction(int4 sa)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:56:42: error: ‘int4’ has not been declared 56 | virtual Pattern *doOr(const Pattern *b,int4 sa) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:107:16: error: ‘uint1’ does not name a type; did you mean ‘uint’? 107 | static const uint1 *unpackOffset(const uint1 *ptr,uintb &off); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:57:43: error: ‘int4’ has not been declared 57 | virtual Pattern *doAnd(const Pattern *b,int4 sa) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:58:54: error: ‘int4’ has not been declared 58 | virtual Pattern *commonSubPattern(const Pattern *b,int4 sa) const=0; | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::setHigh(HighVariable*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:165:55: error: ‘mergegroup’ was not declared in this scope 165 | void setHigh(HighVariable *tv,int2 mg) { high = tv; mergegroup = mg; } ///< Set the HighVariable owning this Varnode | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:39:3: error: ‘int4’ does not name a type; did you mean ‘int’? 39 | int4 getLength(void) const { return offset+nonzerosize; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserContext::setContextWord(int, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:119:54: error: ‘context’ was not declared in this scope 119 | void setContextWord(int4 i,uintm val,uintm mask) { context[i] = (context[i]&(~mask))|(mask&val); } | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:109:16: error: ‘uint1’ does not name a type; did you mean ‘uint’? 109 | static const uint1 *unpackVarnodeData(const uint1 *ptr,VarnodeData &v,const AddrSpaceManager *trans); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::clearConsumeList()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:192:33: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 192 | void clearConsumeList(void) { addlflags &= ~Varnode::lisconsume; } ///< Clear marker used by dead-code algorithm | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:232:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 232 | uint4 wordsize; ///< What size unit does the pointer address | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:60:11: error: ‘int4’ does not name a type; did you mean ‘int’? 60 | virtual int4 numDisjoint(void) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:61:40: error: ‘int4’ has not been declared 61 | virtual DisjointPattern *getDisjoint(int4 i) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: In member function ‘void ConstructTpl::setNumLabels(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:169:34: error: ‘numlabels’ was not declared in this scope; did you mean ‘setNumLabels’? 169 | void setNumLabels(uint4 val) { numlabels = val; } | ^~~~~~~~~ | setNumLabels /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:464:78: error: ‘int4’ has not been declared 464 | JoinSpace::JoinSpace(AddrSpaceManager *m,const Translate *t,const string &nm,int4 ind) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:40:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 40 | uintm getMask(int4 startbit,int4 size) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:240:19: error: expected ‘)’ before ‘s’ 240 | TypePointer(int4 s,Datatype *pt,uint4 ws) : Datatype(s,TYPE_PTR) { ptrto = pt; flags = ptrto->getInheritable(); wordsize=ws; } | ~ ^~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:111:9: error: ‘uint1’ does not name a type; did you mean ‘uint’? 111 | const uint1 *restorePackedOp(const Address &addr,const uint1 *ptr,const AddrSpaceManager *trans); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserContext::deallocateState(ParserWalkerChange&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:183:3: error: ‘alloc’ was not declared in this scope; did you mean ‘valloc’? 183 | alloc = 1; | ^~~~~ | valloc /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:41:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 41 | uintm getValue(int4 startbit,int4 size) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:188:13: error: variable or field ‘allocateOperand’ declared void 188 | inline void ParserContext::allocateOperand(int4 i,ParserWalkerChange &walker) { | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::setConsumeVacuous()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:191:34: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 191 | void setConsumeVacuous(void) { addlflags |= Varnode::vacconsume; } ///< Set marker used by dead-code algorithm | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:156:27: error: ‘uintb’ has not been declared 156 | virtual Address resolve(uintb val,int4 sz,const Address &point,uintb &fullEncoding)=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:156:37: error: ‘int4’ has not been declared 156 | virtual Address resolve(uintb val,int4 sz,const Address &point,uintb &fullEncoding)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:156:66: error: ‘uintb’ has not been declared 156 | virtual Address resolve(uintb val,int4 sz,const Address &point,uintb &fullEncoding)=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:242:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 242 | uint4 getWordSize(void) const { return wordsize; } ///< Get the wordsize of the pointer | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:72:11: error: ‘int4’ does not name a type; did you mean ‘int’? 72 | virtual int4 numDisjoint(void) const { return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:73:40: error: ‘int4’ has not been declared 73 | virtual DisjointPattern *getDisjoint(int4 i) const { return (DisjointPattern *)0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:177:48: error: ‘int4’ has not been declared 177 | void setBaseRegister(const VarnodeData &data,int4 origSize,bool stackGrowth); ///< Set the base register at time space is created | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:179:74: error: ‘int4’ has not been declared 179 | SpacebaseSpace(AddrSpaceManager *m,const Translate *t,const string &nm,int4 ind,int4 sz,AddrSpace *base,int4 dl); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:179:83: error: ‘int4’ has not been declared 179 | SpacebaseSpace(AddrSpaceManager *m,const Translate *t,const string &nm,int4 ind,int4 sz,AddrSpace *base,int4 dl); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:179:107: error: ‘int4’ has not been declared 179 | SpacebaseSpace(AddrSpaceManager *m,const Translate *t,const string &nm,int4 ind,int4 sz,AddrSpace *base,int4 dl); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:188:44: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 188 | inline void ParserContext::allocateOperand(int4 i,ParserWalkerChange &walker) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:188:70: error: expected primary-expression before ‘&’ token 188 | inline void ParserContext::allocateOperand(int4 i,ParserWalkerChange &walker) { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:244:11: error: ‘int4’ does not name a type; did you mean ‘int’? 244 | virtual int4 numDepend(void) const { return 1; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:245:31: error: ‘int4’ has not been declared 245 | virtual Datatype *getDepend(int4 index) const { return ptrto; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:74:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 74 | uintm getMask(int4 startbit,int4 size,bool context) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:181:11: error: ‘int4’ does not name a type; did you mean ‘int’? 181 | virtual int4 numSpacebase(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:182:43: error: ‘int4’ has not been declared 182 | virtual const VarnodeData &getSpacebase(int4 i) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:183:47: error: ‘int4’ has not been declared 183 | virtual const VarnodeData &getSpacebaseFull(int4 i) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc: In constructor ‘JoinSpace::JoinSpace(AddrSpaceManager*, const Translate*, const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:465:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 465 | : AddrSpace(m,t,IPTR_JOIN,nm,sizeof(uintm),1,ind,0,0) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:146:3: error: ‘int4’ does not name a type; did you mean ‘int’? 146 | int4 numInput(void) const { return input.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::clearConsumeVacuous()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:193:36: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 193 | void clearConsumeVacuous(void) { addlflags &= ~Varnode::vacconsume; } ///< Clear marker used by dead-code algorithm | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:147:21: error: ‘int4’ has not been declared 147 | VarnodeTpl *getIn(int4 i) const { return input[i]; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserContext::loadContext()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:120:55: error: ‘context’ was not declared in this scope 120 | void loadContext(void) { contcache->getContext(addr,context); } | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:477:46: error: ‘uintb’ has not been declared 477 | void JoinSpace::saveXmlAttributes(ostream &s,uintb offset) const | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:154:32: error: ‘int4’ has not been declared 154 | void setInput(VarnodeTpl *vt,int4 slot) { input[slot] = vt; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:155:20: error: ‘int4’ has not been declared 155 | void removeInput(int4 index); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:75:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 75 | uintm getValue(int4 startbit,int4 size,bool context) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:247:11: error: ‘int4’ does not name a type; did you mean ‘int’? 247 | virtual int4 compare(const Datatype &op,int4 level) const; // For tree structure | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:76:3: error: ‘int4’ does not name a type; did you mean ‘int’? 76 | int4 getLength(bool context) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh: In member function ‘void PatternBlock::shift(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:38:25: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 38 | void shift(int4 sa) { offset += sa; normalize(); } | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::clearConsumeList()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:192:33: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 192 | void clearConsumeList(void) { addlflags &= ~Varnode::lisconsume; } ///< Clear marker used by dead-code algorithm | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:248:11: error: ‘int4’ does not name a type; did you mean ‘int’? 248 | virtual int4 compareDependency(const Datatype &op) const; // For tree structure | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:188:71: error: ‘walker’ was not declared in this scope 188 | inline void ParserContext::allocateOperand(int4 i,ParserWalkerChange &walker) { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:93:33: error: ‘int4’ has not been declared 93 | virtual void shiftInstruction(int4 sa) { maskvalue->shift(sa); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In constructor ‘TypePointer::TypePointer()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:235:42: error: no matching function for call to ‘Datatype::Datatype(int, type_metatype)’ 235 | TypePointer(void) : Datatype(0,TYPE_PTR) { ptrto = (Datatype *)0; wordsize=1; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:94:42: error: ‘int4’ has not been declared 94 | virtual Pattern *doOr(const Pattern *b,int4 sa) const; | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:93:3: note: candidate: ‘Datatype::Datatype(const Datatype&)’ 93 | Datatype(const Datatype &op) { size = op.size; name=op.name; metatype=op.metatype; flags=op.flags; id=op.id; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:93:3: note: candidate expects 1 argument, 2 provided /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:95:43: error: ‘int4’ has not been declared 95 | virtual Pattern *doAnd(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:96:54: error: ‘int4’ has not been declared 96 | virtual Pattern *commonSubPattern(const Pattern *b,int4 sa) const; | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::setConsume(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:187:32: error: ‘consumed’ was not declared in this scope 187 | void setConsume(uintb val) { consumed = val; } ///< Set the mask of consumed bits (used by dead-code algorithm) | ^~~~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:42:5: error: ‘int4’ does not name a type; did you mean ‘int’? 42 | int4 handle_index; // Place holder for run-time determined value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:156:39: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 156 | void changeHandleIndex(const vector &handmap); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:156:43: error: template argument 1 is invalid 156 | void changeHandleIndex(const vector &handmap); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:156:43: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc: In member function ‘virtual void JoinSpace::saveXmlAttributes(std::ostream&, int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:482:3: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 482 | int4 num = rec->numPieces(); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:483:11: error: expected ‘;’ before ‘i’ 483 | for(int4 i=0;ishiftInstruction(sa); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:66:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 66 | uintb fix(const ParserWalker &walker) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:142:42: error: ‘int4’ has not been declared 142 | virtual Pattern *doOr(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:138:42: error: ‘int4’ has not been declared 138 | void setOutOfBandState(Constructor *ct,int4 index,ConstructState *tempstate,const ParserWalker &otherwalker); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:143:43: error: ‘int4’ has not been declared 143 | virtual Pattern *doAnd(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:140:20: error: ‘int4’ has not been declared 140 | void pushOperand(int4 i) { breadcrumb[depth++] = i+1; point = point->resolve[i]; breadcrumb[depth] = 0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:144:54: error: ‘int4’ has not been declared 144 | virtual Pattern *commonSubPattern(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isImplied() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:215:41: error: ‘flags’ was not declared in this scope 215 | bool isImplied(void) const { return ((flags&Varnode::implied)!=0); } ///< Is \b this an implied variable? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:164:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 164 | uint4 delayslot; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:142:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 142 | uint4 getOffset(int4 i) const { if (i<0) return point->offset; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:483:18: error: ‘num’ was not declared in this scope; did you mean ‘enum’? 483 | for(int4 i=0;iresolve[i]->hand; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:70:39: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 70 | void changeHandleIndex(const vector &handmap); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:70:43: error: template argument 1 is invalid 70 | void changeHandleIndex(const vector &handmap); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:70:43: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:193:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 193 | uint4 labelbase; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isConsumeVacuous() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:189:48: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 189 | bool isConsumeVacuous(void) const { return ((addlflags&Varnode::vacconsume)!=0); } ///< Get marker used by dead-code algorithm | ^~~~~~~~~ | addl_flags In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:154:3: error: ‘int4’ does not name a type; did you mean ‘int’? 154 | int4 getLength(void) const { return const_context->getLength(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:488:23: error: ‘const struct VarnodeData’ has no member named ‘offset’ 488 | t << hex << vdata.offset << ':' << dec << vdata.size << '\"'; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:488:53: error: ‘const struct VarnodeData’ has no member named ‘size’ 488 | t << hex << vdata.offset << ':' << dec << vdata.size << '\"'; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:155:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 155 | uintm getInstructionBytes(int4 byteoff,int4 numbytes) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:194:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 194 | uint4 labelcount; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:199:21: error: expected ‘)’ before ‘lbcnt’ 199 | PcodeBuilder(uint4 lbcnt) { labelbase=labelcount=lbcnt; } | ~ ^~~~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isExplicit() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:216:42: error: ‘flags’ was not declared in this scope 216 | bool isExplicit(void) const { return ((flags&Varnode::explict)!=0); } ///< Is \b this an explicitly printed variable? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:157:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 157 | uintm getContextBytes(int4 byteoff,int4 numbytes) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In copy constructor ‘TypePointer::TypePointer(const TypePointer&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:238:73: error: ‘wordsize’ was not declared in this scope 238 | TypePointer(const TypePointer &op) : Datatype(op) { ptrto = op.ptrto; wordsize=op.wordsize; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:202:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 202 | uint4 getLabelBase(void) const { return labelbase; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:238:85: error: ‘const class TypePointer’ has no member named ‘wordsize’ 238 | TypePointer(const TypePointer &op) : Datatype(op) { ptrto = op.ptrto; wordsize=op.wordsize; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh: In member function ‘bool PatternBlock::alwaysFalse() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:43:42: error: ‘nonzerosize’ was not declared in this scope 43 | bool alwaysFalse(void) const { return (nonzerosize==-1); } | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:204:38: error: ‘int4’ has not been declared 204 | void build(ConstructTpl *construct,int4 secnum); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:205:39: error: ‘int4’ has not been declared 205 | virtual void appendBuild(OpTpl *bld,int4 secnum)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:208:44: error: ‘int4’ has not been declared 208 | virtual void appendCrossBuild(OpTpl *bld,int4 secnum)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isImplied() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:215:41: error: ‘flags’ was not declared in this scope 215 | bool isImplied(void) const { return ((flags&Varnode::implied)!=0); } ///< Is \b this an implied variable? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:55:33: error: ‘int4’ has not been declared 55 | virtual void shiftInstruction(int4 sa)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:159:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 159 | uintm getInstructionBits(int4 startbit,int4 size) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:56:42: error: ‘int4’ has not been declared 56 | virtual Pattern *doOr(const Pattern *b,int4 sa) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:57:43: error: ‘int4’ has not been declared 57 | virtual Pattern *doAnd(const Pattern *b,int4 sa) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:58:54: error: ‘int4’ has not been declared 58 | virtual Pattern *commonSubPattern(const Pattern *b,int4 sa) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:161:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 161 | uintm getContextBits(int4 startbit,int4 size) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:491:7: error: ‘num’ was not declared in this scope; did you mean ‘enum’? 491 | if (num == 1) | ^~~ | enum /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:60:11: error: ‘int4’ does not name a type; did you mean ‘int’? 60 | virtual int4 numDisjoint(void) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:61:40: error: ‘int4’ has not been declared 61 | virtual DisjointPattern *getDisjoint(int4 i) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::setConsumeList()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:190:31: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 190 | void setConsumeList(void) { addlflags |= Varnode::lisconsume; } ///< Set marker used by dead-code algorithm | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:157:33: error: ‘int4’ has not been declared 157 | virtual void shiftInstruction(int4 sa); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:492:45: error: ‘const struct VarnodeData’ has no member named ‘size’ 492 | a_v_i(s,"logicalsize",rec->getUnified().size); | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:20, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh:19, from src/decompile/cpp/pcodeparse.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:23:3: error: ‘int4’ does not name a type; did you mean ‘int’? 23 | int4 offset; // Offset to non-zero byte of mask | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:502:46: error: ‘uintb’ has not been declared 502 | void JoinSpace::saveXmlAttributes(ostream &s,uintb offset,int4 size) const | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:169:21: error: ‘uint4’ has not been declared 169 | void setNumLabels(uint4 val) { numlabels = val; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:502:59: error: ‘int4’ has not been declared 502 | void JoinSpace::saveXmlAttributes(ostream &s,uintb offset,int4 size) const | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:258:3: error: ‘int4’ does not name a type; did you mean ‘int’? 258 | int4 arraysize; ///< Number of elements in the array | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:266:17: error: expected ‘)’ before ‘n’ 266 | TypeArray(int4 n,Datatype *ao) : Datatype(n*ao->getSize(),TYPE_ARRAY) { | ~ ^~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:159:11: error: ‘int4’ does not name a type; did you mean ‘int’? 159 | virtual int4 numDisjoint(void) const { return orlist.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:160:40: error: ‘int4’ has not been declared 160 | virtual DisjointPattern *getDisjoint(int4 i) const { return orlist[i]; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:24:3: error: ‘int4’ does not name a type; did you mean ‘int’? 24 | int4 nonzerosize; // Last byte(+1) containing nonzero mask | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isConstant() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:217:42: error: ‘flags’ was not declared in this scope 217 | bool isConstant(void) const { return ((flags&Varnode::constant)!=0); } ///< Is \b this a constant? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:164:42: error: ‘int4’ has not been declared 164 | virtual Pattern *doOr(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:165:43: error: ‘int4’ has not been declared 165 | virtual Pattern *doAnd(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:166:54: error: ‘int4’ has not been declared 166 | virtual Pattern *commonSubPattern(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:72:11: error: ‘int4’ does not name a type; did you mean ‘int’? 72 | virtual int4 numDisjoint(void) const { return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:73:40: error: ‘int4’ has not been declared 73 | virtual DisjointPattern *getDisjoint(int4 i) const { return (DisjointPattern *)0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: In constructor ‘ConstTpl::ConstTpl()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:49:33: error: ‘value_real’ was not declared in this scope 49 | ConstTpl(void) { type = real; value_real = 0; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:173:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 173 | uint4 delaySlot(void) const { return delayslot; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:269:3: error: ‘int4’ does not name a type; did you mean ‘int’? 269 | int4 numElements(void) const { return arraysize; } ///< Get the number of elements | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:270:25: error: ‘int4’ has not been declared 270 | Datatype *getSubEntry(int4 off,int4 sz,int4 *newoff,int4 *el) const; ///< Figure out what a byte range overlaps | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:270:34: error: ‘int4’ has not been declared 270 | Datatype *getSubEntry(int4 off,int4 sz,int4 *newoff,int4 *el) const; ///< Figure out what a byte range overlaps | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isExplicit() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:216:42: error: ‘flags’ was not declared in this scope 216 | bool isExplicit(void) const { return ((flags&Varnode::explict)!=0); } ///< Is \b this an explicitly printed variable? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:270:42: error: ‘int4’ has not been declared 270 | Datatype *getSubEntry(int4 off,int4 sz,int4 *newoff,int4 *el) const; ///< Figure out what a byte range overlaps | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:270:55: error: ‘int4’ has not been declared 270 | Datatype *getSubEntry(int4 off,int4 sz,int4 *newoff,int4 *el) const; ///< Figure out what a byte range overlaps | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:74:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 74 | uintm getMask(int4 startbit,int4 size,bool context) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:272:32: error: ‘uintb’ has not been declared 272 | virtual Datatype *getSubType(uintb off,uintb *newoff) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:272:42: error: ‘uintb’ has not been declared 272 | virtual Datatype *getSubType(uintb off,uintb *newoff) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:174:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 174 | uint4 numLabels(void) const { return numlabels; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:75:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 75 | uintm getValue(int4 startbit,int4 size,bool context) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc: In member function ‘virtual void JoinSpace::saveXmlAttributes(std::ostream&, int, int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:507:3: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 507 | int4 num = rec->numPieces(); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:508:7: error: expected ‘;’ before ‘count’ 508 | int4 count = 0; | ^~~~~~ | ; In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserWalker::baseState()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:137:61: error: ‘depth’ was not declared in this scope 137 | void baseState(void) { point = const_context->base_state; depth=0; breadcrumb[0] = 0; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::setConsumeVacuous()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:191:34: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 191 | void setConsumeVacuous(void) { addlflags |= Varnode::vacconsume; } ///< Set marker used by dead-code algorithm | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:509:11: error: expected ‘;’ before ‘i’ 509 | for(int4 i=0;i maskvec; // Mask | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:180:3: error: ‘int4’ does not name a type; did you mean ‘int’? 180 | int4 fillinBuild(vector &check,AddrSpace *const_space); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:25:15: error: template argument 1 is invalid 25 | vector maskvec; // Mask | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:25:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:76:3: error: ‘int4’ does not name a type; did you mean ‘int’? 76 | int4 getLength(bool context) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isFree() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:218:38: error: ‘flags’ was not declared in this scope 218 | bool isFree(void) const { return ((flags&(Varnode::written|Varnode::input))==0); } ///< Is \b this free, not in SSA form? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:93:33: error: ‘int4’ has not been declared 93 | virtual void shiftInstruction(int4 sa) { maskvalue->shift(sa); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:94:42: error: ‘int4’ has not been declared 94 | virtual Pattern *doOr(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:95:43: error: ‘int4’ has not been declared 95 | virtual Pattern *doAnd(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:276:11: error: ‘int4’ does not name a type; did you mean ‘int’? 276 | virtual int4 compare(const Datatype &op,int4 level) const; // For tree structure | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:96:54: error: ‘int4’ has not been declared 96 | virtual Pattern *commonSubPattern(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:509:16: error: ‘i’ was not declared in this scope 509 | for(int4 i=0;i &handmap); | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:93:3: note: candidate: ‘Datatype::Datatype(const Datatype&)’ 93 | Datatype(const Datatype &op) { size = op.size; name=op.name; metatype=op.metatype; flags=op.flags; id=op.id; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:182:43: error: template argument 1 is invalid 182 | void changeHandleIndex(const vector &handmap); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:93:3: note: candidate expects 1 argument, 2 provided /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:182:43: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:183:32: error: ‘int4’ has not been declared 183 | void setInput(VarnodeTpl *vn,int4 index,int4 slot); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:26:10: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 26 | vector valvec; // Value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:183:43: error: ‘int4’ has not been declared 183 | void setInput(VarnodeTpl *vn,int4 index,int4 slot); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:26:15: error: template argument 1 is invalid 26 | vector valvec; // Value | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:26:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:184:33: error: ‘int4’ has not been declared 184 | void setOutput(VarnodeTpl *vn,int4 index); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:29:20: error: expected ‘)’ before ‘off’ 29 | PatternBlock(int4 off,uintm msk,uintm val); | ~ ^~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: In copy constructor ‘ConstTpl::ConstTpl(const ConstTpl&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:51:37: error: ‘value_real’ was not declared in this scope 51 | type=op2.type; value=op2.value; value_real=op2.value_real; select=op2.select; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:38:14: error: ‘int4’ has not been declared 38 | void shift(int4 sa) { offset += sa; normalize(); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::clearConsumeList()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:192:33: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 192 | void clearConsumeList(void) { addlflags &= ~Varnode::lisconsume; } ///< Clear marker used by dead-code algorithm | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:51:52: error: ‘const class ConstTpl’ has no member named ‘value_real’ 51 | type=op2.type; value=op2.value; value_real=op2.value_real; select=op2.select; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:114:33: error: ‘int4’ has not been declared 114 | virtual void shiftInstruction(int4 sa) { } // do nothing | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:115:42: error: ‘int4’ has not been declared 115 | virtual Pattern *doOr(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:116:43: error: ‘int4’ has not been declared 116 | virtual Pattern *doAnd(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:117:54: error: ‘int4’ has not been declared 117 | virtual Pattern *commonSubPattern(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:39:3: error: ‘int4’ does not name a type; did you mean ‘int’? 39 | int4 getLength(void) const { return offset+nonzerosize; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:509:18: error: ‘num’ was not declared in this scope; did you mean ‘enum’? 509 | for(int4 i=0;ibase_state; depth=0; breadcrumb[0] = 0; } | ^~~~~~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:20, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:26:36: error: ‘int4’ has not been declared 26 | static PatternBlock *buildSingle(int4 startbit,int4 endbit,uintm byteval); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:26:50: error: ‘int4’ has not been declared 26 | static PatternBlock *buildSingle(int4 startbit,int4 endbit,uintm byteval); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:26:62: error: ‘uintm’ has not been declared 26 | static PatternBlock *buildSingle(int4 startbit,int4 endbit,uintm byteval); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:40:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 40 | uintm getMask(int4 startbit,int4 size) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:27:38: error: ‘int4’ has not been declared 27 | static PatternBlock *buildBigBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:27:48: error: ‘int4’ has not been declared 27 | static PatternBlock *buildBigBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:27:62: error: ‘int4’ has not been declared 27 | static PatternBlock *buildBigBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:27:74: error: ‘intb’ has not been declared 27 | static PatternBlock *buildBigBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:28:41: error: ‘int4’ has not been declared 28 | static PatternBlock *buildLittleBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:185:31: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 185 | void deleteOps(const vector &indices); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:28:51: error: ‘int4’ has not been declared 28 | static PatternBlock *buildLittleBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:185:35: error: template argument 1 is invalid 185 | void deleteOps(const vector &indices); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:185:35: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:28:65: error: ‘int4’ has not been declared 28 | static PatternBlock *buildLittleBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:28:77: error: ‘intb’ has not been declared 28 | static PatternBlock *buildLittleBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:186:27: error: ‘int4’ has not been declared 186 | void saveXml(ostream &s,int4 sectionid) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isFree() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:218:38: error: ‘flags’ was not declared in this scope 218 | bool isFree(void) const { return ((flags&(Varnode::written|Varnode::input))==0); } ///< Is \b this free, not in SSA form? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:137:33: error: ‘int4’ has not been declared 137 | virtual void shiftInstruction(int4 sa) { instr->shiftInstruction(sa); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:514:23: error: ‘const struct VarnodeData’ has no member named ‘offset’ 514 | t << hex << vdata.offset << ':' << dec << vdata.size << '\"'; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:41:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 41 | uintm getValue(int4 startbit,int4 size) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:142:42: error: ‘int4’ has not been declared 142 | virtual Pattern *doOr(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:514:53: error: ‘const struct VarnodeData’ has no member named ‘size’ 514 | t << hex << vdata.offset << ':' << dec << vdata.size << '\"'; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:515:20: error: ‘const struct VarnodeData’ has no member named ‘size’ 515 | count += vdata.size; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:143:43: error: ‘int4’ has not been declared 143 | virtual Pattern *doAnd(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:144:54: error: ‘int4’ has not been declared 144 | virtual Pattern *commonSubPattern(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:187:3: error: ‘int4’ does not name a type; did you mean ‘int’? 187 | int4 restoreXml(const Element *el,const AddrSpaceManager *manage); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:29:3: error: ‘int4’ does not name a type; did you mean ‘int’? 29 | int4 resolveTokens(const TokenPattern &tokpat1,const TokenPattern &tokpat2); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:35:27: error: ‘intb’ has not been declared 35 | TokenPattern(Token *tok,intb value,int4 bitstart,int4 bitend); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:35:38: error: ‘int4’ has not been declared 35 | TokenPattern(Token *tok,intb value,int4 bitstart,int4 bitend); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:35:52: error: ‘int4’ has not been declared 35 | TokenPattern(Token *tok,intb value,int4 bitstart,int4 bitend); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:36:20: error: expected ‘)’ before ‘value’ 36 | TokenPattern(intb value,int4 startbit,int4 endbit); | ~ ^~~~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::clearConsumeVacuous()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:193:36: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 193 | void clearConsumeVacuous(void) { addlflags &= ~Varnode::vacconsume; } ///< Clear marker used by dead-code algorithm | ^~~~~~~~~ | addl_flags In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:261:46: error: ‘arraysize’ was not declared in this scope 261 | TypeArray(void) : Datatype(0,TYPE_ARRAY) { arraysize = 0; arrayof = (Datatype *)0; } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:49:3: error: ‘int4’ does not name a type; did you mean ‘int’? 49 | int4 getMinimumLength(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isIllegalInput() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:220:46: error: ‘flags’ was not declared in this scope 220 | bool isIllegalInput(void) const { return ((flags&(Varnode::input|Varnode::directwrite))==Varnode::input); } ///< Is \b this an abnormal input to the function? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:518:7: error: ‘num’ was not declared in this scope; did you mean ‘enum’? 518 | if (num == 1) | ^~~ | enum /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:519:45: error: ‘const struct VarnodeData’ has no member named ‘size’ 519 | a_v_i(s,"logicalsize",rec->getUnified().size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: In member function ‘bool ConstTpl::isZero() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:69:52: error: ‘value_real’ was not declared in this scope 69 | bool isZero(void) const { return ((type==real)&&(value_real==0)); } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:520:14: error: invalid operands of types ‘’ and ‘int’ to binary ‘operator!=’ 520 | if ((count != size)&&(num>1)) | ~~~~~~^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isInput() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:219:39: error: ‘flags’ was not declared in this scope 219 | bool isInput(void) const { return ((flags&Varnode::input)!=0); } ///< Is \b this an SSA input node? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:83:18: error: expected ‘)’ before ‘hand’ 83 | VarnodeTpl(int4 hand,bool zerosize); | ~ ^~~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh: In member function ‘void PatternBlock::shift(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:38:25: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 38 | void shift(int4 sa) { offset += sa; normalize(); } | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserWalker::pushOperand(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:140:30: error: ‘breadcrumb’ was not declared in this scope 140 | void pushOperand(int4 i) { breadcrumb[depth++] = i+1; point = point->resolve[i]; breadcrumb[depth] = 0; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:91:3: error: ‘int4’ does not name a type; did you mean ‘int’? 91 | int4 transfer(const vector ¶ms); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isAnnotation() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:214:44: error: ‘flags’ was not declared in this scope 214 | bool isAnnotation(void) const { return ((flags&Varnode::annotation)!=0); } ///< Is \b this an annotation? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:94:18: error: ‘uintb’ has not been declared 94 | void setOffset(uintb constVal) { offset = ConstTpl(ConstTpl::real,constVal); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:95:20: error: ‘uintb’ has not been declared 95 | void setRelative(uintb constVal) { offset = ConstTpl(ConstTpl::j_relative,constVal); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:222:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 222 | map shortcut2Space; ///< Map from shortcut -> space | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:222:23: error: template argument 1 is invalid 222 | map shortcut2Space; ///< Map from shortcut -> space | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:222:23: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:222:23: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: In member function ‘void ConstructTpl::setNumLabels(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:169:34: error: ‘numlabels’ was not declared in this scope; did you mean ‘setNumLabels’? 169 | void setNumLabels(uint4 val) { numlabels = val; } | ^~~~~~~~~ | setNumLabels /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isIndirectOnly() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:221:46: error: ‘flags’ was not declared in this scope 221 | bool isIndirectOnly(void) const { return ((flags&Varnode::indirectonly)!=0); } ///< Is \b this read only by INDIRECT operations? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:520:25: error: ‘num’ was not declared in this scope; did you mean ‘enum’? 520 | if ((count != size)&&(num>1)) | ^~~ | enum /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:57:3: error: ‘int4’ does not name a type; did you mean ‘int’? 57 | int4 refcount; // Number of objects referencing this | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:231:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 231 | uintb joinallocate; ///< Next offset to be allocated in join space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:157:33: error: ‘int4’ has not been declared 157 | virtual void shiftInstruction(int4 sa); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In copy constructor ‘TypeArray::TypeArray(const TypeArray&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:264:73: error: ‘arraysize’ was not declared in this scope 264 | TypeArray(const TypeArray &op) : Datatype(op) { arrayof = op.arrayof; arraysize = op.arraysize; } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:63:11: error: ‘intb’ does not name a type; did you mean ‘int’? 63 | virtual intb getValue(ParserWalker &walker) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:264:88: error: ‘const class TypeArray’ has no member named ‘arraysize’ 264 | TypeArray(const TypeArray &op) : Datatype(op) { arrayof = op.arrayof; arraysize = op.arraysize; } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isIllegalInput() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:220:46: error: ‘flags’ was not declared in this scope 220 | bool isIllegalInput(void) const { return ((flags&(Varnode::input|Varnode::directwrite))==Varnode::input); } ///< Is \b this an abnormal input to the function? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:530:1: error: ‘uintb’ does not name a type; did you mean ‘uint’? 530 | uintb JoinSpace::restoreXmlAttributes(const Element *el,uint4 &size) const | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:579:37: error: ‘uintb’ has not been declared 579 | void JoinSpace::printRaw(ostream &s,uintb offset) const | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:101:39: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 101 | void changeHandleIndex(const vector &handmap); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:101:43: error: template argument 1 is invalid 101 | void changeHandleIndex(const vector &handmap); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:101:43: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:140:41: error: ‘depth’ was not declared in this scope 140 | void pushOperand(int4 i) { breadcrumb[depth++] = i+1; point = point->resolve[i]; breadcrumb[depth] = 0; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:159:11: error: ‘int4’ does not name a type; did you mean ‘int’? 159 | virtual int4 numDisjoint(void) const { return orlist.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:102:25: error: ‘int4’ has not been declared 102 | bool adjustTruncation(int4 sz,bool isbigendian); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:160:40: error: ‘int4’ has not been declared 160 | virtual DisjointPattern *getDisjoint(int4 i) const { return orlist[i]; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:164:42: error: ‘int4’ has not been declared 164 | virtual Pattern *doOr(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:165:43: error: ‘int4’ has not been declared 165 | virtual Pattern *doAnd(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:166:54: error: ‘int4’ has not been declared 166 | virtual Pattern *commonSubPattern(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isImplied() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:215:41: error: ‘flags’ was not declared in this scope 215 | bool isImplied(void) const { return ((flags&Varnode::implied)!=0); } ///< Is \b this an implied variable? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:119:33: error: ‘uintb’ has not been declared 119 | AddrSpace *t_space,uintb t_offset); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh: In member function ‘bool PatternBlock::alwaysTrue() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:42:41: error: ‘nonzerosize’ was not declared in this scope 42 | bool alwaysTrue(void) const { return (nonzerosize==0); } | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isExternalRef() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:222:45: error: ‘flags’ was not declared in this scope 222 | bool isExternalRef(void) const { return ((flags&Varnode::externref)!=0); } ///< Is \b this storage location mapped by the loader to an external location? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:66:33: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 66 | virtual void getMinMax(vector &minlist,vector &maxlist) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:66:37: error: template argument 1 is invalid 66 | virtual void getMinMax(vector &minlist,vector &maxlist) const=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:66:37: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:129:21: error: ‘uintb’ has not been declared 129 | void setPtrOffset(uintb val) { ptroffset = ConstTpl(ConstTpl::real,val); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:130:22: error: ‘uintb’ has not been declared 130 | void setTempOffset(uintb val) { temp_offset = ConstTpl(ConstTpl::real,val); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc: In member function ‘virtual void JoinSpace::printRaw(std::ostream&, int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:583:3: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 583 | int4 szsum = 0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:584:7: error: expected ‘;’ before ‘num’ 584 | int4 num = rec->numPieces(); | ^~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isIndirectOnly() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:221:46: error: ‘flags’ was not declared in this scope 221 | bool isIndirectOnly(void) const { return ((flags&Varnode::indirectonly)!=0); } ///< Is \b this read only by INDIRECT operations? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:586:11: error: expected ‘;’ before ‘i’ 586 | for(int4 i=0;i namemap; ///< Map from integer to name | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:289:19: error: template argument 1 is invalid 289 | map namemap; ///< Map from integer to name | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:289:19: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:289:19: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserWalker::popOperand()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:141:50: error: ‘depth’ was not declared in this scope 141 | void popOperand(void) { point = point->parent; depth-= 1; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:66:55: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 66 | virtual void getMinMax(vector &minlist,vector &maxlist) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:66:59: error: template argument 1 is invalid 66 | virtual void getMinMax(vector &minlist,vector &maxlist) const=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:66:59: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isExplicit() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:216:42: error: ‘flags’ was not declared in this scope 216 | bool isExplicit(void) const { return ((flags&Varnode::explict)!=0); } ///< Is \b this an explicitly printed variable? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:132:39: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 132 | void changeHandleIndex(const vector &handmap); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:132:43: error: template argument 1 is invalid 132 | void changeHandleIndex(const vector &handmap); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:132:43: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: In constructor ‘ConstructTpl::ConstructTpl()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:171:24: error: ‘delayslot’ was not declared in this scope 171 | ConstructTpl(void) { delayslot=0; numlabels=0; result = (HandleTpl *)0; } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:67:11: error: ‘intb’ does not name a type; did you mean ‘int’? 67 | virtual intb getSubValue(const vector &replace,int4 &listpos) const=0; | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:172:18: error: ‘uint4’ has not been declared 172 | void setOffset(uint4 off) { point->offset = off; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:174:25: error: ‘int4’ has not been declared 174 | void setCurrentLength(int4 len) { point->length = len; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:175:26: error: ‘int4’ has not been declared 175 | void calcCurrentLength(int4 length,int4 numopers); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:175:38: error: ‘int4’ has not been declared 175 | void calcCurrentLength(int4 length,int4 numopers); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:586:16: error: ‘i’ was not declared in this scope 586 | for(int4 i=0;i &replace) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserWalkerChange::setOffset(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:172:38: error: ‘struct ConstructState’ has no member named ‘offset’ 172 | void setOffset(uint4 off) { point->offset = off; } | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserWalkerChange::setCurrentLength(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:174:44: error: ‘struct ConstructState’ has no member named ‘length’ 174 | void setCurrentLength(int4 len) { point->length = len; } | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:290:10: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 290 | vector masklist; ///< Masks for each bitfield within the enum | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:290:15: error: template argument 1 is invalid 290 | vector masklist; ///< Masks for each bitfield within the enum | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:290:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isExternalRef() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:222:45: error: ‘flags’ was not declared in this scope 222 | bool isExternalRef(void) const { return ((flags&Varnode::externref)!=0); } ///< Is \b this storage location mapped by the loader to an external location? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh: In member function ‘bool PatternBlock::alwaysFalse() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:43:42: error: ‘nonzerosize’ was not declared in this scope 43 | bool alwaysFalse(void) const { return (nonzerosize==-1); } | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:55:33: error: ‘int4’ has not been declared 55 | virtual void shiftInstruction(int4 sa)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:56:42: error: ‘int4’ has not been declared 56 | virtual Pattern *doOr(const Pattern *b,int4 sa) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:57:43: error: ‘int4’ has not been declared 57 | virtual Pattern *doAnd(const Pattern *b,int4 sa) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:58:54: error: ‘int4’ has not been declared 58 | virtual Pattern *commonSubPattern(const Pattern *b,int4 sa) const=0; | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:20, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:26:36: error: ‘int4’ has not been declared 26 | static PatternBlock *buildSingle(int4 startbit,int4 endbit,uintm byteval); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:26:50: error: ‘int4’ has not been declared 26 | static PatternBlock *buildSingle(int4 startbit,int4 endbit,uintm byteval); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:26:62: error: ‘uintm’ has not been declared 26 | static PatternBlock *buildSingle(int4 startbit,int4 endbit,uintm byteval); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isConstant() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:217:42: error: ‘flags’ was not declared in this scope 217 | bool isConstant(void) const { return ((flags&Varnode::constant)!=0); } ///< Is \b this a constant? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:586:18: error: ‘num’ was not declared in this scope; did you mean ‘enum’? 586 | for(int4 i=0;i &nmap); ///< Establish the value -> name map | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isReadOnly() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:224:42: error: ‘flags’ was not declared in this scope 224 | bool isReadOnly(void) const { return ((flags&Varnode::readonly)!=0); } ///< Is \b this a read-only storage location? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:291:41: error: template argument 1 is invalid 291 | void setNameMap(const map &nmap); ///< Establish the value -> name map | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:291:41: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:291:41: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserContext::deallocateState(ParserWalkerChange&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:183:3: error: ‘alloc’ was not declared in this scope; did you mean ‘valloc’? 183 | alloc = 1; | ^~~~~ | valloc In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:52:3: error: ‘int4’ does not name a type; did you mean ‘int’? 52 | int4 getLength(void) const { return name.size(); } ///< Get the number of attributes associated with the element | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:29:3: error: ‘int4’ does not name a type; did you mean ‘int’? 29 | int4 resolveTokens(const TokenPattern &tokpat1,const TokenPattern &tokpat2); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:53:24: error: ‘int4’ has not been declared 53 | const string &getURI(int4 i) const { return bogus_uri; } ///< Get the namespace URI associated with the i-th attribute | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:188:13: error: variable or field ‘allocateOperand’ declared void 188 | inline void ParserContext::allocateOperand(int4 i,ParserWalkerChange &walker) { | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:297:16: error: expected ‘)’ before ‘s’ 297 | TypeEnum(int4 s,type_metatype m) : TypeBase(s,m) { flags |= enumtype; } | ~ ^~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:35:27: error: ‘intb’ has not been declared 35 | TokenPattern(Token *tok,intb value,int4 bitstart,int4 bitend); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:35:38: error: ‘int4’ has not been declared 35 | TokenPattern(Token *tok,intb value,int4 bitstart,int4 bitend); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:299:16: error: expected ‘)’ before ‘s’ 299 | TypeEnum(int4 s,type_metatype m,const string &nm) : TypeBase(s,m,nm) { flags |= enumtype; } | ~ ^~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:35:52: error: ‘int4’ has not been declared 35 | TokenPattern(Token *tok,intb value,int4 bitstart,int4 bitend); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:171:37: error: ‘numlabels’ was not declared in this scope; did you mean ‘setNumLabels’? 171 | ConstructTpl(void) { delayslot=0; numlabels=0; result = (HandleTpl *)0; } | ^~~~~~~~~ | setNumLabels /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:54:30: error: ‘int4’ has not been declared 54 | const string &getLocalName(int4 i) const { return *name[i]; } ///< Get the local name of the i-th attribute | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:36:20: error: expected ‘)’ before ‘value’ 36 | TokenPattern(intb value,int4 startbit,int4 endbit); | ~ ^~~~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:55:26: error: ‘int4’ has not been declared 55 | const string &getQName(int4 i) const { return *name[i]; } ///< Get the qualified name of the i-th attribute | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:61:26: error: ‘int4’ has not been declared 61 | const string &getValue(int4 i) const { return *value[i]; } ///< Get the value of the i-th attribute | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::hasActionProperty() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:223:49: error: ‘flags’ was not declared in this scope 223 | bool hasActionProperty(void) const { return ((flags&(Varnode::readonly|Varnode::volatil))!=0); } ///< Will this Varnode be replaced dynamically? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:72:11: error: ‘int4’ does not name a type; did you mean ‘int’? 72 | virtual int4 numDisjoint(void) const { return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:73:40: error: ‘int4’ has not been declared 73 | virtual DisjointPattern *getDisjoint(int4 i) const { return (DisjointPattern *)0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:237:28: error: ‘int4’ has not been declared 237 | void setDefaultCodeSpace(int4 index); ///< Set the default address space (for code) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:238:28: error: ‘int4’ has not been declared 238 | void setDefaultDataSpace(int4 index); ///< Set the default address space for data | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:241:40: error: ‘int4’ has not been declared 241 | void markNearPointers(AddrSpace *spc,int4 size); ///< Mark that given space can be accessed with near pointers | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In constructor ‘PatternExpression::PatternExpression()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:62:29: error: ‘refcount’ was not declared in this scope 62 | PatternExpression(void) { refcount = 0; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:244:81: error: ‘int4’ has not been declared 244 | void addSpacebasePointer(SpacebaseSpace *basespace,const VarnodeData &ptrdata,int4 truncSize,bool stackGrowth); ///< Set the base register of a spacebase space | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:247:32: error: ‘uintb’ has not been declared 247 | JoinRecord *findJoinInternal(uintb offset) const; ///< Find JoinRecord for \e offset in the join space | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:49:3: error: ‘int4’ does not name a type; did you mean ‘int’? 49 | int4 getMinimumLength(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:188:44: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 188 | inline void ParserContext::allocateOperand(int4 i,ParserWalkerChange &walker) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:193:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 193 | uint4 labelbase; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:188:70: error: expected primary-expression before ‘&’ token 188 | inline void ParserContext::allocateOperand(int4 i,ParserWalkerChange &walker) { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:74:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 74 | uintm getMask(int4 startbit,int4 size,bool context) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isFree() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:218:38: error: ‘flags’ was not declared in this scope 218 | bool isFree(void) const { return ((flags&(Varnode::written|Varnode::input))==0); } ///< Is \b this free, not in SSA form? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:588:5: error: ‘szsum’ was not declared in this scope 588 | szsum += vdat.size; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:588:19: error: ‘const struct VarnodeData’ has no member named ‘size’ 588 | szsum += vdat.size; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:591:33: error: ‘const struct VarnodeData’ has no member named ‘offset’ 591 | vdat.space->printRaw(s,vdat.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:251:3: error: ‘int4’ does not name a type; did you mean ‘int’? 251 | int4 getDefaultSize(void) const; ///< Get size of addresses for the default space | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:75:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 75 | uintm getValue(int4 startbit,int4 size,bool context) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:194:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 194 | uint4 labelcount; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:262:23: error: ‘uintb’ has not been declared 262 | Address getConstant(uintb val) const; ///< Get a constant encoded as an Address | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:300:7: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 300 | map::const_iterator beginEnum(void) const { return namemap.begin(); } ///< Beginning of name map | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:264:42: error: ‘uintb’ has not been declared 264 | Address resolveConstant(AddrSpace *spc,uintb val,int4 sz,const Address &point,uintb &fullEncoding) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:300:19: error: template argument 1 is invalid 300 | map::const_iterator beginEnum(void) const { return namemap.begin(); } ///< Beginning of name map | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:300:19: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:300:19: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:264:52: error: ‘int4’ has not been declared 264 | Address resolveConstant(AddrSpace *spc,uintb val,int4 sz,const Address &point,uintb &fullEncoding) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:199:21: error: expected ‘)’ before ‘lbcnt’ 199 | PcodeBuilder(uint4 lbcnt) { labelbase=labelcount=lbcnt; } | ~ ^~~~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:264:81: error: ‘uintb’ has not been declared 264 | Address resolveConstant(AddrSpace *spc,uintb val,int4 sz,const Address &point,uintb &fullEncoding) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:300:22: error: expected ‘;’ at end of member declaration 300 | map::const_iterator beginEnum(void) const { return namemap.begin(); } ///< Beginning of name map | ^~~~~~~~~~~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:146:3: error: ‘int4’ does not name a type; did you mean ‘int’? 146 | int4 numInput(void) const { return input.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:147:21: error: ‘int4’ has not been declared 147 | VarnodeTpl *getIn(int4 i) const { return input[i]; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:300:37: error: ISO C++ forbids declaration of ‘beginEnum’ with no type [-fpermissive] 300 | map::const_iterator beginEnum(void) const { return namemap.begin(); } ///< Beginning of name map | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isVolatile() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:225:42: error: ‘flags’ was not declared in this scope 225 | bool isVolatile(void) const { return ((flags&Varnode::volatil)!=0); } ///< Is \b this a volatile storage location? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:154:32: error: ‘int4’ has not been declared 154 | void setInput(VarnodeTpl *vt,int4 slot) { input[slot] = vt; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:155:20: error: ‘int4’ has not been declared 155 | void removeInput(int4 index); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:76:3: error: ‘int4’ does not name a type; did you mean ‘int’? 76 | int4 getLength(bool context) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:265:3: error: ‘int4’ does not name a type; did you mean ‘int’? 265 | int4 numSpaces(void) const; ///< Get the number of address spaces for this processor | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:202:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 202 | uint4 getLabelBase(void) const { return labelbase; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:266:23: error: ‘int4’ has not been declared 266 | AddrSpace *getSpace(int4 i) const; ///< Get an address space via its index | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isReadOnly() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:224:42: error: ‘flags’ was not declared in this scope 224 | bool isReadOnly(void) const { return ((flags&Varnode::readonly)!=0); } ///< Is \b this a read-only storage location? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:204:38: error: ‘int4’ has not been declared 204 | void build(ConstructTpl *construct,int4 secnum); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:93:33: error: ‘int4’ has not been declared 93 | virtual void shiftInstruction(int4 sa) { maskvalue->shift(sa); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:205:39: error: ‘int4’ has not been declared 205 | virtual void appendBuild(OpTpl *bld,int4 secnum)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:94:42: error: ‘int4’ has not been declared 94 | virtual Pattern *doOr(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:188:71: error: ‘walker’ was not declared in this scope 188 | inline void ParserContext::allocateOperand(int4 i,ParserWalkerChange &walker) { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:268:61: error: ‘uint4’ has not been declared 268 | JoinRecord *findAddJoin(const vector &pieces,uint4 logicalsize); ///< Get (or create) JoinRecord for \e pieces | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:95:43: error: ‘int4’ has not been declared 95 | virtual Pattern *doAnd(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:269:24: error: ‘uintb’ has not been declared 269 | JoinRecord *findJoin(uintb offset) const; ///< Find JoinRecord for \e offset in the join space | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:208:44: error: ‘int4’ has not been declared 208 | virtual void appendCrossBuild(OpTpl *bld,int4 secnum)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:96:54: error: ‘int4’ has not been declared 96 | virtual Pattern *commonSubPattern(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:270:40: error: ‘int4’ has not been declared 270 | void setDeadcodeDelay(AddrSpace *spc,int4 delaydelta); ///< Set the deadcodedelay for a specific space | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:274:66: error: ‘int4’ has not been declared 274 | Address constructFloatExtensionAddress(const Address &realaddr,int4 realsize,int4 logicalsize); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:274:80: error: ‘int4’ has not been declared 274 | Address constructFloatExtensionAddress(const Address &realaddr,int4 realsize,int4 logicalsize); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:277:81: error: ‘int4’ has not been declared 277 | Address constructJoinAddress(const Translate *translate,const Address &hiaddr,int4 hisz,const Address &loaddr,int4 losz); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:277:113: error: ‘int4’ has not been declared 277 | Address constructJoinAddress(const Translate *translate,const Address &hiaddr,int4 hisz,const Address &loaddr,int4 losz); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:280:45: error: ‘int4’ has not been declared 280 | void renormalizeJoinAddress(Address &addr,int4 size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:593:7: error: ‘num’ was not declared in this scope; did you mean ‘enum’? 593 | if (num == 1) { | ^~~ | enum /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isInput() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:219:39: error: ‘flags’ was not declared in this scope 219 | bool isInput(void) const { return ((flags&Varnode::input)!=0); } ///< Is \b this an SSA input node? | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:42:5: error: ‘int4’ does not name a type; did you mean ‘int’? 42 | int4 handle_index; // Place holder for run-time determined value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:57:3: error: ‘int4’ does not name a type; did you mean ‘int’? 57 | int4 refcount; // Number of objects referencing this | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In member function ‘void PatternExpression::layClaim()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:73:25: error: ‘refcount’ was not declared in this scope 73 | void layClaim(void) { refcount += 1; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:80:35: error: ‘intb’ has not been declared 80 | virtual TokenPattern genPattern(intb val) const=0; | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:20, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:23:3: error: ‘int4’ does not name a type; did you mean ‘int’? 23 | int4 offset; // Offset to non-zero byte of mask | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:301:7: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 301 | map::const_iterator endEnum(void) const { return namemap.end(); } ///< End of name map | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:296:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 296 | uintm unique_base; ///< Starting offset into unique space | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:52:3: error: ‘int4’ does not name a type; did you mean ‘int’? 52 | int4 getLength(void) const { return name.size(); } ///< Get the number of attributes associated with the element | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:301:19: error: template argument 1 is invalid 301 | map::const_iterator endEnum(void) const { return namemap.end(); } ///< End of name map | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:301:19: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:301:19: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:156:39: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 156 | void changeHandleIndex(const vector &handmap); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:301:22: error: expected ‘;’ at end of member declaration 301 | map::const_iterator endEnum(void) const { return namemap.end(); } ///< End of name map | ^~~~~~~~~~~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:156:43: error: template argument 1 is invalid 156 | void changeHandleIndex(const vector &handmap); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:53:24: error: ‘int4’ has not been declared 53 | const string &getURI(int4 i) const { return bogus_uri; } ///< Get the namespace URI associated with the i-th attribute | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:156:43: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:301:22: error: redeclaration of ‘int TypeEnum::const_iterator’ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:300:22: note: previous declaration ‘int TypeEnum::const_iterator’ 300 | map::const_iterator beginEnum(void) const { return namemap.begin(); } ///< Beginning of name map | ^~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:301:37: error: ISO C++ forbids declaration of ‘endEnum’ with no type [-fpermissive] 301 | map::const_iterator endEnum(void) const { return namemap.end(); } ///< End of name map | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:54:30: error: ‘int4’ has not been declared 54 | const string &getLocalName(int4 i) const { return *name[i]; } ///< Get the local name of the i-th attribute | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:302:19: error: ‘uintb’ has not been declared 302 | bool getMatches(uintb val,vector &matchname) const; ///< Recover the named representation | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:55:26: error: ‘int4’ has not been declared 55 | const string &getQName(int4 i) const { return *name[i]; } ///< Get the qualified name of the i-th attribute | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:61:26: error: ‘int4’ has not been declared 61 | const string &getValue(int4 i) const { return *value[i]; } ///< Get the value of the i-th attribute | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:44:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 44 | uintb value_real; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:63:11: error: ‘intb’ does not name a type; did you mean ‘int’? 63 | virtual intb getValue(ParserWalker &walker) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:24:3: error: ‘int4’ does not name a type; did you mean ‘int’? 24 | int4 nonzerosize; // Last byte(+1) containing nonzero mask | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:52:26: error: ‘uintb’ has not been declared 52 | ConstTpl(const_type tp,uintb val); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:298:3: error: ‘int4’ does not name a type; did you mean ‘int’? 298 | int4 alignment; ///< Byte modulo on which instructions are aligned | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isPersist() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:226:41: error: ‘flags’ was not declared in this scope 226 | bool isPersist(void) const { return ((flags&Varnode::persist)!=0); } ///< Does \b this storage location persist beyond the end of the function? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:55:26: error: ‘int4’ has not been declared 55 | ConstTpl(const_type tp,int4 ht,v_field vf); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:56:26: error: ‘int4’ has not been declared 56 | ConstTpl(const_type tp,int4 ht,v_field vf,uintb plus); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:56:45: error: ‘uintb’ has not been declared 56 | ConstTpl(const_type tp,int4 ht,v_field vf,uintb plus); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:114:33: error: ‘int4’ has not been declared 114 | virtual void shiftInstruction(int4 sa) { } // do nothing | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:115:42: error: ‘int4’ has not been declared 115 | virtual Pattern *doOr(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:116:43: error: ‘int4’ has not been declared 116 | virtual Pattern *doAnd(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:117:54: error: ‘int4’ has not been declared 117 | virtual Pattern *commonSubPattern(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:303:11: error: ‘int4’ does not name a type; did you mean ‘int’? 303 | virtual int4 compare(const Datatype &op,int4 level) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isVolatile() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:225:42: error: ‘flags’ was not declared in this scope 225 | bool isVolatile(void) const { return ((flags&Varnode::volatil)!=0); } ///< Is \b this a volatile storage location? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:61:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 61 | uintb getReal(void) const { return value_real; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:82:33: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 82 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:82:37: error: template argument 1 is invalid 82 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:82:37: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:594:5: error: ‘szsum’ was not declared in this scope 594 | szsum = rec->getUnified().size; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:304:11: error: ‘int4’ does not name a type; did you mean ‘int’? 304 | virtual int4 compareDependency(const Datatype &op) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:594:31: error: ‘const struct VarnodeData’ has no member named ‘size’ 594 | szsum = rec->getUnified().size; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:63:3: error: ‘int4’ does not name a type; did you mean ‘int’? 63 | int4 getHandleIndex(void) const { return value.handle_index; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isIllegalInput() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:220:46: error: ‘flags’ was not declared in this scope 220 | bool isIllegalInput(void) const { return ((flags&(Varnode::input|Varnode::directwrite))==Varnode::input); } ///< Is \b this an abnormal input to the function? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In member function ‘int TypeEnum::beginEnum() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:300:76: error: request for member ‘begin’ in ‘((const TypeEnum*)this)->TypeEnum::namemap’, which is of non-class type ‘const int’ 300 | map::const_iterator beginEnum(void) const { return namemap.begin(); } ///< Beginning of name map | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:137:33: error: ‘int4’ has not been declared 137 | virtual void shiftInstruction(int4 sa) { instr->shiftInstruction(sa); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh: In destructor ‘Attributes::~Attributes()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:45:9: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 45 | for(uint4 i=0;iTypeEnum::namemap’, which is of non-class type ‘const int’ 301 | map::const_iterator endEnum(void) const { return namemap.end(); } ///< End of name map | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:25:10: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 25 | vector maskvec; // Mask | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:25:15: error: template argument 1 is invalid 25 | vector maskvec; // Mask | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:142:42: error: ‘int4’ has not been declared 142 | virtual Pattern *doOr(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:25:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:66:33: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 66 | virtual void getMinMax(vector &minlist,vector &maxlist) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:143:43: error: ‘int4’ has not been declared 143 | virtual Pattern *doAnd(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:66:37: error: template argument 1 is invalid 66 | virtual void getMinMax(vector &minlist,vector &maxlist) const=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:66:37: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:144:54: error: ‘int4’ has not been declared 144 | virtual Pattern *commonSubPattern(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:66:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 66 | uintb fix(const ParserWalker &walker) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:600:1: error: ‘uintb’ does not name a type; did you mean ‘uint’? 600 | uintb JoinSpace::read(const string &s,int4 &size) const | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isDirectWrite() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:227:45: error: ‘flags’ was not declared in this scope 227 | bool isDirectWrite(void) const { return ((flags&Varnode::directwrite)!=0); } ///< Is \b this value affected by a legitimate function input | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:164:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 164 | uint4 delayslot; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:82:55: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 82 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:82:59: error: template argument 1 is invalid 82 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:82:59: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isPersist() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:226:41: error: ‘flags’ was not declared in this scope 226 | bool isPersist(void) const { return ((flags&Varnode::persist)!=0); } ///< Does \b this storage location persist beyond the end of the function? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:165:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 165 | uint4 numlabels; // Number of label templates | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:302:22: error: ‘uintm’ has not been declared 302 | void setUniqueBase(uintm val); ///< Set the base offset for new temporary registers | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc: In member function ‘virtual void OverlaySpace::saveXml(std::ostream&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:668:8: error: cannot resolve overloaded function ‘index’ based on conversion to type ‘int’ 668 | a_v_i(s,"index",index); | ~~~~~^~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:307:37: error: ‘int4’ has not been declared 307 | const FloatFormat *getFloatFormat(int4 size) const; ///< Get format for a particular floating point encoding | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:66:55: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 66 | virtual void getMinMax(vector &minlist,vector &maxlist) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:66:59: error: template argument 1 is invalid 66 | virtual void getMinMax(vector &minlist,vector &maxlist) const=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:66:59: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:84:11: error: ‘intb’ does not name a type; did you mean ‘int’? 84 | virtual intb getSubValue(const vector &replace,int4 &listpos) const { return replace[listpos++]; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:26:10: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 26 | vector valvec; // Value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:26:15: error: template argument 1 is invalid 26 | vector valvec; // Value | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:26:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:29:20: error: expected ‘)’ before ‘off’ 29 | PatternBlock(int4 off,uintm msk,uintm val); | ~ ^~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:70:39: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 70 | void changeHandleIndex(const vector &handmap); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:70:43: error: template argument 1 is invalid 70 | void changeHandleIndex(const vector &handmap); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:70:43: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:38:14: error: ‘int4’ has not been declared 38 | void shift(int4 sa) { offset += sa; normalize(); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:85:11: error: ‘intb’ does not name a type; did you mean ‘int’? 85 | virtual intb minValue(void) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isIndirectOnly() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:221:46: error: ‘flags’ was not declared in this scope 221 | bool isIndirectOnly(void) const { return ((flags&Varnode::indirectonly)!=0); } ///< Is \b this read only by INDIRECT operations? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:45:19: error: ‘i’ was not declared in this scope 45 | for(uint4 i=0;i &replace,int4 &listpos) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:308:3: error: ‘int4’ does not name a type; did you mean ‘int’? 308 | int4 getAlignment(void) const; ///< Get the instruction alignment for the processor | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc: In member function ‘virtual void OverlaySpace::restoreXml(const Element*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:679:6: error: no match for ‘operator>>’ (operand types are ‘std::istringstream’ {aka ‘std::__cxx11::basic_istringstream’} and ‘’) 679 | s1 >> index; | ~~~^~~~~~~~ In file included from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:16: /usr/include/c++/11.2.0/istream:120:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(std::basic_istream<_CharT, _Traits>::__istream_type& (*)(std::basic_istream<_CharT, _Traits>::__istream_type&)) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 120 | operator>>(__istream_type& (*__pf)(__istream_type&)) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:120:36: note: no known conversion for argument 1 from ‘’ to ‘std::basic_istream::__istream_type& (*)(std::basic_istream::__istream_type&)’ {aka ‘std::basic_istream& (*)(std::basic_istream&)’} 120 | operator>>(__istream_type& (*__pf)(__istream_type&)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/11.2.0/istream:124:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(std::basic_istream<_CharT, _Traits>::__ios_type& (*)(std::basic_istream<_CharT, _Traits>::__ios_type&)) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream; std::basic_istream<_CharT, _Traits>::__ios_type = std::basic_ios]’ 124 | operator>>(__ios_type& (*__pf)(__ios_type&)) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:124:32: note: no known conversion for argument 1 from ‘’ to ‘std::basic_istream::__ios_type& (*)(std::basic_istream::__ios_type&)’ {aka ‘std::basic_ios& (*)(std::basic_ios&)’} 124 | operator>>(__ios_type& (*__pf)(__ios_type&)) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/include/c++/11.2.0/istream:131:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(std::ios_base& (*)(std::ios_base&)) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 131 | operator>>(ios_base& (*__pf)(ios_base&)) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:131:30: note: no known conversion for argument 1 from ‘’ to ‘std::ios_base& (*)(std::ios_base&)’ 131 | operator>>(ios_base& (*__pf)(ios_base&)) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/include/c++/11.2.0/istream:168:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(bool&) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 168 | operator>>(bool& __n) | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:86:11: error: ‘intb’ does not name a type; did you mean ‘int’? 86 | virtual intb maxValue(void) const=0; | ^~~~ | int /usr/include/c++/11.2.0/istream:168:24: note: no known conversion for argument 1 from ‘’ to ‘bool&’ 168 | operator>>(bool& __n) | ~~~~~~^~~ /usr/include/c++/11.2.0/istream:172:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(short int&) [with _CharT = char; _Traits = std::char_traits]’ 172 | operator>>(short& __n); | ^~~~~~~~ /usr/include/c++/11.2.0/istream:172:25: note: no known conversion for argument 1 from ‘’ to ‘short int&’ 172 | operator>>(short& __n); | ~~~~~~~^~~ /usr/include/c++/11.2.0/istream:175:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(short unsigned int&) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 175 | operator>>(unsigned short& __n) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:175:34: note: no known conversion for argument 1 from ‘’ to ‘short unsigned int&’ 175 | operator>>(unsigned short& __n) | ~~~~~~~~~~~~~~~~^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:39:3: error: ‘int4’ does not name a type; did you mean ‘int’? 39 | int4 getLength(void) const { return offset+nonzerosize; } | ^~~~ | int /usr/include/c++/11.2.0/istream:179:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(int&) [with _CharT = char; _Traits = std::char_traits]’ 179 | operator>>(int& __n); | ^~~~~~~~ /usr/include/c++/11.2.0/istream:179:23: note: no known conversion for argument 1 from ‘’ to ‘int&’ 179 | operator>>(int& __n); | ~~~~~^~~ /usr/include/c++/11.2.0/istream:182:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(unsigned int&) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 182 | operator>>(unsigned int& __n) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:182:32: note: no known conversion for argument 1 from ‘’ to ‘unsigned int&’ 182 | operator>>(unsigned int& __n) | ~~~~~~~~~~~~~~^~~ /usr/include/c++/11.2.0/istream:186:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long int&) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 186 | operator>>(long& __n) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:186:24: note: no known conversion for argument 1 from ‘’ to ‘long int&’ 186 | operator>>(long& __n) | ~~~~~~^~~ /usr/include/c++/11.2.0/istream:190:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long unsigned int&) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 190 | operator>>(unsigned long& __n) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:190:33: note: no known conversion for argument 1 from ‘’ to ‘long unsigned int&’ 190 | operator>>(unsigned long& __n) | ~~~~~~~~~~~~~~~^~~ /usr/include/c++/11.2.0/istream:195:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long long int&) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 195 | operator>>(long long& __n) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:195:29: note: no known conversion for argument 1 from ‘’ to ‘long long int&’ 195 | operator>>(long long& __n) | ~~~~~~~~~~~^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isAddrTied() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:230:42: error: ‘flags’ was not declared in this scope 230 | bool isAddrTied(void) const { return ((flags&(Varnode::addrtied|Varnode::insert))==(Varnode::addrtied|Varnode::insert)); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:70:3: error: ‘intb’ does not name a type; did you mean ‘int’? 70 | intb getSubValue(const vector &replace) { | ^~~~ | int /usr/include/c++/11.2.0/istream:199:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long long unsigned int&) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 199 | operator>>(unsigned long long& __n) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:199:38: note: no known conversion for argument 1 from ‘’ to ‘long long unsigned int&’ 199 | operator>>(unsigned long long& __n) | ~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/11.2.0/istream:214:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(float&) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 214 | operator>>(float& __f) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:214:25: note: no known conversion for argument 1 from ‘’ to ‘float&’ 214 | operator>>(float& __f) | ~~~~~~~^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:309:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 309 | uintm getUniqueBase(void) const; ///< Get the base offset for new temporary registers | ^~~~~ | uint /usr/include/c++/11.2.0/istream:218:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(double&) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 218 | operator>>(double& __f) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:218:26: note: no known conversion for argument 1 from ‘’ to ‘double&’ 218 | operator>>(double& __f) | ~~~~~~~~^~~ /usr/include/c++/11.2.0/istream:222:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long double&) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 222 | operator>>(long double& __f) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:222:31: note: no known conversion for argument 1 from ‘’ to ‘long double&’ 222 | operator>>(long double& __f) | ~~~~~~~~~~~~~^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh: In member function ‘const string& Attributes::getelemURI() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:30:19: warning: returning reference to temporary [-Wreturn-local-addr] 30 | #define bogus_uri "http://unused.uri" | ^~~~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:48:49: note: in expansion of macro ‘bogus_uri’ 48 | const string &getelemURI(void) const { return bogus_uri; } ///< Get the namespace URI associated with this element | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:328:51: error: ‘int4’ has not been declared 328 | virtual void registerContext(const string &name,int4 sbit,int4 ebit) {} | ^~~~ /usr/include/c++/11.2.0/istream:235:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(void*&) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 235 | operator>>(void*& __p) | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:328:61: error: ‘int4’ has not been declared 328 | virtual void registerContext(const string &name,int4 sbit,int4 ebit) {} | ^~~~ /usr/include/c++/11.2.0/istream:235:25: note: no known conversion for argument 1 from ‘’ to ‘void*&’ 235 | operator>>(void*& __p) | ~~~~~~~^~~ /usr/include/c++/11.2.0/istream:259:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(std::basic_istream<_CharT, _Traits>::__streambuf_type*) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__streambuf_type = std::basic_streambuf]’ 259 | operator>>(__streambuf_type* __sb); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:337:53: error: ‘uintm’ has not been declared 337 | virtual void setContextDefault(const string &name,uintm val) {} | ^~~~~ /usr/include/c++/11.2.0/istream:259:36: note: no known conversion for argument 1 from ‘’ to ‘std::basic_istream::__streambuf_type*’ {aka ‘std::basic_streambuf*’} 259 | operator>>(__streambuf_type* __sb); | ~~~~~~~~~~~~~~~~~~^~~~ In file included from /usr/include/c++/11.2.0/string:56, from /usr/include/c++/11.2.0/bits/locale_classes.h:40, from /usr/include/c++/11.2.0/bits/ios_base.h:41, from /usr/include/c++/11.2.0/ios:42, from /usr/include/c++/11.2.0/istream:38, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:16: /usr/include/c++/11.2.0/bits/basic_string.tcc:1485:5: note: candidate: ‘template std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)’ 1485 | operator>>(basic_istream<_CharT, _Traits>& __in, | ^~~~~~~~ /usr/include/c++/11.2.0/bits/basic_string.tcc:1485:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:357:61: error: ‘uintb’ has not been declared 357 | virtual void addRegister(const string &nm,AddrSpace *base,uintb offset,int4 size)=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:679:9: note: mismatched types ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ and ‘const char*(const char*, int) noexcept’ {aka ‘const char*(const char*, int)’} 679 | s1 >> index; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:357:74: error: ‘int4’ has not been declared 357 | virtual void addRegister(const string &nm,AddrSpace *base,uintb offset,int4 size)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:679:9: note: mismatched types ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ and ‘char*(char*, int) noexcept’ {aka ‘char*(char*, int)’} /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:679:9: note: couldn’t deduce template parameter ‘_Alloc’ In file included from /usr/include/c++/11.2.0/istream:995, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:16: /usr/include/c++/11.2.0/bits/istream.tcc:958:5: note: candidate: ‘std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, _CharT&) [with _CharT = char; _Traits = std::char_traits]’ 958 | operator>>(basic_istream<_CharT, _Traits>& __in, _CharT& __c) | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:40:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 40 | uintm getMask(int4 startbit,int4 size) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:376:50: error: ‘uintb’ has not been declared 376 | virtual string getRegisterName(AddrSpace *base,uintb off,int4 size) const=0; | ^~~~~ /usr/include/c++/11.2.0/bits/istream.tcc:958:62: note: no known conversion for argument 2 from ‘’ to ‘char&’ 958 | operator>>(basic_istream<_CharT, _Traits>& __in, _CharT& __c) | ~~~~~~~~^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:376:60: error: ‘int4’ has not been declared 376 | virtual string getRegisterName(AddrSpace *base,uintb off,int4 size) const=0; | ^~~~ In file included from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:16: /usr/include/c++/11.2.0/istream:756:5: note: candidate: ‘template std::basic_istream& std::operator>>(std::basic_istream&, unsigned char&)’ 756 | operator>>(basic_istream& __in, unsigned char& __c) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:756:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:679:9: note: cannot convert ‘index’ (type ‘’) to type ‘unsigned char&’ 679 | s1 >> index; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isDirectWrite() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:227:45: error: ‘flags’ was not declared in this scope 227 | bool isDirectWrite(void) const { return ((flags&Varnode::directwrite)!=0); } ///< Is \b this value affected by a legitimate function input | ^~~~~ In file included from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:16: /usr/include/c++/11.2.0/istream:761:5: note: candidate: ‘template std::basic_istream& std::operator>>(std::basic_istream&, signed char&)’ 761 | operator>>(basic_istream& __in, signed char& __c) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:761:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:679:9: note: cannot convert ‘index’ (type ‘’) to type ‘signed char&’ 679 | s1 >> index; | ^~~~~ In file included from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:16: /usr/include/c++/11.2.0/istream:803:5: note: candidate: ‘std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, _CharT*) [with _CharT = char; _Traits = std::char_traits]’ 803 | operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:803:62: note: no known conversion for argument 2 from ‘’ to ‘char*’ 803 | operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s) | ~~~~~~~~^~~ /usr/include/c++/11.2.0/istream:825:5: note: candidate: ‘template std::basic_istream& std::operator>>(std::basic_istream&, unsigned char*)’ 825 | operator>>(basic_istream& __in, unsigned char* __s) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:825:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:679:9: note: cannot convert ‘index’ (type ‘’) to type ‘unsigned char*’ 679 | s1 >> index; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh: In member function ‘const string& Attributes::getURI(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:30:19: warning: returning reference to temporary [-Wreturn-local-addr] 30 | #define bogus_uri "http://unused.uri" | ^~~~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:53:47: note: in expansion of macro ‘bogus_uri’ 53 | const string &getURI(int4 i) const { return bogus_uri; } ///< Get the namespace URI associated with the i-th attribute | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh: In destructor ‘Attributes::~Attributes()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:45:9: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 45 | for(uint4 i=0;i std::basic_istream& std::operator>>(std::basic_istream&, signed char*)’ 831 | operator>>(basic_istream& __in, signed char* __s) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:831:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:679:9: note: cannot convert ‘index’ (type ‘’) to type ‘signed char*’ 679 | s1 >> index; | ^~~~~ In file included from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:16: /usr/include/c++/11.2.0/istream:985:5: note: candidate: ‘template _Istream&& std::operator>>(_Istream&&, _Tp&&)’ 985 | operator>>(_Istream&& __is, _Tp&& __x) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:985:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:679:9: note: couldn’t deduce template parameter ‘_Tp’ 679 | s1 >> index; | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:27, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:16: /usr/include/c++/11.2.0/iomanip:71:5: note: candidate: ‘template std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Resetiosflags)’ 71 | operator>>(basic_istream<_CharT, _Traits>& __is, _Resetiosflags __f) | ^~~~~~~~ /usr/include/c++/11.2.0/iomanip:71:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:679:9: note: cannot convert ‘index’ (type ‘’) to type ‘std::_Resetiosflags’ 679 | s1 >> index; | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:27, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:16: /usr/include/c++/11.2.0/iomanip:101:5: note: candidate: ‘template std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Setiosflags)’ 101 | operator>>(basic_istream<_CharT, _Traits>& __is, _Setiosflags __f) | ^~~~~~~~ /usr/include/c++/11.2.0/iomanip:101:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:679:9: note: cannot convert ‘index’ (type ‘’) to type ‘std::_Setiosflags’ 679 | s1 >> index; | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:27, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:16: /usr/include/c++/11.2.0/iomanip:132:5: note: candidate: ‘template std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Setbase)’ 132 | operator>>(basic_istream<_CharT, _Traits>& __is, _Setbase __f) | ^~~~~~~~ /usr/include/c++/11.2.0/iomanip:132:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:679:9: note: cannot convert ‘index’ (type ‘’) to type ‘std::_Setbase’ 679 | s1 >> index; | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:27, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:16: /usr/include/c++/11.2.0/iomanip:170:5: note: candidate: ‘std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Setfill<_CharT>) [with _CharT = char; _Traits = std::char_traits]’ 170 | operator>>(basic_istream<_CharT, _Traits>& __is, _Setfill<_CharT> __f) | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:41:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 41 | uintm getValue(int4 startbit,int4 size) const; | ^~~~~ | uint /usr/include/c++/11.2.0/iomanip:170:71: note: no known conversion for argument 2 from ‘’ to ‘std::_Setfill’ 170 | operator>>(basic_istream<_CharT, _Traits>& __is, _Setfill<_CharT> __f) | ~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/11.2.0/iomanip:200:5: note: candidate: ‘template std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Setprecision)’ 200 | operator>>(basic_istream<_CharT, _Traits>& __is, _Setprecision __f) | ^~~~~~~~ /usr/include/c++/11.2.0/iomanip:200:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:679:9: note: cannot convert ‘index’ (type ‘’) to type ‘std::_Setprecision’ 679 | s1 >> index; | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:27, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:16: /usr/include/c++/11.2.0/iomanip:230:5: note: candidate: ‘template std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Setw)’ 230 | operator>>(basic_istream<_CharT, _Traits>& __is, _Setw __f) | ^~~~~~~~ /usr/include/c++/11.2.0/iomanip:230:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:679:9: note: cannot convert ‘index’ (type ‘’) to type ‘std::_Setw’ 679 | s1 >> index; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:315:3: error: ‘int4’ does not name a type; did you mean ‘int’? 315 | int4 getFieldIter(int4 off) const; ///< Get index into field list | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:403:11: error: ‘int4’ does not name a type; did you mean ‘int’? 403 | virtual int4 instructionLength(const Address &baseaddr) const=0; | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:27, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:16: /usr/include/c++/11.2.0/iomanip:264:5: note: candidate: ‘template std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Get_money<_MoneyT>)’ 264 | operator>>(basic_istream<_CharT, _Traits>& __is, _Get_money<_MoneyT> __f) | ^~~~~~~~ /usr/include/c++/11.2.0/iomanip:264:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:157:33: error: ‘int4’ has not been declared 157 | virtual void shiftInstruction(int4 sa); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:679:9: note: mismatched types ‘std::_Get_money<_MoneyT>’ and ‘const char* (*)(const char*, int) noexcept’ {aka ‘const char* (*)(const char*, int)’} 679 | s1 >> index; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:679:9: note: mismatched types ‘std::_Get_money<_MoneyT>’ and ‘char* (*)(char*, int) noexcept’ {aka ‘char* (*)(char*, int)’} /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:679:9: note: couldn’t deduce template parameter ‘_MoneyT’ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:27, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:16: /usr/include/c++/11.2.0/iomanip:418:5: note: candidate: ‘std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Get_time<_CharT>) [with _CharT = char; _Traits = std::char_traits]’ 418 | operator>>(basic_istream<_CharT, _Traits>& __is, _Get_time<_CharT> __f) | ^~~~~~~~ /usr/include/c++/11.2.0/iomanip:418:72: note: no known conversion for argument 2 from ‘’ to ‘std::_Get_time’ 418 | operator>>(basic_istream<_CharT, _Traits>& __is, _Get_time<_CharT> __f) | ~~~~~~~~~~~~~~~~~~^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isExternalRef() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:222:45: error: ‘flags’ was not declared in this scope 222 | bool isExternalRef(void) const { return ((flags&Varnode::externref)!=0); } ///< Is \b this storage location mapped by the loader to an external location? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:418:11: error: ‘int4’ does not name a type; did you mean ‘int’? 418 | virtual int4 oneInstruction(PcodeEmit &emit,const Address &baseaddr) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:169:21: error: ‘uint4’ has not been declared 169 | void setNumLabels(uint4 val) { numlabels = val; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:316:3: error: ‘int4’ does not name a type; did you mean ‘int’? 316 | int4 getLowerBoundField(int4 off) const; ///< Get index of last field before or equal to given offset | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:159:11: error: ‘int4’ does not name a type; did you mean ‘int’? 159 | virtual int4 numDisjoint(void) const { return orlist.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:160:40: error: ‘int4’ has not been declared 160 | virtual DisjointPattern *getDisjoint(int4 i) const { return orlist[i]; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:323:29: error: ‘int4’ has not been declared 323 | const TypeField *getField(int4 off,int4 sz,int4 *newoff) const; ///< Get field based on offset | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:164:42: error: ‘int4’ has not been declared 164 | virtual Pattern *doOr(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:323:38: error: ‘int4’ has not been declared 323 | const TypeField *getField(int4 off,int4 sz,int4 *newoff) const; ///< Get field based on offset | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:323:46: error: ‘int4’ has not been declared 323 | const TypeField *getField(int4 off,int4 sz,int4 *newoff) const; ///< Get field based on offset | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:428:11: error: ‘int4’ does not name a type; did you mean ‘int’? 428 | virtual int4 printAssembly(AssemblyEmit &emit,const Address &baseaddr) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:165:43: error: ‘int4’ has not been declared 165 | virtual Pattern *doAnd(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:324:32: error: ‘uintb’ has not been declared 324 | virtual Datatype *getSubType(uintb off,uintb *newoff) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:324:42: error: ‘uintb’ has not been declared 324 | virtual Datatype *getSubType(uintb off,uintb *newoff) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:166:54: error: ‘int4’ has not been declared 166 | virtual Pattern *commonSubPattern(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:325:52: error: ‘uintb’ has not been declared 325 | virtual Datatype *nearestArrayedComponentForward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:325:62: error: ‘uintb’ has not been declared 325 | virtual Datatype *nearestArrayedComponentForward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:325:76: error: ‘int4’ has not been declared 325 | virtual Datatype *nearestArrayedComponentForward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:326:53: error: ‘uintb’ has not been declared 326 | virtual Datatype *nearestArrayedComponentBackward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:326:63: error: ‘uintb’ has not been declared 326 | virtual Datatype *nearestArrayedComponentBackward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:326:77: error: ‘int4’ has not been declared 326 | virtual Datatype *nearestArrayedComponentBackward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isAddrForce() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:231:43: error: ‘flags’ was not declared in this scope 231 | bool isAddrForce(void) const { return ((flags&Varnode::addrforce)!=0); } ///< Is \b this value forced into a particular storage location? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:173:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 173 | uint4 delaySlot(void) const { return delayslot; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:434:8: error: ‘int4’ does not name a type; did you mean ‘int’? 434 | inline int4 AddrSpaceManager::getDefaultSize(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: In constructor ‘ConstTpl::ConstTpl()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:49:33: error: ‘value_real’ was not declared in this scope 49 | ConstTpl(void) { type = real; value_real = 0; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isAddrTied() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:230:42: error: ‘flags’ was not declared in this scope 230 | bool isAddrTied(void) const { return ((flags&(Varnode::addrtied|Varnode::insert))==(Varnode::addrtied|Varnode::insert)); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:327:11: error: ‘int4’ does not name a type; did you mean ‘int’? 327 | virtual int4 numDepend(void) const { return field.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:328:31: error: ‘int4’ has not been declared 328 | virtual Datatype *getDepend(int4 index) const { return field[index].type; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:45:19: error: ‘i’ was not declared in this scope 45 | for(uint4 i=0;i &check,AddrSpace *const_space); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::hasActionProperty() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:223:49: error: ‘flags’ was not declared in this scope 223 | bool hasActionProperty(void) const { return ((flags&(Varnode::readonly|Varnode::volatil))!=0); } ///< Will this Varnode be replaced dynamically? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh: In member function ‘const string& Attributes::getelemURI() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:30:19: warning: returning reference to temporary [-Wreturn-local-addr] 30 | #define bogus_uri "http://unused.uri" | ^~~~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:48:49: note: in expansion of macro ‘bogus_uri’ 48 | const string &getelemURI(void) const { return bogus_uri; } ///< Get the namespace URI associated with this element | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:330:11: error: ‘int4’ does not name a type; did you mean ‘int’? 330 | virtual int4 compareDependency(const Datatype &op) const; // For tree structure | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh: In member function ‘const string& Attributes::getURI(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:30:19: warning: returning reference to temporary [-Wreturn-local-addr] 30 | #define bogus_uri "http://unused.uri" | ^~~~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:53:47: note: in expansion of macro ‘bogus_uri’ 53 | const string &getURI(int4 i) const { return bogus_uri; } ///< Get the namespace URI associated with the i-th attribute | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In constructor ‘TypeStruct::TypeStruct(const string&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:320:57: error: no matching function for call to ‘Datatype::Datatype(int, type_metatype, const string&)’ 320 | TypeStruct(const string &n) : Datatype(0,TYPE_STRUCT,n) {} ///< Construct empty TypeStruct from a name | ^ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:93:3: note: candidate: ‘Datatype::Datatype(const Datatype&)’ 93 | Datatype(const Datatype &op) { size = op.size; name=op.name; metatype=op.metatype; flags=op.flags; id=op.id; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isAutoLive() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:232:42: error: ‘flags’ was not declared in this scope 232 | bool isAutoLive(void) const { return ((flags&(Varnode::addrforce|Varnode::autolive_hold))!=0); } ///< Is \b this varnode exempt from dead-code removal? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:93:3: note: candidate expects 1 argument, 3 provided /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:518:46: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 518 | inline Address AddrSpaceManager::getConstant(uintb val) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:518:57: error: expected ‘,’ or ‘;’ before ‘const’ 518 | inline Address AddrSpaceManager::getConstant(uintb val) const { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:685:3: error: ‘addressSize’ was not declared in this scope 685 | addressSize = baseSpace->getAddrSize(); | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:685:28: error: ‘class AddrSpace’ has no member named ‘getAddrSize’ 685 | addressSize = baseSpace->getAddrSize(); | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isAddrForce() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:231:43: error: ‘flags’ was not declared in this scope 231 | bool isAddrForce(void) const { return ((flags&Varnode::addrforce)!=0); } ///< Is \b this value forced into a particular storage location? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:182:39: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 182 | void changeHandleIndex(const vector &handmap); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:182:43: error: template argument 1 is invalid 182 | void changeHandleIndex(const vector &handmap); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:182:43: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:183:32: error: ‘int4’ has not been declared 183 | void setInput(VarnodeTpl *vn,int4 index,int4 slot); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:183:43: error: ‘int4’ has not been declared 183 | void setInput(VarnodeTpl *vn,int4 index,int4 slot); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:184:33: error: ‘int4’ has not been declared 184 | void setOutput(VarnodeTpl *vn,int4 index); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:65:19: error: ‘i’ was not declared in this scope 65 | for(uint4 i=0;i &indices); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:185:35: error: template argument 1 is invalid 185 | void deleteOps(const vector &indices); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:185:35: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh: In member function ‘bool PatternBlock::alwaysTrue() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:42:41: error: ‘nonzerosize’ was not declared in this scope 42 | bool alwaysTrue(void) const { return (nonzerosize==0); } | ^~~~~~~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:20, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh:19, from src/decompile/cpp/pcodeparse.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:26:36: error: ‘int4’ has not been declared 26 | static PatternBlock *buildSingle(int4 startbit,int4 endbit,uintm byteval); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:186:27: error: ‘int4’ has not been declared 186 | void saveXml(ostream &s,int4 sectionid) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:26:50: error: ‘int4’ has not been declared 26 | static PatternBlock *buildSingle(int4 startbit,int4 endbit,uintm byteval); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:26:62: error: ‘uintm’ has not been declared 26 | static PatternBlock *buildSingle(int4 startbit,int4 endbit,uintm byteval); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:27:38: error: ‘int4’ has not been declared 27 | static PatternBlock *buildBigBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:27:48: error: ‘int4’ has not been declared 27 | static PatternBlock *buildBigBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:27:62: error: ‘int4’ has not been declared 27 | static PatternBlock *buildBigBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh: In member function ‘const string& Attributes::getValue(const string&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:65:9: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 65 | for(uint4 i=0;igetWordSize(); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:82:33: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 82 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:529:40: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 529 | return Address(constantspace,(uintb)(uintp)spc); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:82:37: error: template argument 1 is invalid 82 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:82:37: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:686:25: error: ‘class AddrSpace’ has no member named ‘getWordSize’ 686 | wordsize = baseSpace->getWordSize(); | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:29:3: error: ‘int4’ does not name a type; did you mean ‘int’? 29 | int4 resolveTokens(const TokenPattern &tokpat1,const TokenPattern &tokpat2); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:35:27: error: ‘intb’ has not been declared 35 | TokenPattern(Token *tok,intb value,int4 bitstart,int4 bitend); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:35:38: error: ‘int4’ has not been declared 35 | TokenPattern(Token *tok,intb value,int4 bitstart,int4 bitend); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:35:52: error: ‘int4’ has not been declared 35 | TokenPattern(Token *tok,intb value,int4 bitstart,int4 bitend); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:36:20: error: expected ‘)’ before ‘value’ 36 | TokenPattern(intb value,int4 startbit,int4 endbit); | ~ ^~~~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:536:8: error: ‘int4’ does not name a type; did you mean ‘int’? 536 | inline int4 AddrSpaceManager::numSpaces(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:545:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 545 | inline AddrSpace *AddrSpaceManager::getSpace(int4 i) const { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:359:11: error: ‘int4’ does not name a type; did you mean ‘int’? 359 | virtual int4 compare(const Datatype &op,int4 level) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:545:19: error: ‘AddrSpace* AddrSpaceManager::getSpace’ is not a static data member of ‘class AddrSpaceManager’ 545 | inline AddrSpace *AddrSpaceManager::getSpace(int4 i) const { | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isVolatile() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:225:42: error: ‘flags’ was not declared in this scope 225 | bool isVolatile(void) const { return ((flags&Varnode::volatil)!=0); } ///< Is \b this a volatile storage location? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:360:11: error: ‘int4’ does not name a type; did you mean ‘int’? 360 | virtual int4 compareDependency(const Datatype &op) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:83:54: error: ‘maxValue’ was not declared in this scope 83 | minlist.push_back(minValue()); maxlist.push_back(maxValue()); } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:49:3: error: ‘int4’ does not name a type; did you mean ‘int’? 49 | int4 getMinimumLength(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isMapped() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:234:40: error: ‘flags’ was not declared in this scope 234 | bool isMapped(void) const { return ((flags&Varnode::mapped)!=0); } ///< Is there or should be formal symbol information associated with \b this? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:65:19: error: ‘i’ was not declared in this scope 65 | for(uint4 i=0;i &minlist,vector &maxlist) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:82:59: error: template argument 1 is invalid 82 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:82:59: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:385:22: error: ‘uintb’ has not been declared 385 | Address getAddress(uintb off,int4 sz,const Address &point) const; ///< Construct an Address given an offset | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:385:32: error: ‘int4’ has not been declared 385 | Address getAddress(uintb off,int4 sz,const Address &point) const; ///< Construct an Address given an offset | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:386:32: error: ‘uintb’ has not been declared 386 | virtual Datatype *getSubType(uintb off,uintb *newoff) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:386:42: error: ‘uintb’ has not been declared 386 | virtual Datatype *getSubType(uintb off,uintb *newoff) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:30:19: warning: returning reference to temporary [-Wreturn-local-addr] 30 | #define bogus_uri "http://unused.uri" | ^~~~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:67:12: note: in expansion of macro ‘bogus_uri’ 67 | return bogus_uri; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:387:52: error: ‘uintb’ has not been declared 387 | virtual Datatype *nearestArrayedComponentForward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:387:62: error: ‘uintb’ has not been declared 387 | virtual Datatype *nearestArrayedComponentForward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:387:76: error: ‘int4’ has not been declared 387 | virtual Datatype *nearestArrayedComponentForward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:388:53: error: ‘uintb’ has not been declared 388 | virtual Datatype *nearestArrayedComponentBackward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:93:3: error: ‘int4’ does not name a type; did you mean ‘int’? 93 | int4 bitstart,bitend; // Bits within the token, 0 bit is LEAST significant | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:388:63: error: ‘uintb’ has not been declared 388 | virtual Datatype *nearestArrayedComponentBackward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:545:46: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 545 | inline AddrSpace *AddrSpaceManager::getSpace(int4 i) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:388:77: error: ‘int4’ has not been declared 388 | virtual Datatype *nearestArrayedComponentBackward(uintb off,uintb *newoff,int4 *elSize) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:564:13: error: variable or field ‘setUniqueBase’ declared void 564 | inline void Translate::setUniqueBase(uintm val) { | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isAutoLiveHold() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:233:46: error: ‘flags’ was not declared in this scope 233 | bool isAutoLiveHold(void) const { return ((flags&Varnode::autolive_hold)!=0); } ///< Is there a temporary hold on dead-code removal? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:84:11: error: ‘intb’ does not name a type; did you mean ‘int’? 84 | virtual intb getSubValue(const vector &replace,int4 &listpos) const { return replace[listpos++]; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: In member function ‘bool ConstTpl::isZero() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:69:52: error: ‘value_real’ was not declared in this scope 69 | bool isZero(void) const { return ((type==real)&&(value_real==0)); } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:687:3: error: ‘delay’ was not declared in this scope; did you mean ‘overlay’? 687 | delay = baseSpace->getDelay(); | ^~~~~ | overlay /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:687:22: error: ‘class AddrSpace’ has no member named ‘getDelay’ 687 | delay = baseSpace->getDelay(); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:108:44: error: ‘int4’ has not been declared 108 | virtual void characters(const char *text,int4 start,int4 length)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:83:18: error: expected ‘)’ before ‘hand’ 83 | VarnodeTpl(int4 hand,bool zerosize); | ~ ^~~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:108:55: error: ‘int4’ has not been declared 108 | virtual void characters(const char *text,int4 start,int4 length)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:115:53: error: ‘int4’ has not been declared 115 | virtual void ignorableWhitespace(const char *text,int4 start,int4 length)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:115:64: error: ‘int4’ has not been declared 115 | virtual void ignorableWhitespace(const char *text,int4 start,int4 length)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:94:3: error: ‘int4’ does not name a type; did you mean ‘int’? 94 | int4 bytestart,byteend; // Bytes to read to get value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:85:11: error: ‘intb’ does not name a type; did you mean ‘int’? 85 | virtual intb minValue(void) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh: In member function ‘bool PatternBlock::alwaysFalse() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:43:42: error: ‘nonzerosize’ was not declared in this scope 43 | bool alwaysFalse(void) const { return (nonzerosize==-1); } | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: In member function ‘void ConstructTpl::setNumLabels(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:169:34: error: ‘numlabels’ was not declared in this scope; did you mean ‘setNumLabels’? 169 | void setNumLabels(uint4 val) { numlabels = val; } | ^~~~~~~~~ | setNumLabels /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:389:11: error: ‘int4’ does not name a type; did you mean ‘int’? 389 | virtual int4 compare(const Datatype &op,int4 level) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:55:33: error: ‘int4’ has not been declared 55 | virtual void shiftInstruction(int4 sa)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:56:42: error: ‘int4’ has not been declared 56 | virtual Pattern *doOr(const Pattern *b,int4 sa) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:57:43: error: ‘int4’ has not been declared 57 | virtual Pattern *doAnd(const Pattern *b,int4 sa) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:58:54: error: ‘int4’ has not been declared 58 | virtual Pattern *commonSubPattern(const Pattern *b,int4 sa) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:86:11: error: ‘intb’ does not name a type; did you mean ‘int’? 86 | virtual intb maxValue(void) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:564:38: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 564 | inline void Translate::setUniqueBase(uintm val) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:95:3: error: ‘int4’ does not name a type; did you mean ‘int’? 95 | int4 shift; // Amount to shift to align value (bitstart % 8) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isPersist() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:226:41: error: ‘flags’ was not declared in this scope 226 | bool isPersist(void) const { return ((flags&Varnode::persist)!=0); } ///< Does \b this storage location persist beyond the end of the function? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:91:3: error: ‘int4’ does not name a type; did you mean ‘int’? 91 | int4 transfer(const vector ¶ms); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:98:31: error: ‘int4’ has not been declared 98 | TokenField(Token *tk,bool s,int4 bstart,int4 bend); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:98:43: error: ‘int4’ has not been declared 98 | TokenField(Token *tk,bool s,int4 bstart,int4 bend); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:94:18: error: ‘uintb’ has not been declared 94 | void setOffset(uintb constVal) { offset = ConstTpl(ConstTpl::real,constVal); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:95:20: error: ‘uintb’ has not been declared 95 | void setRelative(uintb constVal) { offset = ConstTpl(ConstTpl::j_relative,constVal); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isUnaffected() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:235:44: error: ‘flags’ was not declared in this scope 235 | bool isUnaffected(void) const { return ((flags&Varnode::unaffected)!=0); } ///< Is \b this a value that is supposed to be preserved across the function? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:390:11: error: ‘int4’ does not name a type; did you mean ‘int’? 390 | virtual int4 compareDependency(const Datatype &op) const; // For tree structure | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:582:8: error: ‘int4’ does not name a type; did you mean ‘int’? 582 | inline int4 Translate::getAlignment(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:60:11: error: ‘int4’ does not name a type; did you mean ‘int’? 60 | virtual int4 numDisjoint(void) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:61:40: error: ‘int4’ has not been declared 61 | virtual DisjointPattern *getDisjoint(int4 i) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:99:11: error: ‘intb’ does not name a type; did you mean ‘int’? 99 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:57:3: error: ‘int4’ does not name a type; did you mean ‘int’? 57 | int4 refcount; // Number of objects referencing this | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:101:35: error: ‘intb’ has not been declared 101 | virtual TokenPattern genPattern(intb val) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:592:8: error: ‘uintm’ does not name a type; did you mean ‘uint’? 592 | inline uintm Translate::getUniqueBase(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In constructor ‘TypeSpacebase::TypeSpacebase(AddrSpace*, const Address&, Architecture*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:383:51: error: no matching function for call to ‘Datatype::Datatype(int, type_metatype)’ 383 | : Datatype(0,TYPE_SPACEBASE), localframe(frame) { spaceid = id; glb = g; } | ^ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:93:3: note: candidate: ‘Datatype::Datatype(const Datatype&)’ 93 | Datatype(const Datatype &op) { size = op.size; name=op.name; metatype=op.metatype; flags=op.flags; id=op.id; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:93:3: note: candidate expects 1 argument, 2 provided /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:25:34: error: ‘uintb’ has not been declared 25 | ConstTpl::ConstTpl(const_type tp,uintb val) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isMapped() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:234:40: error: ‘flags’ was not declared in this scope 234 | bool isMapped(void) const { return ((flags&Varnode::mapped)!=0); } ///< Is there or should be formal symbol information associated with \b this? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:102:11: error: ‘intb’ does not name a type; did you mean ‘int’? 102 | virtual intb minValue(void) const { return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:63:11: error: ‘intb’ does not name a type; did you mean ‘int’? 63 | virtual intb getValue(ParserWalker &walker) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:72:11: error: ‘int4’ does not name a type; did you mean ‘int’? 72 | virtual int4 numDisjoint(void) const { return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:73:40: error: ‘int4’ has not been declared 73 | virtual DisjointPattern *getDisjoint(int4 i) const { return (DisjointPattern *)0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:103:11: error: ‘intb’ does not name a type; did you mean ‘int’? 103 | virtual intb maxValue(void) const { intb res=0; res=~res; zero_extend(res,bitend-bitstart); return res; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:101:39: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 101 | void changeHandleIndex(const vector &handmap); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:101:43: error: template argument 1 is invalid 101 | void changeHandleIndex(const vector &handmap); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:101:43: error: template argument 2 is invalid In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:397:3: error: ‘int4’ does not name a type; did you mean ‘int’? 397 | int4 sizeOfInt; ///< Size of the core "int" datatype | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:102:25: error: ‘int4’ has not been declared 102 | bool adjustTruncation(int4 sz,bool isbigendian); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:74:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 74 | uintm getMask(int4 startbit,int4 size,bool context) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isDirectWrite() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:227:45: error: ‘flags’ was not declared in this scope 227 | bool isDirectWrite(void) const { return ((flags&Varnode::directwrite)!=0); } ///< Is \b this value affected by a legitimate function input | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isSpacebase() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:236:43: error: ‘flags’ was not declared in this scope 236 | bool isSpacebase(void) const { return ((flags&Varnode::spacebase)!=0); } ///< Is this location used to store the base point for a virtual address space? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:398:3: error: ‘int4’ does not name a type; did you mean ‘int’? 398 | int4 align; ///< Alignment of structures | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:688:3: error: ‘deadcodedelay’ was not declared in this scope 688 | deadcodedelay = baseSpace->getDeadcodeDelay(); | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:75:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 75 | uintm getValue(int4 startbit,int4 size,bool context) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.cc:688:30: error: ‘class AddrSpace’ has no member named ‘getDeadcodeDelay’ 688 | deadcodedelay = baseSpace->getDeadcodeDelay(); | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:119:33: error: ‘uintb’ has not been declared 119 | AddrSpace *t_space,uintb t_offset); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:66:33: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 66 | virtual void getMinMax(vector &minlist,vector &maxlist) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:66:37: error: template argument 1 is invalid 66 | virtual void getMinMax(vector &minlist,vector &maxlist) const=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:109:3: error: ‘int4’ does not name a type; did you mean ‘int’? 109 | int4 startbit,endbit; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:66:37: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:399:3: error: ‘int4’ does not name a type; did you mean ‘int’? 399 | int4 enumsize; ///< Size of an enumerated type | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:129:21: error: ‘uintb’ has not been declared 129 | void setPtrOffset(uintb val) { ptroffset = ConstTpl(ConstTpl::real,val); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:130:22: error: ‘uintb’ has not been declared 130 | void setTempOffset(uintb val) { temp_offset = ConstTpl(ConstTpl::real,val); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:76:3: error: ‘int4’ does not name a type; did you mean ‘int’? 76 | int4 getLength(bool context) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In member function ‘virtual void PatternValue::getMinMax(int&, int&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:83:13: error: request for member ‘push_back’ in ‘minlist’, which is of non-class type ‘int’ 83 | minlist.push_back(minValue()); maxlist.push_back(maxValue()); } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isUnaffected() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:235:44: error: ‘flags’ was not declared in this scope 235 | bool isUnaffected(void) const { return ((flags&Varnode::unaffected)!=0); } ///< Is \b this a value that is supposed to be preserved across the function? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:110:3: error: ‘int4’ does not name a type; did you mean ‘int’? 110 | int4 startbyte,endbyte; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:93:33: error: ‘int4’ has not been declared 93 | virtual void shiftInstruction(int4 sa) { maskvalue->shift(sa); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:94:42: error: ‘int4’ has not been declared 94 | virtual Pattern *doOr(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:95:43: error: ‘int4’ has not been declared 95 | virtual Pattern *doAnd(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: In constructor ‘ConstructTpl::ConstructTpl()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:171:24: error: ‘delayslot’ was not declared in this scope 171 | ConstructTpl(void) { delayslot=0; numlabels=0; result = (HandleTpl *)0; } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:96:54: error: ‘int4’ has not been declared 96 | virtual Pattern *commonSubPattern(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:111:3: error: ‘int4’ does not name a type; did you mean ‘int’? 111 | int4 shift; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:115:23: error: ‘int4’ has not been declared 115 | ContextField(bool s,int4 sbit,int4 ebit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:115:33: error: ‘int4’ has not been declared 115 | ContextField(bool s,int4 sbit,int4 ebit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc: In constructor ‘ConstTpl::ConstTpl(ConstTpl::const_type, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:29:3: error: ‘value_real’ was not declared in this scope 29 | value_real = val; | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:30:9: error: ‘union ConstTpl::’ has no member named ‘handle_index’ 30 | value.handle_index = 0; | ^~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:34:34: error: ‘int4’ has not been declared 34 | ConstTpl::ConstTpl(const_type tp,int4 ht,v_field vf) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isAddrTied() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:230:42: error: ‘flags’ was not declared in this scope 230 | bool isAddrTied(void) const { return ((flags&(Varnode::addrtied|Varnode::insert))==(Varnode::addrtied|Varnode::insert)); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc: In constructor ‘ConstTpl::ConstTpl(ConstTpl::const_type, int, ConstTpl::v_field)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:38:9: error: ‘union ConstTpl::’ has no member named ‘handle_index’ 38 | value.handle_index = ht; | ^~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:116:3: error: ‘int4’ does not name a type; did you mean ‘int’? 116 | int4 getStartBit(void) const { return startbit; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:66:55: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 66 | virtual void getMinMax(vector &minlist,vector &maxlist) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isReturnAddress() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:237:47: error: ‘flags’ was not declared in this scope 237 | bool isReturnAddress(void) const { return ((flags&Varnode::return_address)!=0); } ///< Is this storage for a calls return address? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:66:59: error: template argument 1 is invalid 66 | virtual void getMinMax(vector &minlist,vector &maxlist) const=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:66:59: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:132:39: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 132 | void changeHandleIndex(const vector &handmap); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:132:43: error: template argument 1 is invalid 132 | void changeHandleIndex(const vector &handmap); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:132:43: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:117:3: error: ‘int4’ does not name a type; did you mean ‘int’? 117 | int4 getEndBit(void) const { return endbit; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:67:11: error: ‘intb’ does not name a type; did you mean ‘int’? 67 | virtual intb getSubValue(const vector &replace,int4 &listpos) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:119:11: error: ‘intb’ does not name a type; did you mean ‘int’? 119 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:114:33: error: ‘int4’ has not been declared 114 | virtual void shiftInstruction(int4 sa) { } // do nothing | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:121:35: error: ‘intb’ has not been declared 121 | virtual TokenPattern genPattern(intb val) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:115:42: error: ‘int4’ has not been declared 115 | virtual Pattern *doOr(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:116:43: error: ‘int4’ has not been declared 116 | virtual Pattern *doAnd(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:117:54: error: ‘int4’ has not been declared 117 | virtual Pattern *commonSubPattern(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isSpacebase() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:236:43: error: ‘flags’ was not declared in this scope 236 | bool isSpacebase(void) const { return ((flags&Varnode::spacebase)!=0); } ///< Is this location used to store the base point for a virtual address space? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:70:3: error: ‘intb’ does not name a type; did you mean ‘int’? 70 | intb getSubValue(const vector &replace) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:122:11: error: ‘intb’ does not name a type; did you mean ‘int’? 122 | virtual intb minValue(void) const { return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:83:23: error: ‘minValue’ was not declared in this scope; did you mean ‘listValues’? 83 | minlist.push_back(minValue()); maxlist.push_back(maxValue()); } | ^~~~~~~~ | listValues /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:83:44: error: request for member ‘push_back’ in ‘maxlist’, which is of non-class type ‘int’ 83 | minlist.push_back(minValue()); maxlist.push_back(maxValue()); } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:123:11: error: ‘intb’ does not name a type; did you mean ‘int’? 123 | virtual intb maxValue(void) const { intb res=0; res=~res; zero_extend(res,(endbit-startbit)); return res; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:171:37: error: ‘numlabels’ was not declared in this scope; did you mean ‘setNumLabels’? 171 | ConstructTpl(void) { delayslot=0; numlabels=0; result = (HandleTpl *)0; } | ^~~~~~~~~ | setNumLabels /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:137:33: error: ‘int4’ has not been declared 137 | virtual void shiftInstruction(int4 sa) { instr->shiftInstruction(sa); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isAddrForce() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:231:43: error: ‘flags’ was not declared in this scope 231 | bool isAddrForce(void) const { return ((flags&Varnode::addrforce)!=0); } ///< Is \b this value forced into a particular storage location? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:142:42: error: ‘int4’ has not been declared 142 | virtual Pattern *doOr(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isPtrCheck() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:238:42: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 238 | bool isPtrCheck(void) const { return ((addlflags&Varnode::ptrcheck)!=0); } ///< Has \b this been checked as a constant pointer to a mapped symbol? | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:143:43: error: ‘int4’ has not been declared 143 | virtual Pattern *doAnd(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:144:54: error: ‘int4’ has not been declared 144 | virtual Pattern *commonSubPattern(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:129:3: error: ‘intb’ does not name a type; did you mean ‘int’? 129 | intb val; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:132:21: error: expected ‘)’ before ‘v’ 132 | ConstantValue(intb v) { val = v; } | ~ ^~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:193:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 193 | uint4 labelbase; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:40:3: error: ‘value_real’ was not declared in this scope 40 | value_real = 0; | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isReturnAddress() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:237:47: error: ‘flags’ was not declared in this scope 237 | bool isReturnAddress(void) const { return ((flags&Varnode::return_address)!=0); } ///< Is this storage for a calls return address? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:43:34: error: ‘int4’ has not been declared 43 | ConstTpl::ConstTpl(const_type tp,int4 ht,v_field vf,uintb plus) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:133:11: error: ‘intb’ does not name a type; did you mean ‘int’? 133 | virtual intb getValue(ParserWalker &walker) const { return val; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:43:53: error: ‘uintb’ has not been declared 43 | ConstTpl::ConstTpl(const_type tp,int4 ht,v_field vf,uintb plus) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:135:35: error: ‘intb’ has not been declared 135 | virtual TokenPattern genPattern(intb v) const { return TokenPattern(val==v); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc: In constructor ‘ConstTpl::ConstTpl(ConstTpl::const_type, int, ConstTpl::v_field, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:47:9: error: ‘union ConstTpl::’ has no member named ‘handle_index’ 47 | value.handle_index = ht; | ^~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:168:35: error: ‘int4’ has not been declared 168 | void addContent(const char *str,int4 start,int4 length) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:194:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 194 | uint4 labelcount; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:168:46: error: ‘int4’ has not been declared 168 | void addContent(const char *str,int4 start,int4 length) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:199:21: error: expected ‘)’ before ‘lbcnt’ 199 | PcodeBuilder(uint4 lbcnt) { labelbase=labelcount=lbcnt; } | ~ ^~~~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:136:11: error: ‘intb’ does not name a type; did you mean ‘int’? 136 | virtual intb minValue(void) const { return val; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:202:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 202 | uint4 getLabelBase(void) const { return labelbase; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:83:54: error: ‘maxValue’ was not declared in this scope 83 | minlist.push_back(minValue()); maxlist.push_back(maxValue()); } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:137:11: error: ‘intb’ does not name a type; did you mean ‘int’? 137 | virtual intb maxValue(void) const { return val; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:204:38: error: ‘int4’ has not been declared 204 | void build(ConstructTpl *construct,int4 secnum); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In constructor ‘PatternExpression::PatternExpression()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:62:29: error: ‘refcount’ was not declared in this scope 62 | PatternExpression(void) { refcount = 0; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:205:39: error: ‘int4’ has not been declared 205 | virtual void appendBuild(OpTpl *bld,int4 secnum)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isAutoLive() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:232:42: error: ‘flags’ was not declared in this scope 232 | bool isAutoLive(void) const { return ((flags&(Varnode::addrforce|Varnode::autolive_hold))!=0); } ///< Is \b this varnode exempt from dead-code removal? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:208:44: error: ‘int4’ has not been declared 208 | virtual void appendCrossBuild(OpTpl *bld,int4 secnum)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isPtrFlow() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:239:41: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 239 | bool isPtrFlow(void) const { return ((addlflags&Varnode::ptrflow)!=0); } ///< Does this varnode flow to or from a known pointer | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:197:3: error: ‘int4’ does not name a type; did you mean ‘int’? 197 | int4 getNumAttributes(void) const { return attr.size(); } ///< Get the number of attributes for \b this element | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:198:34: error: ‘int4’ has not been declared 198 | const string &getAttributeName(int4 i) const { return attr[i]; } ///< Get the name of the i-th attribute | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:199:35: error: ‘int4’ has not been declared 199 | const string &getAttributeValue(int4 i) const { return value[i]; } ///< Get the value of the i-th attribute | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:93:3: error: ‘int4’ does not name a type; did you mean ‘int’? 93 | int4 bitstart,bitend; // Bits within the token, 0 bit is LEAST significant | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:146:3: error: ‘int4’ does not name a type; did you mean ‘int’? 146 | int4 numInput(void) const { return input.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:147:21: error: ‘int4’ has not been declared 147 | VarnodeTpl *getIn(int4 i) const { return input[i]; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:154:32: error: ‘int4’ has not been declared 154 | void setInput(VarnodeTpl *vt,int4 slot) { input[slot] = vt; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:155:20: error: ‘int4’ has not been declared 155 | void removeInput(int4 index); | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:20, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:23:3: error: ‘int4’ does not name a type; did you mean ‘int’? 23 | int4 offset; // Offset to non-zero byte of mask | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isPtrCheck() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:238:42: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 238 | bool isPtrCheck(void) const { return ((addlflags&Varnode::ptrcheck)!=0); } ///< Has \b this been checked as a constant pointer to a mapped symbol? | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:94:3: error: ‘int4’ does not name a type; did you mean ‘int’? 94 | int4 bytestart,byteend; // Bytes to read to get value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:24:3: error: ‘int4’ does not name a type; did you mean ‘int’? 24 | int4 nonzerosize; // Last byte(+1) containing nonzero mask | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:95:3: error: ‘int4’ does not name a type; did you mean ‘int’? 95 | int4 shift; // Amount to shift to align value (bitstart % 8) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:157:33: error: ‘int4’ has not been declared 157 | virtual void shiftInstruction(int4 sa); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:98:31: error: ‘int4’ has not been declared 98 | TokenField(Token *tk,bool s,int4 bstart,int4 bend); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:98:43: error: ‘int4’ has not been declared 98 | TokenField(Token *tk,bool s,int4 bstart,int4 bend); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In member function ‘virtual TokenPattern ConstantValue::genPattern(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:135:71: error: ‘val’ was not declared in this scope 135 | virtual TokenPattern genPattern(intb v) const { return TokenPattern(val==v); } | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:49:3: error: ‘value_real’ was not declared in this scope 49 | value_real = plus; | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:99:11: error: ‘intb’ does not name a type; did you mean ‘int’? 99 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isAutoLiveHold() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:233:46: error: ‘flags’ was not declared in this scope 233 | bool isAutoLiveHold(void) const { return ((flags&Varnode::autolive_hold)!=0); } ///< Is there a temporary hold on dead-code removal? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:101:35: error: ‘intb’ has not been declared 101 | virtual TokenPattern genPattern(intb val) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:159:11: error: ‘int4’ does not name a type; did you mean ‘int’? 159 | virtual int4 numDisjoint(void) const { return orlist.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:156:39: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 156 | void changeHandleIndex(const vector &handmap); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:160:40: error: ‘int4’ has not been declared 160 | virtual DisjointPattern *getDisjoint(int4 i) const { return orlist[i]; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:156:43: error: template argument 1 is invalid 156 | void changeHandleIndex(const vector &handmap); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:156:43: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:413:48: error: ‘int4’ has not been declared 413 | TypeUnicode *getTypeUnicode(const string &nm,int4 sz,type_metatype m); ///< Create a default "unicode" type | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:164:42: error: ‘int4’ has not been declared 164 | virtual Pattern *doOr(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:165:43: error: ‘int4’ has not been declared 165 | virtual Pattern *doAnd(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:417:44: error: ‘uint8’ has not been declared 417 | Datatype *findByIdLocal(const string &nm,uint8 id) const; ///< Search locally by name and id | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:145:11: error: ‘intb’ does not name a type; did you mean ‘int’? 145 | virtual intb getValue(ParserWalker &walker) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:166:54: error: ‘int4’ has not been declared 166 | virtual Pattern *commonSubPattern(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:418:46: error: ‘uint8’ has not been declared 418 | virtual Datatype *findById(const string &n,uint8 id); ///< Search by name and id | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isSpacebasePlaceholder() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:240:54: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 240 | bool isSpacebasePlaceholder(void) const { return ((addlflags&Varnode::spacebase_placeholder)!=0); } ///< Is \b this used specifically to track stackpointer values? | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:102:11: error: ‘intb’ does not name a type; did you mean ‘int’? 102 | virtual intb minValue(void) const { return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:148:35: error: ‘intb’ has not been declared 148 | virtual TokenPattern genPattern(intb val) const { return TokenPattern(); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:425:23: error: ‘int4’ has not been declared 425 | void setStructAlign(int4 al) { align = al; } ///< Set the default structure alignment | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In member function ‘void PatternExpression::layClaim()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:73:25: error: ‘refcount’ was not declared in this scope 73 | void layClaim(void) { refcount += 1; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:80:35: error: ‘intb’ has not been declared 80 | virtual TokenPattern genPattern(intb val) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:25:10: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 25 | vector maskvec; // Mask | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:25:15: error: template argument 1 is invalid 25 | vector maskvec; // Mask | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:25:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isPtrFlow() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:239:41: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 239 | bool isPtrFlow(void) const { return ((addlflags&Varnode::ptrflow)!=0); } ///< Does this varnode flow to or from a known pointer | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:168:35: error: ‘int4’ has not been declared 168 | void addContent(const char *str,int4 start,int4 length) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:168:46: error: ‘int4’ has not been declared 168 | void addContent(const char *str,int4 start,int4 length) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:103:11: error: ‘intb’ does not name a type; did you mean ‘int’? 103 | virtual intb maxValue(void) const { intb res=0; res=~res; zero_extend(res,bitend-bitstart); return res; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:149:11: error: ‘intb’ does not name a type; did you mean ‘int’? 149 | virtual intb minValue(void) const { return (intb)0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:426:3: error: ‘int4’ does not name a type; did you mean ‘int’? 426 | int4 getStructAlign(void) const { return align; } ///< Get the default structure alignment | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:150:11: error: ‘intb’ does not name a type; did you mean ‘int’? 150 | virtual intb maxValue(void) const { return (intb)0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:427:3: error: ‘int4’ does not name a type; did you mean ‘int’? 427 | int4 getSizeOfInt(void) const { return sizeOfInt; } ///< Get the size of the default "int" | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:197:3: error: ‘int4’ does not name a type; did you mean ‘int’? 197 | int4 getNumAttributes(void) const { return attr.size(); } ///< Get the number of attributes for \b this element | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:198:34: error: ‘int4’ has not been declared 198 | const string &getAttributeName(int4 i) const { return attr[i]; } ///< Get the name of the i-th attribute | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:431:55: error: ‘int4’ has not been declared 431 | bool setFields(vector &fd,TypeStruct *ot,int4 fixedsize,uint4 flags); ///< Set fields on a TypeStruct | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isMapped() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:234:40: error: ‘flags’ was not declared in this scope 234 | bool isMapped(void) const { return ((flags&Varnode::mapped)!=0); } ///< Is there or should be formal symbol information associated with \b this? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:431:70: error: ‘uint4’ has not been declared 431 | bool setFields(vector &fd,TypeStruct *ot,int4 fixedsize,uint4 flags); ///< Set fields on a TypeStruct | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:199:35: error: ‘int4’ has not been declared 199 | const string &getAttributeValue(int4 i) const { return value[i]; } ///< Get the value of the i-th attribute | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:109:3: error: ‘int4’ does not name a type; did you mean ‘int’? 109 | int4 startbit,endbit; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:82:33: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 82 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:26:10: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 26 | vector valvec; // Value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:26:15: error: template argument 1 is invalid 26 | vector valvec; // Value | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:82:37: error: template argument 1 is invalid 82 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:26:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:82:37: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:29:20: error: expected ‘)’ before ‘off’ 29 | PatternBlock(int4 off,uintm msk,uintm val); | ~ ^~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:38:14: error: ‘int4’ has not been declared 38 | void shift(int4 sa) { offset += sa; normalize(); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::hasNoLocalAlias() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:241:47: error: ‘flags’ was not declared in this scope 241 | bool hasNoLocalAlias(void) const { return ((flags&Varnode::nolocalalias)!=0); } ///< Are there (not) any local pointers that might affect \b this? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isSpacebasePlaceholder() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:240:54: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 240 | bool isSpacebasePlaceholder(void) const { return ((addlflags&Varnode::spacebase_placeholder)!=0); } ///< Is \b this used specifically to track stackpointer values? | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:110:3: error: ‘int4’ does not name a type; did you mean ‘int’? 110 | int4 startbyte,endbyte; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:158:11: error: ‘intb’ does not name a type; did you mean ‘int’? 158 | virtual intb getValue(ParserWalker &walker) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:164:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 164 | uint4 delayslot; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:161:35: error: ‘intb’ has not been declared 161 | virtual TokenPattern genPattern(intb val) const { return TokenPattern(); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:39:3: error: ‘int4’ does not name a type; did you mean ‘int’? 39 | int4 getLength(void) const { return offset+nonzerosize; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:111:3: error: ‘int4’ does not name a type; did you mean ‘int’? 111 | int4 shift; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:115:23: error: ‘int4’ has not been declared 115 | ContextField(bool s,int4 sbit,int4 ebit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:115:33: error: ‘int4’ has not been declared 115 | ContextField(bool s,int4 sbit,int4 ebit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:165:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 165 | uint4 numlabels; // Number of label templates | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:162:11: error: ‘intb’ does not name a type; did you mean ‘int’? 162 | virtual intb minValue(void) const { return (intb)0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:40:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 40 | uintm getMask(int4 startbit,int4 size) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:433:36: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 433 | const vector &vallist, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:433:41: error: template argument 1 is invalid 433 | const vector &vallist, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:433:41: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:116:3: error: ‘int4’ does not name a type; did you mean ‘int’? 116 | int4 getStartBit(void) const { return startbit; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:82:55: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 82 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:82:59: error: template argument 1 is invalid 82 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:439:27: error: ‘int4’ has not been declared 439 | Datatype *getBaseNoChar(int4 s,type_metatype m); ///< Get atomic type excluding "char" | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:82:59: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:440:21: error: ‘int4’ has not been declared 440 | Datatype *getBase(int4 s,type_metatype m); ///< Get atomic type | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc: In member function ‘bool ConstTpl::operator==(const ConstTpl&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:81:13: error: ‘value_real’ was not declared in this scope 81 | return (value_real == op2.value_real); | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:441:21: error: ‘int4’ has not been declared 441 | Datatype *getBase(int4 s,type_metatype m,const string &n); ///< Get named atomic type | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:81:31: error: ‘const class ConstTpl’ has no member named ‘value_real’ 81 | return (value_real == op2.value_real); | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:443:41: error: ‘int4’ has not been declared 443 | TypePointer *getTypePointerStripArray(int4 s,Datatype *pt,uint4 ws); ///< Construct a pointer data-type, stripping an ARRAY level | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:163:11: error: ‘intb’ does not name a type; did you mean ‘int’? 163 | virtual intb maxValue(void) const { return (intb)0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:443:61: error: ‘uint4’ has not been declared 443 | TypePointer *getTypePointerStripArray(int4 s,Datatype *pt,uint4 ws); ///< Construct a pointer data-type, stripping an ARRAY level | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:444:31: error: ‘int4’ has not been declared 444 | TypePointer *getTypePointer(int4 s,Datatype *pt,uint4 ws); ///< Construct an absolute pointer data-type | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:444:51: error: ‘uint4’ has not been declared 444 | TypePointer *getTypePointer(int4 s,Datatype *pt,uint4 ws); ///< Construct an absolute pointer data-type | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isUnaffected() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:235:44: error: ‘flags’ was not declared in this scope 235 | bool isUnaffected(void) const { return ((flags&Varnode::unaffected)!=0); } ///< Is \b this a value that is supposed to be preserved across the function? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:83:15: error: ‘const union ConstTpl::’ has no member named ‘handle_index’ 83 | if (value.handle_index != op2.value.handle_index) return false; | ^~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:41:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 41 | uintm getValue(int4 startbit,int4 size) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:445:38: error: ‘int4’ has not been declared 445 | TypePointer *getTypePointerNoDepth(int4 s,Datatype *pt,uint4 ws); ///< Construct a depth limited pointer data-type | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:83:41: error: ‘const union ConstTpl::’ has no member named ‘handle_index’ 83 | if (value.handle_index != op2.value.handle_index) return false; | ^~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:445:58: error: ‘uint4’ has not been declared 445 | TypePointer *getTypePointerNoDepth(int4 s,Datatype *pt,uint4 ws); ///< Construct a depth limited pointer data-type | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:446:27: error: ‘int4’ has not been declared 446 | TypeArray *getTypeArray(int4 as,Datatype *ao); ///< Construct an array data-type | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:117:3: error: ‘int4’ does not name a type; did you mean ‘int’? 117 | int4 getEndBit(void) const { return endbit; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:454:41: error: ‘uintb’ has not been declared 454 | Datatype *downChain(Datatype *ptrtype,uintb &off); ///< Find a sub-type matching a pointer and offset | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:84:11: error: ‘intb’ does not name a type; did you mean ‘int’? 84 | virtual intb getSubValue(const vector &replace,int4 &listpos) const { return replace[listpos++]; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:463:39: error: ‘int4’ has not been declared 463 | void setCoreType(const string &name,int4 size,type_metatype meta,bool chartp); ///< Create a core data-type | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:233:44: error: ‘int4’ has not been declared 233 | virtual void characters(const char *text,int4 start,int4 length); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:233:55: error: ‘int4’ has not been declared 233 | virtual void characters(const char *text,int4 start,int4 length); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isMark() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:242:38: error: ‘flags’ was not declared in this scope 242 | bool isMark(void) const { return ((flags&Varnode::mark)!=0); } ///< Has \b this been visited by the current algorithm? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:234:53: error: ‘int4’ has not been declared 234 | virtual void ignorableWhitespace(const char *text,int4 start,int4 length) {} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:234:64: error: ‘int4’ has not been declared 234 | virtual void ignorableWhitespace(const char *text,int4 start,int4 length) {} | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:20, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:26:36: error: ‘int4’ has not been declared 26 | static PatternBlock *buildSingle(int4 startbit,int4 endbit,uintm byteval); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:119:11: error: ‘intb’ does not name a type; did you mean ‘int’? 119 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:26:50: error: ‘int4’ has not been declared 26 | static PatternBlock *buildSingle(int4 startbit,int4 endbit,uintm byteval); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:26:62: error: ‘uintm’ has not been declared 26 | static PatternBlock *buildSingle(int4 startbit,int4 endbit,uintm byteval); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::hasNoLocalAlias() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:241:47: error: ‘flags’ was not declared in this scope 241 | bool hasNoLocalAlias(void) const { return ((flags&Varnode::nolocalalias)!=0); } ///< Are there (not) any local pointers that might affect \b this? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:27:38: error: ‘int4’ has not been declared 27 | static PatternBlock *buildBigBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:27:48: error: ‘int4’ has not been declared 27 | static PatternBlock *buildBigBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:121:35: error: ‘intb’ has not been declared 121 | virtual TokenPattern genPattern(intb val) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:27:62: error: ‘int4’ has not been declared 27 | static PatternBlock *buildBigBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:27:74: error: ‘intb’ has not been declared 27 | static PatternBlock *buildBigBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:28:41: error: ‘int4’ has not been declared 28 | static PatternBlock *buildLittleBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:28:51: error: ‘int4’ has not been declared 28 | static PatternBlock *buildLittleBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:28:65: error: ‘int4’ has not been declared 28 | static PatternBlock *buildLittleBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:28:77: error: ‘intb’ has not been declared 28 | static PatternBlock *buildLittleBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:85:11: error: ‘intb’ does not name a type; did you mean ‘int’? 85 | virtual intb minValue(void) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:171:3: error: ‘int4’ does not name a type; did you mean ‘int’? 171 | int4 index; // This is the defining field of expression | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:122:11: error: ‘intb’ does not name a type; did you mean ‘int’? 122 | virtual intb minValue(void) const { return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:175:20: error: expected ‘)’ before ‘ind’ 175 | OperandValue(int4 ind,Constructor *c) { index = ind; ct = c; } | ~ ^~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:176:20: error: ‘int4’ has not been declared 176 | void changeIndex(int4 newind) { index = newind; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:86:11: error: ‘intb’ does not name a type; did you mean ‘int’? 86 | virtual intb maxValue(void) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:179:35: error: ‘intb’ has not been declared 179 | virtual TokenPattern genPattern(intb val) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:29:3: error: ‘int4’ does not name a type; did you mean ‘int’? 29 | int4 resolveTokens(const TokenPattern &tokpat1,const TokenPattern &tokpat2); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:35:27: error: ‘intb’ has not been declared 35 | TokenPattern(Token *tok,intb value,int4 bitstart,int4 bitend); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:35:38: error: ‘int4’ has not been declared 35 | TokenPattern(Token *tok,intb value,int4 bitstart,int4 bitend); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:123:11: error: ‘intb’ does not name a type; did you mean ‘int’? 123 | virtual intb maxValue(void) const { intb res=0; res=~res; zero_extend(res,(endbit-startbit)); return res; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:35:52: error: ‘int4’ has not been declared 35 | TokenPattern(Token *tok,intb value,int4 bitstart,int4 bitend); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:36:20: error: expected ‘)’ before ‘value’ 36 | TokenPattern(intb value,int4 startbit,int4 endbit); | ~ ^~~~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isSpacebase() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:236:43: error: ‘flags’ was not declared in this scope 236 | bool isSpacebase(void) const { return ((flags&Varnode::spacebase)!=0); } ///< Is this location used to store the base point for a virtual address space? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh: In member function ‘void PatternBlock::shift(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:38:25: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 38 | void shift(int4 sa) { offset += sa; normalize(); } | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:181:11: error: ‘intb’ does not name a type; did you mean ‘int’? 181 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:169:21: error: ‘uint4’ has not been declared 169 | void setNumLabels(uint4 val) { numlabels = val; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:49:3: error: ‘int4’ does not name a type; did you mean ‘int’? 49 | int4 getMinimumLength(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:182:11: error: ‘intb’ does not name a type; did you mean ‘int’? 182 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isActiveHeritage() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:243:48: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 243 | bool isActiveHeritage(void) const { return ((addlflags&Varnode::activeheritage)!=0); } ///< Is \b this currently being traced by the Heritage algorithm? | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: In member function ‘void TypeFactory::setStructAlign(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:425:34: error: ‘align’ was not declared in this scope 425 | void setStructAlign(int4 al) { align = al; } ///< Set the default structure alignment | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:129:3: error: ‘intb’ does not name a type; did you mean ‘int’? 129 | intb val; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isMark() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:242:38: error: ‘flags’ was not declared in this scope 242 | bool isMark(void) const { return ((flags&Varnode::mark)!=0); } ///< Has \b this been visited by the current algorithm? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:132:21: error: expected ‘)’ before ‘v’ 132 | ConstantValue(intb v) { val = v; } | ~ ^~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:173:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 173 | uint4 delaySlot(void) const { return delayslot; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:183:11: error: ‘intb’ does not name a type; did you mean ‘int’? 183 | virtual intb minValue(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/type.hh:473:8: error: ‘int4’ does not name a type; did you mean ‘int’? 473 | inline int4 Datatype::typeOrderBool(const Datatype &op) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:133:11: error: ‘intb’ does not name a type; did you mean ‘int’? 133 | virtual intb getValue(ParserWalker &walker) const { return val; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:135:35: error: ‘intb’ has not been declared 135 | virtual TokenPattern genPattern(intb v) const { return TokenPattern(val==v); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:184:11: error: ‘intb’ does not name a type; did you mean ‘int’? 184 | virtual intb maxValue(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc: In member function ‘bool ConstTpl::operator<(const ConstTpl&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:100:13: error: ‘value_real’ was not declared in this scope 100 | return (value_real < op2.value_real); | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:174:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 174 | uint4 numLabels(void) const { return numlabels; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:100:30: error: ‘const class ConstTpl’ has no member named ‘value_real’ 100 | return (value_real < op2.value_real); | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:102:15: error: ‘const union ConstTpl::’ has no member named ‘handle_index’ 102 | if (value.handle_index != op2.value.handle_index) | ^~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:102:41: error: ‘const union ConstTpl::’ has no member named ‘handle_index’ 102 | if (value.handle_index != op2.value.handle_index) | ^~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:136:11: error: ‘intb’ does not name a type; did you mean ‘int’? 136 | virtual intb minValue(void) const { return val; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:103:21: error: ‘const union ConstTpl::’ has no member named ‘handle_index’ 103 | return (value.handle_index < op2.value.handle_index); | ^~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:103:46: error: ‘const union ConstTpl::’ has no member named ‘handle_index’ 103 | return (value.handle_index < op2.value.handle_index); | ^~~~~~~~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:63:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 63 | uint4 tag; ///< Descriptor of type of the object | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In member function ‘void OperandValue::changeIndex(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:176:43: error: overloaded function with no contextual type information 176 | void changeIndex(int4 newind) { index = newind; } | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isReturnAddress() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:237:47: error: ‘flags’ was not declared in this scope 237 | bool isReturnAddress(void) const { return ((flags&Varnode::return_address)!=0); } ///< Is this storage for a calls return address? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:137:11: error: ‘intb’ does not name a type; did you mean ‘int’? 137 | virtual intb maxValue(void) const { return val; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:180:3: error: ‘int4’ does not name a type; did you mean ‘int’? 180 | int4 fillinBuild(vector &check,AddrSpace *const_space); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:233:44: error: ‘int4’ has not been declared 233 | virtual void characters(const char *text,int4 start,int4 length); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:233:55: error: ‘int4’ has not been declared 233 | virtual void characters(const char *text,int4 start,int4 length); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In member function ‘virtual void PatternValue::getMinMax(int&, int&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:83:13: error: request for member ‘push_back’ in ‘minlist’, which is of non-class type ‘int’ 83 | minlist.push_back(minValue()); maxlist.push_back(maxValue()); } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:234:53: error: ‘int4’ has not been declared 234 | virtual void ignorableWhitespace(const char *text,int4 start,int4 length) {} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:234:64: error: ‘int4’ has not been declared 234 | virtual void ignorableWhitespace(const char *text,int4 start,int4 length) {} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:64:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 64 | uint4 flags; ///< Additional boolean properties on the record | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isStackStore() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:244:44: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 244 | bool isStackStore(void) const { return ((addlflags&Varnode::stack_store)!=0); } ///< Was this originally produced by an explicit STORE | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:114:1: error: ‘uintb’ does not name a type; did you mean ‘uint’? 114 | uintb ConstTpl::fix(const ParserWalker &walker) const | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isActiveHeritage() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:243:48: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 243 | bool isActiveHeritage(void) const { return ((addlflags&Varnode::activeheritage)!=0); } ///< Is \b this currently being traced by the Heritage algorithm? | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:57:3: error: ‘int4’ does not name a type; did you mean ‘int’? 57 | int4 refcount; // Number of objects referencing this | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc: In member function ‘AddrSpace* ConstTpl::fixSpace(const ParserWalker&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:186:59: error: ‘const union ConstTpl::’ has no member named ‘handle_index’ 186 | const FixedHandle &hand(walker.getFixedHandle(value.handle_index)); | ^~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh: In member function ‘bool PatternBlock::alwaysTrue() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:42:41: error: ‘nonzerosize’ was not declared in this scope 42 | bool alwaysTrue(void) const { return (nonzerosize==0); } | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:66:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 66 | uintb value; ///< Constant value of the object (if known) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:63:11: error: ‘intb’ does not name a type; did you mean ‘int’? 63 | virtual intb getValue(ParserWalker &walker) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc: In member function ‘void ConstTpl::fillinSpace(FixedHandle&, const ParserWalker&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:216:64: error: ‘const union ConstTpl::’ has no member named ‘handle_index’ 216 | const FixedHandle &otherhand(walker.getFixedHandle(value.handle_index)); | ^~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:68:3: error: ‘uint1’ does not name a type; did you mean ‘uint’? 68 | uint1 *byteData; ///< For string literals, the raw byte data of the string | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:182:39: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 182 | void changeHandleIndex(const vector &handmap); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:182:43: error: template argument 1 is invalid 182 | void changeHandleIndex(const vector &handmap); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:182:43: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:183:32: error: ‘int4’ has not been declared 183 | void setInput(VarnodeTpl *vn,int4 index,int4 slot); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:183:43: error: ‘int4’ has not been declared 183 | void setInput(VarnodeTpl *vn,int4 index,int4 slot); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:184:33: error: ‘int4’ has not been declared 184 | void setOutput(VarnodeTpl *vn,int4 index); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isPtrCheck() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:238:42: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 238 | bool isPtrCheck(void) const { return ((addlflags&Varnode::ptrcheck)!=0); } ///< Has \b this been checked as a constant pointer to a mapped symbol? | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc: In member function ‘void ConstTpl::fillinOffset(FixedHandle&, const ParserWalker&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:242:62: error: ‘const union ConstTpl::’ has no member named ‘handle_index’ 242 | const FixedHandle &otherhand(walker.getFixedHandle(value.handle_index)); | ^~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:69:3: error: ‘int4’ does not name a type; did you mean ‘int’? 69 | int4 byteDataLen; ///< The number of bytes in the data for a string literal | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:244:10: error: ‘struct FixedHandle’ has no member named ‘offset_offset’ 244 | hand.offset_offset = otherhand.offset_offset; | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In member function ‘virtual TokenPattern ConstantValue::genPattern(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:135:71: error: ‘val’ was not declared in this scope 135 | virtual TokenPattern genPattern(intb v) const { return TokenPattern(val==v); } | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:244:36: error: ‘const struct FixedHandle’ has no member named ‘offset_offset’ 244 | hand.offset_offset = otherhand.offset_offset; | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:245:10: error: ‘struct FixedHandle’ has no member named ‘offset_size’; did you mean ‘offset_space’? 245 | hand.offset_size = otherhand.offset_size; | ^~~~~~~~~~~ | offset_space /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:245:34: error: ‘const struct FixedHandle’ has no member named ‘offset_size’; did you mean ‘offset_space’? 245 | hand.offset_size = otherhand.offset_size; | ^~~~~~~~~~~ | offset_space /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:247:10: error: ‘struct FixedHandle’ has no member named ‘temp_offset’ 247 | hand.temp_offset = otherhand.temp_offset; | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:247:34: error: ‘const struct FixedHandle’ has no member named ‘temp_offset’ 247 | hand.temp_offset = otherhand.temp_offset; | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:251:10: error: ‘struct FixedHandle’ has no member named ‘offset_offset’ 251 | hand.offset_offset = hand.space->wrapOffset(fix(walker)); | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:251:38: error: ‘class AddrSpace’ has no member named ‘wrapOffset’ 251 | hand.offset_offset = hand.space->wrapOffset(fix(walker)); | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isLockedInput() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:245:45: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 245 | bool isLockedInput(void) const { return ((addlflags&Varnode::locked_input)!=0); } ///< Is always an input, even if unused | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isStackStore() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:244:44: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 244 | bool isStackStore(void) const { return ((addlflags&Varnode::stack_store)!=0); } ///< Was this originally produced by an explicit STORE | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:73:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 73 | uint4 getTag(void) const { return tag; } ///< Get the type of record | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:145:11: error: ‘intb’ does not name a type; did you mean ‘int’? 145 | virtual intb getValue(ParserWalker &walker) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:148:35: error: ‘intb’ has not been declared 148 | virtual TokenPattern genPattern(intb val) const { return TokenPattern(); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:83:23: error: ‘minValue’ was not declared in this scope; did you mean ‘listValues’? 83 | minlist.push_back(minValue()); maxlist.push_back(maxValue()); } | ^~~~~~~~ | listValues /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In member function ‘virtual TokenPattern OperandValue::genMinPattern(const std::vector&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:180:89: error: no match for ‘operator[]’ (operand types are ‘const std::vector’ and ‘’) 180 | virtual TokenPattern genMinPattern(const vector &ops) const { return ops[index]; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:83:44: error: request for member ‘push_back’ in ‘maxlist’, which is of non-class type ‘int’ 83 | minlist.push_back(minValue()); maxlist.push_back(maxValue()); } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:66:33: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 66 | virtual void getMinMax(vector &minlist,vector &maxlist) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:66:37: error: template argument 1 is invalid 66 | virtual void getMinMax(vector &minlist,vector &maxlist) const=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:66:37: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:75:9: error: ‘uint1’ does not name a type; did you mean ‘uint’? 75 | const uint1 *getByteData(void) const { return byteData; } ///< Get pointer to string literal data | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:149:11: error: ‘intb’ does not name a type; did you mean ‘int’? 149 | virtual intb minValue(void) const { return (intb)0; } | ^~~~ | int In file included from /usr/include/c++/11.2.0/vector:67, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:31, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:16: /usr/include/c++/11.2.0/bits/stl_vector.h:1043:7: note: candidate: ‘std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) [with _Tp = TokenPattern; _Alloc = std::allocator; std::vector<_Tp, _Alloc>::reference = TokenPattern&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]’ 1043 | operator[](size_type __n) _GLIBCXX_NOEXCEPT | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:185:31: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 185 | void deleteOps(const vector &indices); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:185:35: error: template argument 1 is invalid 185 | void deleteOps(const vector &indices); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:185:35: error: template argument 2 is invalid /usr/include/c++/11.2.0/bits/stl_vector.h:1043:28: note: no known conversion for argument 1 from ‘’ to ‘std::vector::size_type’ {aka ‘long unsigned int’} 1043 | operator[](size_type __n) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:186:27: error: ‘int4’ has not been declared 186 | void saveXml(ostream &s,int4 sectionid) const; | ^~~~ /usr/include/c++/11.2.0/bits/stl_vector.h:1061:7: note: candidate: ‘std::vector<_Tp, _Alloc>::const_reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) const [with _Tp = TokenPattern; _Alloc = std::allocator; std::vector<_Tp, _Alloc>::const_reference = const TokenPattern&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]’ 1061 | operator[](size_type __n) const _GLIBCXX_NOEXCEPT | ^~~~~~~~ /usr/include/c++/11.2.0/bits/stl_vector.h:1061:28: note: no known conversion for argument 1 from ‘’ to ‘std::vector::size_type’ {aka ‘long unsigned int’} 1061 | operator[](size_type __n) const _GLIBCXX_NOEXCEPT | ~~~~~~~~~~^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:76:3: error: ‘int4’ does not name a type; did you mean ‘int’? 76 | int4 getByteDataLength(void) const { return byteDataLen; } ///< Number of bytes of string literal data | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:150:11: error: ‘intb’ does not name a type; did you mean ‘int’? 150 | virtual intb maxValue(void) const { return (intb)0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isPtrFlow() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:239:41: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 239 | bool isPtrFlow(void) const { return ((addlflags&Varnode::ptrflow)!=0); } ///< Does this varnode flow to or from a known pointer | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh: In member function ‘bool PatternBlock::alwaysFalse() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:43:42: error: ‘nonzerosize’ was not declared in this scope 43 | bool alwaysFalse(void) const { return (nonzerosize==-1); } | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:187:3: error: ‘int4’ does not name a type; did you mean ‘int’? 187 | int4 restoreXml(const Element *el,const AddrSpaceManager *manage); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:251:49: error: ‘fix’ was not declared in this scope 251 | hand.offset_offset = hand.space->wrapOffset(fix(walker)); | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:55:33: error: ‘int4’ has not been declared 55 | virtual void shiftInstruction(int4 sa)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:78:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 78 | uintb getValue(void) const { return value; } ///< Get the constant value associated with \b this | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:56:42: error: ‘int4’ has not been declared 56 | virtual Pattern *doOr(const Pattern *b,int4 sa) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:57:43: error: ‘int4’ has not been declared 57 | virtual Pattern *doAnd(const Pattern *b,int4 sa) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:58:54: error: ‘int4’ has not been declared 58 | virtual Pattern *commonSubPattern(const Pattern *b,int4 sa) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc: In member function ‘void ConstTpl::transfer(const std::vector&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:259:39: error: ‘union ConstTpl::’ has no member named ‘handle_index’ 259 | HandleTpl *newhandle = params[value.handle_index]; | ^~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isLockedInput() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:245:45: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 245 | bool isLockedInput(void) const { return ((addlflags&Varnode::locked_input)!=0); } ///< Is always an input, even if unused | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isIndirectZero() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:248:46: error: ‘flags’ was not declared in this scope 248 | bool isIndirectZero(void) const { return ((flags&(Varnode::indirect_creation|Varnode::constant))==(Varnode::indirect_creation|Varnode::constant)); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:66:55: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 66 | virtual void getMinMax(vector &minlist,vector &maxlist) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:66:59: error: template argument 1 is invalid 66 | virtual void getMinMax(vector &minlist,vector &maxlist) const=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:66:59: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:60:11: error: ‘int4’ does not name a type; did you mean ‘int’? 60 | virtual int4 numDisjoint(void) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:61:40: error: ‘int4’ has not been declared 61 | virtual DisjointPattern *getDisjoint(int4 i) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:158:11: error: ‘intb’ does not name a type; did you mean ‘int’? 158 | virtual intb getValue(ParserWalker &walker) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:161:35: error: ‘intb’ has not been declared 161 | virtual TokenPattern genPattern(intb val) const { return TokenPattern(); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:67:11: error: ‘intb’ does not name a type; did you mean ‘int’? 67 | virtual intb getSubValue(const vector &replace,int4 &listpos) const=0; | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:20, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:201:33: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 201 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:201:37: error: template argument 1 is invalid 201 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:201:37: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:162:11: error: ‘intb’ does not name a type; did you mean ‘int’? 162 | virtual intb minValue(void) const { return (intb)0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:83:54: error: ‘maxValue’ was not declared in this scope 83 | minlist.push_back(minValue()); maxlist.push_back(maxValue()); } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:72:11: error: ‘int4’ does not name a type; did you mean ‘int’? 72 | virtual int4 numDisjoint(void) const { return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:73:40: error: ‘int4’ has not been declared 73 | virtual DisjointPattern *getDisjoint(int4 i) const { return (DisjointPattern *)0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:70:3: error: ‘intb’ does not name a type; did you mean ‘int’? 70 | intb getSubValue(const vector &replace) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isSpacebasePlaceholder() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:240:54: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 240 | bool isSpacebasePlaceholder(void) const { return ((addlflags&Varnode::spacebase_placeholder)!=0); } ///< Is \b this used specifically to track stackpointer values? | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:163:11: error: ‘intb’ does not name a type; did you mean ‘int’? 163 | virtual intb maxValue(void) const { return (intb)0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:270:7: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 270 | uintb tmp = value_real; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:93:3: error: ‘int4’ does not name a type; did you mean ‘int’? 93 | int4 bitstart,bitend; // Bits within the token, 0 bit is LEAST significant | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:74:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 74 | uintm getMask(int4 startbit,int4 size,bool context) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isIndirectZero() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:248:46: error: ‘flags’ was not declared in this scope 248 | bool isIndirectZero(void) const { return ((flags&(Varnode::indirect_creation|Varnode::constant))==(Varnode::indirect_creation|Varnode::constant)); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:94:3: error: ‘int4’ does not name a type; did you mean ‘int’? 94 | int4 bytestart,byteend; // Bytes to read to get value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isExtraOut() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:251:42: error: ‘flags’ was not declared in this scope 251 | bool isExtraOut(void) const { return ((flags&(Varnode::indirect_creation|Varnode::addrtied))==Varnode::indirect_creation); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: In member function ‘void ConstructTpl::setNumLabels(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:169:34: error: ‘numlabels’ was not declared in this scope; did you mean ‘setNumLabels’? 169 | void setNumLabels(uint4 val) { numlabels = val; } | ^~~~~~~~~ | setNumLabels /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:75:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 75 | uintm getValue(int4 startbit,int4 size,bool context) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:201:55: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 201 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:201:59: error: template argument 1 is invalid 201 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:201:59: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh: In constructor ‘CPoolRecord::CPoolRecord()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:71:45: error: ‘byteData’ was not declared in this scope 71 | CPoolRecord(void) { type = (Datatype *)0; byteData = (uint1 *)0; } ///< Construct an empty record | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:95:3: error: ‘int4’ does not name a type; did you mean ‘int’? 95 | int4 shift; // Amount to shift to align value (bitstart % 8) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:98:31: error: ‘int4’ has not been declared 98 | TokenField(Token *tk,bool s,int4 bstart,int4 bend); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:98:43: error: ‘int4’ has not been declared 98 | TokenField(Token *tk,bool s,int4 bstart,int4 bend); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:171:3: error: ‘int4’ does not name a type; did you mean ‘int’? 171 | int4 index; // This is the defining field of expression | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:76:3: error: ‘int4’ does not name a type; did you mean ‘int’? 76 | int4 getLength(bool context) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:175:20: error: expected ‘)’ before ‘ind’ 175 | OperandValue(int4 ind,Constructor *c) { index = ind; ct = c; } | ~ ^~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:176:20: error: ‘int4’ has not been declared 176 | void changeIndex(int4 newind) { index = newind; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:179:35: error: ‘intb’ has not been declared 179 | virtual TokenPattern genPattern(intb val) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:99:11: error: ‘intb’ does not name a type; did you mean ‘int’? 99 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:101:35: error: ‘intb’ has not been declared 101 | virtual TokenPattern genPattern(intb val) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:93:33: error: ‘int4’ has not been declared 93 | virtual void shiftInstruction(int4 sa) { maskvalue->shift(sa); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:94:42: error: ‘int4’ has not been declared 94 | virtual Pattern *doOr(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:95:43: error: ‘int4’ has not been declared 95 | virtual Pattern *doAnd(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:96:54: error: ‘int4’ has not been declared 96 | virtual Pattern *commonSubPattern(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::hasNoLocalAlias() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:241:47: error: ‘flags’ was not declared in this scope 241 | bool hasNoLocalAlias(void) const { return ((flags&Varnode::nolocalalias)!=0); } ///< Are there (not) any local pointers that might affect \b this? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:181:11: error: ‘intb’ does not name a type; did you mean ‘int’? 181 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:102:11: error: ‘intb’ does not name a type; did you mean ‘int’? 102 | virtual intb minValue(void) const { return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isExtraOut() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:251:42: error: ‘flags’ was not declared in this scope 251 | bool isExtraOut(void) const { return ((flags&(Varnode::indirect_creation|Varnode::addrtied))==Varnode::indirect_creation); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:182:11: error: ‘intb’ does not name a type; did you mean ‘int’? 182 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:71:57: error: ‘uint1’ was not declared in this scope; did you mean ‘uint’? 71 | CPoolRecord(void) { type = (Datatype *)0; byteData = (uint1 *)0; } ///< Construct an empty record | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:71:64: error: expected primary-expression before ‘)’ token 71 | CPoolRecord(void) { type = (Datatype *)0; byteData = (uint1 *)0; } ///< Construct an empty record | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:103:11: error: ‘intb’ does not name a type; did you mean ‘int’? 103 | virtual intb maxValue(void) const { intb res=0; res=~res; zero_extend(res,bitend-bitstart); return res; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In constructor ‘PatternExpression::PatternExpression()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:62:29: error: ‘refcount’ was not declared in this scope 62 | PatternExpression(void) { refcount = 0; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isPrecisLo() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:252:42: error: ‘flags’ was not declared in this scope 252 | bool isPrecisLo(void) const { return ((flags&Varnode::precislo)!=0); } ///< Is \b this the low portion of a double precision value? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:183:11: error: ‘intb’ does not name a type; did you mean ‘int’? 183 | virtual intb minValue(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:273:9: error: ‘value_real’ was not declared in this scope 273 | value_real += (tmp&0xffff); | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:184:11: error: ‘intb’ does not name a type; did you mean ‘int’? 184 | virtual intb maxValue(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:218:33: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 218 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:218:37: error: template argument 1 is invalid 218 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:218:37: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:114:33: error: ‘int4’ has not been declared 114 | virtual void shiftInstruction(int4 sa) { } // do nothing | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:115:42: error: ‘int4’ has not been declared 115 | virtual Pattern *doOr(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:116:43: error: ‘int4’ has not been declared 116 | virtual Pattern *doAnd(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:117:54: error: ‘int4’ has not been declared 117 | virtual Pattern *commonSubPattern(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In member function ‘void OperandValue::changeIndex(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:176:43: error: overloaded function with no contextual type information 176 | void changeIndex(int4 newind) { index = newind; } | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:109:3: error: ‘int4’ does not name a type; did you mean ‘int’? 109 | int4 startbit,endbit; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isMark() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:242:38: error: ‘flags’ was not declared in this scope 242 | bool isMark(void) const { return ((flags&Varnode::mark)!=0); } ///< Has \b this been visited by the current algorithm? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:110:3: error: ‘int4’ does not name a type; did you mean ‘int’? 110 | int4 startbyte,endbyte; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isPrecisLo() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:252:42: error: ‘flags’ was not declared in this scope 252 | bool isPrecisLo(void) const { return ((flags&Varnode::precislo)!=0); } ///< Is \b this the low portion of a double precision value? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:137:33: error: ‘int4’ has not been declared 137 | virtual void shiftInstruction(int4 sa) { instr->shiftInstruction(sa); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:142:42: error: ‘int4’ has not been declared 142 | virtual Pattern *doOr(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:143:43: error: ‘int4’ has not been declared 143 | virtual Pattern *doAnd(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:144:54: error: ‘int4’ has not been declared 144 | virtual Pattern *commonSubPattern(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: In constructor ‘ConstructTpl::ConstructTpl()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:171:24: error: ‘delayslot’ was not declared in this scope 171 | ConstructTpl(void) { delayslot=0; numlabels=0; result = (HandleTpl *)0; } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:111:3: error: ‘int4’ does not name a type; did you mean ‘int’? 111 | int4 shift; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:273:24: error: ‘tmp’ was not declared in this scope; did you mean ‘tm’? 273 | value_real += (tmp&0xffff); | ^~~ | tm /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:115:23: error: ‘int4’ has not been declared 115 | ContextField(bool s,int4 sbit,int4 ebit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:115:33: error: ‘int4’ has not been declared 115 | ContextField(bool s,int4 sbit,int4 ebit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isPrecisHi() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:253:42: error: ‘flags’ was not declared in this scope 253 | bool isPrecisHi(void) const { return ((flags&Varnode::precishi)!=0); } ///< Is \b this the high portion of a double precision value? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:218:55: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 218 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:218:59: error: template argument 1 is invalid 218 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:218:59: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:116:3: error: ‘int4’ does not name a type; did you mean ‘int’? 116 | int4 getStartBit(void) const { return startbit; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh: In destructor ‘CPoolRecord::~CPoolRecord()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:72:28: error: ‘byteData’ was not declared in this scope 72 | ~CPoolRecord(void) { if (byteData != (uint1 *)0) delete [] byteData; } ///< Destructor | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In member function ‘void PatternExpression::layClaim()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:73:25: error: ‘refcount’ was not declared in this scope 73 | void layClaim(void) { refcount += 1; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:117:3: error: ‘int4’ does not name a type; did you mean ‘int’? 117 | int4 getEndBit(void) const { return endbit; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:80:35: error: ‘intb’ has not been declared 80 | virtual TokenPattern genPattern(intb val) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isActiveHeritage() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:243:48: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 243 | bool isActiveHeritage(void) const { return ((addlflags&Varnode::activeheritage)!=0); } ///< Is \b this currently being traced by the Heritage algorithm? | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:119:11: error: ‘intb’ does not name a type; did you mean ‘int’? 119 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:229:11: error: ‘intb’ does not name a type; did you mean ‘int’? 229 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:121:35: error: ‘intb’ has not been declared 121 | virtual TokenPattern genPattern(intb val) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isPrecisHi() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:253:42: error: ‘flags’ was not declared in this scope 253 | bool isPrecisHi(void) const { return ((flags&Varnode::precishi)!=0); } ///< Is \b this the high portion of a double precision value? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In member function ‘virtual TokenPattern OperandValue::genMinPattern(const std::vector&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:180:89: error: no match for ‘operator[]’ (operand types are ‘const std::vector’ and ‘’) 180 | virtual TokenPattern genMinPattern(const vector &ops) const { return ops[index]; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:122:11: error: ‘intb’ does not name a type; did you mean ‘int’? 122 | virtual intb minValue(void) const { return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:230:11: error: ‘intb’ does not name a type; did you mean ‘int’? 230 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int In file included from /usr/include/c++/11.2.0/vector:67, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:31, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:16: /usr/include/c++/11.2.0/bits/stl_vector.h:1043:7: note: candidate: ‘std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) [with _Tp = TokenPattern; _Alloc = std::allocator; std::vector<_Tp, _Alloc>::reference = TokenPattern&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]’ 1043 | operator[](size_type __n) _GLIBCXX_NOEXCEPT | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:72:41: error: ‘uint1’ was not declared in this scope; did you mean ‘uint’? 72 | ~CPoolRecord(void) { if (byteData != (uint1 *)0) delete [] byteData; } ///< Destructor | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:72:48: error: expected primary-expression before ‘)’ token 72 | ~CPoolRecord(void) { if (byteData != (uint1 *)0) delete [] byteData; } ///< Destructor | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isIncidentalCopy() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:254:48: error: ‘flags’ was not declared in this scope 254 | bool isIncidentalCopy(void) const { return ((flags&Varnode::incidental_copy)!=0); } ///< Does this varnode get copied as a side-effect | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:72:49: error: expected ‘)’ before numeric constant 72 | ~CPoolRecord(void) { if (byteData != (uint1 *)0) delete [] byteData; } ///< Destructor | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:72:27: note: to match this ‘(’ 72 | ~CPoolRecord(void) { if (byteData != (uint1 *)0) delete [] byteData; } ///< Destructor | ^ /usr/include/c++/11.2.0/bits/stl_vector.h:1043:28: note: no known conversion for argument 1 from ‘’ to ‘std::vector::size_type’ {aka ‘long unsigned int’} 1043 | operator[](size_type __n) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:123:11: error: ‘intb’ does not name a type; did you mean ‘int’? 123 | virtual intb maxValue(void) const { intb res=0; res=~res; zero_extend(res,(endbit-startbit)); return res; } | ^~~~ | int /usr/include/c++/11.2.0/bits/stl_vector.h:1061:7: note: candidate: ‘std::vector<_Tp, _Alloc>::const_reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) const [with _Tp = TokenPattern; _Alloc = std::allocator; std::vector<_Tp, _Alloc>::const_reference = const TokenPattern&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]’ 1061 | operator[](size_type __n) const _GLIBCXX_NOEXCEPT | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:72:62: error: type ‘’ argument given to ‘delete’, expected pointer 72 | ~CPoolRecord(void) { if (byteData != (uint1 *)0) delete [] byteData; } ///< Destructor | ^~~~~~~~ /usr/include/c++/11.2.0/bits/stl_vector.h:1061:28: note: no known conversion for argument 1 from ‘’ to ‘std::vector::size_type’ {aka ‘long unsigned int’} 1061 | operator[](size_type __n) const _GLIBCXX_NOEXCEPT | ~~~~~~~~~~^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:171:37: error: ‘numlabels’ was not declared in this scope; did you mean ‘setNumLabels’? 171 | ConstructTpl(void) { delayslot=0; numlabels=0; result = (HandleTpl *)0; } | ^~~~~~~~~ | setNumLabels /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:82:33: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 82 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:82:37: error: template argument 1 is invalid 82 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:82:37: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:238:11: error: ‘intb’ does not name a type; did you mean ‘int’? 238 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:277:9: error: ‘value_real’ was not declared in this scope 277 | value_real = tmp; | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isStackStore() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:244:44: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 244 | bool isStackStore(void) const { return ((addlflags&Varnode::stack_store)!=0); } ///< Was this originally produced by an explicit STORE | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:129:3: error: ‘intb’ does not name a type; did you mean ‘int’? 129 | intb val; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:132:21: error: expected ‘)’ before ‘v’ 132 | ConstantValue(intb v) { val = v; } | ~ ^~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:193:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 193 | uint4 labelbase; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:157:33: error: ‘int4’ has not been declared 157 | virtual void shiftInstruction(int4 sa); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:239:11: error: ‘intb’ does not name a type; did you mean ‘int’? 239 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isIncidentalCopy() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:254:48: error: ‘flags’ was not declared in this scope 254 | bool isIncidentalCopy(void) const { return ((flags&Varnode::incidental_copy)!=0); } ///< Does this varnode get copied as a side-effect | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:133:11: error: ‘intb’ does not name a type; did you mean ‘int’? 133 | virtual intb getValue(ParserWalker &walker) const { return val; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:135:35: error: ‘intb’ has not been declared 135 | virtual TokenPattern genPattern(intb v) const { return TokenPattern(val==v); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:194:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 194 | uint4 labelcount; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:199:21: error: expected ‘)’ before ‘lbcnt’ 199 | PcodeBuilder(uint4 lbcnt) { labelbase=labelcount=lbcnt; } | ~ ^~~~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:159:11: error: ‘int4’ does not name a type; did you mean ‘int’? 159 | virtual int4 numDisjoint(void) const { return orlist.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:82:55: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 82 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:82:59: error: template argument 1 is invalid 82 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:160:40: error: ‘int4’ has not been declared 160 | virtual DisjointPattern *getDisjoint(int4 i) const { return orlist[i]; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:82:59: error: template argument 2 is invalid In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:20, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:201:33: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 201 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:201:37: error: template argument 1 is invalid 201 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:201:37: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:164:42: error: ‘int4’ has not been declared 164 | virtual Pattern *doOr(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:165:43: error: ‘int4’ has not been declared 165 | virtual Pattern *doAnd(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isWriteMask() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:255:43: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 255 | bool isWriteMask(void) const { return ((addlflags&Varnode::writemask)!=0); } ///< Is \b this (not) considered a true write location when calculating SSA form? | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:136:11: error: ‘intb’ does not name a type; did you mean ‘int’? 136 | virtual intb minValue(void) const { return val; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:166:54: error: ‘int4’ has not been declared 166 | virtual Pattern *commonSubPattern(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh: In member function ‘bool CPoolRecord::isConstructor() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:79:45: error: ‘flags’ was not declared in this scope 79 | bool isConstructor(void) const { return ((flags & is_constructor)!=0); } ///< Is object a constructor method | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:277:22: error: ‘tmp’ was not declared in this scope; did you mean ‘tm’? 277 | value_real = tmp; | ^~~ | tm /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:247:11: error: ‘intb’ does not name a type; did you mean ‘int’? 247 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:202:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 202 | uint4 getLabelBase(void) const { return labelbase; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:204:38: error: ‘int4’ has not been declared 204 | void build(ConstructTpl *construct,int4 secnum); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:137:11: error: ‘intb’ does not name a type; did you mean ‘int’? 137 | virtual intb maxValue(void) const { return val; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:205:39: error: ‘int4’ has not been declared 205 | virtual void appendBuild(OpTpl *bld,int4 secnum)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:84:11: error: ‘intb’ does not name a type; did you mean ‘int’? 84 | virtual intb getSubValue(const vector &replace,int4 &listpos) const { return replace[listpos++]; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:208:44: error: ‘int4’ has not been declared 208 | virtual void appendCrossBuild(OpTpl *bld,int4 secnum)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:300:8: error: ‘int4’ does not name a type; did you mean ‘int’? 300 | extern int4 xml_parse(istream &i,ContentHandler *hand,int4 dbg=0); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:248:11: error: ‘intb’ does not name a type; did you mean ‘int’? 248 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isLockedInput() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:245:45: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 245 | bool isLockedInput(void) const { return ((addlflags&Varnode::locked_input)!=0); } ///< Is always an input, even if unused | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:85:11: error: ‘intb’ does not name a type; did you mean ‘int’? 85 | virtual intb minValue(void) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:201:55: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 201 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:20, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:23:3: error: ‘int4’ does not name a type; did you mean ‘int’? 23 | int4 offset; // Offset to non-zero byte of mask | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:201:59: error: template argument 1 is invalid 201 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isWriteMask() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:255:43: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 255 | bool isWriteMask(void) const { return ((addlflags&Varnode::writemask)!=0); } ///< Is \b this (not) considered a true write location when calculating SSA form? | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:201:59: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:86:11: error: ‘intb’ does not name a type; did you mean ‘int’? 86 | virtual intb maxValue(void) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:256:11: error: ‘intb’ does not name a type; did you mean ‘int’? 256 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:24:3: error: ‘int4’ does not name a type; did you mean ‘int’? 24 | int4 nonzerosize; // Last byte(+1) containing nonzero mask | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isUnsignedPrint() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:256:47: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 256 | bool isUnsignedPrint(void) const { return ((addlflags&Varnode::unsignedprint)!=0); } ///< Must \b this be printed as unsigned | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh: In member function ‘bool CPoolRecord::isDestructor() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:80:44: error: ‘flags’ was not declared in this scope 80 | bool isDestructor(void) const { return ((flags & is_destructor)!=0); } ///< Is object a destructor method | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:257:11: error: ‘intb’ does not name a type; did you mean ‘int’? 257 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In member function ‘virtual TokenPattern ConstantValue::genPattern(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:135:71: error: ‘val’ was not declared in this scope 135 | virtual TokenPattern genPattern(intb v) const { return TokenPattern(val==v); } | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:343:49: error: ‘intb’ has not been declared 343 | inline void a_v_i(ostream &s,const string &attr,intb val) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isIndirectZero() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:248:46: error: ‘flags’ was not declared in this scope 248 | bool isIndirectZero(void) const { return ((flags&(Varnode::indirect_creation|Varnode::constant))==(Varnode::indirect_creation|Varnode::constant)); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:145:11: error: ‘intb’ does not name a type; did you mean ‘int’? 145 | virtual intb getValue(ParserWalker &walker) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:148:35: error: ‘intb’ has not been declared 148 | virtual TokenPattern genPattern(intb val) const { return TokenPattern(); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isUnsignedPrint() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:256:47: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 256 | bool isUnsignedPrint(void) const { return ((addlflags&Varnode::unsignedprint)!=0); } ///< Must \b this be printed as unsigned | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:265:11: error: ‘intb’ does not name a type; did you mean ‘int’? 265 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:25:10: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 25 | vector maskvec; // Mask | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:25:15: error: template argument 1 is invalid 25 | vector maskvec; // Mask | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:25:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:322:47: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 322 | void ConstTpl::changeHandleIndex(const vector &handmap) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:99:50: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 99 | virtual CPoolRecord *createRecord(const vector &refs)=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:149:11: error: ‘intb’ does not name a type; did you mean ‘int’? 149 | virtual intb minValue(void) const { return (intb)0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:322:51: error: template argument 1 is invalid 322 | void ConstTpl::changeHandleIndex(const vector &handmap) | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:99:55: error: template argument 1 is invalid 99 | virtual CPoolRecord *createRecord(const vector &refs)=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:322:51: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:99:55: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:218:33: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 218 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:218:37: error: template argument 1 is invalid 218 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:218:37: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:266:11: error: ‘intb’ does not name a type; did you mean ‘int’? 266 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc: In member function ‘void ConstTpl::changeHandleIndex(const int&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:326:11: error: ‘union ConstTpl::’ has no member named ‘handle_index’ 326 | value.handle_index = handmap[value.handle_index]; | ^~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:326:40: error: ‘union ConstTpl::’ has no member named ‘handle_index’ 326 | value.handle_index = handmap[value.handle_index]; | ^~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isWritten() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:257:41: error: ‘flags’ was not declared in this scope 257 | bool isWritten(void) const { return ((flags&Varnode::written)!=0); } ///< Does \b this have a defining write operation? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:150:11: error: ‘intb’ does not name a type; did you mean ‘int’? 150 | virtual intb maxValue(void) const { return (intb)0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:300:8: error: ‘int4’ does not name a type; did you mean ‘int’? 300 | extern int4 xml_parse(istream &i,ContentHandler *hand,int4 dbg=0); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:354:49: error: ‘uintb’ has not been declared 354 | inline void a_v_u(ostream &s,const string &attr,uintb val) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In member function ‘virtual void PatternValue::getMinMax(int&, int&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:83:13: error: request for member ‘push_back’ in ‘minlist’, which is of non-class type ‘int’ 83 | minlist.push_back(minValue()); maxlist.push_back(maxValue()); } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:274:11: error: ‘intb’ does not name a type; did you mean ‘int’? 274 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isExtraOut() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:251:42: error: ‘flags’ was not declared in this scope 251 | bool isExtraOut(void) const { return ((flags&(Varnode::indirect_creation|Varnode::addrtied))==Varnode::indirect_creation); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:26:10: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 26 | vector valvec; // Value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:26:15: error: template argument 1 is invalid 26 | vector valvec; // Value | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:26:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:29:20: error: expected ‘)’ before ‘off’ 29 | PatternBlock(int4 off,uintm msk,uintm val); | ~ ^~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:218:55: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 218 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:218:59: error: template argument 1 is invalid 218 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:218:59: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isWritten() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:257:41: error: ‘flags’ was not declared in this scope 257 | bool isWritten(void) const { return ((flags&Varnode::written)!=0); } ///< Does \b this have a defining write operation? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:107:53: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 107 | virtual const CPoolRecord *getRecord(const vector &refs) const=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:107:58: error: template argument 1 is invalid 107 | virtual const CPoolRecord *getRecord(const vector &refs) const=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:107:58: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:38:14: error: ‘int4’ has not been declared 38 | void shift(int4 sa) { offset += sa; normalize(); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:158:11: error: ‘intb’ does not name a type; did you mean ‘int’? 158 | virtual intb getValue(ParserWalker &walker) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:161:35: error: ‘intb’ has not been declared 161 | virtual TokenPattern genPattern(intb val) const { return TokenPattern(); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:275:11: error: ‘intb’ does not name a type; did you mean ‘int’? 275 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:20, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:26:36: error: ‘int4’ has not been declared 26 | static PatternBlock *buildSingle(int4 startbit,int4 endbit,uintm byteval); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:26:50: error: ‘int4’ has not been declared 26 | static PatternBlock *buildSingle(int4 startbit,int4 endbit,uintm byteval); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:26:62: error: ‘uintm’ has not been declared 26 | static PatternBlock *buildSingle(int4 startbit,int4 endbit,uintm byteval); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:27:38: error: ‘int4’ has not been declared 27 | static PatternBlock *buildBigBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:27:48: error: ‘int4’ has not been declared 27 | static PatternBlock *buildBigBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:27:62: error: ‘int4’ has not been declared 27 | static PatternBlock *buildBigBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:27:74: error: ‘intb’ has not been declared 27 | static PatternBlock *buildBigBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:28:41: error: ‘int4’ has not been declared 28 | static PatternBlock *buildLittleBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:28:51: error: ‘int4’ has not been declared 28 | static PatternBlock *buildLittleBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:28:65: error: ‘int4’ has not been declared 28 | static PatternBlock *buildLittleBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:28:77: error: ‘intb’ has not been declared 28 | static PatternBlock *buildLittleBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:39:3: error: ‘int4’ does not name a type; did you mean ‘int’? 39 | int4 getLength(void) const { return offset+nonzerosize; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:162:11: error: ‘intb’ does not name a type; did you mean ‘int’? 162 | virtual intb minValue(void) const { return (intb)0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::hasCover() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:261:14: error: ‘flags’ was not declared in this scope 261 | return ((flags&(Varnode::constant|Varnode::annotation|Varnode::insert))==Varnode::insert); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::constantMatch(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:267:17: error: ‘const class Address’ has no member named ‘getOffset’ 267 | return (loc.getOffset() == val); | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:229:11: error: ‘intb’ does not name a type; did you mean ‘int’? 229 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:40:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 40 | uintm getMask(int4 startbit,int4 size) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:283:11: error: ‘intb’ does not name a type; did you mean ‘int’? 283 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:343:49: error: ‘intb’ has not been declared 343 | inline void a_v_i(ostream &s,const string &attr,intb val) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:163:11: error: ‘intb’ does not name a type; did you mean ‘int’? 163 | virtual intb maxValue(void) const { return (intb)0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:29:3: error: ‘int4’ does not name a type; did you mean ‘int’? 29 | int4 resolveTokens(const TokenPattern &tokpat1,const TokenPattern &tokpat2); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:35:27: error: ‘intb’ has not been declared 35 | TokenPattern(Token *tok,intb value,int4 bitstart,int4 bitend); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:35:38: error: ‘int4’ has not been declared 35 | TokenPattern(Token *tok,intb value,int4 bitstart,int4 bitend); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:35:52: error: ‘int4’ has not been declared 35 | TokenPattern(Token *tok,intb value,int4 bitstart,int4 bitend); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:36:20: error: expected ‘)’ before ‘value’ 36 | TokenPattern(intb value,int4 startbit,int4 endbit); | ~ ^~~~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:41:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 41 | uintm getValue(int4 startbit,int4 size) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:230:11: error: ‘intb’ does not name a type; did you mean ‘int’? 230 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:117:31: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 117 | void putRecord(const vector &refs,uint4 tag,const string &tok,Datatype *ct); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:284:11: error: ‘intb’ does not name a type; did you mean ‘int’? 284 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:117:36: error: template argument 1 is invalid 117 | void putRecord(const vector &refs,uint4 tag,const string &tok,Datatype *ct); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isPrecisLo() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:252:42: error: ‘flags’ was not declared in this scope 252 | bool isPrecisLo(void) const { return ((flags&Varnode::precislo)!=0); } ///< Is \b this the low portion of a double precision value? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:117:36: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:117:44: error: ‘uint4’ has not been declared 117 | void putRecord(const vector &refs,uint4 tag,const string &tok,Datatype *ct); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:83:23: error: ‘minValue’ was not declared in this scope; did you mean ‘listValues’? 83 | minlist.push_back(minValue()); maxlist.push_back(maxValue()); } | ^~~~~~~~ | listValues /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:83:44: error: request for member ‘push_back’ in ‘maxlist’, which is of non-class type ‘int’ 83 | minlist.push_back(minValue()); maxlist.push_back(maxValue()); } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc: In member function ‘void ConstTpl::saveXml(std::ostream&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:335:38: error: ‘value_real’ was not declared in this scope 335 | s << "real\" val=\"0x" << hex << value_real << "\"/>"; | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::hasCover() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:261:14: error: ‘flags’ was not declared in this scope 261 | return ((flags&(Varnode::constant|Varnode::annotation|Varnode::insert))==Varnode::insert); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:49:3: error: ‘int4’ does not name a type; did you mean ‘int’? 49 | int4 getMinimumLength(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::constantMatch(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:267:17: error: ‘const class Address’ has no member named ‘getOffset’ 267 | return (loc.getOffset() == val); | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:338:44: error: ‘const union ConstTpl::’ has no member named ‘handle_index’ 338 | s << "handle\" val=\"" << dec << value.handle_index << "\" "; | ^~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:171:3: error: ‘int4’ does not name a type; did you mean ‘int’? 171 | int4 index; // This is the defining field of expression | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:175:20: error: expected ‘)’ before ‘ind’ 175 | OperandValue(int4 ind,Constructor *c) { index = ind; ct = c; } | ~ ^~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:176:20: error: ‘int4’ has not been declared 176 | void changeIndex(int4 newind) { index = newind; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:354:49: error: ‘uintb’ has not been declared 354 | inline void a_v_u(ostream &s,const string &attr,uintb val) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:238:11: error: ‘intb’ does not name a type; did you mean ‘int’? 238 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:179:35: error: ‘intb’ has not been declared 179 | virtual TokenPattern genPattern(intb val) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:292:11: error: ‘intb’ does not name a type; did you mean ‘int’? 292 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isHeritageKnown() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:272:47: error: ‘flags’ was not declared in this scope 272 | bool isHeritageKnown(void) const { return ((flags&(Varnode::insert|Varnode::constant|Varnode::annotation))!=0); } | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:97:3: error: ‘int4’ does not name a type; did you mean ‘int’? 97 | int4 refcount; ///< Number of managers using this space | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:239:11: error: ‘intb’ does not name a type; did you mean ‘int’? 239 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:181:11: error: ‘intb’ does not name a type; did you mean ‘int’? 181 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:293:11: error: ‘intb’ does not name a type; did you mean ‘int’? 293 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:127:52: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 127 | const CPoolRecord *restoreXmlRecord(const vector &refs,const Element *el,TypeFactory &typegrp); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:127:57: error: template argument 1 is invalid 127 | const CPoolRecord *restoreXmlRecord(const vector &refs,const Element *el,TypeFactory &typegrp); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:127:57: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh: In member function ‘void PatternBlock::shift(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:38:25: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 38 | void shift(int4 sa) { offset += sa; normalize(); } | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:182:11: error: ‘intb’ does not name a type; did you mean ‘int’? 182 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isPrecisHi() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:253:42: error: ‘flags’ was not declared in this scope 253 | bool isPrecisHi(void) const { return ((flags&Varnode::precishi)!=0); } ///< Is \b this the high portion of a double precision value? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:98:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 98 | uint4 flags; ///< Attributes of the space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:247:11: error: ‘intb’ does not name a type; did you mean ‘int’? 247 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:183:11: error: ‘intb’ does not name a type; did you mean ‘int’? 183 | virtual intb minValue(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isHeritageKnown() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:272:47: error: ‘flags’ was not declared in this scope 272 | bool isHeritageKnown(void) const { return ((flags&(Varnode::insert|Varnode::constant|Varnode::annotation))!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:301:11: error: ‘intb’ does not name a type; did you mean ‘int’? 301 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:57:3: error: ‘int4’ does not name a type; did you mean ‘int’? 57 | int4 refcount; // Number of objects referencing this | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:165:5: error: ‘uintb’ does not name a type; did you mean ‘uint’? 165 | uintb a; ///< The first integer in a \e reference | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:248:11: error: ‘intb’ does not name a type; did you mean ‘int’? 248 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:83:54: error: ‘maxValue’ was not declared in this scope 83 | minlist.push_back(minValue()); maxlist.push_back(maxValue()); } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:99:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 99 | uintb highest; ///< Highest (byte) offset into this space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:184:11: error: ‘intb’ does not name a type; did you mean ‘int’? 184 | virtual intb maxValue(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:302:11: error: ‘intb’ does not name a type; did you mean ‘int’? 302 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:166:5: error: ‘uintb’ does not name a type; did you mean ‘uint’? 166 | uintb b; ///< The second integer in a \e reference (or zero) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:63:11: error: ‘intb’ does not name a type; did you mean ‘int’? 63 | virtual intb getValue(ParserWalker &walker) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isTypeLock() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:273:42: error: ‘flags’ was not declared in this scope 273 | bool isTypeLock(void) const { return ((flags&Varnode::typelock)!=0); } ///< Does \b this have a locked Datatype? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In member function ‘void OperandValue::changeIndex(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:176:43: error: overloaded function with no contextual type information 176 | void changeIndex(int4 newind) { index = newind; } | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:93:3: error: ‘int4’ does not name a type; did you mean ‘int’? 93 | int4 bitstart,bitend; // Bits within the token, 0 bit is LEAST significant | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:100:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 100 | uintb pointerLowerBound; ///< Offset below which we don't search for pointers | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:256:11: error: ‘intb’ does not name a type; did you mean ‘int’? 256 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isIncidentalCopy() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:254:48: error: ‘flags’ was not declared in this scope 254 | bool isIncidentalCopy(void) const { return ((flags&Varnode::incidental_copy)!=0); } ///< Does this varnode get copied as a side-effect | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:94:3: error: ‘int4’ does not name a type; did you mean ‘int’? 94 | int4 bytestart,byteend; // Bytes to read to get value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:310:11: error: ‘intb’ does not name a type; did you mean ‘int’? 310 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:257:11: error: ‘intb’ does not name a type; did you mean ‘int’? 257 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:101:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 101 | uintb pointerUpperBound; ///< Offset above which we don't search for pointers | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:97:3: error: ‘int4’ does not name a type; did you mean ‘int’? 97 | int4 refcount; ///< Number of managers using this space | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isTypeLock() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:273:42: error: ‘flags’ was not declared in this scope 273 | bool isTypeLock(void) const { return ((flags&Varnode::typelock)!=0); } ///< Does \b this have a locked Datatype? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:95:3: error: ‘int4’ does not name a type; did you mean ‘int’? 95 | int4 shift; // Amount to shift to align value (bitstart % 8) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:98:31: error: ‘int4’ has not been declared 98 | TokenField(Token *tk,bool s,int4 bstart,int4 bend); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:98:43: error: ‘int4’ has not been declared 98 | TokenField(Token *tk,bool s,int4 bstart,int4 bend); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:311:11: error: ‘intb’ does not name a type; did you mean ‘int’? 311 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:66:33: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 66 | virtual void getMinMax(vector &minlist,vector &maxlist) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:66:37: error: template argument 1 is invalid 66 | virtual void getMinMax(vector &minlist,vector &maxlist) const=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh: In member function ‘bool PatternBlock::alwaysTrue() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:42:41: error: ‘nonzerosize’ was not declared in this scope 42 | bool alwaysTrue(void) const { return (nonzerosize==0); } | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:66:37: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:169:30: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 169 | CheapSorter(const vector &refs) { a = refs[0]; b = (refs.size() > 1) ? refs[1] : 0; } ///< Construct from an array of integers | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:169:35: error: template argument 1 is invalid 169 | CheapSorter(const vector &refs) { a = refs[0]; b = (refs.size() > 1) ? refs[1] : 0; } ///< Construct from an array of integers | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:169:35: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:105:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 105 | uint4 addressSize; ///< Size of an address into this space in bytes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:265:11: error: ‘intb’ does not name a type; did you mean ‘int’? 265 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:99:11: error: ‘intb’ does not name a type; did you mean ‘int’? 99 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:101:35: error: ‘intb’ has not been declared 101 | virtual TokenPattern genPattern(intb val) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:98:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 98 | uint4 flags; ///< Attributes of the space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isNameLock() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:274:42: error: ‘flags’ was not declared in this scope 274 | bool isNameLock(void) const { return ((flags&Varnode::namelock)!=0); } ///< Does \b this have a locked name? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:266:11: error: ‘intb’ does not name a type; did you mean ‘int’? 266 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:106:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 106 | uint4 wordsize; ///< Size of unit being addressed (1=byte) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:102:11: error: ‘intb’ does not name a type; did you mean ‘int’? 102 | virtual intb minValue(void) const { return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:319:11: error: ‘intb’ does not name a type; did you mean ‘int’? 319 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:99:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 99 | uintb highest; ///< Highest (byte) offset into this space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isWriteMask() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:255:43: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 255 | bool isWriteMask(void) const { return ((addlflags&Varnode::writemask)!=0); } ///< Is \b this (not) considered a true write location when calculating SSA form? | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:103:11: error: ‘intb’ does not name a type; did you mean ‘int’? 103 | virtual intb maxValue(void) const { intb res=0; res=~res; zero_extend(res,bitend-bitstart); return res; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In member function ‘virtual TokenPattern OperandValue::genMinPattern(const std::vector&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:180:89: error: no match for ‘operator[]’ (operand types are ‘const std::vector’ and ‘’) 180 | virtual TokenPattern genMinPattern(const vector &ops) const { return ops[index]; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:107:3: error: ‘int4’ does not name a type; did you mean ‘int’? 107 | int4 minimumPointerSize; ///< Smallest size of a pointer into \b this space (in bytes) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:320:11: error: ‘intb’ does not name a type; did you mean ‘int’? 320 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:66:55: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 66 | virtual void getMinMax(vector &minlist,vector &maxlist) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc: In member function ‘void ConstTpl::restoreXml(const Element*, const AddrSpaceManager*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:387:10: error: ‘value_real’ was not declared in this scope 387 | s >> value_real; | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:66:59: error: template argument 1 is invalid 66 | virtual void getMinMax(vector &minlist,vector &maxlist) const=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:66:59: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:274:11: error: ‘intb’ does not name a type; did you mean ‘int’? 274 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isNameLock() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:274:42: error: ‘flags’ was not declared in this scope 274 | bool isNameLock(void) const { return ((flags&Varnode::namelock)!=0); } ///< Does \b this have a locked name? | ^~~~~ In file included from /usr/include/c++/11.2.0/vector:67, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:31, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh:19, from src/decompile/cpp/pcodeparse.y:17: /usr/include/c++/11.2.0/bits/stl_vector.h:1043:7: note: candidate: ‘std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) [with _Tp = TokenPattern; _Alloc = std::allocator; std::vector<_Tp, _Alloc>::reference = TokenPattern&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]’ 1043 | operator[](size_type __n) _GLIBCXX_NOEXCEPT | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:100:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 100 | uintb pointerLowerBound; ///< Offset below which we don't search for pointers | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:183:23: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 183 | void apply(vector &refs) const { refs.push_back(a); refs.push_back(b); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:183:28: error: template argument 1 is invalid 183 | void apply(vector &refs) const { refs.push_back(a); refs.push_back(b); } | ^ /usr/include/c++/11.2.0/bits/stl_vector.h:1043:28: note: no known conversion for argument 1 from ‘’ to ‘std::vector::size_type’ {aka ‘long unsigned int’} 1043 | operator[](size_type __n) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:183:28: error: template argument 2 is invalid /usr/include/c++/11.2.0/bits/stl_vector.h:1061:7: note: candidate: ‘std::vector<_Tp, _Alloc>::const_reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) const [with _Tp = TokenPattern; _Alloc = std::allocator; std::vector<_Tp, _Alloc>::const_reference = const TokenPattern&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]’ 1061 | operator[](size_type __n) const _GLIBCXX_NOEXCEPT | ^~~~~~~~ /usr/include/c++/11.2.0/bits/stl_vector.h:1061:28: note: no known conversion for argument 1 from ‘’ to ‘std::vector::size_type’ {aka ‘long unsigned int’} 1061 | operator[](size_type __n) const _GLIBCXX_NOEXCEPT | ~~~~~~~~~~^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:108:3: error: ‘int4’ does not name a type; did you mean ‘int’? 108 | int4 index; ///< An integer identifier for the space | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:393:16: error: ‘union ConstTpl::’ has no member named ‘handle_index’ 393 | s >> value.handle_index; | ^~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:275:11: error: ‘intb’ does not name a type; did you mean ‘int’? 275 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:67:11: error: ‘intb’ does not name a type; did you mean ‘int’? 67 | virtual intb getSubValue(const vector &replace,int4 &listpos) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:101:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 101 | uintb pointerUpperBound; ///< Offset above which we don't search for pointers | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::setActiveHeritage()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:275:34: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 275 | void setActiveHeritage(void) { addlflags |= Varnode::activeheritage; } ///< Mark \b this as currently being linked into the SSA tree | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:328:3: error: ‘int4’ does not name a type; did you mean ‘int’? 328 | int4 base; // Current base operand (as we traverse the pattern equation from left to right) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:109:3: error: ‘int4’ does not name a type; did you mean ‘int’? 109 | int4 startbit,endbit; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:109:3: error: ‘int4’ does not name a type; did you mean ‘int’? 109 | int4 delay; ///< Delay in heritaging this space | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:70:3: error: ‘intb’ does not name a type; did you mean ‘int’? 70 | intb getSubValue(const vector &replace) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:283:11: error: ‘intb’ does not name a type; did you mean ‘int’? 283 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:329:3: error: ‘int4’ does not name a type; did you mean ‘int’? 329 | int4 offset; // Bytes we have traversed from the LEFT edge of the current base | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh: In member function ‘bool PatternBlock::alwaysFalse() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:43:42: error: ‘nonzerosize’ was not declared in this scope 43 | bool alwaysFalse(void) const { return (nonzerosize==-1); } | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:110:3: error: ‘int4’ does not name a type; did you mean ‘int’? 110 | int4 startbyte,endbyte; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isUnsignedPrint() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:256:47: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 256 | bool isUnsignedPrint(void) const { return ((addlflags&Varnode::unsignedprint)!=0); } ///< Must \b this be printed as unsigned | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:110:3: error: ‘int4’ does not name a type; did you mean ‘int’? 110 | int4 deadcodedelay; ///< Delay before deadcode removal is allowed on this space | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:105:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 105 | uint4 addressSize; ///< Size of an address into this space in bytes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:55:33: error: ‘int4’ has not been declared 55 | virtual void shiftInstruction(int4 sa)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:112:17: error: ‘uint4’ has not been declared 112 | void setFlags(uint4 fl); ///< Set a cached attribute | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:56:42: error: ‘int4’ has not been declared 56 | virtual Pattern *doOr(const Pattern *b,int4 sa) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:113:19: error: ‘uint4’ has not been declared 113 | void clearFlags(uint4 fl); ///< Clear a cached attribute | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:57:43: error: ‘int4’ has not been declared 57 | virtual Pattern *doAnd(const Pattern *b,int4 sa) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:58:54: error: ‘int4’ has not been declared 58 | virtual Pattern *commonSubPattern(const Pattern *b,int4 sa) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:115:22: error: ‘uint4’ has not been declared 115 | void truncateSpace(uint4 newsize); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:117:82: error: ‘uint4’ has not been declared 117 | AddrSpace(AddrSpaceManager *m,const Translate *t,spacetype tp,const string &nm,uint4 size,uint4 ws,int4 ind,uint4 fl,int4 dl); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:284:11: error: ‘intb’ does not name a type; did you mean ‘int’? 284 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:117:93: error: ‘uint4’ has not been declared 117 | AddrSpace(AddrSpaceManager *m,const Translate *t,spacetype tp,const string &nm,uint4 size,uint4 ws,int4 ind,uint4 fl,int4 dl); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:330:3: error: ‘int4’ does not name a type; did you mean ‘int’? 330 | int4 cur_rightmost; // (resulting) rightmost operand in our pattern | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:117:102: error: ‘int4’ has not been declared 117 | AddrSpace(AddrSpaceManager *m,const Translate *t,spacetype tp,const string &nm,uint4 size,uint4 ws,int4 ind,uint4 fl,int4 dl); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:117:111: error: ‘uint4’ has not been declared 117 | AddrSpace(AddrSpaceManager *m,const Translate *t,spacetype tp,const string &nm,uint4 size,uint4 ws,int4 ind,uint4 fl,int4 dl); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:117:120: error: ‘int4’ has not been declared 117 | AddrSpace(AddrSpaceManager *m,const Translate *t,spacetype tp,const string &nm,uint4 size,uint4 ws,int4 ind,uint4 fl,int4 dl); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:111:3: error: ‘int4’ does not name a type; did you mean ‘int’? 111 | int4 shift; | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:20, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh:19, from src/decompile/cpp/pcodeparse.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:201:33: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 201 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:201:37: error: template argument 1 is invalid 201 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::setActiveHeritage()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:275:34: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 275 | void setActiveHeritage(void) { addlflags |= Varnode::activeheritage; } ///< Mark \b this as currently being linked into the SSA tree | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:201:37: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:115:23: error: ‘int4’ has not been declared 115 | ContextField(bool s,int4 sbit,int4 ebit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:115:33: error: ‘int4’ has not been declared 115 | ContextField(bool s,int4 sbit,int4 ebit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:106:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 106 | uint4 wordsize; ///< Size of unit being addressed (1=byte) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:60:11: error: ‘int4’ does not name a type; did you mean ‘int’? 60 | virtual int4 numDisjoint(void) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:331:3: error: ‘int4’ does not name a type; did you mean ‘int’? 331 | int4 size; // (resulting) bytes traversed from the LEFT edge of the rightmost | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:61:40: error: ‘int4’ has not been declared 61 | virtual DisjointPattern *getDisjoint(int4 i) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:116:3: error: ‘int4’ does not name a type; did you mean ‘int’? 116 | int4 getStartBit(void) const { return startbit; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:292:11: error: ‘intb’ does not name a type; did you mean ‘int’? 292 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:107:3: error: ‘int4’ does not name a type; did you mean ‘int’? 107 | int4 minimumPointerSize; ///< Smallest size of a pointer into \b this space (in bytes) | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:124:3: error: ‘int4’ does not name a type; did you mean ‘int’? 124 | int4 getDelay(void) const; ///< Get number of heritage passes being delayed | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::clearActiveHeritage()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:276:36: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 276 | void clearActiveHeritage(void) { addlflags &= ~Varnode::activeheritage; } ///< Mark \b this as not (actively) being linked into the SSA tree | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:117:3: error: ‘int4’ does not name a type; did you mean ‘int’? 117 | int4 getEndBit(void) const { return endbit; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:293:11: error: ‘intb’ does not name a type; did you mean ‘int’? 293 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:72:11: error: ‘int4’ does not name a type; did you mean ‘int’? 72 | virtual int4 numDisjoint(void) const { return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:73:40: error: ‘int4’ has not been declared 73 | virtual DisjointPattern *getDisjoint(int4 i) const { return (DisjointPattern *)0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:108:3: error: ‘int4’ does not name a type; did you mean ‘int’? 108 | int4 index; ///< An integer identifier for the space | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:201:55: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 201 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:125:3: error: ‘int4’ does not name a type; did you mean ‘int’? 125 | int4 getDeadcodeDelay(void) const; ///< Get number of passes before deadcode removal is allowed | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:201:59: error: template argument 1 is invalid 201 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:201:59: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:119:11: error: ‘intb’ does not name a type; did you mean ‘int’? 119 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isWritten() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:257:41: error: ‘flags’ was not declared in this scope 257 | bool isWritten(void) const { return ((flags&Varnode::written)!=0); } ///< Does \b this have a defining write operation? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:121:35: error: ‘intb’ has not been declared 121 | virtual TokenPattern genPattern(intb val) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:398:13: error: ‘value_real’ was not declared in this scope 398 | s2 >> value_real; | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:74:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 74 | uintm getMask(int4 startbit,int4 size,bool context) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:109:3: error: ‘int4’ does not name a type; did you mean ‘int’? 109 | int4 delay; ///< Delay in heritaging this space | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In constructor ‘PatternExpression::PatternExpression()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:62:29: error: ‘refcount’ was not declared in this scope 62 | PatternExpression(void) { refcount = 0; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::clearActiveHeritage()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:276:36: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 276 | void clearActiveHeritage(void) { addlflags &= ~Varnode::activeheritage; } ///< Mark \b this as not (actively) being linked into the SSA tree | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:126:3: error: ‘int4’ does not name a type; did you mean ‘int’? 126 | int4 getIndex(void) const; ///< Get the integer identifier | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:301:11: error: ‘intb’ does not name a type; did you mean ‘int’? 301 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:122:11: error: ‘intb’ does not name a type; did you mean ‘int’? 122 | virtual intb minValue(void) const { return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In constructor ‘OperandResolve::OperandResolve(std::vector&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:327:5: error: ‘base’ was not declared in this scope 327 | base=-1; offset=0; cur_rightmost = -1; size = 0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:75:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 75 | uintm getValue(int4 startbit,int4 size,bool context) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:110:3: error: ‘int4’ does not name a type; did you mean ‘int’? 110 | int4 deadcodedelay; ///< Delay before deadcode removal is allowed on this space | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:302:11: error: ‘intb’ does not name a type; did you mean ‘int’? 302 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:123:11: error: ‘intb’ does not name a type; did you mean ‘int’? 123 | virtual intb maxValue(void) const { intb res=0; res=~res; zero_extend(res,(endbit-startbit)); return res; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:112:17: error: ‘uint4’ has not been declared 112 | void setFlags(uint4 fl); ///< Set a cached attribute | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:127:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 127 | uint4 getWordSize(void) const; ///< Get the addressable unit size | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:113:19: error: ‘uint4’ has not been declared 113 | void clearFlags(uint4 fl); ///< Clear a cached attribute | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:115:22: error: ‘uint4’ has not been declared 115 | void truncateSpace(uint4 newsize); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:117:82: error: ‘uint4’ has not been declared 117 | AddrSpace(AddrSpaceManager *m,const Translate *t,spacetype tp,const string &nm,uint4 size,uint4 ws,int4 ind,uint4 fl,int4 dl); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:76:3: error: ‘int4’ does not name a type; did you mean ‘int’? 76 | int4 getLength(bool context) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:117:93: error: ‘uint4’ has not been declared 117 | AddrSpace(AddrSpaceManager *m,const Translate *t,spacetype tp,const string &nm,uint4 size,uint4 ws,int4 ind,uint4 fl,int4 dl); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:117:102: error: ‘int4’ has not been declared 117 | AddrSpace(AddrSpaceManager *m,const Translate *t,spacetype tp,const string &nm,uint4 size,uint4 ws,int4 ind,uint4 fl,int4 dl); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::setMark() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:277:30: error: ‘flags’ was not declared in this scope 277 | void setMark(void) const { flags |= Varnode::mark; } ///< Mark this Varnode for breadcrumb algorithms | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:117:111: error: ‘uint4’ has not been declared 117 | AddrSpace(AddrSpaceManager *m,const Translate *t,spacetype tp,const string &nm,uint4 size,uint4 ws,int4 ind,uint4 fl,int4 dl); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:117:120: error: ‘int4’ has not been declared 117 | AddrSpace(AddrSpaceManager *m,const Translate *t,spacetype tp,const string &nm,uint4 size,uint4 ws,int4 ind,uint4 fl,int4 dl); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:128:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 128 | uint4 getAddrSize(void) const; ///< Get the size of the space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:93:33: error: ‘int4’ has not been declared 93 | virtual void shiftInstruction(int4 sa) { maskvalue->shift(sa); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:94:42: error: ‘int4’ has not been declared 94 | virtual Pattern *doOr(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:95:43: error: ‘int4’ has not been declared 95 | virtual Pattern *doAnd(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:96:54: error: ‘int4’ has not been declared 96 | virtual Pattern *commonSubPattern(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::hasCover() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:261:14: error: ‘flags’ was not declared in this scope 261 | return ((flags&(Varnode::constant|Varnode::annotation|Varnode::insert))==Varnode::insert); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:310:11: error: ‘intb’ does not name a type; did you mean ‘int’? 310 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:129:3: error: ‘intb’ does not name a type; did you mean ‘int’? 129 | intb val; | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:124:3: error: ‘int4’ does not name a type; did you mean ‘int’? 124 | int4 getDelay(void) const; ///< Get number of heritage passes being delayed | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:132:21: error: expected ‘)’ before ‘v’ 132 | ConstantValue(intb v) { val = v; } | ~ ^~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:129:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 129 | uintb getHighest(void) const; ///< Get the highest byte-scaled address | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:218:33: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 218 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:218:37: error: template argument 1 is invalid 218 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:218:37: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::constantMatch(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:267:17: error: ‘const class Address’ has no member named ‘getOffset’ 267 | return (loc.getOffset() == val); | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::setMark() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:277:30: error: ‘flags’ was not declared in this scope 277 | void setMark(void) const { flags |= Varnode::mark; } ///< Mark this Varnode for breadcrumb algorithms | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:311:11: error: ‘intb’ does not name a type; did you mean ‘int’? 311 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:327:14: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 327 | base=-1; offset=0; cur_rightmost = -1; size = 0; } | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:133:11: error: ‘intb’ does not name a type; did you mean ‘int’? 133 | virtual intb getValue(ParserWalker &walker) const { return val; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:125:3: error: ‘int4’ does not name a type; did you mean ‘int’? 125 | int4 getDeadcodeDelay(void) const; ///< Get number of passes before deadcode removal is allowed | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:135:35: error: ‘intb’ has not been declared 135 | virtual TokenPattern genPattern(intb v) const { return TokenPattern(val==v); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:130:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 130 | uintb getPointerLowerBound(void) const; ///< Get lower bound for assuming an offset is a pointer | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In member function ‘void PatternExpression::layClaim()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:73:25: error: ‘refcount’ was not declared in this scope 73 | void layClaim(void) { refcount += 1; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:80:35: error: ‘intb’ has not been declared 80 | virtual TokenPattern genPattern(intb val) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:126:3: error: ‘int4’ does not name a type; did you mean ‘int’? 126 | int4 getIndex(void) const; ///< Get the integer identifier | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:136:11: error: ‘intb’ does not name a type; did you mean ‘int’? 136 | virtual intb minValue(void) const { return val; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:189:50: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 189 | virtual CPoolRecord *createRecord(const vector &refs); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:131:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 131 | uintb getPointerUpperBound(void) const; ///< Get upper bound for assuming an offset is a pointer | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:189:55: error: template argument 1 is invalid 189 | virtual CPoolRecord *createRecord(const vector &refs); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:189:55: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:114:33: error: ‘int4’ has not been declared 114 | virtual void shiftInstruction(int4 sa) { } // do nothing | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::clearMark() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:278:32: error: ‘flags’ was not declared in this scope 278 | void clearMark(void) const { flags &= ~Varnode::mark; } ///< Clear the mark on this Varnode | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:115:42: error: ‘int4’ has not been declared 115 | virtual Pattern *doOr(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:319:11: error: ‘intb’ does not name a type; did you mean ‘int’? 319 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:116:43: error: ‘int4’ has not been declared 116 | virtual Pattern *doAnd(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:117:54: error: ‘int4’ has not been declared 117 | virtual Pattern *commonSubPattern(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:218:55: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 218 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:218:59: error: template argument 1 is invalid 218 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:218:59: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:137:11: error: ‘intb’ does not name a type; did you mean ‘int’? 137 | virtual intb maxValue(void) const { return val; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:132:3: error: ‘int4’ does not name a type; did you mean ‘int’? 132 | int4 getMinimumPtrSize(void) const; ///< Get the minimum pointer size for \b this space | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:127:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 127 | uint4 getWordSize(void) const; ///< Get the addressable unit size | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:421:10: error: ‘value_real’ was not declared in this scope 421 | s >> value_real; | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:320:11: error: ‘intb’ does not name a type; did you mean ‘int’? 320 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isHeritageKnown() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:272:47: error: ‘flags’ was not declared in this scope 272 | bool isHeritageKnown(void) const { return ((flags&(Varnode::insert|Varnode::constant|Varnode::annotation))!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::clearMark() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:278:32: error: ‘flags’ was not declared in this scope 278 | void clearMark(void) const { flags &= ~Varnode::mark; } ///< Clear the mark on this Varnode | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:133:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 133 | uintb wrapOffset(uintb off) const; ///< Wrap -off- to the offset that fits into this space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:128:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 128 | uint4 getAddrSize(void) const; ///< Get the size of the space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:137:33: error: ‘int4’ has not been declared 137 | virtual void shiftInstruction(int4 sa) { instr->shiftInstruction(sa); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:142:42: error: ‘int4’ has not been declared 142 | virtual Pattern *doOr(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:143:43: error: ‘int4’ has not been declared 143 | virtual Pattern *doAnd(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:145:31: error: ‘uintb’ has not been declared 145 | void printOffset(ostream &s,uintb offset) const; ///< Write an address offset to a stream | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:144:54: error: ‘int4’ has not been declared 144 | virtual Pattern *commonSubPattern(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:82:33: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 82 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:82:37: error: template argument 1 is invalid 82 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:229:11: error: ‘intb’ does not name a type; did you mean ‘int’? 229 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:82:37: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:439:23: error: expected constructor, destructor, or type conversion before ‘(’ token 439 | VarnodeTpl::VarnodeTpl(int4 hand,bool zerosize) : | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:191:53: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 191 | virtual const CPoolRecord *getRecord(const vector &refs) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:191:58: error: template argument 1 is invalid 191 | virtual const CPoolRecord *getRecord(const vector &refs) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:191:58: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:129:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 129 | uintb getHighest(void) const; ///< Get the highest byte-scaled address | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:328:3: error: ‘int4’ does not name a type; did you mean ‘int’? 328 | int4 base; // Current base operand (as we traverse the pattern equation from left to right) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:147:11: error: ‘int4’ does not name a type; did you mean ‘int’? 147 | virtual int4 numSpacebase(void) const; ///< Number of base registers associated with this space | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:148:43: error: ‘int4’ has not been declared 148 | virtual const VarnodeData &getSpacebase(int4 i) const; ///< Get a base register that creates this virtual space | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:149:47: error: ‘int4’ has not been declared 149 | virtual const VarnodeData &getSpacebaseFull(int4 i) const; ///< Return original spacebase register before truncation | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:230:11: error: ‘intb’ does not name a type; did you mean ‘int’? 230 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:152:45: error: ‘uintb’ has not been declared 152 | virtual void saveXmlAttributes(ostream &s,uintb offset) const; ///< Save an address as XML | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::setDirectWrite()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:279:31: error: ‘flags’ was not declared in this scope 279 | void setDirectWrite(void) { flags |= Varnode::directwrite; } ///< Mark \b this as directly affected by a legal input | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:153:45: error: ‘uintb’ has not been declared 153 | virtual void saveXmlAttributes(ostream &s,uintb offset,int4 size) const; ///< Save an address and size as XML | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:153:58: error: ‘int4’ has not been declared 153 | virtual void saveXmlAttributes(ostream &s,uintb offset,int4 size) const; ///< Save an address and size as XML | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:329:3: error: ‘int4’ does not name a type; did you mean ‘int’? 329 | int4 offset; // Bytes we have traversed from the LEFT edge of the current base | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:130:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 130 | uintb getPointerLowerBound(void) const; ///< Get lower bound for assuming an offset is a pointer | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:327:24: error: ‘cur_rightmost’ was not declared in this scope 327 | base=-1; offset=0; cur_rightmost = -1; size = 0; } | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc: In member function ‘bool VarnodeTpl::isDynamic(const ParserWalker&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:476:56: error: ‘const class ConstTpl’ has no member named ‘getHandleIndex’; did you mean ‘changeHandleIndex’? 476 | const FixedHandle &hand(walker.getFixedHandle(offset.getHandleIndex())); | ^~~~~~~~~~~~~~ | changeHandleIndex /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In member function ‘virtual TokenPattern ConstantValue::genPattern(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:135:71: error: ‘val’ was not declared in this scope 135 | virtual TokenPattern genPattern(intb v) const { return TokenPattern(val==v); } | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:330:3: error: ‘int4’ does not name a type; did you mean ‘int’? 330 | int4 cur_rightmost; // (resulting) rightmost operand in our pattern | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:131:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 131 | uintb getPointerUpperBound(void) const; ///< Get upper bound for assuming an offset is a pointer | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:154:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 154 | virtual uintb restoreXmlAttributes(const Element *el,uint4 &size) const; ///< Recover an offset and size | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:155:36: error: ‘uintb’ has not been declared 155 | virtual void printRaw(ostream &s,uintb offset) const; ///< Write an address in this space to a stream | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isTypeLock() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:273:42: error: ‘flags’ was not declared in this scope 273 | bool isTypeLock(void) const { return ((flags&Varnode::typelock)!=0); } ///< Does \b this have a locked Datatype? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::setDirectWrite()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:279:31: error: ‘flags’ was not declared in this scope 279 | void setDirectWrite(void) { flags |= Varnode::directwrite; } ///< Mark \b this as directly affected by a legal input | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:238:11: error: ‘intb’ does not name a type; did you mean ‘int’? 238 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:480:1: error: ‘int4’ does not name a type; did you mean ‘int’? 480 | int4 VarnodeTpl::transfer(const vector ¶ms) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:82:55: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 82 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:82:59: error: template argument 1 is invalid 82 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:82:59: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:331:3: error: ‘int4’ does not name a type; did you mean ‘int’? 331 | int4 size; // (resulting) bytes traversed from the LEFT edge of the rightmost | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh: In constructor ‘ConstantPoolInternal::CheapSorter::CheapSorter()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:167:25: error: ‘a’ was not declared in this scope 167 | CheapSorter(void) { a = 0; b = 0; } ///< Construct a zero reference | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:145:11: error: ‘intb’ does not name a type; did you mean ‘int’? 145 | virtual intb getValue(ParserWalker &walker) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:148:35: error: ‘intb’ has not been declared 148 | virtual TokenPattern genPattern(intb val) const { return TokenPattern(); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:132:3: error: ‘int4’ does not name a type; did you mean ‘int’? 132 | int4 getMinimumPtrSize(void) const; ///< Get the minimum pointer size for \b this space | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:239:11: error: ‘intb’ does not name a type; did you mean ‘int’? 239 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:156:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 156 | virtual uintb read(const string &s,int4 &size) const; ///< Read in an address (and possible size) from a string | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:84:11: error: ‘intb’ does not name a type; did you mean ‘int’? 84 | virtual intb getSubValue(const vector &replace,int4 &listpos) const { return replace[listpos++]; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:149:11: error: ‘intb’ does not name a type; did you mean ‘int’? 149 | virtual intb minValue(void) const { return (intb)0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:133:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 133 | uintb wrapOffset(uintb off) const; ///< Wrap -off- to the offset that fits into this space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:327:44: error: ‘size’ was not declared in this scope 327 | base=-1; offset=0; cur_rightmost = -1; size = 0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::clearDirectWrite()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:280:33: error: ‘flags’ was not declared in this scope 280 | void clearDirectWrite(void) { flags &= ~Varnode::directwrite; } ///< Mark \b this as not directly affected by a legal input | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:145:31: error: ‘uintb’ has not been declared 145 | void printOffset(ostream &s,uintb offset) const; ///< Write an address offset to a stream | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:160:10: error: ‘uintb’ does not name a type; did you mean ‘uint’? 160 | static uintb addressToByte(uintb val,uint4 ws); ///< Scale from addressable units to byte units | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:85:11: error: ‘intb’ does not name a type; did you mean ‘int’? 85 | virtual intb minValue(void) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:247:11: error: ‘intb’ does not name a type; did you mean ‘int’? 247 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:150:11: error: ‘intb’ does not name a type; did you mean ‘int’? 150 | virtual intb maxValue(void) const { return (intb)0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:503:49: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 503 | void VarnodeTpl::changeHandleIndex(const vector &handmap) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:503:53: error: template argument 1 is invalid 503 | void VarnodeTpl::changeHandleIndex(const vector &handmap) | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:503:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:167:32: error: ‘b’ was not declared in this scope 167 | CheapSorter(void) { a = 0; b = 0; } ///< Construct a zero reference | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:86:11: error: ‘intb’ does not name a type; did you mean ‘int’? 86 | virtual intb maxValue(void) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:161:10: error: ‘uintb’ does not name a type; did you mean ‘uint’? 161 | static uintb byteToAddress(uintb val,uint4 ws); ///< Scale from byte units to addressable units | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:248:11: error: ‘intb’ does not name a type; did you mean ‘int’? 248 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:147:11: error: ‘int4’ does not name a type; did you mean ‘int’? 147 | virtual int4 numSpacebase(void) const; ///< Number of base registers associated with this space | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:511:6: error: ‘bool VarnodeTpl::adjustTruncation’ is not a static data member of ‘class VarnodeTpl’ 511 | bool VarnodeTpl::adjustTruncation(int4 sz,bool isbigendian) | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:148:43: error: ‘int4’ has not been declared 148 | virtual const VarnodeData &getSpacebase(int4 i) const; ///< Get a base register that creates this virtual space | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:337:3: error: ‘int4’ does not name a type; did you mean ‘int’? 337 | int4 refcount; // Number of objects referencing this | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:149:47: error: ‘int4’ has not been declared 149 | virtual const VarnodeData &getSpacebaseFull(int4 i) const; ///< Return original spacebase register before truncation | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isNameLock() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:274:42: error: ‘flags’ was not declared in this scope 274 | bool isNameLock(void) const { return ((flags&Varnode::namelock)!=0); } ///< Does \b this have a locked name? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::clearDirectWrite()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:280:33: error: ‘flags’ was not declared in this scope 280 | void clearDirectWrite(void) { flags &= ~Varnode::directwrite; } ///< Mark \b this as not directly affected by a legal input | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:157:33: error: ‘int4’ has not been declared 157 | virtual void shiftInstruction(int4 sa); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:152:45: error: ‘uintb’ has not been declared 152 | virtual void saveXmlAttributes(ostream &s,uintb offset) const; ///< Save an address as XML | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In constructor ‘OperandResolve::OperandResolve(std::vector&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:327:5: error: ‘base’ was not declared in this scope 327 | base=-1; offset=0; cur_rightmost = -1; size = 0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:153:45: error: ‘uintb’ has not been declared 153 | virtual void saveXmlAttributes(ostream &s,uintb offset,int4 size) const; ///< Save an address and size as XML | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:153:58: error: ‘int4’ has not been declared 153 | virtual void saveXmlAttributes(ostream &s,uintb offset,int4 size) const; ///< Save an address and size as XML | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:162:10: error: ‘int4’ does not name a type; did you mean ‘int’? 162 | static int4 addressToByteInt(int4 val,uint4 ws); ///< Scale int4 from addressable units to byte units | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:158:11: error: ‘intb’ does not name a type; did you mean ‘int’? 158 | virtual intb getValue(ParserWalker &walker) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:159:11: error: ‘int4’ does not name a type; did you mean ‘int’? 159 | virtual int4 numDisjoint(void) const { return orlist.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:160:40: error: ‘int4’ has not been declared 160 | virtual DisjointPattern *getDisjoint(int4 i) const { return orlist[i]; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:154:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 154 | virtual uintb restoreXmlAttributes(const Element *el,uint4 &size) const; ///< Recover an offset and size | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:161:35: error: ‘intb’ has not been declared 161 | virtual TokenPattern genPattern(intb val) const { return TokenPattern(); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:256:11: error: ‘intb’ does not name a type; did you mean ‘int’? 256 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:164:42: error: ‘int4’ has not been declared 164 | virtual Pattern *doOr(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:155:36: error: ‘uintb’ has not been declared 155 | virtual void printRaw(ostream &s,uintb offset) const; ///< Write an address in this space to a stream | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:165:43: error: ‘int4’ has not been declared 165 | virtual Pattern *doAnd(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:163:10: error: ‘int4’ does not name a type; did you mean ‘int’? 163 | static int4 byteToAddressInt(int4 val,uint4 ws); ///< Scale int4 from byte units to addressable units | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:166:54: error: ‘int4’ has not been declared 166 | virtual Pattern *commonSubPattern(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh: In copy constructor ‘ConstantPoolInternal::CheapSorter::CheapSorter(const ConstantPoolInternal::CheapSorter&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:168:43: error: ‘a’ was not declared in this scope 168 | CheapSorter(const CheapSorter &op2) { a = op2.a; b = op2.b; } ///< Copy constructor | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:168:51: error: ‘const class ConstantPoolInternal::CheapSorter’ has no member named ‘a’ 168 | CheapSorter(const CheapSorter &op2) { a = op2.a; b = op2.b; } ///< Copy constructor | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:511:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 511 | bool VarnodeTpl::adjustTruncation(int4 sz,bool isbigendian) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:257:11: error: ‘intb’ does not name a type; did you mean ‘int’? 257 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:511:43: error: expected primary-expression before ‘bool’ 511 | bool VarnodeTpl::adjustTruncation(int4 sz,bool isbigendian) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:162:11: error: ‘intb’ does not name a type; did you mean ‘int’? 162 | virtual intb minValue(void) const { return (intb)0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:511:59: error: expression list treated as compound expression in initializer [-fpermissive] 511 | bool VarnodeTpl::adjustTruncation(int4 sz,bool isbigendian) | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:181:73: error: ‘int4’ has not been declared 181 | ConstantSpace(AddrSpaceManager *m,const Translate *t,const string &nm,int4 ind); ///< Only constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::setReturnAddress()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:287:33: error: ‘flags’ was not declared in this scope 287 | void setReturnAddress(void) { flags |= Varnode::return_address; } ///< Mark as storage location for a return address | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:156:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 156 | virtual uintb read(const string &s,int4 &size) const; ///< Read in an address (and possible size) from a string | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:182:36: error: ‘uintb’ has not been declared 182 | virtual void printRaw(ostream &s,uintb offset) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:190:73: error: ‘int4’ has not been declared 190 | OtherSpace(AddrSpaceManager *m, const Translate *t, const string &nm, int4 ind); ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:192:37: error: ‘uintb’ has not been declared 192 | virtual void printRaw(ostream &s, uintb offset) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:163:11: error: ‘intb’ does not name a type; did you mean ‘int’? 163 | virtual intb maxValue(void) const { return (intb)0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:327:14: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 327 | base=-1; offset=0; cur_rightmost = -1; size = 0; } | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::setActiveHeritage()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:275:34: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 275 | void setActiveHeritage(void) { addlflags |= Varnode::activeheritage; } ///< Mark \b this as currently being linked into the SSA tree | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:207:71: error: ‘int4’ has not been declared 207 | UniqueSpace(AddrSpaceManager *m,const Translate *t,const string &nm,int4 ind,uint4 fl); ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:207:80: error: ‘uint4’ has not been declared 207 | UniqueSpace(AddrSpaceManager *m,const Translate *t,const string &nm,int4 ind,uint4 fl); ///< Constructor | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:160:10: error: ‘uintb’ does not name a type; did you mean ‘uint’? 160 | static uintb addressToByte(uintb val,uint4 ws); ///< Scale from addressable units to byte units | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::setReturnAddress()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:287:33: error: ‘flags’ was not declared in this scope 287 | void setReturnAddress(void) { flags |= Varnode::return_address; } ///< Mark as storage location for a return address | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:265:11: error: ‘intb’ does not name a type; did you mean ‘int’? 265 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:222:69: error: ‘int4’ has not been declared 222 | JoinSpace(AddrSpaceManager *m,const Translate *t,const string &nm,int4 ind); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:223:45: error: ‘uintb’ has not been declared 223 | virtual void saveXmlAttributes(ostream &s,uintb offset) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:168:54: error: ‘b’ was not declared in this scope 168 | CheapSorter(const CheapSorter &op2) { a = op2.a; b = op2.b; } ///< Copy constructor | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:224:45: error: ‘uintb’ has not been declared 224 | virtual void saveXmlAttributes(ostream &s,uintb offset,int4 size) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:224:58: error: ‘int4’ has not been declared 224 | virtual void saveXmlAttributes(ostream &s,uintb offset,int4 size) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:168:62: error: ‘const class ConstantPoolInternal::CheapSorter’ has no member named ‘b’ 168 | CheapSorter(const CheapSorter &op2) { a = op2.a; b = op2.b; } ///< Copy constructor | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:161:10: error: ‘uintb’ does not name a type; did you mean ‘uint’? 161 | static uintb byteToAddress(uintb val,uint4 ws); ///< Scale from byte units to addressable units | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:266:11: error: ‘intb’ does not name a type; did you mean ‘int’? 266 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In member function ‘virtual void PatternValue::getMinMax(int&, int&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:83:13: error: request for member ‘push_back’ in ‘minlist’, which is of non-class type ‘int’ 83 | minlist.push_back(minValue()); maxlist.push_back(maxValue()); } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In constructor ‘PatternEquation::PatternEquation()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:342:27: error: ‘refcount’ was not declared in this scope 342 | PatternEquation(void) { refcount = 0; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:171:3: error: ‘int4’ does not name a type; did you mean ‘int’? 171 | int4 index; // This is the defining field of expression | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:225:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 225 | virtual uintb restoreXmlAttributes(const Element *el,uint4 &size) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:162:10: error: ‘int4’ does not name a type; did you mean ‘int’? 162 | static int4 addressToByteInt(int4 val,uint4 ws); ///< Scale int4 from addressable units to byte units | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:226:36: error: ‘uintb’ has not been declared 226 | virtual void printRaw(ostream &s,uintb offset) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:175:20: error: expected ‘)’ before ‘ind’ 175 | OperandValue(int4 ind,Constructor *c) { index = ind; ct = c; } | ~ ^~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:176:20: error: ‘int4’ has not been declared 176 | void changeIndex(int4 newind) { index = newind; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:179:35: error: ‘intb’ has not been declared 179 | virtual TokenPattern genPattern(intb val) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:579:43: error: ‘uintb’ has not been declared 579 | AddrSpace *t_space,uintb t_offset) : | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:274:11: error: ‘intb’ does not name a type; did you mean ‘int’? 274 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:163:10: error: ‘int4’ does not name a type; did you mean ‘int’? 163 | static int4 byteToAddressInt(int4 val,uint4 ws); ///< Scale int4 from byte units to addressable units | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh: In constructor ‘ConstantPoolInternal::CheapSorter::CheapSorter(const int&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:169:46: error: ‘a’ was not declared in this scope 169 | CheapSorter(const vector &refs) { a = refs[0]; b = (refs.size() > 1) ? refs[1] : 0; } ///< Construct from an array of integers | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:169:54: error: invalid types ‘const int[int]’ for array subscript 169 | CheapSorter(const vector &refs) { a = refs[0]; b = (refs.size() > 1) ? refs[1] : 0; } ///< Construct from an array of integers | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:227:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 227 | virtual uintb read(const string &s,int4 &size) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:181:11: error: ‘intb’ does not name a type; did you mean ‘int’? 181 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc: In member function ‘void HandleTpl::fix(FixedHandle&, const ParserWalker&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:592:10: error: ‘struct FixedHandle’ has no member named ‘size’ 592 | hand.size = size.fix(walker); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:592:22: error: ‘const class ConstTpl’ has no member named ‘fix’ 592 | hand.size = size.fix(walker); | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::clearActiveHeritage()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:276:36: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 276 | void clearActiveHeritage(void) { addlflags &= ~Varnode::activeheritage; } ///< Mark \b this as not (actively) being linked into the SSA tree | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:275:11: error: ‘intb’ does not name a type; did you mean ‘int’? 275 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:597:10: error: ‘struct FixedHandle’ has no member named ‘size’ 597 | hand.size = size.fix(walker); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::clearReturnAddress()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:288:35: error: ‘flags’ was not declared in this scope 288 | void clearReturnAddress(void) { flags &= ~Varnode::return_address; } ///< Clear return address attribute | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:597:22: error: ‘const class ConstTpl’ has no member named ‘fix’ 597 | hand.size = size.fix(walker); | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:598:10: error: ‘struct FixedHandle’ has no member named ‘offset_offset’ 598 | hand.offset_offset = ptroffset.fix(walker); | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::clearReturnAddress()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:288:35: error: ‘flags’ was not declared in this scope 288 | void clearReturnAddress(void) { flags &= ~Varnode::return_address; } ///< Clear return address attribute | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:598:36: error: ‘const class ConstTpl’ has no member named ‘fix’ 598 | hand.offset_offset = ptroffset.fix(walker); | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:181:73: error: ‘int4’ has not been declared 181 | ConstantSpace(AddrSpaceManager *m,const Translate *t,const string &nm,int4 ind); ///< Only constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:182:36: error: ‘uintb’ has not been declared 182 | virtual void printRaw(ostream &s,uintb offset) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:603:12: error: ‘struct FixedHandle’ has no member named ‘offset_offset’ 603 | hand.offset_offset = AddrSpace::addressToByte(hand.offset_offset,hand.space->getWordSize()); | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:182:11: error: ‘intb’ does not name a type; did you mean ‘int’? 182 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:603:39: error: ‘addressToByte’ is not a member of ‘AddrSpace’ 603 | hand.offset_offset = AddrSpace::addressToByte(hand.offset_offset,hand.space->getWordSize()); | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:603:58: error: ‘struct FixedHandle’ has no member named ‘offset_offset’ 603 | hand.offset_offset = AddrSpace::addressToByte(hand.offset_offset,hand.space->getWordSize()); | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:251:13: error: variable or field ‘setFlags’ declared void 251 | inline void AddrSpace::setFlags(uint4 fl) { | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:603:84: error: ‘class AddrSpace’ has no member named ‘getWordSize’ 603 | hand.offset_offset = AddrSpace::addressToByte(hand.offset_offset,hand.space->getWordSize()); | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:604:12: error: ‘struct FixedHandle’ has no member named ‘offset_offset’ 604 | hand.offset_offset = hand.space->wrapOffset(hand.offset_offset); | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:604:40: error: ‘class AddrSpace’ has no member named ‘wrapOffset’ 604 | hand.offset_offset = hand.space->wrapOffset(hand.offset_offset); | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:604:56: error: ‘struct FixedHandle’ has no member named ‘offset_offset’ 604 | hand.offset_offset = hand.space->wrapOffset(hand.offset_offset); | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:190:73: error: ‘int4’ has not been declared 190 | OtherSpace(AddrSpaceManager *m, const Translate *t, const string &nm, int4 ind); ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:607:12: error: ‘struct FixedHandle’ has no member named ‘offset_size’; did you mean ‘offset_space’? 607 | hand.offset_size = ptrsize.fix(walker); | ^~~~~~~~~~~ | offset_space /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:607:34: error: ‘const class ConstTpl’ has no member named ‘fix’ 607 | hand.offset_size = ptrsize.fix(walker); | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:192:37: error: ‘uintb’ has not been declared 192 | virtual void printRaw(ostream &s, uintb offset) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:609:12: error: ‘struct FixedHandle’ has no member named ‘temp_offset’ 609 | hand.temp_offset = temp_offset.fix(walker); | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:609:38: error: ‘const class ConstTpl’ has no member named ‘fix’ 609 | hand.temp_offset = temp_offset.fix(walker); | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:183:11: error: ‘intb’ does not name a type; did you mean ‘int’? 183 | virtual intb minValue(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:327:24: error: ‘cur_rightmost’ was not declared in this scope 327 | base=-1; offset=0; cur_rightmost = -1; size = 0; } | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:207:71: error: ‘int4’ has not been declared 207 | UniqueSpace(AddrSpaceManager *m,const Translate *t,const string &nm,int4 ind,uint4 fl); ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:207:80: error: ‘uint4’ has not been declared 207 | UniqueSpace(AddrSpaceManager *m,const Translate *t,const string &nm,int4 ind,uint4 fl); ///< Constructor | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:283:11: error: ‘intb’ does not name a type; did you mean ‘int’? 283 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:169:59: error: ‘b’ was not declared in this scope 169 | CheapSorter(const vector &refs) { a = refs[0]; b = (refs.size() > 1) ? refs[1] : 0; } ///< Construct from an array of integers | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:169:69: error: request for member ‘size’ in ‘refs’, which is of non-class type ‘const int’ 169 | CheapSorter(const vector &refs) { a = refs[0]; b = (refs.size() > 1) ? refs[1] : 0; } ///< Construct from an array of integers | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:169:87: error: invalid types ‘const int[int]’ for array subscript 169 | CheapSorter(const vector &refs) { a = refs[0]; b = (refs.size() > 1) ? refs[1] : 0; } ///< Construct from an array of integers | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:222:69: error: ‘int4’ has not been declared 222 | JoinSpace(AddrSpaceManager *m,const Translate *t,const string &nm,int4 ind); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:223:45: error: ‘uintb’ has not been declared 223 | virtual void saveXmlAttributes(ostream &s,uintb offset) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:83:23: error: ‘minValue’ was not declared in this scope; did you mean ‘listValues’? 83 | minlist.push_back(minValue()); maxlist.push_back(maxValue()); } | ^~~~~~~~ | listValues /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:83:44: error: request for member ‘push_back’ in ‘maxlist’, which is of non-class type ‘int’ 83 | minlist.push_back(minValue()); maxlist.push_back(maxValue()); } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:224:45: error: ‘uintb’ has not been declared 224 | virtual void saveXmlAttributes(ostream &s,uintb offset,int4 size) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:184:11: error: ‘intb’ does not name a type; did you mean ‘int’? 184 | virtual intb maxValue(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:224:58: error: ‘int4’ has not been declared 224 | virtual void saveXmlAttributes(ostream &s,uintb offset,int4 size) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:284:11: error: ‘intb’ does not name a type; did you mean ‘int’? 284 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In member function ‘void OperandValue::changeIndex(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:176:43: error: overloaded function with no contextual type information 176 | void changeIndex(int4 newind) { index = newind; } | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In member function ‘void PatternEquation::layClaim()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:347:25: error: ‘refcount’ was not declared in this scope 347 | void layClaim(void) { refcount += 1; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:251:33: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 251 | inline void AddrSpace::setFlags(uint4 fl) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:257:13: error: variable or field ‘clearFlags’ declared void 257 | inline void AddrSpace::clearFlags(uint4 fl) { | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::setPtrCheck()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:289:28: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 289 | void setPtrCheck(void) { addlflags |= Varnode::ptrcheck; } ///< Set \b this as checked for a constant symbol reference | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:225:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 225 | virtual uintb restoreXmlAttributes(const Element *el,uint4 &size) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::setMark() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:277:30: error: ‘flags’ was not declared in this scope 277 | void setMark(void) const { flags |= Varnode::mark; } ///< Mark this Varnode for breadcrumb algorithms | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:226:36: error: ‘uintb’ has not been declared 226 | virtual void printRaw(ostream &s,uintb offset) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:614:48: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 614 | void HandleTpl::changeHandleIndex(const vector &handmap) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:352:3: error: ‘int4’ does not name a type; did you mean ‘int’? 352 | int4 index; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:614:52: error: template argument 1 is invalid 614 | void HandleTpl::changeHandleIndex(const vector &handmap) | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:614:52: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:354:23: error: expected ‘)’ before ‘ind’ 354 | OperandEquation(int4 ind) { index = ind; } | ~ ^~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:292:11: error: ‘intb’ does not name a type; did you mean ‘int’? 292 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:20, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:26:36: error: ‘int4’ has not been declared 26 | static PatternBlock *buildSingle(int4 startbit,int4 endbit,uintm byteval); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::setPtrCheck()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:289:28: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 289 | void setPtrCheck(void) { addlflags |= Varnode::ptrcheck; } ///< Set \b this as checked for a constant symbol reference | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:26:50: error: ‘int4’ has not been declared 26 | static PatternBlock *buildSingle(int4 startbit,int4 endbit,uintm byteval); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:26:62: error: ‘uintm’ has not been declared 26 | static PatternBlock *buildSingle(int4 startbit,int4 endbit,uintm byteval); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:27:38: error: ‘int4’ has not been declared 27 | static PatternBlock *buildBigBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:327:44: error: ‘size’ was not declared in this scope 327 | base=-1; offset=0; cur_rightmost = -1; size = 0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:27:48: error: ‘int4’ has not been declared 27 | static PatternBlock *buildBigBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:27:62: error: ‘int4’ has not been declared 27 | static PatternBlock *buildBigBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:27:74: error: ‘intb’ has not been declared 27 | static PatternBlock *buildBigBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh: In member function ‘bool ConstantPoolInternal::CheapSorter::operator<(const ConstantPoolInternal::CheapSorter&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:176:11: error: ‘a’ was not declared in this scope 176 | if (a != op2.a) return (a &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:227:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 227 | virtual uintb read(const string &s,int4 &size) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:257:35: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 257 | inline void AddrSpace::clearFlags(uint4 fl) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:337:3: error: ‘int4’ does not name a type; did you mean ‘int’? 337 | int4 refcount; // Number of objects referencing this | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:29:3: error: ‘int4’ does not name a type; did you mean ‘int’? 29 | int4 resolveTokens(const TokenPattern &tokpat1,const TokenPattern &tokpat2); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:35:27: error: ‘intb’ has not been declared 35 | TokenPattern(Token *tok,intb value,int4 bitstart,int4 bitend); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:251:13: error: variable or field ‘setFlags’ declared void 251 | inline void AddrSpace::setFlags(uint4 fl) { | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:35:38: error: ‘int4’ has not been declared 35 | TokenPattern(Token *tok,intb value,int4 bitstart,int4 bitend); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:35:52: error: ‘int4’ has not been declared 35 | TokenPattern(Token *tok,intb value,int4 bitstart,int4 bitend); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:36:20: error: expected ‘)’ before ‘value’ 36 | TokenPattern(intb value,int4 startbit,int4 endbit); | ~ ^~~~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:301:11: error: ‘intb’ does not name a type; did you mean ‘int’? 301 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:83:54: error: ‘maxValue’ was not declared in this scope 83 | minlist.push_back(minValue()); maxlist.push_back(maxValue()); } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:302:8: error: ‘int4’ does not name a type; did you mean ‘int’? 302 | inline int4 AddrSpace::getDelay(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::clearPtrCheck()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:290:30: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 290 | void clearPtrCheck(void) { addlflags &= ~Varnode::ptrcheck; } ///< Clear the pointer check mark on this Varnode | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:177:15: error: ‘b’ was not declared in this scope 177 | return (b < op2.b); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:177:23: error: ‘const class ConstantPoolInternal::CheapSorter’ has no member named ‘b’ 177 | return (b < op2.b); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh: In member function ‘void ConstantPoolInternal::CheapSorter::apply(int&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:183:50: error: request for member ‘push_back’ in ‘refs’, which is of non-class type ‘int’ 183 | void apply(vector &refs) const { refs.push_back(a); refs.push_back(b); } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::clearMark() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:278:32: error: ‘flags’ was not declared in this scope 278 | void clearMark(void) const { flags &= ~Varnode::mark; } ///< Clear the mark on this Varnode | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:302:11: error: ‘intb’ does not name a type; did you mean ‘int’? 302 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:49:3: error: ‘int4’ does not name a type; did you mean ‘int’? 49 | int4 getMinimumLength(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:312:8: error: ‘int4’ does not name a type; did you mean ‘int’? 312 | inline int4 AddrSpace::getDeadcodeDelay(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In member function ‘virtual TokenPattern OperandValue::genMinPattern(const std::vector&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:180:89: error: no match for ‘operator[]’ (operand types are ‘const std::vector’ and ‘’) 180 | virtual TokenPattern genMinPattern(const vector &ops) const { return ops[index]; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::clearPtrCheck()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:290:30: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 290 | void clearPtrCheck(void) { addlflags &= ~Varnode::ptrcheck; } ///< Clear the pointer check mark on this Varnode | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:93:3: error: ‘int4’ does not name a type; did you mean ‘int’? 93 | int4 bitstart,bitend; // Bits within the token, 0 bit is LEAST significant | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:251:33: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 251 | inline void AddrSpace::setFlags(uint4 fl) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:319:8: error: ‘int4’ does not name a type; did you mean ‘int’? 319 | inline int4 AddrSpace::getIndex(void) const { | ^~~~ | int In file included from /usr/include/c++/11.2.0/vector:67, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:31, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/bits/stl_vector.h:1043:7: note: candidate: ‘std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) [with _Tp = TokenPattern; _Alloc = std::allocator; std::vector<_Tp, _Alloc>::reference = TokenPattern&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]’ 1043 | operator[](size_type __n) _GLIBCXX_NOEXCEPT | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:257:13: error: variable or field ‘clearFlags’ declared void 257 | inline void AddrSpace::clearFlags(uint4 fl) { | ^~~~~~~~~ /usr/include/c++/11.2.0/bits/stl_vector.h:1043:28: note: no known conversion for argument 1 from ‘’ to ‘std::vector::size_type’ {aka ‘long unsigned int’} 1043 | operator[](size_type __n) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~^~~ /usr/include/c++/11.2.0/bits/stl_vector.h:1061:7: note: candidate: ‘std::vector<_Tp, _Alloc>::const_reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) const [with _Tp = TokenPattern; _Alloc = std::allocator; std::vector<_Tp, _Alloc>::const_reference = const TokenPattern&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]’ 1061 | operator[](size_type __n) const _GLIBCXX_NOEXCEPT | ^~~~~~~~ /usr/include/c++/11.2.0/bits/stl_vector.h:1061:28: note: no known conversion for argument 1 from ‘’ to ‘std::vector::size_type’ {aka ‘long unsigned int’} 1061 | operator[](size_type __n) const _GLIBCXX_NOEXCEPT | ~~~~~~~~~~^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:94:3: error: ‘int4’ does not name a type; did you mean ‘int’? 94 | int4 bytestart,byteend; // Bytes to read to get value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:310:11: error: ‘intb’ does not name a type; did you mean ‘int’? 310 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:327:8: error: ‘uint4’ does not name a type; did you mean ‘uint’? 327 | inline uint4 AddrSpace::getWordSize(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:183:60: error: ‘a’ was not declared in this scope 183 | void apply(vector &refs) const { refs.push_back(a); refs.push_back(b); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:183:69: error: request for member ‘push_back’ in ‘refs’, which is of non-class type ‘int’ 183 | void apply(vector &refs) const { refs.push_back(a); refs.push_back(b); } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:683:6: error: variable or field ‘removeInput’ declared void 683 | void OpTpl::removeInput(int4 index) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:95:3: error: ‘int4’ does not name a type; did you mean ‘int’? 95 | int4 shift; // Amount to shift to align value (bitstart % 8) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:311:11: error: ‘intb’ does not name a type; did you mean ‘int’? 311 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:335:8: error: ‘uint4’ does not name a type; did you mean ‘uint’? 335 | inline uint4 AddrSpace::getAddrSize(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:98:31: error: ‘int4’ has not been declared 98 | TokenField(Token *tk,bool s,int4 bstart,int4 bend); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:98:43: error: ‘int4’ has not been declared 98 | TokenField(Token *tk,bool s,int4 bstart,int4 bend); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::setPtrFlow()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:291:27: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 291 | void setPtrFlow(void) { addlflags |= Varnode::ptrflow; } ///< Set \b this as flowing to or from pointer | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:257:35: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 257 | inline void AddrSpace::clearFlags(uint4 fl) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:341:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 341 | inline uintb AddrSpace::getHighest(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::setDirectWrite()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:279:31: error: ‘flags’ was not declared in this scope 279 | void setDirectWrite(void) { flags |= Varnode::directwrite; } ///< Mark \b this as directly affected by a legal input | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In constructor ‘PatternEquation::PatternEquation()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:342:27: error: ‘refcount’ was not declared in this scope 342 | PatternEquation(void) { refcount = 0; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:99:11: error: ‘intb’ does not name a type; did you mean ‘int’? 99 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:101:35: error: ‘intb’ has not been declared 101 | virtual TokenPattern genPattern(intb val) const; | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:33:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 33 | uintm id; // Unique id across all symbols | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:348:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 348 | inline uintb AddrSpace::getPointerLowerBound(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::setPtrFlow()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:291:27: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 291 | void setPtrFlow(void) { addlflags |= Varnode::ptrflow; } ///< Set \b this as flowing to or from pointer | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:319:11: error: ‘intb’ does not name a type; did you mean ‘int’? 319 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:683:25: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 683 | void OpTpl::removeInput(int4 index) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:57:3: error: ‘int4’ does not name a type; did you mean ‘int’? 57 | int4 refcount; // Number of objects referencing this | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:183:79: error: ‘b’ was not declared in this scope 183 | void apply(vector &refs) const { refs.push_back(a); refs.push_back(b); } | ^ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:20, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:201:33: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 201 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:201:37: error: template argument 1 is invalid 201 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:201:37: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:102:11: error: ‘intb’ does not name a type; did you mean ‘int’? 102 | virtual intb minValue(void) const { return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:355:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 355 | inline uintb AddrSpace::getPointerUpperBound(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:302:8: error: ‘int4’ does not name a type; did you mean ‘int’? 302 | inline int4 AddrSpace::getDelay(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:34:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 34 | uintm scopeid; // Unique id of scope this symbol is in | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:320:11: error: ‘intb’ does not name a type; did you mean ‘int’? 320 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:361:8: error: ‘int4’ does not name a type; did you mean ‘int’? 361 | inline int4 AddrSpace::getMinimumPtrSize(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:103:11: error: ‘intb’ does not name a type; did you mean ‘int’? 103 | virtual intb maxValue(void) const { intb res=0; res=~res; zero_extend(res,bitend-bitstart); return res; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:63:11: error: ‘intb’ does not name a type; did you mean ‘int’? 63 | virtual intb getValue(ParserWalker &walker) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:312:8: error: ‘int4’ does not name a type; did you mean ‘int’? 312 | inline int4 AddrSpace::getDeadcodeDelay(void) const { | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:40:10: error: ‘uintm’ does not name a type; did you mean ‘uint’? 40 | static uintm getUIndex(const PcodeOp *op); ///< Get the comparison index for a PcodeOp | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:370:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 370 | inline uintb AddrSpace::wrapOffset(uintb off) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:40:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 40 | uintm getId(void) const { return id; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:319:8: error: ‘int4’ does not name a type; did you mean ‘int’? 319 | inline int4 AddrSpace::getIndex(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::clearPtrFlow()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:292:29: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 292 | void clearPtrFlow(void) { addlflags &= ~Varnode::ptrflow; } ///< Indicate that this varnode is not flowing to or from pointer | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:692:44: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 692 | void OpTpl::changeHandleIndex(const vector &handmap) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:328:3: error: ‘int4’ does not name a type; did you mean ‘int’? 328 | int4 base; // Current base operand (as we traverse the pattern equation from left to right) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:692:48: error: template argument 1 is invalid 692 | void OpTpl::changeHandleIndex(const vector &handmap) | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:692:48: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::clearDirectWrite()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:280:33: error: ‘flags’ was not declared in this scope 280 | void clearDirectWrite(void) { flags &= ~Varnode::directwrite; } ///< Mark \b this as not directly affected by a legal input | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:327:8: error: ‘uint4’ does not name a type; did you mean ‘uint’? 327 | inline uint4 AddrSpace::getWordSize(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:49:3: error: ‘int4’ does not name a type; did you mean ‘int’? 49 | int4 intersect(const CoverBlock &op2) const; ///< Compute intersection with another CoverBlock | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:201:55: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 201 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:201:59: error: template argument 1 is invalid 201 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:201:59: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:109:3: error: ‘int4’ does not name a type; did you mean ‘int’? 109 | int4 startbit,endbit; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::clearPtrFlow()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:292:29: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 292 | void clearPtrFlow(void) { addlflags &= ~Varnode::ptrflow; } ///< Indicate that this varnode is not flowing to or from pointer | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:329:3: error: ‘int4’ does not name a type; did you mean ‘int’? 329 | int4 offset; // Bytes we have traversed from the LEFT edge of the current base | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:335:8: error: ‘uint4’ does not name a type; did you mean ‘uint’? 335 | inline uint4 AddrSpace::getAddrSize(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:53:3: error: ‘int4’ does not name a type; did you mean ‘int’? 53 | int4 boundary(const PcodeOp *point) const; ///< Characterize given point as boundary | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:110:3: error: ‘int4’ does not name a type; did you mean ‘int’? 110 | int4 startbyte,endbyte; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:66:33: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 66 | virtual void getMinMax(vector &minlist,vector &maxlist) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In member function ‘void PatternEquation::layClaim()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:347:25: error: ‘refcount’ was not declared in this scope 347 | void layClaim(void) { refcount += 1; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:66:37: error: template argument 1 is invalid 66 | virtual void getMinMax(vector &minlist,vector &maxlist) const=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:66:37: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:330:3: error: ‘int4’ does not name a type; did you mean ‘int’? 330 | int4 cur_rightmost; // (resulting) rightmost operand in our pattern | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:341:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 341 | inline uintb AddrSpace::getHighest(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:111:3: error: ‘int4’ does not name a type; did you mean ‘int’? 111 | int4 shift; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:331:3: error: ‘int4’ does not name a type; did you mean ‘int’? 331 | int4 size; // (resulting) bytes traversed from the LEFT edge of the rightmost | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:115:23: error: ‘int4’ has not been declared 115 | ContextField(bool s,int4 sbit,int4 ebit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:115:33: error: ‘int4’ has not been declared 115 | ContextField(bool s,int4 sbit,int4 ebit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:352:3: error: ‘int4’ does not name a type; did you mean ‘int’? 352 | int4 index; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:354:23: error: expected ‘)’ before ‘ind’ 354 | OperandEquation(int4 ind) { index = ind; } | ~ ^~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘SleighSymbol::SleighSymbol(const string&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:37:47: error: ‘id’ was not declared in this scope; did you mean ‘void’? 37 | SleighSymbol(const string &nm) { name = nm; id = 0; } | ^~ | void /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:348:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 348 | inline uintb AddrSpace::getPointerLowerBound(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::setSpacebasePlaceholder()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:293:40: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 293 | void setSpacebasePlaceholder(void) { addlflags |= Varnode::spacebase_placeholder; } ///< Mark \b this as a special Varnode for tracking stackpointer values | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:116:3: error: ‘int4’ does not name a type; did you mean ‘int’? 116 | int4 getStartBit(void) const { return startbit; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:355:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 355 | inline uintb AddrSpace::getPointerUpperBound(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::setReturnAddress()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:287:33: error: ‘flags’ was not declared in this scope 287 | void setReturnAddress(void) { flags |= Varnode::return_address; } ///< Mark as storage location for a return address | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:66:55: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 66 | virtual void getMinMax(vector &minlist,vector &maxlist) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:117:3: error: ‘int4’ does not name a type; did you mean ‘int’? 117 | int4 getEndBit(void) const { return endbit; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:66:59: error: template argument 1 is invalid 66 | virtual void getMinMax(vector &minlist,vector &maxlist) const=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:66:59: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isHeritaged() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:395:12: error: ‘flags’ was not declared in this scope 395 | return ((flags & heritaged)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:361:8: error: ‘int4’ does not name a type; did you mean ‘int’? 361 | inline int4 AddrSpace::getMinimumPtrSize(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::setSpacebasePlaceholder()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:293:40: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 293 | void setSpacebasePlaceholder(void) { addlflags |= Varnode::spacebase_placeholder; } ///< Mark \b this as a special Varnode for tracking stackpointer values | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:218:33: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 218 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:218:37: error: template argument 1 is invalid 218 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:218:37: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:119:11: error: ‘intb’ does not name a type; did you mean ‘int’? 119 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:69:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 69 | map cover; ///< block index -> CoverBlock | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:69:22: error: template argument 1 is invalid 69 | map cover; ///< block index -> CoverBlock | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:69:22: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:121:35: error: ‘intb’ has not been declared 121 | virtual TokenPattern genPattern(intb val) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:69:22: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc: In member function ‘void OpTpl::saveXml(std::ostream&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:711:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 711 | for(int4 i=0;i &replace,int4 &listpos) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In constructor ‘OperandResolve::OperandResolve(std::vector&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:327:5: error: ‘base’ was not declared in this scope 327 | base=-1; offset=0; cur_rightmost = -1; size = 0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:122:11: error: ‘intb’ does not name a type; did you mean ‘int’? 122 | virtual intb minValue(void) const { return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:74:3: error: ‘int4’ does not name a type; did you mean ‘int’? 74 | int4 compareTo(const Cover &op2) const; ///< Give ordering of \b this and another Cover | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:70:3: error: ‘intb’ does not name a type; did you mean ‘int’? 70 | intb getSubValue(const vector &replace) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:75:35: error: ‘int4’ has not been declared 75 | const CoverBlock &getCoverBlock(int4 i) const; ///< Get the CoverBlock corresponding to the i-th block | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::clearSpacebasePlaceholder()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:294:42: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 294 | void clearSpacebasePlaceholder(void) { addlflags &= ~Varnode::spacebase_placeholder; } ///< Clear the stackpointer tracking mark | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:123:11: error: ‘intb’ does not name a type; did you mean ‘int’? 123 | virtual intb maxValue(void) const { intb res=0; res=~res; zero_extend(res,(endbit-startbit)); return res; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:76:3: error: ‘int4’ does not name a type; did you mean ‘int’? 76 | int4 intersect(const Cover &op2) const; ///< Characterize the intersection between \b this and another Cover. | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:711:16: error: ‘i’ was not declared in this scope 711 | for(int4 i=0;i &minlist,vector &maxlist) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:218:59: error: template argument 1 is invalid 218 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:218:59: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::clearReturnAddress()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:288:35: error: ‘flags’ was not declared in this scope 288 | void clearReturnAddress(void) { flags &= ~Varnode::return_address; } ///< Clear return address attribute | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::clearSpacebasePlaceholder()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:294:42: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 294 | void clearSpacebasePlaceholder(void) { addlflags &= ~Varnode::spacebase_placeholder; } ///< Clear the stackpointer tracking mark | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:77:3: error: ‘int4’ does not name a type; did you mean ‘int’? 77 | int4 intersectByBlock(int4 blk,const Cover &op2) const; ///< Characterize the intersection on a specific block | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:129:3: error: ‘intb’ does not name a type; did you mean ‘int’? 129 | intb val; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:132:21: error: expected ‘)’ before ‘v’ 132 | ConstantValue(intb v) { val = v; } | ~ ^~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:327:14: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 327 | base=-1; offset=0; cur_rightmost = -1; size = 0; } | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::doesDeadcode() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:403:12: error: ‘flags’ was not declared in this scope 403 | return ((flags & does_deadcode)!=0); | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:33:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 33 | uintm id; // Unique id across all symbols | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:229:11: error: ‘intb’ does not name a type; did you mean ‘int’? 229 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:133:11: error: ‘intb’ does not name a type; did you mean ‘int’? 133 | virtual intb getValue(ParserWalker &walker) const { return val; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:135:35: error: ‘intb’ has not been declared 135 | virtual TokenPattern genPattern(intb v) const { return TokenPattern(val==v); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::setWriteMask()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:299:29: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 299 | void setWriteMask(void) { addlflags |= Varnode::writemask; } ///< Mark \b this as not a true \e write when computing SSA form | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isHeritaged() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:395:12: error: ‘flags’ was not declared in this scope 395 | return ((flags & heritaged)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:78:29: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 78 | void intersectList(vector &listout,const Cover &op2,int4 level) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:78:33: error: template argument 1 is invalid 78 | void intersectList(vector &listout,const Cover &op2,int4 level) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:78:33: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:78:61: error: ‘int4’ has not been declared 78 | void intersectList(vector &listout,const Cover &op2,int4 level) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:79:34: error: ‘int4’ has not been declared 79 | bool contain(const PcodeOp *op,int4 max) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:34:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 34 | uintm scopeid; // Unique id of scope this symbol is in | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:230:11: error: ‘intb’ does not name a type; did you mean ‘int’? 230 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:136:11: error: ‘intb’ does not name a type; did you mean ‘int’? 136 | virtual intb minValue(void) const { return val; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::setPtrCheck()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:289:28: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 289 | void setPtrCheck(void) { addlflags |= Varnode::ptrcheck; } ///< Set \b this as checked for a constant symbol reference | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In constructor ‘PatternExpression::PatternExpression()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:62:29: error: ‘refcount’ was not declared in this scope 62 | PatternExpression(void) { refcount = 0; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:80:3: error: ‘int4’ does not name a type; did you mean ‘int’? 80 | int4 containVarnodeDef(const Varnode *vn) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:137:11: error: ‘intb’ does not name a type; did you mean ‘int’? 137 | virtual intb maxValue(void) const { return val; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:40:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 40 | uintm getId(void) const { return id; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::setWriteMask()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:299:29: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 299 | void setWriteMask(void) { addlflags |= Varnode::writemask; } ///< Mark \b this as not a true \e write when computing SSA form | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:238:11: error: ‘intb’ does not name a type; did you mean ‘int’? 238 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:58:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 58 | uintm id; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::clearWriteMask()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:300:31: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 300 | void clearWriteMask(void) { addlflags &= ~Varnode::writemask; } ///< Clear the mark indicating \b this is not a true write | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:60:30: error: ‘uintm’ has not been declared 60 | SymbolScope(SymbolScope *p,uintm i) { parent = p; id = i; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:239:11: error: ‘intb’ does not name a type; did you mean ‘int’? 239 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:88:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 88 | map::const_iterator begin(void) const { return cover.begin(); } ///< Get beginning of CoverBlocks | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:88:22: error: template argument 1 is invalid 88 | map::const_iterator begin(void) const { return cover.begin(); } ///< Get beginning of CoverBlocks | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:88:22: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:88:22: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::hasPhysical() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:411:12: error: ‘flags’ was not declared in this scope 411 | return ((flags & hasphysical) !=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:88:25: error: expected ‘;’ at end of member declaration 88 | map::const_iterator begin(void) const { return cover.begin(); } ///< Get beginning of CoverBlocks | ^~~~~~~~~~~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:88:40: error: ISO C++ forbids declaration of ‘begin’ with no type [-fpermissive] 88 | map::const_iterator begin(void) const { return cover.begin(); } ///< Get beginning of CoverBlocks | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::clearPtrCheck()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:290:30: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 290 | void clearPtrCheck(void) { addlflags &= ~Varnode::ptrcheck; } ///< Clear the pointer check mark on this Varnode | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:66:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 66 | uintm getId(void) const { return id; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:327:24: error: ‘cur_rightmost’ was not declared in this scope 327 | base=-1; offset=0; cur_rightmost = -1; size = 0; } | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘SleighSymbol::SleighSymbol(const string&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:37:47: error: ‘id’ was not declared in this scope; did you mean ‘void’? 37 | SleighSymbol(const string &nm) { name = nm; id = 0; } | ^~ | void /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::doesDeadcode() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:403:12: error: ‘flags’ was not declared in this scope 403 | return ((flags & does_deadcode)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:247:11: error: ‘intb’ does not name a type; did you mean ‘int’? 247 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In member function ‘virtual TokenPattern ConstantValue::genPattern(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:135:71: error: ‘val’ was not declared in this scope 135 | virtual TokenPattern genPattern(intb v) const { return TokenPattern(val==v); } | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::clearWriteMask()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:300:31: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 300 | void clearWriteMask(void) { addlflags &= ~Varnode::writemask; } ///< Clear the mark indicating \b this is not a true write | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In member function ‘void PatternExpression::layClaim()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:73:25: error: ‘refcount’ was not declared in this scope 73 | void layClaim(void) { refcount += 1; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:80:35: error: ‘intb’ has not been declared 80 | virtual TokenPattern genPattern(intb val) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:248:11: error: ‘intb’ does not name a type; did you mean ‘int’? 248 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::setAutoLiveHold()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:301:32: error: ‘flags’ was not declared in this scope 301 | void setAutoLiveHold(void) { flags |= Varnode::autolive_hold; } ///< Place temporary hold on dead code removal | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:89:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 89 | map::const_iterator end(void) const { return cover.end(); } ///< Get end of CoverBlocks | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:145:11: error: ‘intb’ does not name a type; did you mean ‘int’? 145 | virtual intb getValue(ParserWalker &walker) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:89:22: error: template argument 1 is invalid 89 | map::const_iterator end(void) const { return cover.end(); } ///< Get end of CoverBlocks | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:89:22: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:89:22: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc: In member function ‘bool ConstructTpl::addOp(OpTpl*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:752:9: error: ‘delayslot’ was not declared in this scope 752 | if (delayslot != 0) | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:89:25: error: expected ‘;’ at end of member declaration 89 | map::const_iterator end(void) const { return cover.end(); } ///< Get end of CoverBlocks | ^~~~~~~~~~~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:89:25: error: redeclaration of ‘int Cover::const_iterator’ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:88:25: note: previous declaration ‘int Cover::const_iterator’ 88 | map::const_iterator begin(void) const { return cover.begin(); } ///< Get beginning of CoverBlocks | ^~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:89:40: error: ISO C++ forbids declaration of ‘end’ with no type [-fpermissive] 89 | map::const_iterator end(void) const { return cover.end(); } ///< Get end of CoverBlocks | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:148:35: error: ‘intb’ has not been declared 148 | virtual TokenPattern genPattern(intb val) const { return TokenPattern(); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh: In member function ‘void Cover::clear()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:73:28: error: request for member ‘clear’ in ‘((Cover*)this)->Cover::cover’, which is of non-class type ‘int’ 73 | void clear(void) { cover.clear(); } ///< Clear \b this to an empty Cover | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh: In member function ‘int Cover::begin() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:88:73: error: request for member ‘begin’ in ‘((const Cover*)this)->Cover::cover’, which is of non-class type ‘const int’ 88 | map::const_iterator begin(void) const { return cover.begin(); } ///< Get beginning of CoverBlocks | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh: In member function ‘int Cover::end() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cover.hh:89:71: error: request for member ‘end’ in ‘((const Cover*)this)->Cover::cover’, which is of non-class type ‘const int’ 89 | map::const_iterator end(void) const { return cover.end(); } ///< Get end of CoverBlocks | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:327:44: error: ‘size’ was not declared in this scope 327 | base=-1; offset=0; cur_rightmost = -1; size = 0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::setPtrFlow()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:291:27: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 291 | void setPtrFlow(void) { addlflags |= Varnode::ptrflow; } ///< Set \b this as flowing to or from pointer | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:149:11: error: ‘intb’ does not name a type; did you mean ‘int’? 149 | virtual intb minValue(void) const { return (intb)0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:256:11: error: ‘intb’ does not name a type; did you mean ‘int’? 256 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:337:3: error: ‘int4’ does not name a type; did you mean ‘int’? 337 | int4 refcount; // Number of objects referencing this | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:150:11: error: ‘intb’ does not name a type; did you mean ‘int’? 150 | virtual intb maxValue(void) const { return (intb)0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:82:33: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 82 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:257:11: error: ‘intb’ does not name a type; did you mean ‘int’? 257 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:123:11: error: ‘uint4’ does not name a type; did you mean ‘uint’? 123 | mutable uint4 flags; ///< The collection of boolean attributes for this Varnode | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:82:37: error: template argument 1 is invalid 82 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:82:37: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isBigEndian() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:418:12: error: ‘flags’ was not declared in this scope 418 | return ((flags&big_endian)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::setAutoLiveHold()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:301:32: error: ‘flags’ was not declared in this scope 301 | void setAutoLiveHold(void) { flags |= Varnode::autolive_hold; } ///< Place temporary hold on dead code removal | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:124:3: error: ‘int4’ does not name a type; did you mean ‘int’? 124 | int4 size; ///< Size of the Varnode in bytes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::clearAutoLiveHold()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:302:34: error: ‘flags’ was not declared in this scope 302 | void clearAutoLiveHold(void) { flags &= ~Varnode::autolive_hold; } ///< Clear temporary hold on dead code removal | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::hasPhysical() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:411:12: error: ‘flags’ was not declared in this scope 411 | return ((flags & hasphysical) !=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:265:11: error: ‘intb’ does not name a type; did you mean ‘int’? 265 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:125:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 125 | uint4 create_index; ///< A unique one-up index assigned to Varnode at its creation | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:158:11: error: ‘intb’ does not name a type; did you mean ‘int’? 158 | virtual intb getValue(ParserWalker &walker) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::clearPtrFlow()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:292:29: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 292 | void clearPtrFlow(void) { addlflags &= ~Varnode::ptrflow; } ///< Indicate that this varnode is not flowing to or from pointer | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:161:35: error: ‘intb’ has not been declared 161 | virtual TokenPattern genPattern(intb val) const { return TokenPattern(); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:754:5: error: ‘delayslot’ was not declared in this scope 754 | delayslot = ot->getIn(0)->getOffset().getReal(); | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:754:43: error: ‘const class ConstTpl’ has no member named ‘getReal’ 754 | delayslot = ot->getIn(0)->getOffset().getReal(); | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:126:3: error: ‘int2’ does not name a type; did you mean ‘int’? 126 | int2 mergegroup; ///< Which group of forced merges does this Varnode belong to | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:266:11: error: ‘intb’ does not name a type; did you mean ‘int’? 266 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘SymbolScope::SymbolScope(SymbolScope*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:60:53: error: ‘id’ was not declared in this scope; did you mean ‘i’? 60 | SymbolScope(SymbolScope *p,uintm i) { parent = p; id = i; } | ^~ | i /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:162:11: error: ‘intb’ does not name a type; did you mean ‘int’? 162 | virtual intb minValue(void) const { return (intb)0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:82:55: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 82 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:82:59: error: template argument 1 is invalid 82 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:82:59: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:127:3: error: ‘uint2’ does not name a type; did you mean ‘uint’? 127 | uint2 addlflags; ///< Additional flags | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::clearAutoLiveHold()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:302:34: error: ‘flags’ was not declared in this scope 302 | void clearAutoLiveHold(void) { flags &= ~Varnode::autolive_hold; } ///< Clear temporary hold on dead code removal | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:163:11: error: ‘intb’ does not name a type; did you mean ‘int’? 163 | virtual intb maxValue(void) const { return (intb)0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::setUnsignedPrint()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:303:33: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 303 | void setUnsignedPrint(void) { addlflags |= Varnode::unsignedprint; } ///< Force \b this to be printed as unsigned | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:274:11: error: ‘intb’ does not name a type; did you mean ‘int’? 274 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In constructor ‘PatternEquation::PatternEquation()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:342:27: error: ‘refcount’ was not declared in this scope 342 | PatternEquation(void) { refcount = 0; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isReverseJustified() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:427:12: error: ‘flags’ was not declared in this scope 427 | return ((flags&reverse_justification)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:84:11: error: ‘intb’ does not name a type; did you mean ‘int’? 84 | virtual intb getSubValue(const vector &replace,int4 &listpos) const { return replace[listpos++]; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:275:11: error: ‘intb’ does not name a type; did you mean ‘int’? 275 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::setSpacebasePlaceholder()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:293:40: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 293 | void setSpacebasePlaceholder(void) { addlflags |= Varnode::spacebase_placeholder; } ///< Mark \b this as a special Varnode for tracking stackpointer values | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isBigEndian() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:418:12: error: ‘flags’ was not declared in this scope 418 | return ((flags&big_endian)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:171:3: error: ‘int4’ does not name a type; did you mean ‘int’? 171 | int4 index; // This is the defining field of expression | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:175:20: error: expected ‘)’ before ‘ind’ 175 | OperandValue(int4 ind,Constructor *c) { index = ind; ct = c; } | ~ ^~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:58:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 58 | uintm id; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:176:20: error: ‘int4’ has not been declared 176 | void changeIndex(int4 newind) { index = newind; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:60:30: error: ‘uintm’ has not been declared 60 | SymbolScope(SymbolScope *p,uintm i) { parent = p; id = i; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:85:11: error: ‘intb’ does not name a type; did you mean ‘int’? 85 | virtual intb minValue(void) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:179:35: error: ‘intb’ has not been declared 179 | virtual TokenPattern genPattern(intb val) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:757:5: error: ‘numlabels’ was not declared in this scope; did you mean ‘setNumLabels’? 757 | numlabels += 1; // Count labels | ^~~~~~~~~ | setNumLabels /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:283:11: error: ‘intb’ does not name a type; did you mean ‘int’? 283 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::setUnsignedPrint()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:303:33: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 303 | void setUnsignedPrint(void) { addlflags |= Varnode::unsignedprint; } ///< Force \b this to be printed as unsigned | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:86:11: error: ‘intb’ does not name a type; did you mean ‘int’? 86 | virtual intb maxValue(void) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:181:11: error: ‘intb’ does not name a type; did you mean ‘int’? 181 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:66:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 66 | uintm getId(void) const { return id; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::setStackStore()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:305:30: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 305 | void setStackStore(void) { addlflags |= Varnode::stack_store; } ///< Mark as produced by explicit CPUI_STORE | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:284:11: error: ‘intb’ does not name a type; did you mean ‘int’? 284 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:182:11: error: ‘intb’ does not name a type; did you mean ‘int’? 182 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::clearSpacebasePlaceholder()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:294:42: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 294 | void clearSpacebasePlaceholder(void) { addlflags &= ~Varnode::spacebase_placeholder; } ///< Clear the stackpointer tracking mark | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:183:11: error: ‘intb’ does not name a type; did you mean ‘int’? 183 | virtual intb minValue(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In member function ‘void PatternEquation::layClaim()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:347:25: error: ‘refcount’ was not declared in this scope 347 | void layClaim(void) { refcount += 1; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:184:11: error: ‘intb’ does not name a type; did you mean ‘int’? 184 | virtual intb maxValue(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isOverlay() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:431:12: error: ‘flags’ was not declared in this scope 431 | return ((flags&overlay)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:292:11: error: ‘intb’ does not name a type; did you mean ‘int’? 292 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc: In member function ‘bool ConstructTpl::addOpList(const std::vector&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:765:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 765 | for(int4 i=0;i &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::setStackStore()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:305:30: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 305 | void setStackStore(void) { addlflags |= Varnode::stack_store; } ///< Mark as produced by explicit CPUI_STORE | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:354:23: error: expected ‘)’ before ‘ind’ 354 | OperandEquation(int4 ind) { index = ind; } | ~ ^~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:74:26: error: ‘int4’ has not been declared 74 | SymbolScope *skipScope(int4 i) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:765:16: error: ‘i’ was not declared in this scope 765 | for(int4 i=0;i &check,AddrSpace *const_space) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:331:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 331 | uintm uniqid; ///< Counter for generating unique offsets | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:302:11: error: ‘intb’ does not name a type; did you mean ‘int’? 302 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::setLockedInput()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:306:31: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 306 | void setLockedInput(void) { addlflags |= Varnode::locked_input; } ///< Mark as existing input, even if unused | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:332:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 332 | uint4 create_index; ///< Number of varnodes created | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isOverlayBase() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:435:12: error: ‘flags’ was not declared in this scope 435 | return ((flags&overlaybase)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘SymbolScope::SymbolScope(SymbolScope*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:60:53: error: ‘id’ was not declared in this scope; did you mean ‘i’? 60 | SymbolScope(SymbolScope *p,uintm i) { parent = p; id = i; } | ^~ | i /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:338:53: error: ‘uintm’ has not been declared 338 | VarnodeBank(AddrSpaceManager *m,AddrSpace *uspace,uintm ubase); ///< Construct the container | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In member function ‘virtual TokenPattern OperandValue::genMinPattern(const std::vector&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:180:89: error: no match for ‘operator[]’ (operand types are ‘const std::vector’ and ‘’) 180 | virtual TokenPattern genMinPattern(const vector &ops) const { return ops[index]; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:310:11: error: ‘intb’ does not name a type; did you mean ‘int’? 310 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isOverlay() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:431:12: error: ‘flags’ was not declared in this scope 431 | return ((flags&overlay)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:341:3: error: ‘int4’ does not name a type; did you mean ‘int’? 341 | int4 numVarnodes(void) const { return loc_tree.size(); } ///< Get number of Varnodes \b this contains | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::clearWriteMask()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:300:31: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 300 | void clearWriteMask(void) { addlflags &= ~Varnode::writemask; } ///< Clear the mark indicating \b this is not a true write | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:342:19: error: ‘int4’ has not been declared 342 | Varnode *create(int4 s,const Address &m,Datatype *ct); ///< Create a \e free Varnode object | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:343:22: error: ‘int4’ has not been declared 343 | Varnode *createDef(int4 s,const Address &m,Datatype *ct,PcodeOp *op); ///< Create a Varnode as the output of a PcodeOp | ^~~~ In file included from /usr/include/c++/11.2.0/vector:67, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:31, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:16: /usr/include/c++/11.2.0/bits/stl_vector.h:1043:7: note: candidate: ‘std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) [with _Tp = TokenPattern; _Alloc = std::allocator; std::vector<_Tp, _Alloc>::reference = TokenPattern&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]’ 1043 | operator[](size_type __n) _GLIBCXX_NOEXCEPT | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:344:25: error: ‘int4’ has not been declared 344 | Varnode *createUnique(int4 s,Datatype *ct); ///< Create a temporary varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:345:28: error: ‘int4’ has not been declared 345 | Varnode *createDefUnique(int4 s,Datatype *ct,PcodeOp *op); ///< Create a temporary Varnode as output of a PcodeOp | ^~~~ /usr/include/c++/11.2.0/bits/stl_vector.h:1043:28: note: no known conversion for argument 1 from ‘’ to ‘std::vector::size_type’ {aka ‘long unsigned int’} 1043 | operator[](size_type __n) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~^~~ /usr/include/c++/11.2.0/bits/stl_vector.h:1061:7: note: candidate: ‘std::vector<_Tp, _Alloc>::const_reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) const [with _Tp = TokenPattern; _Alloc = std::allocator; std::vector<_Tp, _Alloc>::const_reference = const TokenPattern&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]’ 1061 | operator[](size_type __n) const _GLIBCXX_NOEXCEPT | ^~~~~~~~ /usr/include/c++/11.2.0/bits/stl_vector.h:1061:28: note: no known conversion for argument 1 from ‘’ to ‘std::vector::size_type’ {aka ‘long unsigned int’} 1061 | operator[](size_type __n) const _GLIBCXX_NOEXCEPT | ~~~~~~~~~~^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:330:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 330 | uintm uniqbase; ///< Base for unique addresses | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:351:17: error: ‘int4’ has not been declared 351 | Varnode *find(int4 s,const Address &loc,const Address &pc,uintm uniq=~((uintm)0)) const; ///< Find a Varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:311:11: error: ‘intb’ does not name a type; did you mean ‘int’? 311 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:351:61: error: ‘uintm’ has not been declared 351 | Varnode *find(int4 s,const Address &loc,const Address &pc,uintm uniq=~((uintm)0)) const; ///< Find a Varnode | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:352:22: error: ‘int4’ has not been declared 352 | Varnode *findInput(int4 s,const Address &loc) const; ///< Find an input Varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:353:29: error: ‘int4’ has not been declared 353 | Varnode *findCoveredInput(int4 s,const Address &loc) const; ///< Find an input Varnode contained within this range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:354:30: error: ‘int4’ has not been declared 354 | Varnode *findCoveringInput(int4 s,const Address &loc) const; ///< Find an input Varnode covering a range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:83:23: error: ‘minValue’ was not declared in this scope; did you mean ‘listValues’? 83 | minlist.push_back(minValue()); maxlist.push_back(maxValue()); } | ^~~~~~~~ | listValues /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:83:44: error: request for member ‘push_back’ in ‘maxlist’, which is of non-class type ‘int’ 83 | minlist.push_back(minValue()); maxlist.push_back(maxValue()); } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:331:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 331 | uintm uniqid; ///< Counter for generating unique offsets | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh:19, from src/decompile/cpp/pcodeparse.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:33:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 33 | uintm id; // Unique id across all symbols | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:814:51: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 814 | void ConstructTpl::changeHandleIndex(const vector &handmap) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:355:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 355 | uint4 getCreateIndex(void) const { return create_index; } ///< Get the next creation index to be assigned | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:814:55: error: template argument 1 is invalid 814 | void ConstructTpl::changeHandleIndex(const vector &handmap) | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:814:55: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:362:42: error: ‘int4’ has not been declared 362 | VarnodeLocSet::const_iterator beginLoc(int4 s,const Address &addr) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:363:40: error: ‘int4’ has not been declared 363 | VarnodeLocSet::const_iterator endLoc(int4 s,const Address &addr) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:319:11: error: ‘intb’ does not name a type; did you mean ‘int’? 319 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:364:42: error: ‘int4’ has not been declared 364 | VarnodeLocSet::const_iterator beginLoc(int4 s,const Address &addr,uint4 fl) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:364:69: error: ‘uint4’ has not been declared 364 | VarnodeLocSet::const_iterator beginLoc(int4 s,const Address &addr,uint4 fl) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:365:40: error: ‘int4’ has not been declared 365 | VarnodeLocSet::const_iterator endLoc(int4 s,const Address &addr,uint4 fl) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:365:67: error: ‘uint4’ has not been declared 365 | VarnodeLocSet::const_iterator endLoc(int4 s,const Address &addr,uint4 fl) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:366:42: error: ‘int4’ has not been declared 366 | VarnodeLocSet::const_iterator beginLoc(int4 s,const Address &addr,const Address &pc,uintm uniq) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:366:87: error: ‘uintm’ has not been declared 366 | VarnodeLocSet::const_iterator beginLoc(int4 s,const Address &addr,const Address &pc,uintm uniq) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:367:40: error: ‘int4’ has not been declared 367 | VarnodeLocSet::const_iterator endLoc(int4 s,const Address &addr,const Address &pc,uintm uniq) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:367:85: error: ‘uintm’ has not been declared 367 | VarnodeLocSet::const_iterator endLoc(int4 s,const Address &addr,const Address &pc,uintm uniq) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:332:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 332 | uint4 create_index; ///< Number of varnodes created | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:370:42: error: ‘uint4’ has not been declared 370 | VarnodeDefSet::const_iterator beginDef(uint4 fl) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:371:40: error: ‘uint4’ has not been declared 371 | VarnodeDefSet::const_iterator endDef(uint4 fl) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:34:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 34 | uintm scopeid; // Unique id of scope this symbol is in | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:338:53: error: ‘uintm’ has not been declared 338 | VarnodeBank(AddrSpaceManager *m,AddrSpace *uspace,uintm ubase); ///< Construct the container | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:372:42: error: ‘uint4’ has not been declared 372 | VarnodeDefSet::const_iterator beginDef(uint4 fl,const Address &addr) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:373:40: error: ‘uint4’ has not been declared 373 | VarnodeDefSet::const_iterator endDef(uint4 fl,const Address &addr) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:320:11: error: ‘intb’ does not name a type; did you mean ‘int’? 320 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::setAutoLiveHold()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:301:32: error: ‘flags’ was not declared in this scope 301 | void setAutoLiveHold(void) { flags |= Varnode::autolive_hold; } ///< Place temporary hold on dead code removal | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isOtherSpace() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:439:12: error: ‘flags’ was not declared in this scope 439 | return ((flags&is_otherspace)!=0); | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:20, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:201:33: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 201 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:201:37: error: template argument 1 is invalid 201 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:201:37: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:341:3: error: ‘int4’ does not name a type; did you mean ‘int’? 341 | int4 numVarnodes(void) const { return loc_tree.size(); } ///< Get number of Varnodes \b this contains | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:342:19: error: ‘int4’ has not been declared 342 | Varnode *create(int4 s,const Address &m,Datatype *ct); ///< Create a \e free Varnode object | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:40:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 40 | uintm getId(void) const { return id; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:343:22: error: ‘int4’ has not been declared 343 | Varnode *createDef(int4 s,const Address &m,Datatype *ct,PcodeOp *op); ///< Create a Varnode as the output of a PcodeOp | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:344:25: error: ‘int4’ has not been declared 344 | Varnode *createUnique(int4 s,Datatype *ct); ///< Create a temporary varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:345:28: error: ‘int4’ has not been declared 345 | Varnode *createDefUnique(int4 s,Datatype *ct,PcodeOp *op); ///< Create a temporary Varnode as output of a PcodeOp | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:351:17: error: ‘int4’ has not been declared 351 | Varnode *find(int4 s,const Address &loc,const Address &pc,uintm uniq=~((uintm)0)) const; ///< Find a Varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:351:61: error: ‘uintm’ has not been declared 351 | Varnode *find(int4 s,const Address &loc,const Address &pc,uintm uniq=~((uintm)0)) const; ///< Find a Varnode | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isOverlayBase() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:435:12: error: ‘flags’ was not declared in this scope 435 | return ((flags&overlaybase)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:352:22: error: ‘int4’ has not been declared 352 | Varnode *findInput(int4 s,const Address &loc) const; ///< Find an input Varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:353:29: error: ‘int4’ has not been declared 353 | Varnode *findCoveredInput(int4 s,const Address &loc) const; ///< Find an input Varnode contained within this range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:354:30: error: ‘int4’ has not been declared 354 | Varnode *findCoveringInput(int4 s,const Address &loc) const; ///< Find an input Varnode covering a range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:328:3: error: ‘int4’ does not name a type; did you mean ‘int’? 328 | int4 base; // Current base operand (as we traverse the pattern equation from left to right) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:329:3: error: ‘int4’ does not name a type; did you mean ‘int’? 329 | int4 offset; // Bytes we have traversed from the LEFT edge of the current base | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc: In member function ‘void ConstructTpl::changeHandleIndex(const int&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:823:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 823 | int4 index = op->getIn(0)->getOffset().getReal(); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:824:22: error: invalid types ‘const int[]’ for array subscript 824 | index = handmap[index]; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:355:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 355 | uint4 getCreateIndex(void) const { return create_index; } ///< Get the next creation index to be assigned | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:83:54: error: ‘maxValue’ was not declared in this scope 83 | minlist.push_back(minValue()); maxlist.push_back(maxValue()); } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:825:30: error: cannot convert ‘’ to ‘int’ 825 | op->getIn(0)->setOffset(index); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:362:42: error: ‘int4’ has not been declared 362 | VarnodeLocSet::const_iterator beginLoc(int4 s,const Address &addr) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:351:75: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 351 | Varnode *find(int4 s,const Address &loc,const Address &pc,uintm uniq=~((uintm)0)) const; ///< Find a Varnode | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:94:24: note: initializing argument 1 of ‘void VarnodeTpl::setOffset(int)’ 94 | void setOffset(uintb constVal) { offset = ConstTpl(ConstTpl::real,constVal); } | ~~~~~~^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:351:81: error: expected ‘)’ before numeric constant 351 | Varnode *find(int4 s,const Address &loc,const Address &pc,uintm uniq=~((uintm)0)) const; ///< Find a Varnode | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:363:40: error: ‘int4’ has not been declared 363 | VarnodeLocSet::const_iterator endLoc(int4 s,const Address &addr) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:351:73: note: to match this ‘(’ 351 | Varnode *find(int4 s,const Address &loc,const Address &pc,uintm uniq=~((uintm)0)) const; ///< Find a Varnode | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:364:42: error: ‘int4’ has not been declared 364 | VarnodeLocSet::const_iterator beginLoc(int4 s,const Address &addr,uint4 fl) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:364:69: error: ‘uint4’ has not been declared 364 | VarnodeLocSet::const_iterator beginLoc(int4 s,const Address &addr,uint4 fl) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:365:40: error: ‘int4’ has not been declared 365 | VarnodeLocSet::const_iterator endLoc(int4 s,const Address &addr,uint4 fl) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:201:55: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 201 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:365:67: error: ‘uint4’ has not been declared 365 | VarnodeLocSet::const_iterator endLoc(int4 s,const Address &addr,uint4 fl) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:201:59: error: template argument 1 is invalid 201 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:201:59: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:366:42: error: ‘int4’ has not been declared 366 | VarnodeLocSet::const_iterator beginLoc(int4 s,const Address &addr,const Address &pc,uintm uniq) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:366:87: error: ‘uintm’ has not been declared 366 | VarnodeLocSet::const_iterator beginLoc(int4 s,const Address &addr,const Address &pc,uintm uniq) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:330:3: error: ‘int4’ does not name a type; did you mean ‘int’? 330 | int4 cur_rightmost; // (resulting) rightmost operand in our pattern | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:834:44: error: ‘int4’ has not been declared 834 | void ConstructTpl::setInput(VarnodeTpl *vn,int4 index,int4 slot) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:367:40: error: ‘int4’ has not been declared 367 | VarnodeLocSet::const_iterator endLoc(int4 s,const Address &addr,const Address &pc,uintm uniq) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:834:55: error: ‘int4’ has not been declared 834 | void ConstructTpl::setInput(VarnodeTpl *vn,int4 index,int4 slot) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:367:85: error: ‘uintm’ has not been declared 367 | VarnodeLocSet::const_iterator endLoc(int4 s,const Address &addr,const Address &pc,uintm uniq) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:117:3: error: ‘int4’ does not name a type; did you mean ‘int’? 117 | int4 templateid; // Index into the ConstructTpl array | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:370:42: error: ‘uint4’ has not been declared 370 | VarnodeDefSet::const_iterator beginDef(uint4 fl) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:371:40: error: ‘uint4’ has not been declared 371 | VarnodeDefSet::const_iterator endDef(uint4 fl) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:372:42: error: ‘uint4’ has not been declared 372 | VarnodeDefSet::const_iterator beginDef(uint4 fl,const Address &addr) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:373:40: error: ‘uint4’ has not been declared 373 | VarnodeDefSet::const_iterator endDef(uint4 fl,const Address &addr) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:845:45: error: ‘int4’ has not been declared 845 | void ConstructTpl::setOutput(VarnodeTpl *vn,int4 index) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:93:3: error: ‘int4’ does not name a type; did you mean ‘int’? 93 | int4 bitstart,bitend; // Bits within the token, 0 bit is LEAST significant | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::clearAutoLiveHold()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:302:34: error: ‘flags’ was not declared in this scope 302 | void clearAutoLiveHold(void) { flags &= ~Varnode::autolive_hold; } ///< Clear temporary hold on dead code removal | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:331:3: error: ‘int4’ does not name a type; did you mean ‘int’? 331 | int4 size; // (resulting) bytes traversed from the LEFT edge of the rightmost | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘SleighSymbol::SleighSymbol(const string&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:37:47: error: ‘id’ was not declared in this scope; did you mean ‘void’? 37 | SleighSymbol(const string &nm) { name = nm; id = 0; } | ^~ | void /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:118:3: error: ‘int4’ does not name a type; did you mean ‘int’? 118 | int4 define_count; // Number of definitions of this named section | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:94:3: error: ‘int4’ does not name a type; did you mean ‘int’? 94 | int4 bytestart,byteend; // Bytes to read to get value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:119:3: error: ‘int4’ does not name a type; did you mean ‘int’? 119 | int4 ref_count; // Number of references to this named section | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:121:34: error: ‘int4’ has not been declared 121 | SectionSymbol(const string &nm,int4 id) : SleighSymbol(nm) { templateid=id; define_count=0; ref_count=0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:74:26: error: ‘int4’ has not been declared 74 | SymbolScope *skipScope(int4 i) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isTruncated() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:445:12: error: ‘flags’ was not declared in this scope 445 | return ((flags&truncated)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:89:45: error: ‘int4’ has not been declared 89 | SleighSymbol *findSymbol(const string &nm,int4 skip) const { return findSymbolInternal(skipScope(skip),nm); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:91:28: error: ‘uintm’ has not been declared 91 | SleighSymbol *findSymbol(uintm id) const { return symbollist[id]; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:143:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 143 | uintb consumed; ///< What parts of this varnode are used | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:95:3: error: ‘int4’ does not name a type; did you mean ‘int’? 95 | int4 shift; // Amount to shift to align value (bitstart % 8) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:122:3: error: ‘int4’ does not name a type; did you mean ‘int’? 122 | int4 getTemplateId(void) const { return templateid; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:98:31: error: ‘int4’ has not been declared 98 | TokenField(Token *tk,bool s,int4 bstart,int4 bend); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:382:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 382 | uint4 flags; ///< Flags associated with the node | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:98:43: error: ‘int4’ has not been declared 98 | TokenField(Token *tk,bool s,int4 bstart,int4 bend); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:383:33: error: ‘uint4’ has not been declared 383 | TraverseNode(const Varnode *v,uint4 f) { vn = v; flags = f; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isOtherSpace() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:439:12: error: ‘flags’ was not declared in this scope 439 | return ((flags&is_otherspace)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:125:3: error: ‘int4’ does not name a type; did you mean ‘int’? 125 | int4 getDefineCount(void) const { return define_count; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:99:11: error: ‘intb’ does not name a type; did you mean ‘int’? 99 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:351:75: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 351 | Varnode *find(int4 s,const Address &loc,const Address &pc,uintm uniq=~((uintm)0)) const; ///< Find a Varnode | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:856:43: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 856 | void ConstructTpl::deleteOps(const vector &indices) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:144:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 144 | uintb nzm; ///< Which bits do we know are zero | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:351:81: error: expected ‘)’ before numeric constant 351 | Varnode *find(int4 s,const Address &loc,const Address &pc,uintm uniq=~((uintm)0)) const; ///< Find a Varnode | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:856:47: error: template argument 1 is invalid 856 | void ConstructTpl::deleteOps(const vector &indices) | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:856:47: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:351:73: note: to match this ‘(’ 351 | Varnode *find(int4 s,const Address &loc,const Address &pc,uintm uniq=~((uintm)0)) const; ///< Find a Varnode | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:101:35: error: ‘intb’ has not been declared 101 | virtual TokenPattern genPattern(intb val) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:151:17: error: ‘uint4’ has not been declared 151 | void setFlags(uint4 fl) const; ///< Internal method for setting boolean attributes | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:152:19: error: ‘uint4’ has not been declared 152 | void clearFlags(uint4 fl) const; ///< Internal method for clearing boolean attributes | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:126:3: error: ‘int4’ does not name a type; did you mean ‘int’? 126 | int4 getRefCount(void) const { return ref_count; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:159:46: error: ‘int4’ has not been declared 159 | void setSymbolReference(SymbolEntry *entry,int4 off); ///< Attach a Symbol reference to \b this | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:165:33: error: ‘int2’ has not been declared 165 | void setHigh(HighVariable *tv,int2 mg) { high = tv; mergegroup = mg; } ///< Set the HighVariable owning this Varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In constructor ‘OperandResolve::OperandResolve(std::vector&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:327:5: error: ‘base’ was not declared in this scope 327 | base=-1; offset=0; cur_rightmost = -1; size = 0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:218:33: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 218 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:218:37: error: template argument 1 is invalid 218 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::setUnsignedPrint()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:303:33: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 303 | void setUnsignedPrint(void) { addlflags |= Varnode::unsignedprint; } ///< Force \b this to be printed as unsigned | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:218:37: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:102:11: error: ‘intb’ does not name a type; did you mean ‘int’? 102 | virtual intb minValue(void) const { return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:169:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 169 | uintb getOffset(void) const { return loc.getOffset(); } ///< Get the offset (within its AddrSpace) where this is stored | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:103:11: error: ‘intb’ does not name a type; did you mean ‘int’? 103 | virtual intb maxValue(void) const { intb res=0; res=~res; zero_extend(res,bitend-bitstart); return res; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:170:3: error: ‘int4’ does not name a type; did you mean ‘int’? 170 | int4 getSize(void) const { return size; } ///< Get the number of bytes this Varnode stores | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In constructor ‘TraverseNode::TraverseNode(const Varnode*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:383:52: error: ‘flags’ was not declared in this scope 383 | TraverseNode(const Varnode *v,uint4 f) { vn = v; flags = f; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc: In member function ‘void ConstructTpl::deleteOps(const int&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:859:7: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 859 | for(uint4 i=0;i &minlist,vector &maxlist) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:171:3: error: ‘int2’ does not name a type; did you mean ‘int’? 171 | int2 getMergeGroup(void) const { return mergegroup; } ///< Get the \e forced \e merge group of this Varnode | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:218:59: error: template argument 1 is invalid 218 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:218:59: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::hasNearPointers() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:449:12: error: ‘flags’ was not declared in this scope 449 | return ((flags&has_nearpointers)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:109:3: error: ‘int4’ does not name a type; did you mean ‘int’? 109 | int4 startbit,endbit; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:327:14: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 327 | base=-1; offset=0; cur_rightmost = -1; size = 0; } | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::setStackStore()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:305:30: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 305 | void setStackStore(void) { addlflags |= Varnode::stack_store; } ///< Mark as produced by explicit CPUI_STORE | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:456:8: error: ‘int4’ does not name a type; did you mean ‘int’? 456 | inline int4 AddrSpace::numSpacebase(void) const { | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:176:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 176 | uint4 getFlags(void) const { return flags; } ///< Get all the boolean attributes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isTruncated() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:445:12: error: ‘flags’ was not declared in this scope 445 | return ((flags&truncated)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:464:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 464 | inline const VarnodeData &AddrSpace::getSpacebase(int4 i) const { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:110:3: error: ‘int4’ does not name a type; did you mean ‘int’? 110 | int4 startbyte,endbyte; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:464:27: error: ‘const VarnodeData& AddrSpace::getSpacebase’ is not a static data member of ‘class AddrSpace’ 464 | inline const VarnodeData &AddrSpace::getSpacebase(int4 i) const { | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:859:17: error: ‘i’ was not declared in this scope 859 | for(uint4 i=0;i &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:116:3: error: ‘int4’ does not name a type; did you mean ‘int’? 116 | int4 getStartBit(void) const { return startbit; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:186:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 186 | uintb getConsume(void) const { return consumed; } ///< Get mask of consumed bits | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:187:19: error: ‘uintb’ has not been declared 187 | void setConsume(uintb val) { consumed = val; } ///< Set the mask of consumed bits (used by dead-code algorithm) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In constructor ‘TraverseNode::TraverseNode(const Varnode*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:383:52: error: ‘flags’ was not declared in this scope 383 | TraverseNode(const Varnode *v,uint4 f) { vn = v; flags = f; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:117:3: error: ‘int4’ does not name a type; did you mean ‘int’? 117 | int4 getEndBit(void) const { return endbit; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:196:3: error: ‘int4’ does not name a type; did you mean ‘int’? 196 | int4 printRawNoMarkup(ostream &s) const; ///< Print a simple identifier for the Varnode | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:200:15: error: expected ‘)’ before ‘s’ 200 | Varnode(int4 s,const Address &m,Datatype *dt); ///< Construct a \e free Varnode | ~ ^~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:58:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 58 | uintm id; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:60:30: error: ‘uintm’ has not been declared 60 | SymbolScope(SymbolScope *p,uintm i) { parent = p; id = i; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:863:3: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 863 | uint4 poscur = 0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::setLockedInput()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:306:31: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 306 | void setLockedInput(void) { addlflags |= Varnode::locked_input; } ///< Mark as existing input, even if unused | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:864:12: error: expected ‘;’ before ‘i’ 864 | for(uint4 i=0;i &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:122:11: error: ‘intb’ does not name a type; did you mean ‘int’? 122 | virtual intb minValue(void) const { return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:66:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 66 | uintm getId(void) const { return id; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:464:51: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 464 | inline const VarnodeData &AddrSpace::getSpacebase(int4 i) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:118:3: error: ‘int4’ does not name a type; did you mean ‘int’? 118 | int4 define_count; // Number of definitions of this named section | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:472:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 472 | inline const VarnodeData &AddrSpace::getSpacebaseFull(int4 i) const { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:61:11: error: ‘uint4’ does not name a type; did you mean ‘uint’? 61 | mutable uint4 highflags; ///< Dirtiness flags | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:472:27: error: ‘const VarnodeData& AddrSpace::getSpacebaseFull’ is not a static data member of ‘class AddrSpace’ 472 | inline const VarnodeData &AddrSpace::getSpacebaseFull(int4 i) const { | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:330:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 330 | uintm uniqbase; ///< Base for unique addresses | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:208:3: error: ‘int4’ does not name a type; did you mean ‘int’? 208 | int4 characterizeOverlap(const Varnode &op) const; ///< Return 0, 1, or 2 for "no overlap", "partial overlap", "identical storage" | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:123:11: error: ‘intb’ does not name a type; did you mean ‘int’? 123 | virtual intb maxValue(void) const { intb res=0; res=~res; zero_extend(res,(endbit-startbit)); return res; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::hasNearPointers() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:449:12: error: ‘flags’ was not declared in this scope 449 | return ((flags&has_nearpointers)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:119:3: error: ‘int4’ does not name a type; did you mean ‘int’? 119 | int4 ref_count; // Number of references to this named section | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:327:24: error: ‘cur_rightmost’ was not declared in this scope 327 | base=-1; offset=0; cur_rightmost = -1; size = 0; } | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:121:34: error: ‘int4’ has not been declared 121 | SectionSymbol(const string &nm,int4 id) : SleighSymbol(nm) { templateid=id; define_count=0; ref_count=0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:864:17: error: ‘i’ was not declared in this scope 864 | for(uint4 i=0;i &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:129:3: error: ‘intb’ does not name a type; did you mean ‘int’? 129 | intb val; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:67:11: error: ‘int4’ does not name a type; did you mean ‘int’? 67 | mutable int4 symboloffset; ///< -1=perfect symbol match >=0, offset | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:464:27: error: ‘const VarnodeData& AddrSpace::getSpacebase’ is not a static data member of ‘class AddrSpace’ 464 | inline const VarnodeData &AddrSpace::getSpacebase(int4 i) const { | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:132:21: error: expected ‘)’ before ‘v’ 132 | ConstantValue(intb v) { val = v; } | ~ ^~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:121:79: error: ‘define_count’ was not declared in this scope 121 | SectionSymbol(const string &nm,int4 id) : SleighSymbol(nm) { templateid=id; define_count=0; ref_count=0; } | ^~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:332:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 332 | uint4 create_index; ///< Number of varnodes created | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:125:3: error: ‘int4’ does not name a type; did you mean ‘int’? 125 | int4 getDefineCount(void) const { return define_count; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:338:53: error: ‘uintm’ has not been declared 338 | VarnodeBank(AddrSpaceManager *m,AddrSpace *uspace,uintm ubase); ///< Construct the container | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:211:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 211 | uintb getNZMask(void) const { return nzm; } ///< Get the mask of bits within \b this that are known to be zero | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:60:3: error: ‘int4’ does not name a type; did you mean ‘int’? 60 | int4 numMergeClasses; ///< Number of different speculative merge classes in \b this | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:68:3: error: ‘int4’ does not name a type; did you mean ‘int’? 68 | int4 instanceIndex(const Varnode *vn) const; ///< Find the index of a specific Varnode member | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:133:11: error: ‘intb’ does not name a type; did you mean ‘int’? 133 | virtual intb getValue(ParserWalker &walker) const { return val; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:135:35: error: ‘intb’ has not been declared 135 | virtual TokenPattern genPattern(intb v) const { return TokenPattern(val==v); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:81:39: error: ‘int4’ has not been declared 81 | void setSymbolReference(Symbol *sym,int4 off); ///< Attach a reference to a Symbol to \b this | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:126:3: error: ‘int4’ does not name a type; did you mean ‘int’? 126 | int4 getRefCount(void) const { return ref_count; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:256:11: error: ‘intb’ does not name a type; did you mean ‘int’? 256 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:212:3: error: ‘int4’ does not name a type; did you mean ‘int’? 212 | int4 termOrder(const Varnode *op) const; ///< Compare two Varnodes based on their term order | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:213:36: error: ‘int4’ has not been declared 213 | void printRawHeritage(ostream &s,int4 depth) const; ///< Print a simple SSA subtree rooted at \b this | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:341:3: error: ‘int4’ does not name a type; did you mean ‘int’? 341 | int4 numVarnodes(void) const { return loc_tree.size(); } ///< Get number of Varnodes \b this contains | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:61:11: error: ‘uint4’ does not name a type; did you mean ‘uint’? 61 | mutable uint4 highflags; ///< Dirtiness flags | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:342:19: error: ‘int4’ has not been declared 342 | Varnode *create(int4 s,const Address &m,Datatype *ct); ///< Create a \e free Varnode object | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:343:22: error: ‘int4’ has not been declared 343 | Varnode *createDef(int4 s,const Address &m,Datatype *ct,PcodeOp *op); ///< Create a Varnode as the output of a PcodeOp | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:472:55: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 472 | inline const VarnodeData &AddrSpace::getSpacebaseFull(int4 i) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:136:11: error: ‘intb’ does not name a type; did you mean ‘int’? 136 | virtual intb minValue(void) const { return val; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:344:25: error: ‘int4’ has not been declared 344 | Varnode *createUnique(int4 s,Datatype *ct); ///< Create a temporary varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:327:44: error: ‘size’ was not declared in this scope 327 | base=-1; offset=0; cur_rightmost = -1; size = 0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:345:28: error: ‘int4’ has not been declared 345 | Varnode *createDefUnique(int4 s,Datatype *ct,PcodeOp *op); ///< Create a temporary Varnode as output of a PcodeOp | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:265:22: error: ‘uintb’ has not been declared 265 | bool constantMatch(uintb val) const { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:351:17: error: ‘int4’ has not been declared 351 | Varnode *find(int4 s,const Address &loc,const Address &pc,uintm uniq=~((uintm)0)) const; ///< Find a Varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:351:61: error: ‘uintm’ has not been declared 351 | Varnode *find(int4 s,const Address &loc,const Address &pc,uintm uniq=~((uintm)0)) const; ///< Find a Varnode | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:257:11: error: ‘intb’ does not name a type; did you mean ‘int’? 257 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:352:22: error: ‘int4’ has not been declared 352 | Varnode *findInput(int4 s,const Address &loc) const; ///< Find an input Varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:353:29: error: ‘int4’ has not been declared 353 | Varnode *findCoveredInput(int4 s,const Address &loc) const; ///< Find an input Varnode contained within this range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:91:3: error: ‘int4’ does not name a type; did you mean ‘int’? 91 | int4 getSymbolOffset(void) const { return symboloffset; } ///< Get the Symbol offset associated with \b this | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:354:30: error: ‘int4’ has not been declared 354 | Varnode *findCoveringInput(int4 s,const Address &loc) const; ///< Find an input Varnode covering a range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:62:11: error: ‘uint4’ does not name a type; did you mean ‘uint’? 62 | mutable uint4 flags; ///< Boolean properties inherited from Varnode members | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:137:11: error: ‘intb’ does not name a type; did you mean ‘int’? 137 | virtual intb maxValue(void) const { return val; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:867:11: error: ‘poscur’ was not declared in this scope 867 | vec[poscur] = op; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:270:3: error: ‘int4’ does not name a type; did you mean ‘int’? 270 | int4 isConstantExtended(uintb &val) const; ///< Is \b this an (extended) constant | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:337:3: error: ‘int4’ does not name a type; did you mean ‘int’? 337 | int4 refcount; // Number of objects referencing this | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:92:3: error: ‘int4’ does not name a type; did you mean ‘int’? 92 | int4 numInstances(void) const { return inst.size(); } ///< Get the number of member Varnodes \b this has | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:496:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 496 | inline uintb AddrSpace::addressToByte(uintb val,uint4 ws) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:93:24: error: ‘int4’ has not been declared 93 | Varnode *getInstance(int4 i) const { return inst[i]; } ///< Get the i-th member Varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:67:11: error: ‘int4’ does not name a type; did you mean ‘int’? 67 | mutable int4 symboloffset; ///< -1=perfect symbol match >=0, offset | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:355:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 355 | uint4 getCreateIndex(void) const { return create_index; } ///< Get the next creation index to be assigned | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:464:51: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 464 | inline const VarnodeData &AddrSpace::getSpacebase(int4 i) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:362:42: error: ‘int4’ has not been declared 362 | VarnodeLocSet::const_iterator beginLoc(int4 s,const Address &addr) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:265:11: error: ‘intb’ does not name a type; did you mean ‘int’? 265 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:363:40: error: ‘int4’ has not been declared 363 | VarnodeLocSet::const_iterator endLoc(int4 s,const Address &addr) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:472:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 472 | inline const VarnodeData &AddrSpace::getSpacebaseFull(int4 i) const { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:364:42: error: ‘int4’ has not been declared 364 | VarnodeLocSet::const_iterator beginLoc(int4 s,const Address &addr,uint4 fl) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:472:27: error: ‘const VarnodeData& AddrSpace::getSpacebaseFull’ is not a static data member of ‘class AddrSpace’ 472 | inline const VarnodeData &AddrSpace::getSpacebaseFull(int4 i) const { | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:364:69: error: ‘uint4’ has not been declared 364 | VarnodeLocSet::const_iterator beginLoc(int4 s,const Address &addr,uint4 fl) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:365:40: error: ‘int4’ has not been declared 365 | VarnodeLocSet::const_iterator endLoc(int4 s,const Address &addr,uint4 fl) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:365:67: error: ‘uint4’ has not been declared 365 | VarnodeLocSet::const_iterator endLoc(int4 s,const Address &addr,uint4 fl) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:505:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 505 | inline uintb AddrSpace::byteToAddress(uintb val,uint4 ws) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:68:3: error: ‘int4’ does not name a type; did you mean ‘int’? 68 | int4 instanceIndex(const Varnode *vn) const; ///< Find the index of a specific Varnode member | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:366:42: error: ‘int4’ has not been declared 366 | VarnodeLocSet::const_iterator beginLoc(int4 s,const Address &addr,const Address &pc,uintm uniq) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:366:87: error: ‘uintm’ has not been declared 366 | VarnodeLocSet::const_iterator beginLoc(int4 s,const Address &addr,const Address &pc,uintm uniq) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:367:40: error: ‘int4’ has not been declared 367 | VarnodeLocSet::const_iterator endLoc(int4 s,const Address &addr,const Address &pc,uintm uniq) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:367:85: error: ‘uintm’ has not been declared 367 | VarnodeLocSet::const_iterator endLoc(int4 s,const Address &addr,const Address &pc,uintm uniq) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:370:42: error: ‘uint4’ has not been declared 370 | VarnodeDefSet::const_iterator beginDef(uint4 fl) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:371:40: error: ‘uint4’ has not been declared 371 | VarnodeDefSet::const_iterator endDef(uint4 fl) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:81:39: error: ‘int4’ has not been declared 81 | void setSymbolReference(Symbol *sym,int4 off); ///< Attach a reference to a Symbol to \b this | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:107:3: error: ‘int4’ does not name a type; did you mean ‘int’? 107 | int4 getNumMergeClasses(void) const { return numMergeClasses; } ///< Get the number of speculative merges for \b this | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:372:42: error: ‘uint4’ has not been declared 372 | VarnodeDefSet::const_iterator beginDef(uint4 fl,const Address &addr) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:373:40: error: ‘uint4’ has not been declared 373 | VarnodeDefSet::const_iterator endDef(uint4 fl,const Address &addr) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:266:11: error: ‘intb’ does not name a type; did you mean ‘int’? 266 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:514:8: error: ‘int4’ does not name a type; did you mean ‘int’? 514 | inline int4 AddrSpace::addressToByteInt(int4 val,uint4 ws) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:121:95: error: ‘ref_count’ was not declared in this scope 121 | SectionSymbol(const string &nm,int4 id) : SleighSymbol(nm) { templateid=id; define_count=0; ref_count=0; } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘SymbolScope::SymbolScope(SymbolScope*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:60:53: error: ‘id’ was not declared in this scope; did you mean ‘i’? 60 | SymbolScope(SymbolScope *p,uintm i) { parent = p; id = i; } | ^~ | i /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:91:3: error: ‘int4’ does not name a type; did you mean ‘int’? 91 | int4 getSymbolOffset(void) const { return symboloffset; } ///< Get the Symbol offset associated with \b this | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:523:8: error: ‘int4’ does not name a type; did you mean ‘int’? 523 | inline int4 AddrSpace::byteToAddressInt(int4 val,uint4 ws) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:140:10: error: ‘int4’ does not name a type; did you mean ‘int’? 140 | static int4 markExpression(Varnode *vn,vector &highList); ///< Mark and collect variables in expression | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:92:3: error: ‘int4’ does not name a type; did you mean ‘int’? 92 | int4 numInstances(void) const { return inst.size(); } ///< Get the number of member Varnodes \b this has | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In member function ‘virtual TokenPattern ConstantValue::genPattern(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:135:71: error: ‘val’ was not declared in this scope 135 | virtual TokenPattern genPattern(intb v) const { return TokenPattern(val==v); } | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:93:24: error: ‘int4’ has not been declared 93 | Varnode *getInstance(int4 i) const { return inst[i]; } ///< Get the i-th member Varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:274:11: error: ‘intb’ does not name a type; did you mean ‘int’? 274 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In static member function ‘static bool AddrSpace::compareByIndex(const AddrSpace*, const AddrSpace*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:532:14: error: ‘const class AddrSpace’ has no member named ‘index’ 532 | return (a->index < b->index); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:871:22: error: ‘poscur’ was not declared in this scope 871 | while(vec.size() > poscur) | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:532:25: error: ‘const class AddrSpace’ has no member named ‘index’ 532 | return (a->index < b->index); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:875:39: error: ‘int4’ has not been declared 875 | void ConstructTpl::saveXml(ostream &s,int4 sectionid) const | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘SectionSymbol::SectionSymbol(const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:121:64: error: ‘templateid’ was not declared in this scope 121 | SectionSymbol(const string &nm,int4 id) : SleighSymbol(nm) { templateid=id; define_count=0; ref_count=0; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:275:11: error: ‘intb’ does not name a type; did you mean ‘int’? 275 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:107:3: error: ‘int4’ does not name a type; did you mean ‘int’? 107 | int4 getNumMergeClasses(void) const { return numMergeClasses; } ///< Get the number of speculative merges for \b this | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:145:11: error: ‘intb’ does not name a type; did you mean ‘int’? 145 | virtual intb getValue(ParserWalker &walker) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:148:35: error: ‘intb’ has not been declared 148 | virtual TokenPattern genPattern(intb val) const { return TokenPattern(); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:472:55: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 472 | inline const VarnodeData &AddrSpace::getSpacebaseFull(int4 i) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:351:75: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 351 | Varnode *find(int4 s,const Address &loc,const Address &pc,uintm uniq=~((uintm)0)) const; ///< Find a Varnode | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:49:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 49 | uintb offset; ///< Offset (in bytes) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:351:81: error: expected ‘)’ before numeric constant 351 | Varnode *find(int4 s,const Address &loc,const Address &pc,uintm uniq=~((uintm)0)) const; ///< Find a Varnode | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:351:73: note: to match this ‘(’ 351 | Varnode *find(int4 s,const Address &loc,const Address &pc,uintm uniq=~((uintm)0)) const; ///< Find a Varnode | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:58:25: error: ‘uintb’ has not been declared 58 | Address(AddrSpace *id,uintb off); ///< Construct an address with a space/offset pair | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:149:11: error: ‘intb’ does not name a type; did you mean ‘int’? 149 | virtual intb minValue(void) const { return (intb)0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:140:10: error: ‘int4’ does not name a type; did you mean ‘int’? 140 | static int4 markExpression(Varnode *vn,vector &highList); ///< Mark and collect variables in expression | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:283:11: error: ‘intb’ does not name a type; did you mean ‘int’? 283 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In constructor ‘PatternEquation::PatternEquation()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:342:27: error: ‘refcount’ was not declared in this scope 342 | PatternEquation(void) { refcount = 0; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:150:11: error: ‘intb’ does not name a type; did you mean ‘int’? 150 | virtual intb maxValue(void) const { return (intb)0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:496:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 496 | inline uintb AddrSpace::addressToByte(uintb val,uint4 ws) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:284:11: error: ‘intb’ does not name a type; did you mean ‘int’? 284 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:62:3: error: ‘int4’ does not name a type; did you mean ‘int’? 62 | int4 getAddrSize(void) const; ///< Get the number of bytes in the address | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:505:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 505 | inline uintb AddrSpace::byteToAddress(uintb val,uint4 ws) { | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::setHigh(HighVariable*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:165:55: error: ‘mergegroup’ was not declared in this scope 165 | void setHigh(HighVariable *tv,int2 mg) { high = tv; mergegroup = mg; } ///< Set the HighVariable owning this Varnode | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:65:3: error: ‘int4’ does not name a type; did you mean ‘int’? 65 | int4 read(const string &s); ///< Read in the address from a string | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:292:11: error: ‘intb’ does not name a type; did you mean ‘int’? 292 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:514:8: error: ‘int4’ does not name a type; did you mean ‘int’? 514 | inline int4 AddrSpace::addressToByteInt(int4 val,uint4 ws) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:382:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 382 | uint4 flags; ///< Flags associated with the node | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:383:33: error: ‘uint4’ has not been declared 383 | TraverseNode(const Varnode *v,uint4 f) { vn = v; flags = f; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:158:11: error: ‘intb’ does not name a type; did you mean ‘int’? 158 | virtual intb getValue(ParserWalker &walker) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:161:35: error: ‘intb’ has not been declared 161 | virtual TokenPattern genPattern(intb val) const { return TokenPattern(); } | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘void HighVariable::setCopyIn1() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:73:33: error: ‘highflags’ was not declared in this scope 73 | void setCopyIn1(void) const { highflags |= copy_in1; } ///< Mark the existence of one COPY into \b this | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:293:11: error: ‘intb’ does not name a type; did you mean ‘int’? 293 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void SectionSymbol::incrementDefineCount()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:123:37: error: ‘define_count’ was not declared in this scope 123 | void incrementDefineCount(void) { define_count += 1; } | ^~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:523:8: error: ‘int4’ does not name a type; did you mean ‘int’? 523 | inline int4 AddrSpace::byteToAddressInt(int4 val,uint4 ws) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:67:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 67 | uintb getOffset(void) const; ///< Get the address offset | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:162:11: error: ‘intb’ does not name a type; did you mean ‘int’? 162 | virtual intb minValue(void) const { return (intb)0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In static member function ‘static bool AddrSpace::compareByIndex(const AddrSpace*, const AddrSpace*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:532:14: error: ‘const class AddrSpace’ has no member named ‘index’ 532 | return (a->index < b->index); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:75:21: error: ‘int4’ has not been declared 75 | Address operator+(int4 off) const; ///< Increment address by a number of bytes | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:532:25: error: ‘const class AddrSpace’ has no member named ‘index’ 532 | return (a->index < b->index); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:76:21: error: ‘int4’ has not been declared 76 | Address operator-(int4 off) const; ///< Decrement address by a number of bytes | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:78:20: error: ‘int4’ has not been declared 78 | bool containedBy(int4 sz,const Address &op2,int4 sz2) const; ///< Determine if \e op2 range contains \b this range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:78:47: error: ‘int4’ has not been declared 78 | bool containedBy(int4 sz,const Address &op2,int4 sz2) const; ///< Determine if \e op2 range contains \b this range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc: In member function ‘void ConstructTpl::saveXml(std::ostream&, int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:881:7: error: ‘delayslot’ was not declared in this scope 881 | if (delayslot != 0) | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:301:11: error: ‘intb’ does not name a type; did you mean ‘int’? 301 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:163:11: error: ‘intb’ does not name a type; did you mean ‘int’? 163 | virtual intb maxValue(void) const { return (intb)0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:121:79: error: ‘define_count’ was not declared in this scope 121 | SectionSymbol(const string &nm,int4 id) : SleighSymbol(nm) { templateid=id; define_count=0; ref_count=0; } | ^~~~~~~~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘void HighVariable::setCopyIn1() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:73:33: error: ‘highflags’ was not declared in this scope 73 | void setCopyIn1(void) const { highflags |= copy_in1; } ///< Mark the existence of one COPY into \b this | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:302:11: error: ‘intb’ does not name a type; did you mean ‘int’? 302 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:49:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 49 | uintb offset; ///< Offset (in bytes) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:79:3: error: ‘int4’ does not name a type; did you mean ‘int’? 79 | int4 justifiedContain(int4 sz,const Address &op2,int4 sz2,bool forceleft) const; ///< Determine if \e op2 is the least significant part of \e this. | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:58:25: error: ‘uintb’ has not been declared 58 | Address(AddrSpace *id,uintb off); ///< Construct an address with a space/offset pair | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In member function ‘void PatternEquation::layClaim()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:347:25: error: ‘refcount’ was not declared in this scope 347 | void layClaim(void) { refcount += 1; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In constructor ‘TraverseNode::TraverseNode(const Varnode*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:383:52: error: ‘flags’ was not declared in this scope 383 | TraverseNode(const Varnode *v,uint4 f) { vn = v; flags = f; } | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:80:3: error: ‘int4’ does not name a type; did you mean ‘int’? 80 | int4 overlap(int4 skip,const Address &op,int4 size) const; ///< Determine how two address ranges overlap | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:81:21: error: ‘int4’ has not been declared 81 | bool isContiguous(int4 sz,const Address &loaddr,int4 losz) const; ///< Does \e this form a contigous range with \e loaddr | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:81:51: error: ‘int4’ has not been declared 81 | bool isContiguous(int4 sz,const Address &loaddr,int4 losz) const; ///< Does \e this form a contigous range with \e loaddr | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:171:3: error: ‘int4’ does not name a type; did you mean ‘int’? 171 | int4 index; // This is the defining field of expression | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:83:20: error: ‘int4’ has not been declared 83 | void renormalize(int4 size); ///< Make sure there is a backing JoinRecord if \b this is in the \e join space | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:74:26: error: ‘int4’ has not been declared 74 | SymbolScope *skipScope(int4 i) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:175:20: error: expected ‘)’ before ‘ind’ 175 | OperandValue(int4 ind,Constructor *c) { index = ind; ct = c; } | ~ ^~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:310:11: error: ‘intb’ does not name a type; did you mean ‘int’? 310 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:62:3: error: ‘int4’ does not name a type; did you mean ‘int’? 62 | int4 getAddrSize(void) const; ///< Get the number of bytes in the address | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:176:20: error: ‘int4’ has not been declared 176 | void changeIndex(int4 newind) { index = newind; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:86:27: error: ‘int4’ has not been declared 86 | void saveXml(ostream &s,int4 size) const; ///< Save this and a size to a stream as an XML tag | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:179:35: error: ‘intb’ has not been declared 179 | virtual TokenPattern genPattern(intb val) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:352:3: error: ‘int4’ does not name a type; did you mean ‘int’? 352 | int4 index; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:92:78: error: ‘int4’ has not been declared 92 | static Address restoreXml(const Element *el,const AddrSpaceManager *manage,int4 &size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:354:23: error: expected ‘)’ before ‘ind’ 354 | OperandEquation(int4 ind) { index = ind; } | ~ ^~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:89:45: error: ‘int4’ has not been declared 89 | SleighSymbol *findSymbol(const string &nm,int4 skip) const { return findSymbolInternal(skipScope(skip),nm); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:91:28: error: ‘uintm’ has not been declared 91 | SleighSymbol *findSymbol(uintm id) const { return symbollist[id]; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:311:11: error: ‘intb’ does not name a type; did you mean ‘int’? 311 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:181:11: error: ‘intb’ does not name a type; did you mean ‘int’? 181 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:65:3: error: ‘int4’ does not name a type; did you mean ‘int’? 65 | int4 read(const string &s); ///< Read in the address from a string | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘void HighVariable::setCopyIn2() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:74:33: error: ‘highflags’ was not declared in this scope 74 | void setCopyIn2(void) const { highflags |= copy_in2; } ///< Mark the existence of two COPYs into \b this | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void SectionSymbol::incrementRefCount()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:124:34: error: ‘ref_count’ was not declared in this scope 124 | void incrementRefCount(void) { ref_count += 1; } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:113:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 113 | uintm uniq; ///< Number to guarantee uniqueness | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:182:11: error: ‘intb’ does not name a type; did you mean ‘int’? 182 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:319:11: error: ‘intb’ does not name a type; did you mean ‘int’? 319 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:67:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 67 | uintb getOffset(void) const; ///< Get the address offset | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:883:7: error: ‘numlabels’ was not declared in this scope; did you mean ‘setNumLabels’? 883 | if (numlabels != 0) | ^~~~~~~~~ | setNumLabels /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:183:11: error: ‘intb’ does not name a type; did you mean ‘int’? 183 | virtual intb minValue(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:121:95: error: ‘ref_count’ was not declared in this scope 121 | SectionSymbol(const string &nm,int4 id) : SleighSymbol(nm) { templateid=id; define_count=0; ref_count=0; } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:75:21: error: ‘int4’ has not been declared 75 | Address operator+(int4 off) const; ///< Increment address by a number of bytes | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:76:21: error: ‘int4’ has not been declared 76 | Address operator-(int4 off) const; ///< Decrement address by a number of bytes | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:320:11: error: ‘intb’ does not name a type; did you mean ‘int’? 320 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:114:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 114 | uintm order; ///< Number for order comparisons within a block | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:132:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 132 | uint4 index; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:78:20: error: ‘int4’ has not been declared 78 | bool containedBy(int4 sz,const Address &op2,int4 sz2) const; ///< Determine if \e op2 range contains \b this range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:78:47: error: ‘int4’ has not been declared 78 | bool containedBy(int4 sz,const Address &op2,int4 sz2) const; ///< Determine if \e op2 range contains \b this range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:136:17: error: ‘uint4’ has not been declared 136 | void setIndex(uint4 ind) { index = ind; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:120:27: error: ‘uintm’ has not been declared 120 | SeqNum(const Address &a,uintm b) : pc(a) { uniq = b; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:184:11: error: ‘intb’ does not name a type; did you mean ‘int’? 184 | virtual intb maxValue(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘void HighVariable::setCopyIn2() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:74:33: error: ‘highflags’ was not declared in this scope 74 | void setCopyIn2(void) const { highflags |= copy_in2; } ///< Mark the existence of two COPYs into \b this | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In member function ‘void OperandValue::changeIndex(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:176:43: error: overloaded function with no contextual type information 176 | void changeIndex(int4 newind) { index = newind; } | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:137:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 137 | uint4 getIndex(void) const { return index; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:79:3: error: ‘int4’ does not name a type; did you mean ‘int’? 79 | int4 justifiedContain(int4 sz,const Address &op2,int4 sz2,bool forceleft) const; ///< Determine if \e op2 is the least significant part of \e this. | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::setConsume(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:187:32: error: ‘consumed’ was not declared in this scope 187 | void setConsume(uintb val) { consumed = val; } ///< Set the mask of consumed bits (used by dead-code algorithm) | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:129:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 129 | uintm getTime(void) const { return uniq; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:328:3: error: ‘int4’ does not name a type; did you mean ‘int’? 328 | int4 base; // Current base operand (as we traverse the pattern equation from left to right) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘UserOpSymbol::UserOpSymbol(const string&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:135:63: error: overloaded function with no contextual type information 135 | UserOpSymbol(const string &nm) : SleighSymbol(nm) { index = 0; } | ^ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:60:3: error: ‘int4’ does not name a type; did you mean ‘int’? 60 | int4 numMergeClasses; ///< Number of different speculative merge classes in \b this | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void UserOpSymbol::setIndex(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:136:38: error: overloaded function with no contextual type information 136 | void setIndex(uint4 ind) { index = ind; } | ^~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:80:3: error: ‘int4’ does not name a type; did you mean ‘int’? 80 | int4 overlap(int4 skip,const Address &op,int4 size) const; ///< Determine how two address ranges overlap | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:81:21: error: ‘int4’ has not been declared 81 | bool isContiguous(int4 sz,const Address &loaddr,int4 losz) const; ///< Does \e this form a contigous range with \e loaddr | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:81:51: error: ‘int4’ has not been declared 81 | bool isContiguous(int4 sz,const Address &loaddr,int4 losz) const; ///< Does \e this form a contigous range with \e loaddr | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:132:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 132 | uintm getOrder(void) const { return order; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:135:17: error: ‘uintm’ has not been declared 135 | void setOrder(uintm ord) { order = ord; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:329:3: error: ‘int4’ does not name a type; did you mean ‘int’? 329 | int4 offset; // Bytes we have traversed from the LEFT edge of the current base | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:83:20: error: ‘int4’ has not been declared 83 | void renormalize(int4 size); ///< Make sure there is a backing JoinRecord if \b this is in the \e join space | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:86:27: error: ‘int4’ has not been declared 86 | void saveXml(ostream &s,int4 size) const; ///< Save this and a size to a stream as an XML tag | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:92:78: error: ‘int4’ has not been declared 92 | static Address restoreXml(const Element *el,const AddrSpaceManager *manage,int4 &size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:61:11: error: ‘uint4’ does not name a type; did you mean ‘uint’? 61 | mutable uint4 highflags; ///< Dirtiness flags | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:153:11: error: ‘int4’ does not name a type; did you mean ‘int’? 153 | virtual int4 getSize(void) const { return 0; } // Size out of context | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:890:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 890 | for(int4 i=0;i=0, offset | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:890:16: error: ‘i’ was not declared in this scope 890 | for(int4 i=0;i &results) const {} | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:155:47: error: template argument 1 is invalid 155 | virtual void collectLocalValues(vector &results) const {} | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:155:47: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In member function ‘virtual TokenPattern OperandValue::genMinPattern(const std::vector&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:180:89: error: no match for ‘operator[]’ (operand types are ‘const std::vector’ and ‘’) 180 | virtual TokenPattern genMinPattern(const vector &ops) const { return ops[index]; } | ^ make[2]: *** [ghidra/CMakeFiles/ghidra_decompiler_base.dir/build.make:76: ghidra/CMakeFiles/ghidra_decompiler_base.dir/__/ghidra-native/src/decompiler/space.cc.o] Error 1 /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:68:3: error: ‘int4’ does not name a type; did you mean ‘int’? 68 | int4 instanceIndex(const Varnode *vn) const; ///< Find the index of a specific Varnode member | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:40:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 40 | uintm getId(void) const { return id; } | ^~~~~ | uint make[2]: *** Waiting for unfinished jobs.... /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:81:39: error: ‘int4’ has not been declared 81 | void setSymbolReference(Symbol *sym,int4 off); ///< Attach a reference to a Symbol to \b this | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:895:1: error: ‘int4’ does not name a type; did you mean ‘int’? 895 | int4 ConstructTpl::restoreXml(const Element *el,const AddrSpaceManager *manage) | ^~~~ | int In file included from /usr/include/c++/11.2.0/vector:67, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:31, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:16: /usr/include/c++/11.2.0/bits/stl_vector.h:1043:7: note: candidate: ‘std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) [with _Tp = TokenPattern; _Alloc = std::allocator; std::vector<_Tp, _Alloc>::reference = TokenPattern&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]’ 1043 | operator[](size_type __n) _GLIBCXX_NOEXCEPT | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:935:50: error: ‘int4’ has not been declared 935 | void PcodeBuilder::build(ConstructTpl *construct,int4 secnum) | ^~~~ /usr/include/c++/11.2.0/bits/stl_vector.h:1043:28: note: no known conversion for argument 1 from ‘’ to ‘std::vector::size_type’ {aka ‘long unsigned int’} 1043 | operator[](size_type __n) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~^~~ /usr/include/c++/11.2.0/bits/stl_vector.h:1061:7: note: candidate: ‘std::vector<_Tp, _Alloc>::const_reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) const [with _Tp = TokenPattern; _Alloc = std::allocator; std::vector<_Tp, _Alloc>::const_reference = const TokenPattern&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]’ 1061 | operator[](size_type __n) const _GLIBCXX_NOEXCEPT | ^~~~~~~~ /usr/include/c++/11.2.0/bits/stl_vector.h:1061:28: note: no known conversion for argument 1 from ‘’ to ‘std::vector::size_type’ {aka ‘long unsigned int’} 1061 | operator[](size_type __n) const _GLIBCXX_NOEXCEPT | ~~~~~~~~~~^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:117:3: error: ‘int4’ does not name a type; did you mean ‘int’? 117 | int4 templateid; // Index into the ConstructTpl array | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In constructor ‘OperandResolve::OperandResolve(std::vector&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:327:5: error: ‘base’ was not declared in this scope 327 | base=-1; offset=0; cur_rightmost = -1; size = 0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:129:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 129 | uintm getTime(void) const { return uniq; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In constructor ‘SeqNum::SeqNum(const Address&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:120:46: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 120 | SeqNum(const Address &a,uintm b) : pc(a) { uniq = b; } | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:91:3: error: ‘int4’ does not name a type; did you mean ‘int’? 91 | int4 getSymbolOffset(void) const { return symboloffset; } ///< Get the Symbol offset associated with \b this | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:118:3: error: ‘int4’ does not name a type; did you mean ‘int’? 118 | int4 define_count; // Number of definitions of this named section | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isConsumeVacuous() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:189:48: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 189 | bool isConsumeVacuous(void) const { return ((addlflags&Varnode::vacconsume)!=0); } ///< Get marker used by dead-code algorithm | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:132:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 132 | uintm getOrder(void) const { return order; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:135:17: error: ‘uintm’ has not been declared 135 | void setOrder(uintm ord) { order = ord; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:119:3: error: ‘int4’ does not name a type; did you mean ‘int’? 119 | int4 ref_count; // Number of references to this named section | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:92:3: error: ‘int4’ does not name a type; did you mean ‘int’? 92 | int4 numInstances(void) const { return inst.size(); } ///< Get the number of member Varnodes \b this has | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:93:24: error: ‘int4’ has not been declared 93 | Varnode *getInstance(int4 i) const { return inst[i]; } ///< Get the i-th member Varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:121:34: error: ‘int4’ has not been declared 121 | SectionSymbol(const string &nm,int4 id) : SleighSymbol(nm) { templateid=id; define_count=0; ref_count=0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘bool HighVariable::hasCopyIn1() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:76:42: error: ‘highflags’ was not declared in this scope 76 | bool hasCopyIn1(void) const { return ((highflags©_in1)!=0); } ///< Is there at least one COPY into \b this | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:122:3: error: ‘int4’ does not name a type; did you mean ‘int’? 122 | int4 getTemplateId(void) const { return templateid; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘SleighSymbol::SleighSymbol(const string&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:37:47: error: ‘id’ was not declared in this scope; did you mean ‘void’? 37 | SleighSymbol(const string &nm) { name = nm; id = 0; } | ^~ | void In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:107:3: error: ‘int4’ does not name a type; did you mean ‘int’? 107 | int4 getNumMergeClasses(void) const { return numMergeClasses; } ///< Get the number of speculative merges for \b this | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc: In member function ‘void PcodeBuilder::build(ConstructTpl*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:941:3: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 941 | uint4 oldbase = labelbase; // Recursively store old labelbase | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:20, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:201:33: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 201 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:201:37: error: template argument 1 is invalid 201 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:201:37: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:327:14: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 327 | base=-1; offset=0; cur_rightmost = -1; size = 0; } | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:125:3: error: ‘int4’ does not name a type; did you mean ‘int’? 125 | int4 getDefineCount(void) const { return define_count; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void SectionSymbol::incrementRefCount()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:124:34: error: ‘ref_count’ was not declared in this scope 124 | void incrementRefCount(void) { ref_count += 1; } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘bool HighVariable::hasCopyIn1() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:76:42: error: ‘highflags’ was not declared in this scope 76 | bool hasCopyIn1(void) const { return ((highflags©_in1)!=0); } ///< Is there at least one COPY into \b this | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:126:3: error: ‘int4’ does not name a type; did you mean ‘int’? 126 | int4 getRefCount(void) const { return ref_count; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:140:10: error: ‘int4’ does not name a type; did you mean ‘int’? 140 | static int4 markExpression(Varnode *vn,vector &highList); ///< Mark and collect variables in expression | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::setConsumeList()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:190:31: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 190 | void setConsumeList(void) { addlflags |= Varnode::lisconsume; } ///< Set marker used by dead-code algorithm | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:132:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 132 | uint4 index; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In copy constructor ‘SeqNum::SeqNum(const SeqNum&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:123:44: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 123 | SeqNum(const SeqNum &op2) : pc(op2.pc) { uniq = op2.uniq; } | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:136:17: error: ‘uint4’ has not been declared 136 | void setIndex(uint4 ind) { index = ind; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:123:55: error: ‘const class SeqNum’ has no member named ‘uniq’ 123 | SeqNum(const SeqNum &op2) : pc(op2.pc) { uniq = op2.uniq; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:201:55: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 201 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:201:59: error: template argument 1 is invalid 201 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:201:59: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:137:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 137 | uint4 getIndex(void) const { return index; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In constructor ‘SeqNum::SeqNum(const Address&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:120:46: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 120 | SeqNum(const Address &a,uintm b) : pc(a) { uniq = b; } | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘UserOpSymbol::UserOpSymbol(const string&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:135:63: error: overloaded function with no contextual type information 135 | UserOpSymbol(const string &nm) : SleighSymbol(nm) { index = 0; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:215:10: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 215 | vector valuetable; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:215:14: error: template argument 1 is invalid 215 | vector valuetable; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:215:14: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void UserOpSymbol::setIndex(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:136:38: error: overloaded function with no contextual type information 136 | void setIndex(uint4 ind) { index = ind; } | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘bool HighVariable::hasCopyIn2() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:77:42: error: ‘highflags’ was not declared in this scope 77 | bool hasCopyIn2(void) const { return ((highflags©_in2)!=0); } ///< Is there at least two COPYs into \b this | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:942:3: error: ‘labelbase’ was not declared in this scope 942 | labelbase = labelcount; // Set the newbase | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:153:11: error: ‘int4’ does not name a type; did you mean ‘int’? 153 | virtual int4 getSize(void) const { return 0; } // Size out of context | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::setConsumeVacuous()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:191:34: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 191 | void setConsumeVacuous(void) { addlflags |= Varnode::vacconsume; } ///< Set marker used by dead-code algorithm | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:327:24: error: ‘cur_rightmost’ was not declared in this scope 327 | base=-1; offset=0; cur_rightmost = -1; size = 0; } | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘bool HighVariable::hasCopyIn2() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:77:42: error: ‘highflags’ was not declared in this scope 77 | bool hasCopyIn2(void) const { return ((highflags©_in2)!=0); } ///< Is there at least two COPYs into \b this | ^~~~~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘void HighVariable::setCopyIn1() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:73:33: error: ‘highflags’ was not declared in this scope 73 | void setCopyIn1(void) const { highflags |= copy_in1; } ///< Mark the existence of one COPY into \b this | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:220:65: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 220 | ValueMapSymbol(const string &nm,PatternValue *pv,const vector &vt) : ValueSymbol(nm,pv) { valuetable=vt; checkTableFill(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:220:69: error: template argument 1 is invalid 220 | ValueMapSymbol(const string &nm,PatternValue *pv,const vector &vt) : ValueSymbol(nm,pv) { valuetable=vt; checkTableFill(); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:220:69: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘SectionSymbol::SectionSymbol(const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:121:64: error: ‘templateid’ was not declared in this scope 121 | SectionSymbol(const string &nm,int4 id) : SleighSymbol(nm) { templateid=id; define_count=0; ref_count=0; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:218:33: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 218 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:218:37: error: template argument 1 is invalid 218 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:218:37: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘void SeqNum::setOrder(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:135:30: error: ‘order’ was not declared in this scope; did you mean ‘ord’? 135 | void setOrder(uintm ord) { order = ord; } | ^~~~~ | ord /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:155:42: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 155 | virtual void collectLocalValues(vector &results) const {} | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:155:47: error: template argument 1 is invalid 155 | virtual void collectLocalValues(vector &results) const {} | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:155:47: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In copy constructor ‘SeqNum::SeqNum(const SeqNum&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:123:44: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 123 | SeqNum(const SeqNum &op2) : pc(op2.pc) { uniq = op2.uniq; } | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::clearConsumeList()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:192:33: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 192 | void clearConsumeList(void) { addlflags &= ~Varnode::lisconsume; } ///< Clear marker used by dead-code algorithm | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:123:55: error: ‘const class SeqNum’ has no member named ‘uniq’ 123 | SeqNum(const SeqNum &op2) : pc(op2.pc) { uniq = op2.uniq; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:327:44: error: ‘size’ was not declared in this scope 327 | base=-1; offset=0; cur_rightmost = -1; size = 0; } | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:250:50: error: ‘uintb’ has not been declared 250 | VarnodeSymbol(const string &nm,AddrSpace *base,uintb offset,int4 size); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘void HighVariable::flagsDirty() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:82:33: error: ‘highflags’ was not declared in this scope 82 | void flagsDirty(void) const { highflags |= flagsdirty | namerepdirty; } ///< Mark the boolean properties as \e dirty | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:250:63: error: ‘int4’ has not been declared 250 | VarnodeSymbol(const string &nm,AddrSpace *base,uintb offset,int4 size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:942:15: error: ‘labelcount’ was not declared in this scope 942 | labelbase = labelcount; // Set the newbase | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:218:55: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 218 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:218:59: error: template argument 1 is invalid 218 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:218:59: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:943:28: error: ‘class ConstructTpl’ has no member named ‘numLabels’; did you mean ‘setNumLabels’? 943 | labelcount += construct->numLabels(); // Add labels from this template | ^~~~~~~~~ | setNumLabels /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:58:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 58 | uintm id; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:337:3: error: ‘int4’ does not name a type; did you mean ‘int’? 337 | int4 refcount; // Number of objects referencing this | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:60:30: error: ‘uintm’ has not been declared 60 | SymbolScope(SymbolScope *p,uintm i) { parent = p; id = i; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:255:11: error: ‘int4’ does not name a type; did you mean ‘int’? 255 | virtual int4 getSize(void) const { return fix.size; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘void HighVariable::flagsDirty() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:82:33: error: ‘highflags’ was not declared in this scope 82 | void flagsDirty(void) const { highflags |= flagsdirty | namerepdirty; } ///< Mark the boolean properties as \e dirty | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:66:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 66 | uintm getId(void) const { return id; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘void HighVariable::setCopyIn2() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:74:33: error: ‘highflags’ was not declared in this scope 74 | void setCopyIn2(void) const { highflags |= copy_in2; } ///< Mark the existence of two COPYs into \b this | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::clearConsumeVacuous()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:193:36: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 193 | void clearConsumeVacuous(void) { addlflags &= ~Varnode::vacconsume; } ///< Clear marker used by dead-code algorithm | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool SeqNum::operator==(const SeqNum&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:138:54: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 138 | bool operator==(const SeqNum &op2) const { return (uniq == op2.uniq); } | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:229:11: error: ‘intb’ does not name a type; did you mean ‘int’? 229 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:138:66: error: ‘const class SeqNum’ has no member named ‘uniq’ 138 | bool operator==(const SeqNum &op2) const { return (uniq == op2.uniq); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:121:79: error: ‘define_count’ was not declared in this scope 121 | SectionSymbol(const string &nm,int4 id) : SleighSymbol(nm) { templateid=id; define_count=0; ref_count=0; } | ^~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:230:11: error: ‘intb’ does not name a type; did you mean ‘int’? 230 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:258:42: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 258 | virtual void collectLocalValues(vector &results) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:258:47: error: template argument 1 is invalid 258 | virtual void collectLocalValues(vector &results) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:258:47: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘void SeqNum::setOrder(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:135:30: error: ‘order’ was not declared in this scope; did you mean ‘ord’? 135 | void setOrder(uintm ord) { order = ord; } | ^~~~~ | ord /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘void HighVariable::coverDirty() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:83:33: error: ‘highflags’ was not declared in this scope 83 | void coverDirty(void) const { highflags |= coverdirty; } ///< Mark the cover as \e dirty | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:238:11: error: ‘intb’ does not name a type; did you mean ‘int’? 238 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.cc:969:15: error: ‘oldbase’ was not declared in this scope 969 | labelbase = oldbase; // Restore old labelbase | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:215:10: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 215 | vector valuetable; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:215:14: error: template argument 1 is invalid 215 | vector valuetable; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:215:14: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isAnnotation() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:214:44: error: ‘flags’ was not declared in this scope 214 | bool isAnnotation(void) const { return ((flags&Varnode::annotation)!=0); } ///< Is \b this an annotation? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:239:11: error: ‘intb’ does not name a type; did you mean ‘int’? 239 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In constructor ‘PatternEquation::PatternEquation()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:342:27: error: ‘refcount’ was not declared in this scope 342 | PatternEquation(void) { refcount = 0; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:267:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 267 | uint4 bitoffset; // least significant bit of range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool SeqNum::operator!=(const SeqNum&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:141:54: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 141 | bool operator!=(const SeqNum &op2) const { return (uniq != op2.uniq); } | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:141:66: error: ‘const class SeqNum’ has no member named ‘uniq’ 141 | bool operator!=(const SeqNum &op2) const { return (uniq != op2.uniq); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘void HighVariable::clearCopyIns() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:75:35: error: ‘highflags’ was not declared in this scope 75 | void clearCopyIns(void) const { highflags &= ~(copy_in1 | copy_in2); } ///< Clear marks indicating COPYs into \b this | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:268:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 268 | uint4 numbits; // number of bits in the range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘void HighVariable::coverDirty() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:83:33: error: ‘highflags’ was not declared in this scope 83 | void coverDirty(void) const { highflags |= coverdirty; } ///< Mark the cover as \e dirty | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:271:54: error: ‘uint4’ has not been declared 271 | BitrangeSymbol(const string &nm,VarnodeSymbol *sym,uint4 bitoff,uint4 num) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:271:67: error: ‘uint4’ has not been declared 271 | BitrangeSymbol(const string &nm,VarnodeSymbol *sym,uint4 bitoff,uint4 num) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:247:11: error: ‘intb’ does not name a type; did you mean ‘int’? 247 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:121:95: error: ‘ref_count’ was not declared in this scope 121 | SectionSymbol(const string &nm,int4 id) : SleighSymbol(nm) { templateid=id; define_count=0; ref_count=0; } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:274:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 274 | uint4 getBitOffset(void) const { return bitoffset; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:220:65: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 220 | ValueMapSymbol(const string &nm,PatternValue *pv,const vector &vt) : ValueSymbol(nm,pv) { valuetable=vt; checkTableFill(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:220:69: error: template argument 1 is invalid 220 | ValueMapSymbol(const string &nm,PatternValue *pv,const vector &vt) : ValueSymbol(nm,pv) { valuetable=vt; checkTableFill(); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:220:69: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool SeqNum::operator==(const SeqNum&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:138:54: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 138 | bool operator==(const SeqNum &op2) const { return (uniq == op2.uniq); } | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:248:11: error: ‘intb’ does not name a type; did you mean ‘int’? 248 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:138:66: error: ‘const class SeqNum’ has no member named ‘uniq’ 138 | bool operator==(const SeqNum &op2) const { return (uniq == op2.uniq); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isImplied() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:215:41: error: ‘flags’ was not declared in this scope 215 | bool isImplied(void) const { return ((flags&Varnode::implied)!=0); } ///< Is \b this an implied variable? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:275:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 275 | uint4 numBits(void) const { return numbits; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘SymbolScope::SymbolScope(SymbolScope*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:60:53: error: ‘id’ was not declared in this scope; did you mean ‘i’? 60 | SymbolScope(SymbolScope *p,uintm i) { parent = p; id = i; } | ^~ | i /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘void HighVariable::typeDirty() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:84:32: error: ‘highflags’ was not declared in this scope 84 | void typeDirty(void) const { highflags |= typedirty; } ///< Mark the data-type as \e dirty | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:256:11: error: ‘intb’ does not name a type; did you mean ‘int’? 256 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In member function ‘void PatternEquation::layClaim()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:347:25: error: ‘refcount’ was not declared in this scope 347 | void layClaim(void) { refcount += 1; } | ^~~~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:250:50: error: ‘uintb’ has not been declared 250 | VarnodeSymbol(const string &nm,AddrSpace *base,uintb offset,int4 size); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:250:63: error: ‘int4’ has not been declared 250 | VarnodeSymbol(const string &nm,AddrSpace *base,uintb offset,int4 size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:257:11: error: ‘intb’ does not name a type; did you mean ‘int’? 257 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool SeqNum::operator<(const SeqNum&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:146:15: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 146 | return (uniq < op2.uniq); | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:146:26: error: ‘const class SeqNum’ has no member named ‘uniq’ 146 | return (uniq < op2.uniq); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:352:3: error: ‘int4’ does not name a type; did you mean ‘int’? 352 | int4 index; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘bool HighVariable::hasCopyIn1() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:76:42: error: ‘highflags’ was not declared in this scope 76 | bool hasCopyIn1(void) const { return ((highflags©_in1)!=0); } ///< Is there at least one COPY into \b this | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:354:23: error: expected ‘)’ before ‘ind’ 354 | OperandEquation(int4 ind) { index = ind; } | ~ ^~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isExplicit() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:216:42: error: ‘flags’ was not declared in this scope 216 | bool isExplicit(void) const { return ((flags&Varnode::explict)!=0); } ///< Is \b this an explicitly printed variable? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘void HighVariable::typeDirty() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:84:32: error: ‘highflags’ was not declared in this scope 84 | void typeDirty(void) const { highflags |= typedirty; } ///< Mark the data-type as \e dirty | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool SeqNum::operator!=(const SeqNum&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:141:54: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 141 | bool operator!=(const SeqNum &op2) const { return (uniq != op2.uniq); } | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:141:66: error: ‘const class SeqNum’ has no member named ‘uniq’ 141 | bool operator!=(const SeqNum &op2) const { return (uniq != op2.uniq); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:255:11: error: ‘int4’ does not name a type; did you mean ‘int’? 255 | virtual int4 getSize(void) const { return fix.size; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:164:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 164 | uintb first; ///< Offset of first byte in \b this Range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:265:11: error: ‘intb’ does not name a type; did you mean ‘int’? 265 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘BitrangeSymbol::BitrangeSymbol(const string&, VarnodeSymbol*, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:272:38: error: ‘bitoffset’ was not declared in this scope; did you mean ‘bitoff’? 272 | : SleighSymbol(nm) { varsym=sym; bitoffset=bitoff; numbits=num; } | ^~~~~~~~~ | bitoff /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void SectionSymbol::incrementDefineCount()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:123:37: error: ‘define_count’ was not declared in this scope 123 | void incrementDefineCount(void) { define_count += 1; } | ^~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:165:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 165 | uintb last; ///< Offset of last byte in \b this Range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘void HighVariable::setUnmerged() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:85:34: error: ‘highflags’ was not declared in this scope 85 | void setUnmerged(void) const { highflags |= unmerged; } ///< Mark \b this as having merge problems | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:266:11: error: ‘intb’ does not name a type; did you mean ‘int’? 266 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:173:22: error: ‘uintb’ has not been declared 173 | Range(AddrSpace *s,uintb f,uintb l) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:173:30: error: ‘uintb’ has not been declared 173 | Range(AddrSpace *s,uintb f,uintb l) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isConstant() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:217:42: error: ‘flags’ was not declared in this scope 217 | bool isConstant(void) const { return ((flags&Varnode::constant)!=0); } ///< Is \b this a constant? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:258:42: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 258 | virtual void collectLocalValues(vector &results) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:258:47: error: template argument 1 is invalid 258 | virtual void collectLocalValues(vector &results) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:177:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 177 | uintb getFirst(void) const { return first; } ///< Get the offset of the first byte in \b this Range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:258:47: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:274:11: error: ‘intb’ does not name a type; did you mean ‘int’? 274 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:178:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 178 | uintb getLast(void) const { return last; } ///< Get the offset of the last byte in \b this Range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘bool HighVariable::hasCopyIn2() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:77:42: error: ‘highflags’ was not declared in this scope 77 | bool hasCopyIn2(void) const { return ((highflags©_in2)!=0); } ///< Is there at least two COPYs into \b this | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘void HighVariable::setUnmerged() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:85:34: error: ‘highflags’ was not declared in this scope 85 | void setUnmerged(void) const { highflags |= unmerged; } ///< Mark \b this as having merge problems | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:275:11: error: ‘intb’ does not name a type; did you mean ‘int’? 275 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool SeqNum::operator<(const SeqNum&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:146:15: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 146 | return (uniq < op2.uniq); | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:146:26: error: ‘const class SeqNum’ has no member named ‘uniq’ 146 | return (uniq < op2.uniq); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:272:56: error: ‘numbits’ was not declared in this scope 272 | : SleighSymbol(nm) { varsym=sym; bitoffset=bitoff; numbits=num; } | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:267:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 267 | uint4 bitoffset; // least significant bit of range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isFree() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:218:38: error: ‘flags’ was not declared in this scope 218 | bool isFree(void) const { return ((flags&(Varnode::written|Varnode::input))==0); } ///< Is \b this free, not in SSA form? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void SectionSymbol::incrementRefCount()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:124:34: error: ‘ref_count’ was not declared in this scope 124 | void incrementRefCount(void) { ref_count += 1; } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:74:26: error: ‘int4’ has not been declared 74 | SymbolScope *skipScope(int4 i) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:281:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 281 | uint4 low,high; // into a varnode | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:283:11: error: ‘intb’ does not name a type; did you mean ‘int’? 283 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:164:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 164 | uintb first; ///< Offset of first byte in \b this Range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:285:70: error: ‘uint4’ has not been declared 285 | ContextSymbol(const string &nm,ContextField *pate,VarnodeSymbol *v,uint4 l,uint4 h,bool flow); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:268:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 268 | uint4 numbits; // number of bits in the range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘void HighVariable::printCover(std::ostream&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:99:44: error: ‘highflags’ was not declared in this scope 99 | void printCover(ostream &s) const { if ((highflags&HighVariable::coverdirty)==0) wholecover.print(s); else s << "Cover dirty"; } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:285:78: error: ‘uint4’ has not been declared 285 | ContextSymbol(const string &nm,ContextField *pate,VarnodeSymbol *v,uint4 l,uint4 h,bool flow); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:89:45: error: ‘int4’ has not been declared 89 | SleighSymbol *findSymbol(const string &nm,int4 skip) const { return findSymbolInternal(skipScope(skip),nm); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:271:54: error: ‘uint4’ has not been declared 271 | BitrangeSymbol(const string &nm,VarnodeSymbol *sym,uint4 bitoff,uint4 num) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:271:67: error: ‘uint4’ has not been declared 271 | BitrangeSymbol(const string &nm,VarnodeSymbol *sym,uint4 bitoff,uint4 num) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:91:28: error: ‘uintm’ has not been declared 91 | SleighSymbol *findSymbol(uintm id) const { return symbollist[id]; } | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:33:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 33 | uintm id; // Unique id across all symbols | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:132:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 132 | uint4 index; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:136:17: error: ‘uint4’ has not been declared 136 | void setIndex(uint4 ind) { index = ind; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:284:11: error: ‘intb’ does not name a type; did you mean ‘int’? 284 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:287:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 287 | uint4 getLow(void) const { return low; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:165:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 165 | uintb last; ///< Offset of last byte in \b this Range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:274:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 274 | uint4 getBitOffset(void) const { return bitoffset; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:173:22: error: ‘uintb’ has not been declared 173 | Range(AddrSpace *s,uintb f,uintb l) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:173:30: error: ‘uintb’ has not been declared 173 | Range(AddrSpace *s,uintb f,uintb l) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:34:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 34 | uintm scopeid; // Unique id of scope this symbol is in | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:137:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 137 | uint4 getIndex(void) const { return index; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:288:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 288 | uint4 getHigh(void) const { return high; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:275:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 275 | uint4 numBits(void) const { return numbits; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘void HighVariable::flagsDirty() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:82:33: error: ‘highflags’ was not declared in this scope 82 | void flagsDirty(void) const { highflags |= flagsdirty | namerepdirty; } ///< Mark the boolean properties as \e dirty | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In constructor ‘Range::Range(AddrSpace*, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:174:14: error: ‘first’ was not declared in this scope 174 | spc = s; first = f; last = l; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘UserOpSymbol::UserOpSymbol(const string&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:135:63: error: overloaded function with no contextual type information 135 | UserOpSymbol(const string &nm) : SleighSymbol(nm) { index = 0; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void UserOpSymbol::setIndex(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:136:38: error: overloaded function with no contextual type information 136 | void setIndex(uint4 ind) { index = ind; } | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isInput() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:219:39: error: ‘flags’ was not declared in this scope 219 | bool isInput(void) const { return ((flags&Varnode::input)!=0); } ///< Is \b this an SSA input node? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:177:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 177 | uintb getFirst(void) const { return first; } ///< Get the offset of the first byte in \b this Range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:40:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 40 | uintm getId(void) const { return id; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:292:11: error: ‘intb’ does not name a type; did you mean ‘int’? 292 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘void HighVariable::printCover(std::ostream&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:99:44: error: ‘highflags’ was not declared in this scope 99 | void printCover(ostream &s) const { if ((highflags&HighVariable::coverdirty)==0) wholecover.print(s); else s << "Cover dirty"; } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:153:11: error: ‘int4’ does not name a type; did you mean ‘int’? 153 | virtual int4 getSize(void) const { return 0; } // Size out of context | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘bool HighVariable::isMapped() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:108:55: error: ‘flags’ was not declared in this scope 108 | bool isMapped(void) const { updateFlags(); return ((flags&Varnode::mapped)!=0); } ///< Return \b true if \b this is mapped | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:178:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 178 | uintb getLast(void) const { return last; } ///< Get the offset of the last byte in \b this Range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:293:11: error: ‘intb’ does not name a type; did you mean ‘int’? 293 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isIllegalInput() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:220:46: error: ‘flags’ was not declared in this scope 220 | bool isIllegalInput(void) const { return ((flags&(Varnode::input|Varnode::directwrite))==Varnode::input); } ///< Is \b this an abnormal input to the function? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘SleighSymbol::SleighSymbol(const string&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:37:47: error: ‘id’ was not declared in this scope; did you mean ‘void’? 37 | SleighSymbol(const string &nm) { name = nm; id = 0; } | ^~ | void /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:301:11: error: ‘intb’ does not name a type; did you mean ‘int’? 301 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:174:25: error: ‘last’ was not declared in this scope 174 | spc = s; first = f; last = l; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:155:42: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 155 | virtual void collectLocalValues(vector &results) const {} | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:155:47: error: template argument 1 is invalid 155 | virtual void collectLocalValues(vector &results) const {} | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:155:47: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:302:11: error: ‘intb’ does not name a type; did you mean ‘int’? 302 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘bool HighVariable::isPersist() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:109:56: error: ‘flags’ was not declared in this scope 109 | bool isPersist(void) const { updateFlags(); return ((flags&Varnode::persist)!=0); } ///< Return \b true if \b this is a global variable | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘void HighVariable::coverDirty() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:83:33: error: ‘highflags’ was not declared in this scope 83 | void coverDirty(void) const { highflags |= coverdirty; } ///< Mark the cover as \e dirty | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘BitrangeSymbol::BitrangeSymbol(const string&, VarnodeSymbol*, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:272:38: error: ‘bitoffset’ was not declared in this scope; did you mean ‘bitoff’? 272 | : SleighSymbol(nm) { varsym=sym; bitoffset=bitoff; numbits=num; } | ^~~~~~~~~ | bitoff In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘bool HighVariable::isMapped() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:108:55: error: ‘flags’ was not declared in this scope 108 | bool isMapped(void) const { updateFlags(); return ((flags&Varnode::mapped)!=0); } ///< Return \b true if \b this is mapped | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:310:11: error: ‘intb’ does not name a type; did you mean ‘int’? 310 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In constructor ‘Range::Range(AddrSpace*, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:174:14: error: ‘first’ was not declared in this scope 174 | spc = s; first = f; last = l; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:305:11: error: ‘int4’ does not name a type; did you mean ‘int’? 305 | virtual int4 getSize(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isIndirectOnly() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:221:46: error: ‘flags’ was not declared in this scope 221 | bool isIndirectOnly(void) const { return ((flags&Varnode::indirectonly)!=0); } ///< Is \b this read only by INDIRECT operations? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:311:11: error: ‘intb’ does not name a type; did you mean ‘int’? 311 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:117:3: error: ‘int4’ does not name a type; did you mean ‘int’? 117 | int4 templateid; // Index into the ConstructTpl array | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘bool HighVariable::isAddrTied() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:110:57: error: ‘flags’ was not declared in this scope 110 | bool isAddrTied(void) const { updateFlags(); return ((flags&Varnode::addrtied)!=0); } ///< Return \b true if \b this is \e address \e ties | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘bool HighVariable::isPersist() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:109:56: error: ‘flags’ was not declared in this scope 109 | bool isPersist(void) const { updateFlags(); return ((flags&Varnode::persist)!=0); } ///< Return \b true if \b this is a global variable | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:118:3: error: ‘int4’ does not name a type; did you mean ‘int’? 118 | int4 define_count; // Number of definitions of this named section | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘Address Range::getFirstAddr() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:179:57: error: ‘first’ was not declared in this scope 179 | Address getFirstAddr(void) const { return Address(spc,first); } ///< Get the address of the first byte | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:319:11: error: ‘intb’ does not name a type; did you mean ‘int’? 319 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:272:56: error: ‘numbits’ was not declared in this scope 272 | : SleighSymbol(nm) { varsym=sym; bitoffset=bitoff; numbits=num; } | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:119:3: error: ‘int4’ does not name a type; did you mean ‘int’? 119 | int4 ref_count; // Number of references to this named section | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘void HighVariable::typeDirty() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:84:32: error: ‘highflags’ was not declared in this scope 84 | void typeDirty(void) const { highflags |= typedirty; } ///< Mark the data-type as \e dirty | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:121:34: error: ‘int4’ has not been declared 121 | SectionSymbol(const string &nm,int4 id) : SleighSymbol(nm) { templateid=id; define_count=0; ref_count=0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:320:11: error: ‘intb’ does not name a type; did you mean ‘int’? 320 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isExternalRef() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:222:45: error: ‘flags’ was not declared in this scope 222 | bool isExternalRef(void) const { return ((flags&Varnode::externref)!=0); } ///< Is \b this storage location mapped by the loader to an external location? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:319:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 319 | uint4 reloffset; // Relative offset | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:174:25: error: ‘last’ was not declared in this scope 174 | spc = s; first = f; last = l; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:281:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 281 | uint4 low,high; // into a varnode | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:122:3: error: ‘int4’ does not name a type; did you mean ‘int’? 122 | int4 getTemplateId(void) const { return templateid; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:285:70: error: ‘uint4’ has not been declared 285 | ContextSymbol(const string &nm,ContextField *pate,VarnodeSymbol *v,uint4 l,uint4 h,bool flow); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:285:78: error: ‘uint4’ has not been declared 285 | ContextSymbol(const string &nm,ContextField *pate,VarnodeSymbol *v,uint4 l,uint4 h,bool flow); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:215:10: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 215 | vector valuetable; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:215:14: error: template argument 1 is invalid 215 | vector valuetable; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:215:14: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:320:3: error: ‘int4’ does not name a type; did you mean ‘int’? 320 | int4 offsetbase; // Base operand to which offset is relative (-1=constructor start) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘bool HighVariable::isInput() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:111:54: error: ‘flags’ was not declared in this scope 111 | bool isInput(void) const { updateFlags(); return ((flags&Varnode::input)!=0); } ///< Return \b true if \b this is an input variable | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:125:3: error: ‘int4’ does not name a type; did you mean ‘int’? 125 | int4 getDefineCount(void) const { return define_count; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:328:3: error: ‘int4’ does not name a type; did you mean ‘int’? 328 | int4 base; // Current base operand (as we traverse the pattern equation from left to right) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:287:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 287 | uint4 getLow(void) const { return low; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:321:3: error: ‘int4’ does not name a type; did you mean ‘int’? 321 | int4 minimumlength; // Minimum size of operand (within instruction tokens) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘bool HighVariable::isAddrTied() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:110:57: error: ‘flags’ was not declared in this scope 110 | bool isAddrTied(void) const { updateFlags(); return ((flags&Varnode::addrtied)!=0); } ///< Return \b true if \b this is \e address \e ties | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:126:3: error: ‘int4’ does not name a type; did you mean ‘int’? 126 | int4 getRefCount(void) const { return ref_count; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:329:3: error: ‘int4’ does not name a type; did you mean ‘int’? 329 | int4 offset; // Bytes we have traversed from the LEFT edge of the current base | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:288:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 288 | uint4 getHigh(void) const { return high; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:322:3: error: ‘int4’ does not name a type; did you mean ‘int’? 322 | int4 hand; // Handle index | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘Address Range::getLastAddr() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:180:56: error: ‘last’ was not declared in this scope 180 | Address getLastAddr(void) const { return Address(spc,last); } ///< Get the address of the last byte | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::hasActionProperty() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:223:49: error: ‘flags’ was not declared in this scope 223 | bool hasActionProperty(void) const { return ((flags&(Varnode::readonly|Varnode::volatil))!=0); } ///< Will this Varnode be replaced dynamically? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Range::operator<(const Range&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:190:14: error: ‘class AddrSpace’ has no member named ‘getIndex’ 190 | if (spc->getIndex() != op2.spc->getIndex()) | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:330:3: error: ‘int4’ does not name a type; did you mean ‘int’? 330 | int4 cur_rightmost; // (resulting) rightmost operand in our pattern | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:190:37: error: ‘class AddrSpace’ has no member named ‘getIndex’ 190 | if (spc->getIndex() != op2.spc->getIndex()) | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:191:20: error: ‘class AddrSpace’ has no member named ‘getIndex’ 191 | return (spc->getIndex() < op2.spc->getIndex()); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:326:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 326 | uint4 flags; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:220:65: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 220 | ValueMapSymbol(const string &nm,PatternValue *pv,const vector &vt) : ValueSymbol(nm,pv) { valuetable=vt; checkTableFill(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:58:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 58 | uintm id; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:220:69: error: template argument 1 is invalid 220 | ValueMapSymbol(const string &nm,PatternValue *pv,const vector &vt) : ValueSymbol(nm,pv) { valuetable=vt; checkTableFill(); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:220:69: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:191:42: error: ‘class AddrSpace’ has no member named ‘getIndex’ 191 | return (spc->getIndex() < op2.spc->getIndex()); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:60:30: error: ‘uintm’ has not been declared 60 | SymbolScope(SymbolScope *p,uintm i) { parent = p; id = i; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:331:34: error: ‘int4’ has not been declared 331 | OperandSymbol(const string &nm,int4 index,Constructor *ct); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:331:3: error: ‘int4’ does not name a type; did you mean ‘int’? 331 | int4 size; // (resulting) bytes traversed from the LEFT edge of the rightmost | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘bool HighVariable::isImplied() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:112:56: error: ‘flags’ was not declared in this scope 112 | bool isImplied(void) const { updateFlags(); return ((flags&Varnode::implied)!=0); } ///< Return \b true if \b this is an implied variable | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘void HighVariable::setUnmerged() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:85:34: error: ‘highflags’ was not declared in this scope 85 | void setUnmerged(void) const { highflags |= unmerged; } ///< Mark \b this as having merge problems | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:332:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 332 | uint4 getRelativeOffset(void) const { return reloffset; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:66:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 66 | uintm getId(void) const { return id; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:333:3: error: ‘int4’ does not name a type; did you mean ‘int’? 333 | int4 getOffsetBase(void) const { return offsetbase; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘bool HighVariable::isInput() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:111:54: error: ‘flags’ was not declared in this scope 111 | bool isInput(void) const { updateFlags(); return ((flags&Varnode::input)!=0); } ///< Return \b true if \b this is an input variable | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘Address Range::getFirstAddr() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:179:57: error: ‘first’ was not declared in this scope 179 | Address getFirstAddr(void) const { return Address(spc,first); } ///< Get the address of the first byte | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:334:3: error: ‘int4’ does not name a type; did you mean ‘int’? 334 | int4 getMinimumLength(void) const { return minimumlength; } | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh:19, from src/decompile/cpp/pcodeparse.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:250:50: error: ‘uintb’ has not been declared 250 | VarnodeSymbol(const string &nm,AddrSpace *base,uintb offset,int4 size); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:250:63: error: ‘int4’ has not been declared 250 | VarnodeSymbol(const string &nm,AddrSpace *base,uintb offset,int4 size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isReadOnly() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:224:42: error: ‘flags’ was not declared in this scope 224 | bool isReadOnly(void) const { return ((flags&Varnode::readonly)!=0); } ///< Is \b this a read-only storage location? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:337:3: error: ‘int4’ does not name a type; did you mean ‘int’? 337 | int4 getIndex(void) const { return hand; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In constructor ‘OperandResolve::OperandResolve(std::vector&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:327:5: error: ‘base’ was not declared in this scope 327 | base=-1; offset=0; cur_rightmost = -1; size = 0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:255:11: error: ‘int4’ does not name a type; did you mean ‘int’? 255 | virtual int4 getSize(void) const { return fix.size; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘SectionSymbol::SectionSymbol(const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:121:64: error: ‘templateid’ was not declared in this scope 121 | SectionSymbol(const string &nm,int4 id) : SleighSymbol(nm) { templateid=id; define_count=0; ref_count=0; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘bool HighVariable::isSpacebase() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:113:58: error: ‘flags’ was not declared in this scope 113 | bool isSpacebase(void) const { updateFlags(); return ((flags&Varnode::spacebase)!=0); } ///< Return \b true if \b this is a \e spacebase | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:351:11: error: ‘int4’ does not name a type; did you mean ‘int’? 351 | virtual int4 getSize(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:192:13: error: ‘first’ was not declared in this scope 192 | return (first < op2.first); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:192:25: error: ‘const class Range’ has no member named ‘first’ 192 | return (first < op2.first); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘bool HighVariable::isImplied() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:112:56: error: ‘flags’ was not declared in this scope 112 | bool isImplied(void) const { updateFlags(); return ((flags&Varnode::implied)!=0); } ///< Return \b true if \b this is an implied variable | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:305:11: error: ‘int4’ does not name a type; did you mean ‘int’? 305 | virtual int4 getSize(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘Address Range::getLastAddr() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:180:56: error: ‘last’ was not declared in this scope 180 | Address getLastAddr(void) const { return Address(spc,last); } ///< Get the address of the last byte | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘void HighVariable::printCover(std::ostream&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:99:44: error: ‘highflags’ was not declared in this scope 99 | void printCover(ostream &s) const { if ((highflags&HighVariable::coverdirty)==0) wholecover.print(s); else s << "Cover dirty"; } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isVolatile() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:225:42: error: ‘flags’ was not declared in this scope 225 | bool isVolatile(void) const { return ((flags&Varnode::volatil)!=0); } ///< Is \b this a volatile storage location? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Range::operator<(const Range&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:190:14: error: ‘class AddrSpace’ has no member named ‘getIndex’ 190 | if (spc->getIndex() != op2.spc->getIndex()) | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:190:37: error: ‘class AddrSpace’ has no member named ‘getIndex’ 190 | if (spc->getIndex() != op2.spc->getIndex()) | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:353:42: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 353 | virtual void collectLocalValues(vector &results) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:353:47: error: template argument 1 is invalid 353 | virtual void collectLocalValues(vector &results) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:353:47: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:258:42: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 258 | virtual void collectLocalValues(vector &results) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:191:20: error: ‘class AddrSpace’ has no member named ‘getIndex’ 191 | return (spc->getIndex() < op2.spc->getIndex()); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:258:47: error: template argument 1 is invalid 258 | virtual void collectLocalValues(vector &results) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:258:47: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:327:14: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 327 | base=-1; offset=0; cur_rightmost = -1; size = 0; } | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:191:42: error: ‘class AddrSpace’ has no member named ‘getIndex’ 191 | return (spc->getIndex() < op2.spc->getIndex()); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘bool HighVariable::isConstant() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:114:57: error: ‘flags’ was not declared in this scope 114 | bool isConstant(void) const { updateFlags(); return ((flags&Varnode::constant)!=0); } ///< Return \b true if \b this is a constant | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘SymbolScope::SymbolScope(SymbolScope*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:60:53: error: ‘id’ was not declared in this scope; did you mean ‘i’? 60 | SymbolScope(SymbolScope *p,uintm i) { parent = p; id = i; } | ^~ | i /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘bool HighVariable::isSpacebase() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:113:58: error: ‘flags’ was not declared in this scope 113 | bool isSpacebase(void) const { updateFlags(); return ((flags&Varnode::spacebase)!=0); } ///< Return \b true if \b this is a \e spacebase | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:267:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 267 | uint4 bitoffset; // least significant bit of range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:319:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 319 | uint4 reloffset; // Relative offset | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isPersist() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:226:41: error: ‘flags’ was not declared in this scope 226 | bool isPersist(void) const { return ((flags&Varnode::persist)!=0); } ///< Does \b this storage location persist beyond the end of the function? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:121:79: error: ‘define_count’ was not declared in this scope 121 | SectionSymbol(const string &nm,int4 id) : SleighSymbol(nm) { templateid=id; define_count=0; ref_count=0; } | ^~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:268:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 268 | uint4 numbits; // number of bits in the range | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘bool HighVariable::isMapped() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:108:55: error: ‘flags’ was not declared in this scope 108 | bool isMapped(void) const { updateFlags(); return ((flags&Varnode::mapped)!=0); } ///< Return \b true if \b this is mapped | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:271:54: error: ‘uint4’ has not been declared 271 | BitrangeSymbol(const string &nm,VarnodeSymbol *sym,uint4 bitoff,uint4 num) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:271:67: error: ‘uint4’ has not been declared 271 | BitrangeSymbol(const string &nm,VarnodeSymbol *sym,uint4 bitoff,uint4 num) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void OperandSymbol::setVariableLength()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:327:34: error: ‘flags’ was not declared in this scope 327 | void setVariableLength(void) { flags |= variable_len; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:320:3: error: ‘int4’ does not name a type; did you mean ‘int’? 320 | int4 offsetbase; // Base operand to which offset is relative (-1=constructor start) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘bool HighVariable::isUnaffected() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:115:59: error: ‘flags’ was not declared in this scope 115 | bool isUnaffected(void) const { updateFlags(); return ((flags&Varnode::unaffected)!=0); } ///< Return \b true if \b this is an \e unaffected register | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:321:3: error: ‘int4’ does not name a type; did you mean ‘int’? 321 | int4 minimumlength; // Minimum size of operand (within instruction tokens) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:274:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 274 | uint4 getBitOffset(void) const { return bitoffset; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:192:13: error: ‘first’ was not declared in this scope 192 | return (first < op2.first); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:192:25: error: ‘const class Range’ has no member named ‘first’ 192 | return (first < op2.first); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:322:3: error: ‘int4’ does not name a type; did you mean ‘int’? 322 | int4 hand; // Handle index | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘bool HighVariable::isConstant() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:114:57: error: ‘flags’ was not declared in this scope 114 | bool isConstant(void) const { updateFlags(); return ((flags&Varnode::constant)!=0); } ///< Return \b true if \b this is a constant | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:275:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 275 | uint4 numBits(void) const { return numbits; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:327:24: error: ‘cur_rightmost’ was not declared in this scope 327 | base=-1; offset=0; cur_rightmost = -1; size = 0; } | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:326:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 326 | uint4 flags; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isDirectWrite() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:227:45: error: ‘flags’ was not declared in this scope 227 | bool isDirectWrite(void) const { return ((flags&Varnode::directwrite)!=0); } ///< Is \b this value affected by a legitimate function input | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:331:34: error: ‘int4’ has not been declared 331 | OperandSymbol(const string &nm,int4 index,Constructor *ct); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘bool OperandSymbol::isVariableLength() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:328:48: error: ‘flags’ was not declared in this scope 328 | bool isVariableLength(void) const { return ((flags&variable_len)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘bool HighVariable::isPersist() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:109:56: error: ‘flags’ was not declared in this scope 109 | bool isPersist(void) const { updateFlags(); return ((flags&Varnode::persist)!=0); } ///< Return \b true if \b this is a global variable | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:332:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 332 | uint4 getRelativeOffset(void) const { return reloffset; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘bool HighVariable::isExtraOut() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:116:57: error: ‘flags’ was not declared in this scope 116 | bool isExtraOut(void) const { updateFlags(); return ((flags&(Varnode::indirect_creation|Varnode::addrtied))==Varnode::indirect_creation); } ///< Return \b true if \b this is an extra output | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:333:3: error: ‘int4’ does not name a type; did you mean ‘int’? 333 | int4 getOffsetBase(void) const { return offsetbase; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:121:95: error: ‘ref_count’ was not declared in this scope 121 | SectionSymbol(const string &nm,int4 id) : SleighSymbol(nm) { templateid=id; define_count=0; ref_count=0; } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:334:3: error: ‘int4’ does not name a type; did you mean ‘int’? 334 | int4 getMinimumLength(void) const { return minimumlength; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:327:44: error: ‘size’ was not declared in this scope 327 | base=-1; offset=0; cur_rightmost = -1; size = 0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘bool HighVariable::isUnaffected() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:115:59: error: ‘flags’ was not declared in this scope 115 | bool isUnaffected(void) const { updateFlags(); return ((flags&Varnode::unaffected)!=0); } ///< Return \b true if \b this is an \e unaffected register | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:337:3: error: ‘int4’ does not name a type; did you mean ‘int’? 337 | int4 getIndex(void) const { return hand; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isAddrTied() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:230:42: error: ‘flags’ was not declared in this scope 230 | bool isAddrTied(void) const { return ((flags&(Varnode::addrtied|Varnode::insert))==(Varnode::addrtied|Varnode::insert)); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:337:3: error: ‘int4’ does not name a type; did you mean ‘int’? 337 | int4 refcount; // Number of objects referencing this | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:351:11: error: ‘int4’ does not name a type; did you mean ‘int’? 351 | virtual int4 getSize(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘bool HighVariable::isAddrTied() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:110:57: error: ‘flags’ was not declared in this scope 110 | bool isAddrTied(void) const { updateFlags(); return ((flags&Varnode::addrtied)!=0); } ///< Return \b true if \b this is \e address \e ties | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘BitrangeSymbol::BitrangeSymbol(const string&, VarnodeSymbol*, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:272:38: error: ‘bitoffset’ was not declared in this scope; did you mean ‘bitoff’? 272 | : SleighSymbol(nm) { varsym=sym; bitoffset=bitoff; numbits=num; } | ^~~~~~~~~ | bitoff /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void OperandSymbol::setCodeAddress()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:340:31: error: ‘flags’ was not declared in this scope 340 | void setCodeAddress(void) { flags |= code_address; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘void HighVariable::setMark() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:117:30: error: ‘flags’ was not declared in this scope 117 | void setMark(void) const { flags |= Varnode::mark; } ///< Set the mark on this variable | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:74:26: error: ‘int4’ has not been declared 74 | SymbolScope *skipScope(int4 i) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:89:45: error: ‘int4’ has not been declared 89 | SleighSymbol *findSymbol(const string &nm,int4 skip) const { return findSymbolInternal(skipScope(skip),nm); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:91:28: error: ‘uintm’ has not been declared 91 | SleighSymbol *findSymbol(uintm id) const { return symbollist[id]; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘bool HighVariable::isExtraOut() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:116:57: error: ‘flags’ was not declared in this scope 116 | bool isExtraOut(void) const { updateFlags(); return ((flags&(Varnode::indirect_creation|Varnode::addrtied))==Varnode::indirect_creation); } ///< Return \b true if \b this is an extra output | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:353:42: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 353 | virtual void collectLocalValues(vector &results) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:353:47: error: template argument 1 is invalid 353 | virtual void collectLocalValues(vector &results) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:353:47: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isAddrForce() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:231:43: error: ‘flags’ was not declared in this scope 231 | bool isAddrForce(void) const { return ((flags&Varnode::addrforce)!=0); } ///< Is \b this value forced into a particular storage location? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘bool OperandSymbol::isCodeAddress() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:341:45: error: ‘flags’ was not declared in this scope 341 | bool isCodeAddress(void) const { return ((flags&code_address)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘bool HighVariable::isInput() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:111:54: error: ‘flags’ was not declared in this scope 111 | bool isInput(void) const { updateFlags(); return ((flags&Varnode::input)!=0); } ///< Return \b true if \b this is an input variable | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘void HighVariable::clearMark() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:118:32: error: ‘flags’ was not declared in this scope 118 | void clearMark(void) const { flags &= ~Varnode::mark; } ///< Clear the mark on this variable | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:212:3: error: ‘int4’ does not name a type; did you mean ‘int’? 212 | int4 numRanges(void) const { return tree.size(); } ///< Return the number of Range objects in container | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void SectionSymbol::incrementDefineCount()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:123:37: error: ‘define_count’ was not declared in this scope 123 | void incrementDefineCount(void) { define_count += 1; } | ^~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:272:56: error: ‘numbits’ was not declared in this scope 272 | : SleighSymbol(nm) { varsym=sym; bitoffset=bitoff; numbits=num; } | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:216:44: error: ‘uintb’ has not been declared 216 | const Range *getRange(AddrSpace *spaceid,uintb offset) const; ///< Get Range containing the given byte | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:217:35: error: ‘uintb’ has not been declared 217 | void insertRange(AddrSpace *spc,uintb first,uintb last); ///< Insert a range of addresses | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In constructor ‘PatternEquation::PatternEquation()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:342:27: error: ‘refcount’ was not declared in this scope 342 | PatternEquation(void) { refcount = 0; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:217:47: error: ‘uintb’ has not been declared 217 | void insertRange(AddrSpace *spc,uintb first,uintb last); ///< Insert a range of addresses | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:218:35: error: ‘uintb’ has not been declared 218 | void removeRange(AddrSpace *spc,uintb first,uintb last); ///< Remove a range of addresses | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:218:47: error: ‘uintb’ has not been declared 218 | void removeRange(AddrSpace *spc,uintb first,uintb last); ///< Remove a range of addresses | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:220:36: error: ‘int4’ has not been declared 220 | bool inRange(const Address &addr,int4 size) const; ///< Check containment an address range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘void HighVariable::setMark() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:117:30: error: ‘flags’ was not declared in this scope 117 | void setMark(void) const { flags |= Varnode::mark; } ///< Set the mark on this variable | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:281:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 281 | uint4 low,high; // into a varnode | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isAutoLive() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:232:42: error: ‘flags’ was not declared in this scope 232 | bool isAutoLive(void) const { return ((flags&(Varnode::addrforce|Varnode::autolive_hold))!=0); } ///< Is \b this varnode exempt from dead-code removal? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:285:70: error: ‘uint4’ has not been declared 285 | ContextSymbol(const string &nm,ContextField *pate,VarnodeSymbol *v,uint4 l,uint4 h,bool flow); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:285:78: error: ‘uint4’ has not been declared 285 | ContextSymbol(const string &nm,ContextField *pate,VarnodeSymbol *v,uint4 l,uint4 h,bool flow); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void OperandSymbol::setVariableLength()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:327:34: error: ‘flags’ was not declared in this scope 327 | void setVariableLength(void) { flags |= variable_len; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:221:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 221 | uintb longestFit(const Address &addr,uintb maxsize) const; ///< Find size of biggest Range containing given address | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void OperandSymbol::setOffsetIrrelevant()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:342:36: error: ‘flags’ was not declared in this scope 342 | void setOffsetIrrelevant(void) { flags |= offset_irrel; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘bool HighVariable::isImplied() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:112:56: error: ‘flags’ was not declared in this scope 112 | bool isImplied(void) const { updateFlags(); return ((flags&Varnode::implied)!=0); } ///< Return \b true if \b this is an implied variable | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:287:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 287 | uint4 getLow(void) const { return low; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘bool HighVariable::isMark() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:119:38: error: ‘flags’ was not declared in this scope 119 | bool isMark(void) const { return ((flags&Varnode::mark)!=0); } ///< Return \b true if \b this is marked | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:288:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 288 | uint4 getHigh(void) const { return high; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:117:3: error: ‘int4’ does not name a type; did you mean ‘int’? 117 | int4 templateid; // Index into the ConstructTpl array | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘void HighVariable::clearMark() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:118:32: error: ‘flags’ was not declared in this scope 118 | void clearMark(void) const { flags &= ~Varnode::mark; } ///< Clear the mark on this variable | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:118:3: error: ‘int4’ does not name a type; did you mean ‘int’? 118 | int4 define_count; // Number of definitions of this named section | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isAutoLiveHold() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:233:46: error: ‘flags’ was not declared in this scope 233 | bool isAutoLiveHold(void) const { return ((flags&Varnode::autolive_hold)!=0); } ///< Is there a temporary hold on dead-code removal? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void SectionSymbol::incrementRefCount()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:124:34: error: ‘ref_count’ was not declared in this scope 124 | void incrementRefCount(void) { ref_count += 1; } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘bool OperandSymbol::isVariableLength() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:328:48: error: ‘flags’ was not declared in this scope 328 | bool isVariableLength(void) const { return ((flags&variable_len)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In member function ‘void PatternEquation::layClaim()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:347:25: error: ‘refcount’ was not declared in this scope 347 | void layClaim(void) { refcount += 1; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:119:3: error: ‘int4’ does not name a type; did you mean ‘int’? 119 | int4 ref_count; // Number of references to this named section | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:121:34: error: ‘int4’ has not been declared 121 | SectionSymbol(const string &nm,int4 id) : SleighSymbol(nm) { templateid=id; define_count=0; ref_count=0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘bool OperandSymbol::isOffsetIrrelevant() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:343:50: error: ‘flags’ was not declared in this scope 343 | bool isOffsetIrrelevant(void) const { return ((flags&offset_irrel)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:122:3: error: ‘int4’ does not name a type; did you mean ‘int’? 122 | int4 getTemplateId(void) const { return templateid; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘bool HighVariable::isSpacebase() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:113:58: error: ‘flags’ was not declared in this scope 113 | bool isSpacebase(void) const { updateFlags(); return ((flags&Varnode::spacebase)!=0); } ///< Return \b true if \b this is a \e spacebase | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:352:3: error: ‘int4’ does not name a type; did you mean ‘int’? 352 | int4 index; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:132:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 132 | uint4 index; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:354:23: error: expected ‘)’ before ‘ind’ 354 | OperandEquation(int4 ind) { index = ind; } | ~ ^~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:136:17: error: ‘uint4’ has not been declared 136 | void setIndex(uint4 ind) { index = ind; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:125:3: error: ‘int4’ does not name a type; did you mean ‘int’? 125 | int4 getDefineCount(void) const { return define_count; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:126:3: error: ‘int4’ does not name a type; did you mean ‘int’? 126 | int4 getRefCount(void) const { return ref_count; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:212:3: error: ‘int4’ does not name a type; did you mean ‘int’? 212 | int4 numRanges(void) const { return tree.size(); } ///< Return the number of Range objects in container | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:137:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 137 | uint4 getIndex(void) const { return index; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘bool HighVariable::isMark() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:119:38: error: ‘flags’ was not declared in this scope 119 | bool isMark(void) const { return ((flags&Varnode::mark)!=0); } ///< Return \b true if \b this is marked | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:216:44: error: ‘uintb’ has not been declared 216 | const Range *getRange(AddrSpace *spaceid,uintb offset) const; ///< Get Range containing the given byte | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘bool HighVariable::isUnmerged() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:120:42: error: ‘highflags’ was not declared in this scope 120 | bool isUnmerged(void) const { return ((highflags&unmerged)!=0); } ///< Return \b true if \b this has merge problems | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:217:35: error: ‘uintb’ has not been declared 217 | void insertRange(AddrSpace *spc,uintb first,uintb last); ///< Insert a range of addresses | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:217:47: error: ‘uintb’ has not been declared 217 | void insertRange(AddrSpace *spc,uintb first,uintb last); ///< Insert a range of addresses | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:218:35: error: ‘uintb’ has not been declared 218 | void removeRange(AddrSpace *spc,uintb first,uintb last); ///< Remove a range of addresses | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:218:47: error: ‘uintb’ has not been declared 218 | void removeRange(AddrSpace *spc,uintb first,uintb last); ///< Remove a range of addresses | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘UserOpSymbol::UserOpSymbol(const string&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:135:63: error: overloaded function with no contextual type information 135 | UserOpSymbol(const string &nm) : SleighSymbol(nm) { index = 0; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:220:36: error: ‘int4’ has not been declared 220 | bool inRange(const Address &addr,int4 size) const; ///< Check containment an address range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isMapped() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:234:40: error: ‘flags’ was not declared in this scope 234 | bool isMapped(void) const { return ((flags&Varnode::mapped)!=0); } ///< Is there or should be formal symbol information associated with \b this? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void UserOpSymbol::setIndex(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:136:38: error: overloaded function with no contextual type information 136 | void setIndex(uint4 ind) { index = ind; } | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void OperandSymbol::setMark()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:344:24: error: ‘flags’ was not declared in this scope 344 | void setMark(void) { flags |= marked; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void OperandSymbol::setCodeAddress()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:340:31: error: ‘flags’ was not declared in this scope 340 | void setCodeAddress(void) { flags |= code_address; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘bool HighVariable::isConstant() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:114:57: error: ‘flags’ was not declared in this scope 114 | bool isConstant(void) const { updateFlags(); return ((flags&Varnode::constant)!=0); } ///< Return \b true if \b this is a constant | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:221:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 221 | uintb longestFit(const Address &addr,uintb maxsize) const; ///< Find size of biggest Range containing given address | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:153:11: error: ‘int4’ does not name a type; did you mean ‘int’? 153 | virtual int4 getSize(void) const { return 0; } // Size out of context | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:305:11: error: ‘int4’ does not name a type; did you mean ‘int’? 305 | virtual int4 getSize(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘bool HighVariable::hasCover() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:128:14: error: ‘flags’ was not declared in this scope 128 | return ((flags&(Varnode::constant|Varnode::annotation|Varnode::insert))==Varnode::insert); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isUnaffected() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:235:44: error: ‘flags’ was not declared in this scope 235 | bool isUnaffected(void) const { return ((flags&Varnode::unaffected)!=0); } ///< Is \b this a value that is supposed to be preserved across the function? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void OperandSymbol::clearMark()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:345:26: error: ‘flags’ was not declared in this scope 345 | void clearMark(void) { flags &= ~((uint4)marked); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘bool OperandSymbol::isCodeAddress() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:341:45: error: ‘flags’ was not declared in this scope 341 | bool isCodeAddress(void) const { return ((flags&code_address)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:155:42: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 155 | virtual void collectLocalValues(vector &results) const {} | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:155:47: error: template argument 1 is invalid 155 | virtual void collectLocalValues(vector &results) const {} | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:155:47: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘bool HighVariable::isUnmerged() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:120:42: error: ‘highflags’ was not declared in this scope 120 | bool isUnmerged(void) const { return ((highflags&unmerged)!=0); } ///< Return \b true if \b this has merge problems | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘SectionSymbol::SectionSymbol(const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:121:64: error: ‘templateid’ was not declared in this scope 121 | SectionSymbol(const string &nm,int4 id) : SleighSymbol(nm) { templateid=id; define_count=0; ref_count=0; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘bool HighVariable::isUnaffected() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:115:59: error: ‘flags’ was not declared in this scope 115 | bool isUnaffected(void) const { updateFlags(); return ((flags&Varnode::unaffected)!=0); } ///< Return \b true if \b this is an \e unaffected register | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:33:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 33 | uintm id; // Unique id across all symbols | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:228:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 228 | extern uintb uintbmasks[]; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:319:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 319 | uint4 reloffset; // Relative offset | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:241:39: error: ‘uintb’ has not been declared 241 | inline Address::Address(AddrSpace *id,uintb off) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:34:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 34 | uintm scopeid; // Unique id of scope this symbol is in | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:345:38: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 345 | void clearMark(void) { flags &= ~((uint4)marked); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:345:44: error: expected ‘)’ before ‘marked’ 345 | void clearMark(void) { flags &= ~((uint4)marked); } | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:345:36: note: to match this ‘(’ 345 | void clearMark(void) { flags &= ~((uint4)marked); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘bool HighVariable::isTypeLock() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:131:56: error: ‘flags’ was not declared in this scope 131 | bool isTypeLock(void) const { updateType(); return ((flags & Varnode::typelock)!=0); } ///< Return \b true if \b this is \e typelocked | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isSpacebase() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:236:43: error: ‘flags’ was not declared in this scope 236 | bool isSpacebase(void) const { return ((flags&Varnode::spacebase)!=0); } ///< Is this location used to store the base point for a virtual address space? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void OperandSymbol::setOffsetIrrelevant()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:342:36: error: ‘flags’ was not declared in this scope 342 | void setOffsetIrrelevant(void) { flags |= offset_irrel; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:320:3: error: ‘int4’ does not name a type; did you mean ‘int’? 320 | int4 offsetbase; // Base operand to which offset is relative (-1=constructor start) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:40:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 40 | uintm getId(void) const { return id; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:321:3: error: ‘int4’ does not name a type; did you mean ‘int’? 321 | int4 minimumlength; // Minimum size of operand (within instruction tokens) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘bool HighVariable::hasCover() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:128:14: error: ‘flags’ was not declared in this scope 128 | return ((flags&(Varnode::constant|Varnode::annotation|Varnode::insert))==Varnode::insert); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘bool HighVariable::isExtraOut() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:116:57: error: ‘flags’ was not declared in this scope 116 | bool isExtraOut(void) const { updateFlags(); return ((flags&(Varnode::indirect_creation|Varnode::addrtied))==Varnode::indirect_creation); } ///< Return \b true if \b this is an extra output | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:322:3: error: ‘int4’ does not name a type; did you mean ‘int’? 322 | int4 hand; // Handle index | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:326:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 326 | uint4 flags; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:331:34: error: ‘int4’ has not been declared 331 | OperandSymbol(const string &nm,int4 index,Constructor *ct); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘bool OperandSymbol::isMarked() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:346:40: error: ‘flags’ was not declared in this scope 346 | bool isMarked(void) const { return ((flags&marked)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘bool HighVariable::isNameLock() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:132:57: error: ‘flags’ was not declared in this scope 132 | bool isNameLock(void) const { updateFlags(); return ((flags & Varnode::namelock)!=0); } ///< Return \b true if \b this is \e namelocked | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘bool OperandSymbol::isOffsetIrrelevant() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:343:50: error: ‘flags’ was not declared in this scope 343 | bool isOffsetIrrelevant(void) const { return ((flags&offset_irrel)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isReturnAddress() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:237:47: error: ‘flags’ was not declared in this scope 237 | bool isReturnAddress(void) const { return ((flags&Varnode::return_address)!=0); } ///< Is this storage for a calls return address? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:332:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 332 | uint4 getRelativeOffset(void) const { return reloffset; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:121:79: error: ‘define_count’ was not declared in this scope 121 | SectionSymbol(const string &nm,int4 id) : SleighSymbol(nm) { templateid=id; define_count=0; ref_count=0; } | ^~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘SleighSymbol::SleighSymbol(const string&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:37:47: error: ‘id’ was not declared in this scope; did you mean ‘void’? 37 | SleighSymbol(const string &nm) { name = nm; id = 0; } | ^~ | void /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:333:3: error: ‘int4’ does not name a type; did you mean ‘int’? 333 | int4 getOffsetBase(void) const { return offsetbase; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:215:10: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 215 | vector valuetable; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In constructor ‘Address::Address(AddrSpace*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:242:12: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 242 | base=id; offset=off; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:215:14: error: template argument 1 is invalid 215 | vector valuetable; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:215:14: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘bool HighVariable::isTypeLock() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:131:56: error: ‘flags’ was not declared in this scope 131 | bool isTypeLock(void) const { updateType(); return ((flags & Varnode::typelock)!=0); } ///< Return \b true if \b this is \e typelocked | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘void HighVariable::setMark() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:117:30: error: ‘flags’ was not declared in this scope 117 | void setMark(void) const { flags |= Varnode::mark; } ///< Set the mark on this variable | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:334:3: error: ‘int4’ does not name a type; did you mean ‘int’? 334 | int4 getMinimumLength(void) const { return minimumlength; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:228:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 228 | extern uintb uintbmasks[]; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:337:3: error: ‘int4’ does not name a type; did you mean ‘int’? 337 | int4 getIndex(void) const { return hand; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:241:39: error: ‘uintb’ has not been declared 241 | inline Address::Address(AddrSpace *id,uintb off) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void OperandSymbol::setMark()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:344:24: error: ‘flags’ was not declared in this scope 344 | void setMark(void) { flags |= marked; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:351:11: error: ‘int4’ does not name a type; did you mean ‘int’? 351 | virtual int4 getSize(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:220:65: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 220 | ValueMapSymbol(const string &nm,PatternValue *pv,const vector &vt) : ValueSymbol(nm,pv) { valuetable=vt; checkTableFill(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:220:69: error: template argument 1 is invalid 220 | ValueMapSymbol(const string &nm,PatternValue *pv,const vector &vt) : ValueSymbol(nm,pv) { valuetable=vt; checkTableFill(); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:220:69: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘bool HighVariable::isNameLock() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:132:57: error: ‘flags’ was not declared in this scope 132 | bool isNameLock(void) const { updateFlags(); return ((flags & Varnode::namelock)!=0); } ///< Return \b true if \b this is \e namelocked | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isPtrCheck() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:238:42: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 238 | bool isPtrCheck(void) const { return ((addlflags&Varnode::ptrcheck)!=0); } ///< Has \b this been checked as a constant pointer to a mapped symbol? | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:121:95: error: ‘ref_count’ was not declared in this scope 121 | SectionSymbol(const string &nm,int4 id) : SleighSymbol(nm) { templateid=id; define_count=0; ref_count=0; } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘void HighVariable::clearMark() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:118:32: error: ‘flags’ was not declared in this scope 118 | void clearMark(void) const { flags &= ~Varnode::mark; } ///< Clear the mark on this variable | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:436:3: error: ‘int4’ does not name a type; did you mean ‘int’? 436 | int4 num; // index of word containing context variable to set | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void OperandSymbol::clearMark()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:345:26: error: ‘flags’ was not declared in this scope 345 | void clearMark(void) { flags &= ~((uint4)marked); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:353:42: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 353 | virtual void collectLocalValues(vector &results) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:353:47: error: template argument 1 is invalid 353 | virtual void collectLocalValues(vector &results) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:353:47: error: template argument 2 is invalid In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:250:50: error: ‘uintb’ has not been declared 250 | VarnodeSymbol(const string &nm,AddrSpace *base,uintb offset,int4 size); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:437:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 437 | uintm mask; // Mask off size of variable | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:250:63: error: ‘int4’ has not been declared 250 | VarnodeSymbol(const string &nm,AddrSpace *base,uintb offset,int4 size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In copy constructor ‘Address::Address(const Address&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:250:3: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 250 | offset = op2.offset; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:250:16: error: ‘const class Address’ has no member named ‘offset’ 250 | offset = op2.offset; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:438:3: error: ‘int4’ does not name a type; did you mean ‘int’? 438 | int4 shift; // Number of bits to shift value into place | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:440:17: error: expected ‘)’ before ‘startbit’ 440 | ContextOp(int4 startbit,int4 endbit,PatternExpression *pe); | ~ ^~~~~~~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:255:11: error: ‘int4’ does not name a type; did you mean ‘int’? 255 | virtual int4 getSize(void) const { return fix.size; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In constructor ‘Address::Address(AddrSpace*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:242:12: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 242 | base=id; offset=off; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isPtrFlow() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:239:41: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 239 | bool isPtrFlow(void) const { return ((addlflags&Varnode::ptrflow)!=0); } ///< Does this varnode flow to or from a known pointer | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:263:8: error: ‘int4’ does not name a type; did you mean ‘int’? 263 | inline int4 Address::getAddrSize(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘bool HighVariable::isMark() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:119:38: error: ‘flags’ was not declared in this scope 119 | bool isMark(void) const { return ((flags&Varnode::mark)!=0); } ///< Return \b true if \b this is marked | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:54:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 54 | uint4 extraflags; ///< Varnode flags specific to this storage location | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:345:38: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 345 | void clearMark(void) { flags &= ~((uint4)marked); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:345:44: error: expected ‘)’ before ‘marked’ 345 | void clearMark(void) { flags &= ~((uint4)marked); } | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:345:36: note: to match this ‘(’ 345 | void clearMark(void) { flags &= ~((uint4)marked); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:452:3: error: ‘int4’ does not name a type; did you mean ‘int’? 452 | int4 num; // Index of word containing context commit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:56:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 56 | uint8 hash; ///< A dynamic storage address (an alternative to \b addr for dynamic symbols) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:58:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 58 | uintm id; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void OperandSymbol::setVariableLength()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:327:34: error: ‘flags’ was not declared in this scope 327 | void setVariableLength(void) { flags |= variable_len; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:60:30: error: ‘uintm’ has not been declared 60 | SymbolScope(SymbolScope *p,uintm i) { parent = p; id = i; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:453:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 453 | uintm mask; // mask of bits in word being committed | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:457:33: error: ‘int4’ has not been declared 457 | ContextCommit(TripleSymbol *s,int4 sbit,int4 ebit,bool fl); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:457:43: error: ‘int4’ has not been declared 457 | ContextCommit(TripleSymbol *s,int4 sbit,int4 ebit,bool fl); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:258:42: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 258 | virtual void collectLocalValues(vector &results) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:258:47: error: template argument 1 is invalid 258 | virtual void collectLocalValues(vector &results) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:258:47: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:57:3: error: ‘int4’ does not name a type; did you mean ‘int’? 57 | int4 offset; ///< Offset into the Symbol that \b this covers | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void SectionSymbol::incrementDefineCount()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:123:37: error: ‘define_count’ was not declared in this scope 123 | void incrementDefineCount(void) { define_count += 1; } | ^~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isSpacebasePlaceholder() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:240:54: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 240 | bool isSpacebasePlaceholder(void) const { return ((addlflags&Varnode::spacebase_placeholder)!=0); } ///< Is \b this used specifically to track stackpointer values? | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:66:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 66 | uintm getId(void) const { return id; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:58:3: error: ‘int4’ does not name a type; did you mean ‘int’? 58 | int4 size; ///< Number of bytes consumed by \b this (piece of the) storage | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘bool OperandSymbol::isMarked() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:346:40: error: ‘flags’ was not declared in this scope 346 | bool isMarked(void) const { return ((flags&marked)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:71:5: error: ‘uint4’ does not name a type; did you mean ‘uint’? 71 | uint4 extraflags; ///< Varnode flags specific to the storage location | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:72:5: error: ‘int4’ does not name a type; did you mean ‘int’? 72 | int4 offset; ///< Starting offset of the portion of the Symbol being covered | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:267:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 267 | uint4 bitoffset; // least significant bit of range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:75:31: error: ‘uint4’ has not been declared 75 | EntryInitData(Symbol *sym,uint4 exfl,AddrSpace *spc,int4 off,const RangeList &ul) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:75:57: error: ‘int4’ has not been declared 75 | EntryInitData(Symbol *sym,uint4 exfl,AddrSpace *spc,int4 off,const RangeList &ul) | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:54:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 54 | uint4 extraflags; ///< Varnode flags specific to this storage location | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘bool OperandSymbol::isVariableLength() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:328:48: error: ‘flags’ was not declared in this scope 328 | bool isVariableLength(void) const { return ((flags&variable_len)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘bool HighVariable::isUnmerged() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:120:42: error: ‘highflags’ was not declared in this scope 120 | bool isUnmerged(void) const { return ((highflags&unmerged)!=0); } ///< Return \b true if \b this has merge problems | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In copy constructor ‘Address::Address(const Address&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:250:3: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 250 | offset = op2.offset; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:250:16: error: ‘const class Address’ has no member named ‘offset’ 250 | offset = op2.offset; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:85:5: error: ‘int4’ does not name a type; did you mean ‘int’? 85 | int4 useindex; ///< Index of the sub-sorting address space | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:268:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 268 | uint4 numbits; // number of bits in the range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:271:54: error: ‘uint4’ has not been declared 271 | BitrangeSymbol(const string &nm,VarnodeSymbol *sym,uint4 bitoff,uint4 num) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:271:67: error: ‘uint4’ has not been declared 271 | BitrangeSymbol(const string &nm,VarnodeSymbol *sym,uint4 bitoff,uint4 num) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:56:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 56 | uint8 hash; ///< A dynamic storage address (an alternative to \b addr for dynamic symbols) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘void Address::printRaw(std::ostream&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:281:20: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 281 | base->printRaw(s,offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::hasNoLocalAlias() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:241:47: error: ‘flags’ was not declared in this scope 241 | bool hasNoLocalAlias(void) const { return ((flags&Varnode::nolocalalias)!=0); } ///< Are there (not) any local pointers that might affect \b this? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:86:5: error: ‘uintb’ does not name a type; did you mean ‘uint’? 86 | uintb useoffset; ///< Offset into the sub-sorting address space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:263:8: error: ‘int4’ does not name a type; did you mean ‘int’? 263 | inline int4 Address::getAddrSize(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:57:3: error: ‘int4’ does not name a type; did you mean ‘int’? 57 | int4 offset; ///< Offset into the Symbol that \b this covers | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:288:8: error: ‘int4’ does not name a type; did you mean ‘int’? 288 | inline int4 Address::read(const string &s) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:274:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 274 | uint4 getBitOffset(void) const { return bitoffset; } | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:52:3: error: ‘int4’ does not name a type; did you mean ‘int’? 52 | int4 getLength(void) const { return name.size(); } ///< Get the number of attributes associated with the element | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:53:24: error: ‘int4’ has not been declared 53 | const string &getURI(int4 i) const { return bogus_uri; } ///< Get the namespace URI associated with the i-th attribute | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:54:30: error: ‘int4’ has not been declared 54 | const string &getLocalName(int4 i) const { return *name[i]; } ///< Get the local name of the i-th attribute | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:55:26: error: ‘int4’ has not been declared 55 | const string &getQName(int4 i) const { return *name[i]; } ///< Get the qualified name of the i-th attribute | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:61:26: error: ‘int4’ has not been declared 61 | const string &getValue(int4 i) const { return *value[i]; } ///< Get the value of the i-th attribute | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:111:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 111 | typedef uintb linetype; ///< The linear element for a rangemap of SymbolEntry | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:115:41: error: ‘uintb’ has not been declared 115 | SymbolEntry(const EntryInitData &data,uintb a,uintb b); ///< Fully initialize \b this | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void SectionSymbol::incrementRefCount()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:124:34: error: ‘ref_count’ was not declared in this scope 124 | void incrementRefCount(void) { ref_count += 1; } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:58:3: error: ‘int4’ does not name a type; did you mean ‘int’? 58 | int4 size; ///< Number of bytes consumed by \b this (piece of the) storage | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:115:49: error: ‘uintb’ has not been declared 115 | SymbolEntry(const EntryInitData &data,uintb a,uintb b); ///< Fully initialize \b this | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:116:27: error: ‘uint4’ has not been declared 116 | SymbolEntry(Symbol *sym,uint4 exfl,uint8 h,int4 off,int4 sz,const RangeList &rnglist); ///< Construct a dynamic SymbolEntry | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:116:38: error: ‘uint8’ has not been declared 116 | SymbolEntry(Symbol *sym,uint4 exfl,uint8 h,int4 off,int4 sz,const RangeList &rnglist); ///< Construct a dynamic SymbolEntry | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:116:46: error: ‘int4’ has not been declared 116 | SymbolEntry(Symbol *sym,uint4 exfl,uint8 h,int4 off,int4 sz,const RangeList &rnglist); ///< Construct a dynamic SymbolEntry | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:116:55: error: ‘int4’ has not been declared 116 | SymbolEntry(Symbol *sym,uint4 exfl,uint8 h,int4 off,int4 sz,const RangeList &rnglist); ///< Construct a dynamic SymbolEntry | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:275:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 275 | uint4 numBits(void) const { return numbits; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:300:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 300 | inline uintb Address::getOffset(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘bool HighVariable::hasCover() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:128:14: error: ‘flags’ was not declared in this scope 128 | return ((flags&(Varnode::constant|Varnode::annotation|Varnode::insert))==Varnode::insert); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void OperandSymbol::setCodeAddress()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:340:31: error: ‘flags’ was not declared in this scope 340 | void setCodeAddress(void) { flags |= code_address; } | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:120:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 120 | uint4 getAllFlags(void) const; ///< Get all Varnode flags for \b this storage | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:71:5: error: ‘uint4’ does not name a type; did you mean ‘uint’? 71 | uint4 extraflags; ///< Varnode flags specific to the storage location | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:132:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 132 | uint4 index; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:136:17: error: ‘uint4’ has not been declared 136 | void setIndex(uint4 ind) { index = ind; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isMark() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:242:38: error: ‘flags’ was not declared in this scope 242 | bool isMark(void) const { return ((flags&Varnode::mark)!=0); } ///< Has \b this been visited by the current algorithm? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:121:3: error: ‘int4’ does not name a type; did you mean ‘int’? 121 | int4 getOffset(void) const { return offset; } ///< Get offset of \b this within the Symbol | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:72:5: error: ‘int4’ does not name a type; did you mean ‘int’? 72 | int4 offset; ///< Starting offset of the portion of the Symbol being covered | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:436:3: error: ‘int4’ does not name a type; did you mean ‘int’? 436 | int4 num; // index of word containing context variable to set | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:75:31: error: ‘uint4’ has not been declared 75 | EntryInitData(Symbol *sym,uint4 exfl,AddrSpace *spc,int4 off,const RangeList &ul) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:75:57: error: ‘int4’ has not been declared 75 | EntryInitData(Symbol *sym,uint4 exfl,AddrSpace *spc,int4 off,const RangeList &ul) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘SymbolScope::SymbolScope(SymbolScope*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:60:53: error: ‘id’ was not declared in this scope; did you mean ‘i’? 60 | SymbolScope(SymbolScope *p,uintm i) { parent = p; id = i; } | ^~ | i /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:122:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 122 | uintb getFirst(void) const { return addr.getOffset(); } ///< Get the first offset of \b this storage location | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:137:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 137 | uint4 getIndex(void) const { return index; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:85:5: error: ‘int4’ does not name a type; did you mean ‘int’? 85 | int4 useindex; ///< Index of the sub-sorting address space | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:437:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 437 | uintm mask; // Mask off size of variable | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘UserOpSymbol::UserOpSymbol(const string&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:135:63: error: overloaded function with no contextual type information 135 | UserOpSymbol(const string &nm) : SleighSymbol(nm) { index = 0; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:123:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 123 | uintb getLast(void) const { return (addr.getOffset()+size-1); } ///< Get the last offset of \b this storage location | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void UserOpSymbol::setIndex(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:136:38: error: overloaded function with no contextual type information 136 | void setIndex(uint4 ind) { index = ind; } | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:86:5: error: ‘uintb’ does not name a type; did you mean ‘uint’? 86 | uintb useoffset; ///< Offset into the sub-sorting address space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:438:3: error: ‘int4’ does not name a type; did you mean ‘int’? 438 | int4 shift; // Number of bits to shift value into place | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘bool OperandSymbol::isCodeAddress() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:341:45: error: ‘flags’ was not declared in this scope 341 | bool isCodeAddress(void) const { return ((flags&code_address)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:440:17: error: expected ‘)’ before ‘startbit’ 440 | ContextOp(int4 startbit,int4 endbit,PatternExpression *pe); | ~ ^~~~~~~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘bool HighVariable::isTypeLock() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:131:56: error: ‘flags’ was not declared in this scope 131 | bool isTypeLock(void) const { updateType(); return ((flags & Varnode::typelock)!=0); } ///< Return \b true if \b this is \e typelocked | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:127:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 127 | uint8 getHash(void) const { return hash; } ///< Get the hash used to identify \b this storage | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:153:11: error: ‘int4’ does not name a type; did you mean ‘int’? 153 | virtual int4 getSize(void) const { return 0; } // Size out of context | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:128:3: error: ‘int4’ does not name a type; did you mean ‘int’? 128 | int4 getSize(void) const { return size; } ///< Get the number of bytes consumed by \b this storage | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isActiveHeritage() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:243:48: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 243 | bool isActiveHeritage(void) const { return ((addlflags&Varnode::activeheritage)!=0); } ///< Is \b this currently being traced by the Heritage algorithm? | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:111:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 111 | typedef uintb linetype; ///< The linear element for a rangemap of SymbolEntry | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘void Address::printRaw(std::ostream&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:281:20: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 281 | base->printRaw(s,offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:115:41: error: ‘uintb’ has not been declared 115 | SymbolEntry(const EntryInitData &data,uintb a,uintb b); ///< Fully initialize \b this | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:135:46: error: ‘int4’ has not been declared 135 | Datatype *getSizedType(const Address &addr,int4 sz) const; ///< Get the data-type associated with (a piece of) \b this | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:115:49: error: ‘uintb’ has not been declared 115 | SymbolEntry(const EntryInitData &data,uintb a,uintb b); ///< Fully initialize \b this | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘Address& Address::operator=(const Address&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:319:3: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 319 | offset = op2.offset; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:116:27: error: ‘uint4’ has not been declared 116 | SymbolEntry(Symbol *sym,uint4 exfl,uint8 h,int4 off,int4 sz,const RangeList &rnglist); ///< Construct a dynamic SymbolEntry | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh: In destructor ‘Attributes::~Attributes()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:45:9: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 45 | for(uint4 i=0;i &results) const {} | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:155:47: error: template argument 1 is invalid 155 | virtual void collectLocalValues(vector &results) const {} | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:155:47: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:122:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 122 | uintb getFirst(void) const { return addr.getOffset(); } ///< Get the first offset of \b this storage location | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isStackStore() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:244:44: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 244 | bool isStackStore(void) const { return ((addlflags&Varnode::stack_store)!=0); } ///< Was this originally produced by an explicit STORE | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh: In member function ‘const string& Attributes::getelemURI() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:30:19: warning: returning reference to temporary [-Wreturn-local-addr] 30 | #define bogus_uri "http://unused.uri" | ^~~~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:48:49: note: in expansion of macro ‘bogus_uri’ 48 | const string &getelemURI(void) const { return bogus_uri; } ///< Get the namespace URI associated with this element | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Address::operator==(const Address&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:328:30: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 328 | return ((base==op2.base)&&(offset==op2.offset)); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:123:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 123 | uintb getLast(void) const { return (addr.getOffset()+size-1); } ///< Get the last offset of \b this storage location | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:328:42: error: ‘const class Address’ has no member named ‘offset’ 328 | return ((base==op2.base)&&(offset==op2.offset)); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh: In member function ‘const string& Attributes::getURI(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:30:19: warning: returning reference to temporary [-Wreturn-local-addr] 30 | #define bogus_uri "http://unused.uri" | ^~~~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:53:47: note: in expansion of macro ‘bogus_uri’ 53 | const string &getURI(int4 i) const { return bogus_uri; } ///< Get the namespace URI associated with the i-th attribute | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:127:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 127 | uint8 getHash(void) const { return hash; } ///< Get the hash used to identify \b this storage | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:272:56: error: ‘numbits’ was not declared in this scope 272 | : SleighSymbol(nm) { varsym=sym; bitoffset=bitoff; numbits=num; } | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:475:3: error: ‘int4’ does not name a type; did you mean ‘int’? 475 | int4 minimumlength; // Minimum length taken up by this constructor in bytes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘Address& Address::operator=(const Address&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:319:3: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 319 | offset = op2.offset; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:319:16: error: ‘const class Address’ has no member named ‘offset’ 319 | offset = op2.offset; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘bool OperandSymbol::isOffsetIrrelevant() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:343:50: error: ‘flags’ was not declared in this scope 343 | bool isOffsetIrrelevant(void) const { return ((flags&offset_irrel)!=0); } | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In constructor ‘SymbolEntry::EntryInitData::EntryInitData(Symbol*, int, AddrSpace*, int, const RangeList&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:76:38: error: ‘extraflags’ was not declared in this scope 76 | : uselimit(ul) { symbol = sym; extraflags=exfl; space = spc; offset = off; } ///< Constructor | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:128:3: error: ‘int4’ does not name a type; did you mean ‘int’? 128 | int4 getSize(void) const { return size; } ///< Get the number of bytes consumed by \b this storage | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:476:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 476 | uintm id; // Unique id of constructor within subtable | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:135:46: error: ‘int4’ has not been declared 135 | Datatype *getSizedType(const Address &addr,int4 sz) const; ///< Get the data-type associated with (a piece of) \b this | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:281:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 281 | uint4 low,high; // into a varnode | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh: In member function ‘const string& Attributes::getValue(const string&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:65:9: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 65 | for(uint4 i=0;i=0 then print only a single operand no markup | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:479:3: error: ‘int4’ does not name a type; did you mean ‘int’? 479 | int4 lineno; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:287:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 287 | uint4 getLow(void) const { return low; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:480:3: error: ‘int4’ does not name a type; did you mean ‘int’? 480 | int4 src_index; //source file index | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:65:19: error: ‘i’ was not declared in this scope 65 | for(uint4 i=0;i valuetable; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:362:50: error: ‘const class Address’ has no member named ‘offset’ 362 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:215:14: error: template argument 1 is invalid 215 | vector valuetable; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:215:14: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:492:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 492 | uintm getId(void) const { return id; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:493:18: error: ‘int4’ has not been declared 493 | void setLineno(int4 ln) { lineno = ln; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:494:3: error: ‘int4’ does not name a type; did you mean ‘int’? 494 | int4 getLineno(void) const { return lineno; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:495:20: error: ‘int4’ has not been declared 495 | void setSrcIndex(int4 index) {src_index = index;} | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:54:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 54 | uint4 extraflags; ///< Varnode flags specific to this storage location | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In constructor ‘SymbolEntry::EntryInitData::EntryInitData(Symbol*, int, AddrSpace*, int, const RangeList&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:76:38: error: ‘extraflags’ was not declared in this scope 76 | : uselimit(ul) { symbol = sym; extraflags=exfl; space = spc; offset = off; } ///< Constructor | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:496:3: error: ‘int4’ does not name a type; did you mean ‘int’? 496 | int4 getSrcIndex(void) {return src_index;} | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Address::operator<(const Address&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:351:39: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 351 | else if (base == (AddrSpace *) ~((uintp)0)) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:503:42: error: ‘int4’ has not been declared 503 | void setNamedSection(ConstructTpl *tpl,int4 id); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:351:45: error: expected ‘)’ before numeric constant 351 | else if (base == (AddrSpace *) ~((uintp)0)) { | ~ ^ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:353:6: error: expected ‘)’ before ‘else’ 353 | } | ^ | ) 354 | else if (op2.base == (AddrSpace *)0) { | ~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void OperandSymbol::clearMark()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:345:26: error: ‘flags’ was not declared in this scope 345 | void clearMark(void) { flags &= ~((uint4)marked); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:351:13: note: to match this ‘(’ 351 | else if (base == (AddrSpace *) ~((uintp)0)) { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:56:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 56 | uint8 hash; ///< A dynamic storage address (an alternative to \b addr for dynamic symbols) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:505:3: error: ‘int4’ does not name a type; did you mean ‘int’? 505 | int4 getNumOperands(void) const { return operands.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:506:29: error: ‘int4’ has not been declared 506 | OperandSymbol *getOperand(int4 i) const { return operands[i]; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:509:31: error: ‘int4’ has not been declared 509 | ConstructTpl *getNamedTempl(int4 secnum) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Address::operator<=(const Address&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:374:39: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 374 | else if (base == (AddrSpace *) ~((uintp)0)) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:374:45: error: expected ‘)’ before numeric constant 374 | else if (base == (AddrSpace *) ~((uintp)0)) { | ~ ^ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:376:6: error: expected ‘)’ before ‘else’ 376 | } | ^ | ) 377 | else if (op2.base == (AddrSpace *)0) { | ~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:374:13: note: to match this ‘(’ 374 | else if (base == (AddrSpace *) ~((uintp)0)) { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:57:3: error: ‘int4’ does not name a type; did you mean ‘int’? 57 | int4 offset; ///< Offset into the Symbol that \b this covers | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:220:65: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 220 | ValueMapSymbol(const string &nm,PatternValue *pv,const vector &vt) : ValueSymbol(nm,pv) { valuetable=vt; checkTableFill(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:220:69: error: template argument 1 is invalid 220 | ValueMapSymbol(const string &nm,PatternValue *pv,const vector &vt) : ValueSymbol(nm,pv) { valuetable=vt; checkTableFill(); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:220:69: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:510:3: error: ‘int4’ does not name a type; did you mean ‘int’? 510 | int4 getNumSections(void) const { return namedtempl.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isExtraOut() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:251:42: error: ‘flags’ was not declared in this scope 251 | bool isExtraOut(void) const { return ((flags&(Varnode::indirect_creation|Varnode::addrtied))==Varnode::indirect_creation); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In constructor ‘SymbolEntry::EntrySubsort::EntrySubsort(const Address&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:89:7: error: ‘useindex’ was not declared in this scope; did you mean ‘rindex’? 89 | useindex = addr.getSpace()->getIndex(); useoffset = addr.getOffset(); } ///< Construct given a sub-sorting address | ^~~~~~~~ | rindex /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:89:35: error: ‘class AddrSpace’ has no member named ‘getIndex’ 89 | useindex = addr.getSpace()->getIndex(); useoffset = addr.getOffset(); } ///< Construct given a sub-sorting address | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:58:3: error: ‘int4’ does not name a type; did you mean ‘int’? 58 | int4 size; ///< Number of bytes consumed by \b this (piece of the) storage | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:117:3: error: ‘int4’ does not name a type; did you mean ‘int’? 117 | int4 templateid; // Index into the ConstructTpl array | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:345:38: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 345 | void clearMark(void) { flags &= ~((uint4)marked); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:345:44: error: expected ‘)’ before ‘marked’ 345 | void clearMark(void) { flags &= ~((uint4)marked); } | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:345:36: note: to match this ‘(’ 345 | void clearMark(void) { flags &= ~((uint4)marked); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:76:68: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 76 | : uselimit(ul) { symbol = sym; extraflags=exfl; space = spc; offset = off; } ///< Constructor | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:71:5: error: ‘uint4’ does not name a type; did you mean ‘uint’? 71 | uint4 extraflags; ///< Varnode flags specific to the storage location | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:362:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 362 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:362:21: error: ‘const class Address’ has no member named ‘offset’ 362 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:118:3: error: ‘int4’ does not name a type; did you mean ‘int’? 118 | int4 define_count; // Number of definitions of this named section | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:362:50: error: ‘const class Address’ has no member named ‘offset’ 362 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:72:5: error: ‘int4’ does not name a type; did you mean ‘int’? 72 | int4 offset; ///< Starting offset of the portion of the Symbol being covered | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:305:11: error: ‘int4’ does not name a type; did you mean ‘int’? 305 | virtual int4 getSize(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:75:31: error: ‘uint4’ has not been declared 75 | EntryInitData(Symbol *sym,uint4 exfl,AddrSpace *spc,int4 off,const RangeList &ul) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:521:36: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 521 | void markSubtableOperands(vector &check) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:75:57: error: ‘int4’ has not been declared 75 | EntryInitData(Symbol *sym,uint4 exfl,AddrSpace *spc,int4 off,const RangeList &ul) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:521:40: error: template argument 1 is invalid 521 | void markSubtableOperands(vector &check) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:521:40: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:385:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 385 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:385:21: error: ‘const class Address’ has no member named ‘offset’ 385 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:250:50: error: ‘uintb’ has not been declared 250 | VarnodeSymbol(const string &nm,AddrSpace *base,uintb offset,int4 size); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:385:50: error: ‘const class Address’ has no member named ‘offset’ 385 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:250:63: error: ‘int4’ has not been declared 250 | VarnodeSymbol(const string &nm,AddrSpace *base,uintb offset,int4 size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:394:16: error: declaration of ‘operator+’ as non-function 394 | inline Address Address::operator+(int4 off) const { | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:119:3: error: ‘int4’ does not name a type; did you mean ‘int’? 119 | int4 ref_count; // Number of references to this named section | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:121:34: error: ‘int4’ has not been declared 121 | SectionSymbol(const string &nm,int4 id) : SleighSymbol(nm) { templateid=id; define_count=0; ref_count=0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:85:5: error: ‘int4’ does not name a type; did you mean ‘int’? 85 | int4 useindex; ///< Index of the sub-sorting address space | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isPrecisLo() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:252:42: error: ‘flags’ was not declared in this scope 252 | bool isPrecisLo(void) const { return ((flags&Varnode::precislo)!=0); } ///< Is \b this the low portion of a double precision value? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:255:11: error: ‘int4’ does not name a type; did you mean ‘int’? 255 | virtual int4 getSize(void) const { return fix.size; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:86:5: error: ‘uintb’ does not name a type; did you mean ‘uint’? 86 | uintb useoffset; ///< Offset into the sub-sorting address space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:122:3: error: ‘int4’ does not name a type; did you mean ‘int’? 122 | int4 getTemplateId(void) const { return templateid; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:394:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 394 | inline Address Address::operator+(int4 off) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:404:16: error: declaration of ‘operator-’ as non-function 404 | inline Address Address::operator-(int4 off) const { | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:475:3: error: ‘int4’ does not name a type; did you mean ‘int’? 475 | int4 minimumlength; // Minimum length taken up by this constructor in bytes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Address::operator<=(const Address&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:374:39: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 374 | else if (base == (AddrSpace *) ~((uintp)0)) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:374:45: error: expected ‘)’ before numeric constant 374 | else if (base == (AddrSpace *) ~((uintp)0)) { | ~ ^ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘bool OperandSymbol::isMarked() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:346:40: error: ‘flags’ was not declared in this scope 346 | bool isMarked(void) const { return ((flags&marked)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:376:6: error: expected ‘)’ before ‘else’ 376 | } | ^ | ) 377 | else if (op2.base == (AddrSpace *)0) { | ~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:89:47: error: ‘useoffset’ was not declared in this scope 89 | useindex = addr.getSpace()->getIndex(); useoffset = addr.getOffset(); } ///< Construct given a sub-sorting address | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:374:13: note: to match this ‘(’ 374 | else if (base == (AddrSpace *) ~((uintp)0)) { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:89:64: error: ‘const class Address’ has no member named ‘getOffset’ 89 | useindex = addr.getSpace()->getIndex(); useoffset = addr.getOffset(); } ///< Construct given a sub-sorting address | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:522:35: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 522 | void collectLocalExports(vector &results) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:522:40: error: template argument 1 is invalid 522 | void collectLocalExports(vector &results) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:522:40: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:125:3: error: ‘int4’ does not name a type; did you mean ‘int’? 125 | int4 getDefineCount(void) const { return define_count; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:111:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 111 | typedef uintb linetype; ///< The linear element for a rangemap of SymbolEntry | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:115:41: error: ‘uintb’ has not been declared 115 | SymbolEntry(const EntryInitData &data,uintb a,uintb b); ///< Fully initialize \b this | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:115:49: error: ‘uintb’ has not been declared 115 | SymbolEntry(const EntryInitData &data,uintb a,uintb b); ///< Fully initialize \b this | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:116:27: error: ‘uint4’ has not been declared 116 | SymbolEntry(Symbol *sym,uint4 exfl,uint8 h,int4 off,int4 sz,const RangeList &rnglist); ///< Construct a dynamic SymbolEntry | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:116:38: error: ‘uint8’ has not been declared 116 | SymbolEntry(Symbol *sym,uint4 exfl,uint8 h,int4 off,int4 sz,const RangeList &rnglist); ///< Construct a dynamic SymbolEntry | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:116:46: error: ‘int4’ has not been declared 116 | SymbolEntry(Symbol *sym,uint4 exfl,uint8 h,int4 off,int4 sz,const RangeList &rnglist); ///< Construct a dynamic SymbolEntry | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:476:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 476 | uintm id; // Unique id of constructor within subtable | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:116:55: error: ‘int4’ has not been declared 116 | SymbolEntry(Symbol *sym,uint4 exfl,uint8 h,int4 off,int4 sz,const RangeList &rnglist); ///< Construct a dynamic SymbolEntry | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:404:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 404 | inline Address Address::operator-(int4 off) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:168:35: error: ‘int4’ has not been declared 168 | void addContent(const char *str,int4 start,int4 length) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:168:46: error: ‘int4’ has not been declared 168 | void addContent(const char *str,int4 start,int4 length) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:126:3: error: ‘int4’ does not name a type; did you mean ‘int’? 126 | int4 getRefCount(void) const { return ref_count; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In constructor ‘SymbolEntry::EntrySubsort::EntrySubsort(const Address&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:89:7: error: ‘useindex’ was not declared in this scope; did you mean ‘rindex’? 89 | useindex = addr.getSpace()->getIndex(); useoffset = addr.getOffset(); } ///< Construct given a sub-sorting address | ^~~~~~~~ | rindex /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:319:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 319 | uint4 reloffset; // Relative offset | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:89:35: error: ‘class AddrSpace’ has no member named ‘getIndex’ 89 | useindex = addr.getSpace()->getIndex(); useoffset = addr.getOffset(); } ///< Construct given a sub-sorting address | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:477:3: error: ‘int4’ does not name a type; did you mean ‘int’? 477 | int4 firstwhitespace; // Index of first whitespace piece in -printpiece- | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:120:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 120 | uint4 getAllFlags(void) const; ///< Get all Varnode flags for \b this storage | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isPrecisHi() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:253:42: error: ‘flags’ was not declared in this scope 253 | bool isPrecisHi(void) const { return ((flags&Varnode::precishi)!=0); } ///< Is \b this the high portion of a double precision value? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:197:3: error: ‘int4’ does not name a type; did you mean ‘int’? 197 | int4 getNumAttributes(void) const { return attr.size(); } ///< Get the number of attributes for \b this element | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:258:42: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 258 | virtual void collectLocalValues(vector &results) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:198:34: error: ‘int4’ has not been declared 198 | const string &getAttributeName(int4 i) const { return attr[i]; } ///< Get the name of the i-th attribute | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:258:47: error: template argument 1 is invalid 258 | virtual void collectLocalValues(vector &results) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:258:47: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:320:3: error: ‘int4’ does not name a type; did you mean ‘int’? 320 | int4 offsetbase; // Base operand to which offset is relative (-1=constructor start) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:199:35: error: ‘int4’ has not been declared 199 | const string &getAttributeValue(int4 i) const { return value[i]; } ///< Get the value of the i-th attribute | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:478:3: error: ‘int4’ does not name a type; did you mean ‘int’? 478 | int4 flowthruindex; // if >=0 then print only a single operand no markup | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:121:3: error: ‘int4’ does not name a type; did you mean ‘int’? 121 | int4 getOffset(void) const { return offset; } ///< Get offset of \b this within the Symbol | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:385:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 385 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:385:21: error: ‘const class Address’ has no member named ‘offset’ 385 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:385:50: error: ‘const class Address’ has no member named ‘offset’ 385 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:479:3: error: ‘int4’ does not name a type; did you mean ‘int’? 479 | int4 lineno; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:394:16: error: declaration of ‘operator+’ as non-function 394 | inline Address Address::operator+(int4 off) const { | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:321:3: error: ‘int4’ does not name a type; did you mean ‘int’? 321 | int4 minimumlength; // Minimum size of operand (within instruction tokens) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:122:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 122 | uintb getFirst(void) const { return addr.getOffset(); } ///< Get the first offset of \b this storage location | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:480:3: error: ‘int4’ does not name a type; did you mean ‘int’? 480 | int4 src_index; //source file index | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:322:3: error: ‘int4’ does not name a type; did you mean ‘int’? 322 | int4 hand; // Handle index | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:489:25: error: ‘int4’ has not been declared 489 | void setMinimumLength(int4 l) { minimumlength = l; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In constructor ‘SymbolEntry::EntrySubsort::EntrySubsort()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:90:26: error: ‘useindex’ was not declared in this scope; did you mean ‘rindex’? 90 | EntrySubsort(void) { useindex=0; useoffset=0; } ///< Construct earliest possible sub-sort | ^~~~~~~~ | rindex /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:123:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 123 | uintb getLast(void) const { return (addr.getOffset()+size-1); } ///< Get the last offset of \b this storage location | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:394:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 394 | inline Address Address::operator+(int4 off) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:404:16: error: declaration of ‘operator-’ as non-function 404 | inline Address Address::operator-(int4 off) const { | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:267:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 267 | uint4 bitoffset; // least significant bit of range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:490:3: error: ‘int4’ does not name a type; did you mean ‘int’? 490 | int4 getMinimumLength(void) const { return minimumlength; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:491:14: error: ‘uintm’ has not been declared 491 | void setId(uintm i) { id = i; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:326:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 326 | uint4 flags; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘void Address::saveXml(std::ostream&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:429:31: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 429 | base->saveXmlAttributes(s,offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:331:34: error: ‘int4’ has not been declared 331 | OperandSymbol(const string &nm,int4 index,Constructor *ct); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:127:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 127 | uint8 getHash(void) const { return hash; } ///< Get the hash used to identify \b this storage | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isIncidentalCopy() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:254:48: error: ‘flags’ was not declared in this scope 254 | bool isIncidentalCopy(void) const { return ((flags&Varnode::incidental_copy)!=0); } ///< Does this varnode get copied as a side-effect | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void Constructor::setMinimumLength(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:489:35: error: ‘minimumlength’ was not declared in this scope; did you mean ‘setMinimumLength’? 489 | void setMinimumLength(int4 l) { minimumlength = l; } | ^~~~~~~~~~~~~ | setMinimumLength /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:438:41: error: ‘int4’ has not been declared 438 | inline void Address::saveXml(ostream &s,int4 size) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:492:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 492 | uintm getId(void) const { return id; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:493:18: error: ‘int4’ has not been declared 493 | void setLineno(int4 ln) { lineno = ln; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:268:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 268 | uint4 numbits; // number of bits in the range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:89:47: error: ‘useoffset’ was not declared in this scope 89 | useindex = addr.getSpace()->getIndex(); useoffset = addr.getOffset(); } ///< Construct given a sub-sorting address | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:271:54: error: ‘uint4’ has not been declared 271 | BitrangeSymbol(const string &nm,VarnodeSymbol *sym,uint4 bitoff,uint4 num) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:271:67: error: ‘uint4’ has not been declared 271 | BitrangeSymbol(const string &nm,VarnodeSymbol *sym,uint4 bitoff,uint4 num) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:89:64: error: ‘const class Address’ has no member named ‘getOffset’ 89 | useindex = addr.getSpace()->getIndex(); useoffset = addr.getOffset(); } ///< Construct given a sub-sorting address | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:436:3: error: ‘int4’ does not name a type; did you mean ‘int’? 436 | int4 num; // index of word containing context variable to set | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:128:3: error: ‘int4’ does not name a type; did you mean ‘int’? 128 | int4 getSize(void) const { return size; } ///< Get the number of bytes consumed by \b this storage | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:332:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 332 | uint4 getRelativeOffset(void) const { return reloffset; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:404:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 404 | inline Address Address::operator-(int4 off) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:135:46: error: ‘int4’ has not been declared 135 | Datatype *getSizedType(const Address &addr,int4 sz) const; ///< Get the data-type associated with (a piece of) \b this | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘SectionSymbol::SectionSymbol(const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:121:64: error: ‘templateid’ was not declared in this scope 121 | SectionSymbol(const string &nm,int4 id) : SleighSymbol(nm) { templateid=id; define_count=0; ref_count=0; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:494:3: error: ‘int4’ does not name a type; did you mean ‘int’? 494 | int4 getLineno(void) const { return lineno; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:495:20: error: ‘int4’ has not been declared 495 | void setSrcIndex(int4 index) {src_index = index;} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:333:3: error: ‘int4’ does not name a type; did you mean ‘int’? 333 | int4 getOffsetBase(void) const { return offsetbase; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:274:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 274 | uint4 getBitOffset(void) const { return bitoffset; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:437:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 437 | uintm mask; // Mask off size of variable | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:496:3: error: ‘int4’ does not name a type; did you mean ‘int’? 496 | int4 getSrcIndex(void) {return src_index;} | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:503:42: error: ‘int4’ has not been declared 503 | void setNamedSection(ConstructTpl *tpl,int4 id); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:334:3: error: ‘int4’ does not name a type; did you mean ‘int’? 334 | int4 getMinimumLength(void) const { return minimumlength; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:275:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 275 | uint4 numBits(void) const { return numbits; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:438:3: error: ‘int4’ does not name a type; did you mean ‘int’? 438 | int4 shift; // Number of bits to shift value into place | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:440:17: error: expected ‘)’ before ‘startbit’ 440 | ContextOp(int4 startbit,int4 endbit,PatternExpression *pe); | ~ ^~~~~~~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void Constructor::setId(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:491:25: error: ‘id’ was not declared in this scope; did you mean ‘i’? 491 | void setId(uintm i) { id = i; } | ^~ | i /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:505:3: error: ‘int4’ does not name a type; did you mean ‘int’? 505 | int4 getNumOperands(void) const { return operands.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:506:29: error: ‘int4’ has not been declared 506 | OperandSymbol *getOperand(int4 i) const { return operands[i]; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:509:31: error: ‘int4’ has not been declared 509 | ConstructTpl *getNamedTempl(int4 secnum) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:337:3: error: ‘int4’ does not name a type; did you mean ‘int’? 337 | int4 getIndex(void) const { return hand; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isWriteMask() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:255:43: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 255 | bool isWriteMask(void) const { return ((addlflags&Varnode::writemask)!=0); } ///< Is \b this (not) considered a true write location when calculating SSA form? | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:90:38: error: ‘useoffset’ was not declared in this scope 90 | EntrySubsort(void) { useindex=0; useoffset=0; } ///< Construct earliest possible sub-sort | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:233:44: error: ‘int4’ has not been declared 233 | virtual void characters(const char *text,int4 start,int4 length); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:233:55: error: ‘int4’ has not been declared 233 | virtual void characters(const char *text,int4 start,int4 length); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:234:53: error: ‘int4’ has not been declared 234 | virtual void ignorableWhitespace(const char *text,int4 start,int4 length) {} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘void Address::saveXml(std::ostream&, int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:441:31: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 441 | base->saveXmlAttributes(s,offset,size); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:234:64: error: ‘int4’ has not been declared 234 | virtual void ignorableWhitespace(const char *text,int4 start,int4 length) {} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:510:3: error: ‘int4’ does not name a type; did you mean ‘int’? 510 | int4 getNumSections(void) const { return namedtempl.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:351:11: error: ‘int4’ does not name a type; did you mean ‘int’? 351 | virtual int4 getSize(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:452:3: error: ‘int4’ does not name a type; did you mean ‘int’? 452 | int4 num; // Index of word containing context commit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In constructor ‘SymbolEntry::EntrySubsort::EntrySubsort()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:90:26: error: ‘useindex’ was not declared in this scope; did you mean ‘rindex’? 90 | EntrySubsort(void) { useindex=0; useoffset=0; } ///< Construct earliest possible sub-sort | ^~~~~~~~ | rindex /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘void Address::saveXml(std::ostream&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:429:31: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 429 | base->saveXmlAttributes(s,offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:453:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 453 | uintm mask; // mask of bits in word being committed | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:438:41: error: ‘int4’ has not been declared 438 | inline void Address::saveXml(ostream &s,int4 size) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:457:33: error: ‘int4’ has not been declared 457 | ContextCommit(TripleSymbol *s,int4 sbit,int4 ebit,bool fl); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:457:43: error: ‘int4’ has not been declared 457 | ContextCommit(TripleSymbol *s,int4 sbit,int4 ebit,bool fl); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void Constructor::setLineno(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:493:29: error: ‘lineno’ was not declared in this scope; did you mean ‘fileno’? 493 | void setLineno(int4 ln) { lineno = ln; } | ^~~~~~ | fileno In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In constructor ‘SymbolEntry::EntryInitData::EntryInitData(Symbol*, int, AddrSpace*, int, const RangeList&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:76:38: error: ‘extraflags’ was not declared in this scope 76 | : uselimit(ul) { symbol = sym; extraflags=exfl; space = spc; offset = off; } ///< Constructor | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:521:36: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 521 | void markSubtableOperands(vector &check) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:521:40: error: template argument 1 is invalid 521 | void markSubtableOperands(vector &check) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:521:40: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isUnsignedPrint() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:256:47: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 256 | bool isUnsignedPrint(void) const { return ((addlflags&Varnode::unsignedprint)!=0); } ///< Must \b this be printed as unsigned | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:353:42: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 353 | virtual void collectLocalValues(vector &results) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:121:79: error: ‘define_count’ was not declared in this scope 121 | SectionSymbol(const string &nm,int4 id) : SleighSymbol(nm) { templateid=id; define_count=0; ref_count=0; } | ^~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:353:47: error: template argument 1 is invalid 353 | virtual void collectLocalValues(vector &results) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:353:47: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In static member function ‘static AddrSpace* Address::getSpaceFromConst(const Address&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:453:24: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 453 | return (AddrSpace *)(uintp)addr.offset; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:453:30: error: expected ‘;’ before ‘addr’ 453 | return (AddrSpace *)(uintp)addr.offset; | ^~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:453:35: error: ‘const class Address’ has no member named ‘offset’ 453 | return (AddrSpace *)(uintp)addr.offset; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In constructor ‘SymbolEntry::EntrySubsort::EntrySubsort(bool)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:96:18: error: ‘useindex’ was not declared in this scope; did you mean ‘rindex’? 96 | if (val) { useindex=0xffff; } // Greater than any real values | ^~~~~~~~ | rindex /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘BitrangeSymbol::BitrangeSymbol(const string&, VarnodeSymbol*, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:272:38: error: ‘bitoffset’ was not declared in this scope; did you mean ‘bitoff’? 272 | : SleighSymbol(nm) { varsym=sym; bitoffset=bitoff; numbits=num; } | ^~~~~~~~~ | bitoff /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:522:35: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 522 | void collectLocalExports(vector &results) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:522:40: error: template argument 1 is invalid 522 | void collectLocalExports(vector &results) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:522:40: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘void Address::saveXml(std::ostream&, int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:441:31: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 441 | base->saveXmlAttributes(s,offset,size); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:90:38: error: ‘useoffset’ was not declared in this scope 90 | EntrySubsort(void) { useindex=0; useoffset=0; } ///< Construct earliest possible sub-sort | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isWritten() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:257:41: error: ‘flags’ was not declared in this scope 257 | bool isWritten(void) const { return ((flags&Varnode::written)!=0); } ///< Does \b this have a defining write operation? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:76:68: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 76 | : uselimit(ul) { symbol = sym; extraflags=exfl; space = spc; offset = off; } ///< Constructor | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Range::contains(const Address&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:460:7: error: ‘first’ was not declared in this scope 460 | if (first > addr.getOffset()) return false; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:460:20: error: ‘const class Address’ has no member named ‘getOffset’ 460 | if (first > addr.getOffset()) return false; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void Constructor::setSrcIndex(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:495:33: error: ‘src_index’ was not declared in this scope; did you mean ‘rindex’? 495 | void setSrcIndex(int4 index) {src_index = index;} | ^~~~~~~~~ | rindex /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void OperandSymbol::setVariableLength()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:327:34: error: ‘flags’ was not declared in this scope 327 | void setVariableLength(void) { flags |= variable_len; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:121:95: error: ‘ref_count’ was not declared in this scope 121 | SectionSymbol(const string &nm,int4 id) : SleighSymbol(nm) { templateid=id; define_count=0; ref_count=0; } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:97:14: error: ‘useindex’ was not declared in this scope; did you mean ‘rindex’? 97 | else { useindex=0; useoffset=0; } // Less than any real values | ^~~~~~~~ | rindex /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:272:56: error: ‘numbits’ was not declared in this scope 272 | : SleighSymbol(nm) { varsym=sym; bitoffset=bitoff; numbits=num; } | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In static member function ‘static AddrSpace* Address::getSpaceFromConst(const Address&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:453:24: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 453 | return (AddrSpace *)(uintp)addr.offset; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:453:30: error: expected ‘;’ before ‘addr’ 453 | return (AddrSpace *)(uintp)addr.offset; | ^~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:453:35: error: ‘const class Address’ has no member named ‘offset’ 453 | return (AddrSpace *)(uintp)addr.offset; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:461:7: error: ‘last’ was not declared in this scope 461 | if (last < addr.getOffset()) return false; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:461:19: error: ‘const class Address’ has no member named ‘getOffset’ 461 | if (last < addr.getOffset()) return false; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::hasCover() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:261:14: error: ‘flags’ was not declared in this scope 261 | return ((flags&(Varnode::constant|Varnode::annotation|Varnode::insert))==Varnode::insert); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:281:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 281 | uint4 low,high; // into a varnode | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::constantMatch(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:267:17: error: ‘const class Address’ has no member named ‘getOffset’ 267 | return (loc.getOffset() == val); | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:285:70: error: ‘uint4’ has not been declared 285 | ContextSymbol(const string &nm,ContextField *pate,VarnodeSymbol *v,uint4 l,uint4 h,bool flow); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:285:78: error: ‘uint4’ has not been declared 285 | ContextSymbol(const string &nm,ContextField *pate,VarnodeSymbol *v,uint4 l,uint4 h,bool flow); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:467:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 467 | inline uintb calc_mask(int4 size) { return uintbmasks[(size<8)? size : 8]; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In constructor ‘SymbolEntry::EntrySubsort::EntrySubsort(bool)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:96:18: error: ‘useindex’ was not declared in this scope; did you mean ‘rindex’? 96 | if (val) { useindex=0xffff; } // Greater than any real values | ^~~~~~~~ | rindex /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘bool OperandSymbol::isVariableLength() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:328:48: error: ‘flags’ was not declared in this scope 328 | bool isVariableLength(void) const { return ((flags&variable_len)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void Constructor::setMinimumLength(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:489:35: error: ‘minimumlength’ was not declared in this scope; did you mean ‘setMinimumLength’? 489 | void setMinimumLength(int4 l) { minimumlength = l; } | ^~~~~~~~~~~~~ | setMinimumLength /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:473:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 473 | inline uintb pcode_right(uintb val,int4 sa) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In constructor ‘SymbolEntry::EntrySubsort::EntrySubsort(const Address&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:89:7: error: ‘useindex’ was not declared in this scope; did you mean ‘rindex’? 89 | useindex = addr.getSpace()->getIndex(); useoffset = addr.getOffset(); } ///< Construct given a sub-sorting address | ^~~~~~~~ | rindex /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:287:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 287 | uint4 getLow(void) const { return low; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:482:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 482 | inline uintb pcode_left(uintb val,int4 sa) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:89:35: error: ‘class AddrSpace’ has no member named ‘getIndex’ 89 | useindex = addr.getSpace()->getIndex(); useoffset = addr.getOffset(); } ///< Construct given a sub-sorting address | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:493:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 493 | inline uintb minimalmask(uintb val) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:505:13: warning: ‘signbit_negative’ initialized and declared ‘extern’ 505 | extern bool signbit_negative(uintb val,int4 size); ///< Return true if the sign-bit is set | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Range::contains(const Address&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:460:7: error: ‘first’ was not declared in this scope 460 | if (first > addr.getOffset()) return false; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:288:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 288 | uint4 getHigh(void) const { return high; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:460:20: error: ‘const class Address’ has no member named ‘getOffset’ 460 | if (first > addr.getOffset()) return false; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:97:26: error: ‘useoffset’ was not declared in this scope 97 | else { useindex=0; useoffset=0; } // Less than any real values | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:505:30: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 505 | extern bool signbit_negative(uintb val,int4 size); ///< Return true if the sign-bit is set | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isHeritageKnown() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:272:47: error: ‘flags’ was not declared in this scope 272 | bool isHeritageKnown(void) const { return ((flags&(Varnode::insert|Varnode::constant|Varnode::annotation))!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void Constructor::setId(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:491:25: error: ‘id’ was not declared in this scope; did you mean ‘i’? 491 | void setId(uintm i) { id = i; } | ^~ | i /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void OperandSymbol::setCodeAddress()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:340:31: error: ‘flags’ was not declared in this scope 340 | void setCodeAddress(void) { flags |= code_address; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void SectionSymbol::incrementDefineCount()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:123:37: error: ‘define_count’ was not declared in this scope 123 | void incrementDefineCount(void) { define_count += 1; } | ^~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:97:14: error: ‘useindex’ was not declared in this scope; did you mean ‘rindex’? 97 | else { useindex=0; useoffset=0; } // Less than any real values | ^~~~~~~~ | rindex /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:505:40: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 505 | extern bool signbit_negative(uintb val,int4 size); ///< Return true if the sign-bit is set | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:461:7: error: ‘last’ was not declared in this scope 461 | if (last < addr.getOffset()) return false; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:505:49: error: expression list treated as compound expression in initializer [-fpermissive] 505 | extern bool signbit_negative(uintb val,int4 size); ///< Return true if the sign-bit is set | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:461:19: error: ‘const class Address’ has no member named ‘getOffset’ 461 | if (last < addr.getOffset()) return false; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:506:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 506 | extern uintb calc_mask(int4 size); ///< Calculate a mask for a given byte size | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:467:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 467 | inline uintb calc_mask(int4 size) { return uintbmasks[(size<8)? size : 8]; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:507:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 507 | extern uintb uintb_negate(uintb in,int4 size); ///< Negate the \e sized value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:89:47: error: ‘useoffset’ was not declared in this scope 89 | useindex = addr.getSpace()->getIndex(); useoffset = addr.getOffset(); } ///< Construct given a sub-sorting address | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:89:64: error: ‘const class Address’ has no member named ‘getOffset’ 89 | useindex = addr.getSpace()->getIndex(); useoffset = addr.getOffset(); } ///< Construct given a sub-sorting address | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:473:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 473 | inline uintb pcode_right(uintb val,int4 sa) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:508:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 508 | extern uintb sign_extend(uintb in,int4 sizein,int4 sizeout); ///< Sign-extend a value between two byte sizes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:300:8: error: ‘int4’ does not name a type; did you mean ‘int’? 300 | extern int4 xml_parse(istream &i,ContentHandler *hand,int4 dbg=0); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:510:13: error: variable or field ‘sign_extend’ declared void 510 | extern void sign_extend(intb &val,int4 bit); ///< Sign extend above given bit | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:482:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 482 | inline uintb pcode_left(uintb val,int4 sa) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void Constructor::setLineno(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:493:29: error: ‘lineno’ was not declared in this scope; did you mean ‘fileno’? 493 | void setLineno(int4 ln) { lineno = ln; } | ^~~~~~ | fileno /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isTypeLock() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:273:42: error: ‘flags’ was not declared in this scope 273 | bool isTypeLock(void) const { return ((flags&Varnode::typelock)!=0); } ///< Does \b this have a locked Datatype? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:493:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 493 | inline uintb minimalmask(uintb val) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:505:13: warning: ‘signbit_negative’ initialized and declared ‘extern’ 505 | extern bool signbit_negative(uintb val,int4 size); ///< Return true if the sign-bit is set | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In copy constructor ‘SymbolEntry::EntrySubsort::EntrySubsort(const SymbolEntry::EntrySubsort&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:101:7: error: ‘useindex’ was not declared in this scope; did you mean ‘rindex’? 101 | useindex = op2.useindex; | ^~~~~~~~ | rindex /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:101:22: error: ‘const class SymbolEntry::EntrySubsort’ has no member named ‘useindex’ 101 | useindex = op2.useindex; | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:510:25: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 510 | extern void sign_extend(intb &val,int4 bit); ///< Sign extend above given bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘bool OperandSymbol::isCodeAddress() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:341:45: error: ‘flags’ was not declared in this scope 341 | bool isCodeAddress(void) const { return ((flags&code_address)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:475:3: error: ‘int4’ does not name a type; did you mean ‘int’? 475 | int4 minimumlength; // Minimum length taken up by this constructor in bytes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:343:49: error: ‘intb’ has not been declared 343 | inline void a_v_i(ostream &s,const string &attr,intb val) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:505:30: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 505 | extern bool signbit_negative(uintb val,int4 size); ///< Return true if the sign-bit is set | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:97:26: error: ‘useoffset’ was not declared in this scope 97 | else { useindex=0; useoffset=0; } // Less than any real values | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:476:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 476 | uintm id; // Unique id of constructor within subtable | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:510:31: error: ‘val’ was not declared in this scope 510 | extern void sign_extend(intb &val,int4 bit); ///< Sign extend above given bit | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:305:11: error: ‘int4’ does not name a type; did you mean ‘int’? 305 | virtual int4 getSize(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void SectionSymbol::incrementRefCount()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:124:34: error: ‘ref_count’ was not declared in this scope 124 | void incrementRefCount(void) { ref_count += 1; } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:477:3: error: ‘int4’ does not name a type; did you mean ‘int’? 477 | int4 firstwhitespace; // Index of first whitespace piece in -printpiece- | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/xml.hh:354:49: error: ‘uintb’ has not been declared 354 | inline void a_v_u(ostream &s,const string &attr,uintb val) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:505:40: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 505 | extern bool signbit_negative(uintb val,int4 size); ///< Return true if the sign-bit is set | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:505:49: error: expression list treated as compound expression in initializer [-fpermissive] 505 | extern bool signbit_negative(uintb val,int4 size); ///< Return true if the sign-bit is set | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘bool Varnode::isNameLock() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:274:42: error: ‘flags’ was not declared in this scope 274 | bool isNameLock(void) const { return ((flags&Varnode::namelock)!=0); } ///< Does \b this have a locked name? | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:510:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 510 | extern void sign_extend(intb &val,int4 bit); ///< Sign extend above given bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:478:3: error: ‘int4’ does not name a type; did you mean ‘int’? 478 | int4 flowthruindex; // if >=0 then print only a single operand no markup | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:506:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 506 | extern uintb calc_mask(int4 size); ///< Calculate a mask for a given byte size | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In constructor ‘SymbolEntry::EntrySubsort::EntrySubsort()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:90:26: error: ‘useindex’ was not declared in this scope; did you mean ‘rindex’? 90 | EntrySubsort(void) { useindex=0; useoffset=0; } ///< Construct earliest possible sub-sort | ^~~~~~~~ | rindex /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:511:13: error: variable or field ‘zero_extend’ declared void 511 | extern void zero_extend(intb &val,int4 bit); ///< Clear all bits above given bit | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:132:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 132 | uint4 index; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:507:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 507 | extern uintb uintb_negate(uintb in,int4 size); ///< Negate the \e sized value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:136:17: error: ‘uint4’ has not been declared 136 | void setIndex(uint4 ind) { index = ind; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:479:3: error: ‘int4’ does not name a type; did you mean ‘int’? 479 | int4 lineno; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void OperandSymbol::setOffsetIrrelevant()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:342:36: error: ‘flags’ was not declared in this scope 342 | void setOffsetIrrelevant(void) { flags |= offset_irrel; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void Constructor::setSrcIndex(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:495:33: error: ‘src_index’ was not declared in this scope; did you mean ‘rindex’? 495 | void setSrcIndex(int4 index) {src_index = index;} | ^~~~~~~~~ | rindex /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:508:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 508 | extern uintb sign_extend(uintb in,int4 sizein,int4 sizeout); ///< Sign-extend a value between two byte sizes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:510:13: error: variable or field ‘sign_extend’ declared void 510 | extern void sign_extend(intb &val,int4 bit); ///< Sign extend above given bit | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:480:3: error: ‘int4’ does not name a type; did you mean ‘int’? 480 | int4 src_index; //source file index | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:511:25: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 511 | extern void zero_extend(intb &val,int4 bit); ///< Clear all bits above given bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:102:7: error: ‘useoffset’ was not declared in this scope 102 | useoffset = op2.useoffset; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:102:23: error: ‘const class SymbolEntry::EntrySubsort’ has no member named ‘useoffset’ 102 | useoffset = op2.useoffset; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:489:25: error: ‘int4’ has not been declared 489 | void setMinimumLength(int4 l) { minimumlength = l; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:137:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 137 | uint4 getIndex(void) const { return index; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:510:25: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 510 | extern void sign_extend(intb &val,int4 bit); ///< Sign extend above given bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:490:3: error: ‘int4’ does not name a type; did you mean ‘int’? 490 | int4 getMinimumLength(void) const { return minimumlength; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:491:14: error: ‘uintm’ has not been declared 491 | void setId(uintm i) { id = i; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘UserOpSymbol::UserOpSymbol(const string&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:135:63: error: overloaded function with no contextual type information 135 | UserOpSymbol(const string &nm) : SleighSymbol(nm) { index = 0; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:319:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 319 | uint4 reloffset; // Relative offset | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void UserOpSymbol::setIndex(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:136:38: error: overloaded function with no contextual type information 136 | void setIndex(uint4 ind) { index = ind; } | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:511:31: error: ‘val’ was not declared in this scope 511 | extern void zero_extend(intb &val,int4 bit); ///< Clear all bits above given bit | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In copy constructor ‘SymbolEntry::EntrySubsort::EntrySubsort(const SymbolEntry::EntrySubsort&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:101:7: error: ‘useindex’ was not declared in this scope; did you mean ‘rindex’? 101 | useindex = op2.useindex; | ^~~~~~~~ | rindex /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:492:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 492 | uintm getId(void) const { return id; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:493:18: error: ‘int4’ has not been declared 493 | void setLineno(int4 ln) { lineno = ln; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:101:22: error: ‘const class SymbolEntry::EntrySubsort’ has no member named ‘useindex’ 101 | useindex = op2.useindex; | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::setActiveHeritage()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:275:34: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 275 | void setActiveHeritage(void) { addlflags |= Varnode::activeheritage; } ///< Mark \b this as currently being linked into the SSA tree | ^~~~~~~~~ | addl_flags In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:41:3: error: ‘int4’ does not name a type; did you mean ‘int’? 41 | int4 size; ///< Size of float in bytes (this format) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:320:3: error: ‘int4’ does not name a type; did you mean ‘int’? 320 | int4 offsetbase; // Base operand to which offset is relative (-1=constructor start) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:510:31: error: ‘val’ was not declared in this scope 510 | extern void sign_extend(intb &val,int4 bit); ///< Sign extend above given bit | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:494:3: error: ‘int4’ does not name a type; did you mean ‘int’? 494 | int4 getLineno(void) const { return lineno; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:495:20: error: ‘int4’ has not been declared 495 | void setSrcIndex(int4 index) {src_index = index;} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:153:11: error: ‘int4’ does not name a type; did you mean ‘int’? 153 | virtual int4 getSize(void) const { return 0; } // Size out of context | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:511:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 511 | extern void zero_extend(intb &val,int4 bit); ///< Clear all bits above given bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:512:13: error: variable or field ‘byte_swap’ declared void 512 | extern void byte_swap(intb &val,int4 size); ///< Swap bytes in the given value | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘bool OperandSymbol::isOffsetIrrelevant() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:343:50: error: ‘flags’ was not declared in this scope 343 | bool isOffsetIrrelevant(void) const { return ((flags&offset_irrel)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:42:3: error: ‘int4’ does not name a type; did you mean ‘int’? 42 | int4 signbit_pos; ///< Bit position of sign bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:321:3: error: ‘int4’ does not name a type; did you mean ‘int’? 321 | int4 minimumlength; // Minimum size of operand (within instruction tokens) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:496:3: error: ‘int4’ does not name a type; did you mean ‘int’? 496 | int4 getSrcIndex(void) {return src_index;} | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:90:38: error: ‘useoffset’ was not declared in this scope 90 | EntrySubsort(void) { useindex=0; useoffset=0; } ///< Construct earliest possible sub-sort | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:503:42: error: ‘int4’ has not been declared 503 | void setNamedSection(ConstructTpl *tpl,int4 id); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:510:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 510 | extern void sign_extend(intb &val,int4 bit); ///< Sign extend above given bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:43:3: error: ‘int4’ does not name a type; did you mean ‘int’? 43 | int4 frac_pos; ///< (lowest) bit position of fractional part | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:511:13: error: variable or field ‘zero_extend’ declared void 511 | extern void zero_extend(intb &val,int4 bit); ///< Clear all bits above given bit | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:322:3: error: ‘int4’ does not name a type; did you mean ‘int’? 322 | int4 hand; // Handle index | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:512:23: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 512 | extern void byte_swap(intb &val,int4 size); ///< Swap bytes in the given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:505:3: error: ‘int4’ does not name a type; did you mean ‘int’? 505 | int4 getNumOperands(void) const { return operands.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:506:29: error: ‘int4’ has not been declared 506 | OperandSymbol *getOperand(int4 i) const { return operands[i]; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:509:31: error: ‘int4’ has not been declared 509 | ConstructTpl *getNamedTempl(int4 secnum) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:44:3: error: ‘int4’ does not name a type; did you mean ‘int’? 44 | int4 frac_size; ///< Number of bits in fractional part | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘bool SymbolEntry::EntrySubsort::operator<(const SymbolEntry::EntrySubsort&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:106:11: error: ‘useindex’ was not declared in this scope; did you mean ‘rindex’? 106 | if (useindex != op2.useindex) | ^~~~~~~~ | rindex /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:106:27: error: ‘const class SymbolEntry::EntrySubsort’ has no member named ‘useindex’ 106 | if (useindex != op2.useindex) | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:107:32: error: ‘const class SymbolEntry::EntrySubsort’ has no member named ‘useindex’ 107 | return (useindex < op2.useindex); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:326:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 326 | uint4 flags; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:331:34: error: ‘int4’ has not been declared 331 | OperandSymbol(const string &nm,int4 index,Constructor *ct); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:45:3: error: ‘int4’ does not name a type; did you mean ‘int’? 45 | int4 exp_pos; ///< (lowest) bit position of exponent | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:511:25: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 511 | extern void zero_extend(intb &val,int4 bit); ///< Clear all bits above given bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:510:3: error: ‘int4’ does not name a type; did you mean ‘int’? 510 | int4 getNumSections(void) const { return namedtempl.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::clearActiveHeritage()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:276:36: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 276 | void clearActiveHeritage(void) { addlflags &= ~Varnode::activeheritage; } ///< Mark \b this as not (actively) being linked into the SSA tree | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:46:3: error: ‘int4’ does not name a type; did you mean ‘int’? 46 | int4 exp_size; ///< Number of bits in exponent | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:155:42: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 155 | virtual void collectLocalValues(vector &results) const {} | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:512:29: error: ‘val’ was not declared in this scope 512 | extern void byte_swap(intb &val,int4 size); ///< Swap bytes in the given value | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:155:47: error: template argument 1 is invalid 155 | virtual void collectLocalValues(vector &results) const {} | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:155:47: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:332:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 332 | uint4 getRelativeOffset(void) const { return reloffset; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:47:3: error: ‘int4’ does not name a type; did you mean ‘int’? 47 | int4 bias; ///< What to add to real exponent to get encoding | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void OperandSymbol::setMark()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:344:24: error: ‘flags’ was not declared in this scope 344 | void setMark(void) { flags |= marked; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:543:3: error: ‘int4’ does not name a type; did you mean ‘int’? 543 | int4 num; // Total number of patterns we distinguish | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:511:31: error: ‘val’ was not declared in this scope 511 | extern void zero_extend(intb &val,int4 bit); ///< Clear all bits above given bit | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:333:3: error: ‘int4’ does not name a type; did you mean ‘int’? 333 | int4 getOffsetBase(void) const { return offsetbase; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:102:7: error: ‘useoffset’ was not declared in this scope 102 | useoffset = op2.useoffset; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:48:3: error: ‘int4’ does not name a type; did you mean ‘int’? 48 | int4 maxexponent; ///< Maximum possible exponent | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:102:23: error: ‘const class SymbolEntry::EntrySubsort’ has no member named ‘useoffset’ 102 | useoffset = op2.useoffset; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:512:33: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 512 | extern void byte_swap(intb &val,int4 size); ///< Swap bytes in the given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:49:3: error: ‘int4’ does not name a type; did you mean ‘int’? 49 | int4 decimal_precision; ///< Number of decimal digits of precision | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:51:39: error: ‘uintb’ has not been declared 51 | static double createFloat(bool sign,uintb signif,int4 exp); ///< Create a double given sign, fractional, and exponent | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:51:52: error: ‘int4’ has not been declared 51 | static double createFloat(bool sign,uintb signif,int4 exp); ///< Create a double given sign, fractional, and exponent | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:545:3: error: ‘int4’ does not name a type; did you mean ‘int’? 545 | int4 startbit,bitsize; // Bits in the stream on which to base the decision | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:334:3: error: ‘int4’ does not name a type; did you mean ‘int’? 334 | int4 getMinimumLength(void) const { return minimumlength; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:52:54: error: ‘uintb’ has not been declared 52 | static floatclass extractExpSig(double x,bool *sgn,uintb *signif,int4 *exp); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:548:19: error: ‘int4’ has not been declared 548 | double getScore(int4 low,int4 size,bool context); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:52:68: error: ‘int4’ has not been declared 52 | static floatclass extractExpSig(double x,bool *sgn,uintb *signif,int4 *exp); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:548:28: error: ‘int4’ has not been declared 548 | double getScore(int4 low,int4 size,bool context); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:53:34: error: ‘uintb’ has not been declared 53 | static bool roundToNearestEven(uintb &signif, int4 lowbitpos); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:53:49: error: ‘int4’ has not been declared 53 | static bool roundToNearestEven(uintb &signif, int4 lowbitpos); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:514:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 514 | extern uintb byte_swap(uintb val,int4 size); ///< Return the given value with bytes swapped | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:521:36: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 521 | void markSubtableOperands(vector &check) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:521:40: error: template argument 1 is invalid 521 | void markSubtableOperands(vector &check) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:521:40: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In constructor ‘SymbolEntry::EntrySubsort::EntrySubsort(bool)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:96:18: error: ‘useindex’ was not declared in this scope; did you mean ‘rindex’? 96 | if (val) { useindex=0xffff; } // Greater than any real values | ^~~~~~~~ | rindex /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:511:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 511 | extern void zero_extend(intb &val,int4 bit); ///< Clear all bits above given bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:512:13: error: variable or field ‘byte_swap’ declared void 512 | extern void byte_swap(intb &val,int4 size); ///< Swap bytes in the given value | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:515:8: error: ‘int4’ does not name a type; did you mean ‘int’? 515 | extern int4 leastsigbit_set(uintb val); ///< Return index of least significant bit set in given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:549:3: error: ‘int4’ does not name a type; did you mean ‘int’? 549 | int4 getNumFixed(int4 low,int4 size,bool context); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:54:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 54 | uintb setFractionalCode(uintb x,uintb code) const; ///< Set the fractional part of an encoded value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:337:3: error: ‘int4’ does not name a type; did you mean ‘int’? 337 | int4 getIndex(void) const { return hand; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:516:8: error: ‘int4’ does not name a type; did you mean ‘int’? 516 | extern int4 mostsigbit_set(uintb val); ///< Return index of most significant bit set in given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:517:8: error: ‘int4’ does not name a type; did you mean ‘int’? 517 | extern int4 popcount(uintb val); ///< Return the number of one bits in the given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:550:3: error: ‘int4’ does not name a type; did you mean ‘int’? 550 | int4 getMaximumLength(bool context); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:55:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 55 | uintb setSign(uintb x,bool sign) const; ///< Set the sign bit of an encoded value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::setMark() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:277:30: error: ‘flags’ was not declared in this scope 277 | void setMark(void) const { flags |= Varnode::mark; } ///< Mark this Varnode for breadcrumb algorithms | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:512:23: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 512 | extern void byte_swap(intb &val,int4 size); ///< Swap bytes in the given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:518:8: error: ‘int4’ does not name a type; did you mean ‘int’? 518 | extern int4 count_leading_zeros(uintb val); ///< Return the number of leading zero bits in the given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:108:15: error: ‘useoffset’ was not declared in this scope 108 | return (useoffset < op2.useoffset); | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:108:31: error: ‘const class SymbolEntry::EntrySubsort’ has no member named ‘useoffset’ 108 | return (useoffset < op2.useoffset); | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:351:11: error: ‘int4’ does not name a type; did you mean ‘int’? 351 | virtual int4 getSize(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:56:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 56 | uintb setExponentCode(uintb x,uintb code) const; ///< Set the exponent of an encoded value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:520:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 520 | extern uintb coveringmask(uintb val); ///< Return a mask that \e covers the given value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:521:8: error: ‘int4’ does not name a type; did you mean ‘int’? 521 | extern int4 bit_transitions(uintb val,int4 sz); ///< Calculate the number of bit transitions in the sized value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:13: error: variable or field ‘mult64to128’ declared void 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void OperandSymbol::clearMark()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:345:26: error: ‘flags’ was not declared in this scope 345 | void clearMark(void) { flags &= ~((uint4)marked); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:57:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 57 | uintb getZeroEncoding(bool sgn) const; ///< Get an encoded zero value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:522:35: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 522 | void collectLocalExports(vector &results) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:522:40: error: template argument 1 is invalid 522 | void collectLocalExports(vector &results) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:522:40: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:512:29: error: ‘val’ was not declared in this scope 512 | extern void byte_swap(intb &val,int4 size); ///< Swap bytes in the given value | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:58:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 58 | uintb getInfinityEncoding(bool sgn) const; ///< Get an encoded infinite value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:25: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:551:32: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 551 | void consistentValues(vector &bins,DisjointPattern *pat); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:551:37: error: template argument 1 is invalid 551 | void consistentValues(vector &bins,DisjointPattern *pat); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:551:37: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘bool SymbolEntry::EntrySubsort::operator<(const SymbolEntry::EntrySubsort&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:106:11: error: ‘useindex’ was not declared in this scope; did you mean ‘rindex’? 106 | if (useindex != op2.useindex) | ^~~~~~~~ | rindex /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:59:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 59 | uintb getNaNEncoding(bool sgn) const; ///< Get an encoded NaN value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:106:27: error: ‘const class SymbolEntry::EntrySubsort’ has no member named ‘useindex’ 106 | if (useindex != op2.useindex) | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:107:32: error: ‘const class SymbolEntry::EntrySubsort’ has no member named ‘useindex’ 107 | return (useindex < op2.useindex); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:512:33: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 512 | extern void byte_swap(intb &val,int4 size); ///< Swap bytes in the given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:63:19: error: expected ‘)’ before ‘sz’ 63 | FloatFormat(int4 sz); ///< Construct default IEEE 754 standard settings | ~ ^~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:97:14: error: ‘useindex’ was not declared in this scope; did you mean ‘rindex’? 97 | else { useindex=0; useoffset=0; } // Less than any real values | ^~~~~~~~ | rindex /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:514:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 514 | extern uintb byte_swap(uintb val,int4 size); ///< Return the given value with bytes swapped | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:353:42: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 353 | virtual void collectLocalValues(vector &results) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:353:47: error: template argument 1 is invalid 353 | virtual void collectLocalValues(vector &results) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:353:47: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:64:3: error: ‘int4’ does not name a type; did you mean ‘int’? 64 | int4 getSize(void) const { return size; } ///< Get the size of the encoding in bytes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:65:23: error: ‘uintb’ has not been declared 65 | double getHostFloat(uintb encoding,floatclass *type) const; ///< Convert an encoding into host's double | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:32: error: ‘res’ was not declared in this scope 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:515:8: error: ‘int4’ does not name a type; did you mean ‘int’? 515 | extern int4 leastsigbit_set(uintb val); ///< Return index of least significant bit set in given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::clearMark() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:278:32: error: ‘flags’ was not declared in this scope 278 | void clearMark(void) const { flags &= ~Varnode::mark; } ///< Clear the mark on this Varnode | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:345:38: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 345 | void clearMark(void) { flags &= ~((uint4)marked); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:516:8: error: ‘int4’ does not name a type; did you mean ‘int’? 516 | extern int4 mostsigbit_set(uintb val); ///< Return index of most significant bit set in given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:345:44: error: expected ‘)’ before ‘marked’ 345 | void clearMark(void) { flags &= ~((uint4)marked); } | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:345:36: note: to match this ‘(’ 345 | void clearMark(void) { flags &= ~((uint4)marked); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:66:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 66 | uintb getEncoding(double host) const; ///< Convert host's double into \b this encoding | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:517:8: error: ‘int4’ does not name a type; did you mean ‘int’? 517 | extern int4 popcount(uintb val); ///< Return the number of one bits in the given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:215:10: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 215 | vector valuetable; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:215:14: error: template argument 1 is invalid 215 | vector valuetable; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:215:14: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:67:3: error: ‘int4’ does not name a type; did you mean ‘int’? 67 | int4 getDecimalPrecision(void) const { return decimal_precision; } ///< Get number of digits of precision | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:518:8: error: ‘int4’ does not name a type; did you mean ‘int’? 518 | extern int4 count_leading_zeros(uintb val); ///< Return the number of leading zero bits in the given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:36: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:520:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 520 | extern uintb coveringmask(uintb val); ///< Return a mask that \e covers the given value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:68:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 68 | uintb convertEncoding(uintb encoding,const FloatFormat *formin) const; ///< Convert between two different formats | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:521:8: error: ‘int4’ does not name a type; did you mean ‘int’? 521 | extern int4 bit_transitions(uintb val,int4 sz); ///< Calculate the number of bit transitions in the sized value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:13: error: variable or field ‘mult64to128’ declared void 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘bool SymbolEntry::isPiece() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:117:39: error: ‘extraflags’ was not declared in this scope 117 | bool isPiece(void) const { return ((extraflags&(Varnode::precislo|Varnode::precishi))!=0); } ///< Is \b this a high or low piece of the whole Symbol | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:70:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 70 | uintb extractFractionalCode(uintb x) const; ///< Extract the fractional part of the encoding | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:71:20: error: ‘uintb’ has not been declared 71 | bool extractSign(uintb x) const; ///< Extract the sign bit from the encoding | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘bool SymbolEntry::isInvalid() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:119:65: error: missing template arguments before ‘==’ token 119 | bool isInvalid(void) const { return (addr.isInvalid() && (hash==0)); } ///< Is \b this storage \e invalid | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:44: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:13: error: variable or field ‘unsignedSubtract128’ declared void 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^~~~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:72:3: error: ‘int4’ does not name a type; did you mean ‘int’? 72 | int4 extractExponentCode(uintb x) const; ///< Extract the exponent from the encoding | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void Constructor::setMinimumLength(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:489:35: error: ‘minimumlength’ was not declared in this scope; did you mean ‘setMinimumLength’? 489 | void setMinimumLength(int4 l) { minimumlength = l; } | ^~~~~~~~~~~~~ | setMinimumLength /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:25: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:76:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 76 | uintb opEqual(uintb a,uintb b) const; ///< Equality comparison (==) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void OperandSymbol::setVariableLength()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:327:34: error: ‘flags’ was not declared in this scope 327 | void setVariableLength(void) { flags |= variable_len; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:108:15: error: ‘useoffset’ was not declared in this scope 108 | return (useoffset < op2.useoffset); | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::setDirectWrite()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:279:31: error: ‘flags’ was not declared in this scope 279 | void setDirectWrite(void) { flags |= Varnode::directwrite; } ///< Mark \b this as directly affected by a legal input | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:108:31: error: ‘const class SymbolEntry::EntrySubsort’ has no member named ‘useoffset’ 108 | return (useoffset < op2.useoffset); | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:220:65: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 220 | ValueMapSymbol(const string &nm,PatternValue *pv,const vector &vt) : ValueSymbol(nm,pv) { valuetable=vt; checkTableFill(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:220:69: error: template argument 1 is invalid 220 | ValueMapSymbol(const string &nm,PatternValue *pv,const vector &vt) : ValueSymbol(nm,pv) { valuetable=vt; checkTableFill(); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:220:69: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:77:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 77 | uintb opNotEqual(uintb a,uintb b) const; ///< Inequality comparison (!=) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:33: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘bool OperandSymbol::isMarked() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:346:40: error: ‘flags’ was not declared in this scope 346 | bool isMarked(void) const { return ((flags&marked)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:97:26: error: ‘useoffset’ was not declared in this scope 97 | else { useindex=0; useoffset=0; } // Less than any real values | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:160:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 160 | uint4 nameDedup; ///< id to distinguish symbols with the same name | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:78:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 78 | uintb opLess(uintb a,uintb b) const; ///< Less-than comparison (<) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:32: error: ‘res’ was not declared in this scope 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:40: error: ‘a’ was not declared in this scope 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:79:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 79 | uintb opLessEqual(uintb a,uintb b) const; ///< Less-than-or-equal comparison (<=) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:161:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 161 | uint4 flags; ///< Varnode-like properties of the symbol | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void Constructor::setId(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:491:25: error: ‘id’ was not declared in this scope; did you mean ‘i’? 491 | void setId(uintm i) { id = i; } | ^~ | i /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:80:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 80 | uintb opNan(uintb a) const; ///< Test if Not-a-Number (NaN) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:36: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:164:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 164 | uint4 dispflags; ///< Flags affecting the display of this symbol | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:81:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 81 | uintb opAdd(uintb a,uintb b) const; ///< Addition (+) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:42: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:543:3: error: ‘int4’ does not name a type; did you mean ‘int’? 543 | int4 num; // Total number of patterns we distinguish | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:250:50: error: ‘uintb’ has not been declared 250 | VarnodeSymbol(const string &nm,AddrSpace *base,uintb offset,int4 size); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:250:63: error: ‘int4’ has not been declared 250 | VarnodeSymbol(const string &nm,AddrSpace *base,uintb offset,int4 size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:165:3: error: ‘int2’ does not name a type; did you mean ‘int’? 165 | int2 category; ///< Special category (-1==none 0=parameter 1=equate) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:82:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 82 | uintb opDiv(uintb a,uintb b) const; ///< Division (/) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘bool OperandSymbol::isVariableLength() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:328:48: error: ‘flags’ was not declared in this scope 328 | bool isVariableLength(void) const { return ((flags&variable_len)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::clearDirectWrite()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:280:33: error: ‘flags’ was not declared in this scope 280 | void clearDirectWrite(void) { flags &= ~Varnode::directwrite; } ///< Mark \b this as not directly affected by a legal input | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:44: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:13: error: variable or field ‘unsignedSubtract128’ declared void 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^~~~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:49: error: ‘b’ was not declared in this scope 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:83:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 83 | uintb opMult(uintb a,uintb b) const; ///< Multiplication (*) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:545:3: error: ‘int4’ does not name a type; did you mean ‘int’? 545 | int4 startbit,bitsize; // Bits in the stream on which to base the decision | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:166:3: error: ‘uint2’ does not name a type; did you mean ‘uint’? 166 | uint2 catindex; ///< Index within category | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:548:19: error: ‘int4’ has not been declared 548 | double getScore(int4 low,int4 size,bool context); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:548:28: error: ‘int4’ has not been declared 548 | double getScore(int4 low,int4 size,bool context); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:525:8: error: ‘int4’ does not name a type; did you mean ‘int’? 525 | extern int4 unsignedCompare128(uint8 *a,uint8 *b); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:84:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 84 | uintb opSub(uintb a,uintb b) const; ///< Subtraction (-) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:255:11: error: ‘int4’ does not name a type; did you mean ‘int’? 255 | virtual int4 getSize(void) const { return fix.size; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:526:8: error: ‘int4’ does not name a type; did you mean ‘int’? 526 | extern int4 power2Divide(int4 n,uint8 divisor,uint8 &q,uint8 &r); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:167:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 167 | uint8 symbolId; ///< Unique id, 0=unassigned | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:33: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In copy constructor ‘SymbolEntry::EntrySubsort::EntrySubsort(const SymbolEntry::EntrySubsort&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:101:7: error: ‘useindex’ was not declared in this scope; did you mean ‘rindex’? 101 | useindex = op2.useindex; | ^~~~~~~~ | rindex /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:101:22: error: ‘const class SymbolEntry::EntrySubsort’ has no member named ‘useindex’ 101 | useindex = op2.useindex; | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:85:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 85 | uintb opNeg(uintb a) const; ///< Unary negate | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:549:3: error: ‘int4’ does not name a type; did you mean ‘int’? 549 | int4 getNumFixed(int4 low,int4 size,bool context); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘bool SymbolEntry::isPiece() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:117:39: error: ‘extraflags’ was not declared in this scope 117 | bool isPiece(void) const { return ((extraflags&(Varnode::precislo|Varnode::precishi))!=0); } ///< Is \b this a high or low piece of the whole Symbol | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void Constructor::setLineno(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:493:29: error: ‘lineno’ was not declared in this scope; did you mean ‘fileno’? 493 | void setLineno(int4 ln) { lineno = ln; } | ^~~~~~ | fileno /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:86:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 86 | uintb opAbs(uintb a) const; ///< Absolute value (abs) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:579:3: error: ‘int4’ does not name a type; did you mean ‘int’? 579 | int4 getNumConstructors(void) const { return construct.size(); } | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘bool SymbolEntry::isInvalid() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:119:65: error: missing template arguments before ‘==’ token 119 | bool isInvalid(void) const { return (addr.isInvalid() && (hash==0)); } ///< Is \b this storage \e invalid | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:580:31: error: ‘uintm’ has not been declared 580 | Constructor *getConstructor(uintm id) const { return construct[id]; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:40: error: ‘a’ was not declared in this scope 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:550:3: error: ‘int4’ does not name a type; did you mean ‘int’? 550 | int4 getMaximumLength(bool context); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:87:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 87 | uintb opSqrt(uintb a) const; ///< Square root (sqrt) | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:63:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 63 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:88:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 88 | uintb opTrunc(uintb a,int4 sizeout) const; ///< Convert floating-point to integer | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:436:3: error: ‘int4’ does not name a type; did you mean ‘int’? 436 | int4 num; // index of word containing context variable to set | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:585:11: error: ‘int4’ does not name a type; did you mean ‘int’? 585 | virtual int4 getSize(void) const { return -1; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:42: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void OperandSymbol::setCodeAddress()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:340:31: error: ‘flags’ was not declared in this scope 340 | void setCodeAddress(void) { flags |= code_address; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:89:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 89 | uintb opCeil(uintb a) const; ///< Ceiling (ceil) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:66:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 66 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:258:42: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 258 | virtual void collectLocalValues(vector &results) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::setReturnAddress()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:287:33: error: ‘flags’ was not declared in this scope 287 | void setReturnAddress(void) { flags |= Varnode::return_address; } ///< Mark as storage location for a return address | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:258:47: error: template argument 1 is invalid 258 | virtual void collectLocalValues(vector &results) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:258:47: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:160:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 160 | uint4 nameDedup; ///< id to distinguish symbols with the same name | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:90:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 90 | uintb opFloor(uintb a) const; ///< Floor (floor) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:437:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 437 | uintm mask; // Mask off size of variable | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:69:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 69 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:49: error: ‘b’ was not declared in this scope 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:91:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 91 | uintb opRound(uintb a) const; ///< Round | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:551:32: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 551 | void consistentValues(vector &bins,DisjointPattern *pat); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:551:37: error: template argument 1 is invalid 551 | void consistentValues(vector &bins,DisjointPattern *pat); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:551:37: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:72:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 72 | virtual uintb recoverInputUnary(int4 sizeout,uintb out,int4 sizein) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:525:8: error: ‘int4’ does not name a type; did you mean ‘int’? 525 | extern int4 unsignedCompare128(uint8 *a,uint8 *b); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:161:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 161 | uint4 flags; ///< Varnode-like properties of the symbol | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:438:3: error: ‘int4’ does not name a type; did you mean ‘int’? 438 | int4 shift; // Number of bits to shift value into place | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:440:17: error: expected ‘)’ before ‘startbit’ 440 | ContextOp(int4 startbit,int4 endbit,PatternExpression *pe); | ~ ^~~~~~~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:92:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 92 | uintb opInt2Float(uintb a,int4 sizein) const; ///< Convert integer to floating-point | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:526:8: error: ‘int4’ does not name a type; did you mean ‘int’? 526 | extern int4 power2Divide(int4 n,uint8 divisor,uint8 &q,uint8 &r); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:102:7: error: ‘useoffset’ was not declared in this scope 102 | useoffset = op2.useoffset; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:588:42: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 588 | virtual void collectLocalValues(vector &results) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:102:23: error: ‘const class SymbolEntry::EntrySubsort’ has no member named ‘useoffset’ 102 | useoffset = op2.useoffset; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:588:47: error: template argument 1 is invalid 588 | virtual void collectLocalValues(vector &results) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:93:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 93 | uintb opFloat2Float(uintb a,const FloatFormat &outformat) const; ///< Convert between floating-point precisions | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:588:47: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:164:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 164 | uint4 dispflags; ///< Flags affecting the display of this symbol | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void Constructor::setSrcIndex(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:495:33: error: ‘src_index’ was not declared in this scope; did you mean ‘rindex’? 495 | void setSrcIndex(int4 index) {src_index = index;} | ^~~~~~~~~ | rindex /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:267:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 267 | uint4 bitoffset; // least significant bit of range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘bool OperandSymbol::isCodeAddress() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:341:45: error: ‘flags’ was not declared in this scope 341 | bool isCodeAddress(void) const { return ((flags&code_address)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:165:3: error: ‘int2’ does not name a type; did you mean ‘int’? 165 | int2 category; ///< Special category (-1==none 0=parameter 1=equate) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::clearReturnAddress()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:288:35: error: ‘flags’ was not declared in this scope 288 | void clearReturnAddress(void) { flags &= ~Varnode::return_address; } ///< Clear return address attribute | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:126:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 126 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:452:3: error: ‘int4’ does not name a type; did you mean ‘int’? 452 | int4 num; // Index of word containing context commit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:268:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 268 | uint4 numbits; // number of bits in the range | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:63:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 63 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:271:54: error: ‘uint4’ has not been declared 271 | BitrangeSymbol(const string &nm,VarnodeSymbol *sym,uint4 bitoff,uint4 num) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:271:67: error: ‘uint4’ has not been declared 271 | BitrangeSymbol(const string &nm,VarnodeSymbol *sym,uint4 bitoff,uint4 num) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:166:3: error: ‘uint2’ does not name a type; did you mean ‘uint’? 166 | uint2 catindex; ///< Index within category | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:127:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 127 | virtual uintb recoverInputUnary(int4 sizeout,uintb out,int4 sizein) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:453:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 453 | uintm mask; // mask of bits in word being committed | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:66:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 66 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:457:33: error: ‘int4’ has not been declared 457 | ContextCommit(TripleSymbol *s,int4 sbit,int4 ebit,bool fl); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:457:43: error: ‘int4’ has not been declared 457 | ContextCommit(TripleSymbol *s,int4 sbit,int4 ebit,bool fl); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:274:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 274 | uint4 getBitOffset(void) const { return bitoffset; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:167:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 167 | uint8 symbolId; ///< Unique id, 0=unassigned | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:69:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 69 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:134:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 134 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:275:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 275 | uint4 numBits(void) const { return numbits; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:72:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 72 | virtual uintb recoverInputUnary(int4 sizeout,uintb out,int4 sizein) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘bool SymbolEntry::EntrySubsort::operator<(const SymbolEntry::EntrySubsort&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:106:11: error: ‘useindex’ was not declared in this scope; did you mean ‘rindex’? 106 | if (useindex != op2.useindex) | ^~~~~~~~ | rindex /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void OperandSymbol::setOffsetIrrelevant()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:342:36: error: ‘flags’ was not declared in this scope 342 | void setOffsetIrrelevant(void) { flags |= offset_irrel; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:106:27: error: ‘const class SymbolEntry::EntrySubsort’ has no member named ‘useindex’ 106 | if (useindex != op2.useindex) | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:107:32: error: ‘const class SymbolEntry::EntrySubsort’ has no member named ‘useindex’ 107 | return (useindex < op2.useindex); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::setPtrCheck()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:289:28: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 289 | void setPtrCheck(void) { addlflags |= Varnode::ptrcheck; } ///< Set \b this as checked for a constant symbol reference | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:596:3: error: ‘int4’ does not name a type; did you mean ‘int’? 596 | int4 index; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:600:32: error: ‘int4’ has not been declared 600 | MacroSymbol(const string &nm,int4 i) : SleighSymbol(nm) { index = i; construct = (ConstructTpl *)0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:141:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 141 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:601:3: error: ‘int4’ does not name a type; did you mean ‘int’? 601 | int4 getIndex(void) const { return index; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:126:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 126 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:148:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 148 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:170:11: error: ‘int4’ does not name a type; did you mean ‘int’? 170 | mutable int4 depthResolution; ///< Number of namespace elements required to resolve symbol in current scope | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:605:3: error: ‘int4’ does not name a type; did you mean ‘int’? 605 | int4 getNumOperands(void) const { return operands.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:606:29: error: ‘int4’ has not been declared 606 | OperandSymbol *getOperand(int4 i) const { return operands[i]; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:127:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 127 | virtual uintb recoverInputUnary(int4 sizeout,uintb out,int4 sizein) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘bool OperandSymbol::isOffsetIrrelevant() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:343:50: error: ‘flags’ was not declared in this scope 343 | bool isOffsetIrrelevant(void) const { return ((flags&offset_irrel)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:155:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 155 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:171:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 171 | uint4 wholeCount; ///< Number of SymbolEntries that map to the whole Symbol | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::clearPtrCheck()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:290:30: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 290 | void clearPtrCheck(void) { addlflags &= ~Varnode::ptrcheck; } ///< Clear the pointer check mark on this Varnode | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:173:25: error: ‘uint4’ has not been declared 173 | void setDisplayFormat(uint4 val); ///< Set the display format for \b this Symbol | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:134:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 134 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘BitrangeSymbol::BitrangeSymbol(const string&, VarnodeSymbol*, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:272:38: error: ‘bitoffset’ was not declared in this scope; did you mean ‘bitoff’? 272 | : SleighSymbol(nm) { varsym=sym; bitoffset=bitoff; numbits=num; } | ^~~~~~~~~ | bitoff /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:108:15: error: ‘useoffset’ was not declared in this scope 108 | return (useoffset < op2.useoffset); | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:108:31: error: ‘const class SymbolEntry::EntrySubsort’ has no member named ‘useoffset’ 108 | return (useoffset < op2.useoffset); | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:162:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 162 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘MacroSymbol::MacroSymbol(const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:600:69: error: overloaded function with no contextual type information 600 | MacroSymbol(const string &nm,int4 i) : SleighSymbol(nm) { index = i; construct = (ConstructTpl *)0; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:579:3: error: ‘int4’ does not name a type; did you mean ‘int’? 579 | int4 getNumConstructors(void) const { return construct.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:580:31: error: ‘uintm’ has not been declared 580 | Constructor *getConstructor(uintm id) const { return construct[id]; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:194:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 194 | uint8 getId(void) const { return symbolId; } ///< Get a unique id for the symbol | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:141:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 141 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:585:11: error: ‘int4’ does not name a type; did you mean ‘int’? 585 | virtual int4 getSize(void) const { return -1; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:195:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 195 | uint4 getFlags(void) const { return flags; } ///< Get the boolean properties of the Symbol | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:169:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 169 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void OperandSymbol::setMark()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:344:24: error: ‘flags’ was not declared in this scope 344 | void setMark(void) { flags |= marked; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:612:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 612 | uint4 index; // Local 1 up index of label | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::setPtrFlow()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:291:27: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 291 | void setPtrFlow(void) { addlflags |= Varnode::ptrflow; } ///< Set \b this as flowing to or from pointer | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:196:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 196 | uint4 getDisplayFormat(void) const { return (dispflags & 7); } ///< Get the format to display the Symbol in | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:148:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 148 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:176:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 176 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:614:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 614 | uint4 refcount; // Number of references to this label | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:616:32: error: ‘uint4’ has not been declared 616 | LabelSymbol(const string &nm,uint4 i) : SleighSymbol(nm) { index = i; refcount = 0; isplaced=false; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:197:3: error: ‘int2’ does not name a type; did you mean ‘int’? 197 | int2 getCategory(void) const { return category; } ///< Get the Symbol category | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:177:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 177 | virtual uintb recoverInputUnary(int4 sizeout,uintb out,int4 sizein) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:155:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 155 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:272:56: error: ‘numbits’ was not declared in this scope 272 | : SleighSymbol(nm) { varsym=sym; bitoffset=bitoff; numbits=num; } | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:617:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 617 | uint4 getIndex(void) const { return index; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:588:42: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 588 | virtual void collectLocalValues(vector &results) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:198:3: error: ‘uint2’ does not name a type; did you mean ‘uint’? 198 | uint2 getCategoryIndex(void) const { return catindex; } ///< Get the position of the Symbol within its category | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:588:47: error: template argument 1 is invalid 588 | virtual void collectLocalValues(vector &results) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:588:47: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:619:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 619 | uint4 getRefCount(void) const { return refcount; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:184:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 184 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:162:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 162 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void OperandSymbol::clearMark()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:345:26: error: ‘flags’ was not declared in this scope 345 | void clearMark(void) { flags &= ~((uint4)marked); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘bool SymbolEntry::isPiece() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:117:39: error: ‘extraflags’ was not declared in this scope 117 | bool isPiece(void) const { return ((extraflags&(Varnode::precislo|Varnode::precishi))!=0); } ///< Is \b this a high or low piece of the whole Symbol | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:214:3: error: ‘int4’ does not name a type; did you mean ‘int’? 214 | int4 numEntries(void) const { return mapentry.size(); } ///< Return the number of SymbolEntrys | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:215:28: error: ‘int4’ has not been declared 215 | SymbolEntry *getMapEntry(int4 i) const { return &(*mapentry[i]); } ///< Return the i-th SymbolEntry for \b this Symbol | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:281:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 281 | uint4 low,high; // into a varnode | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘LabelSymbol::LabelSymbol(const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:616:70: error: overloaded function with no contextual type information 616 | LabelSymbol(const string &nm,uint4 i) : SleighSymbol(nm) { index = i; refcount = 0; isplaced=false; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::clearPtrFlow()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:292:29: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 292 | void clearPtrFlow(void) { addlflags &= ~Varnode::ptrflow; } ///< Indicate that this varnode is not flowing to or from pointer | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:285:70: error: ‘uint4’ has not been declared 285 | ContextSymbol(const string &nm,ContextField *pate,VarnodeSymbol *v,uint4 l,uint4 h,bool flow); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:285:78: error: ‘uint4’ has not been declared 285 | ContextSymbol(const string &nm,ContextField *pate,VarnodeSymbol *v,uint4 l,uint4 h,bool flow); | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘bool SymbolEntry::isInvalid() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:119:65: error: missing template arguments before ‘==’ token 119 | bool isInvalid(void) const { return (addr.isInvalid() && (hash==0)); } ///< Is \b this storage \e invalid | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:185:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 185 | virtual uintb recoverInputUnary(int4 sizeout,uintb out,int4 sizein) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:170:11: error: ‘int4’ does not name a type; did you mean ‘int’? 170 | mutable int4 depthResolution; ///< Number of namespace elements required to resolve symbol in current scope | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:169:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 169 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:216:3: error: ‘int4’ does not name a type; did you mean ‘int’? 216 | int4 getMapEntryPosition(const SymbolEntry *entry) const; ///< Position of given SymbolEntry within \b this multi-entry Symbol | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:287:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 287 | uint4 getLow(void) const { return low; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:171:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 171 | uint4 wholeCount; ///< Number of SymbolEntries that map to the whole Symbol | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:173:25: error: ‘uint4’ has not been declared 173 | void setDisplayFormat(uint4 val); ///< Set the display format for \b this Symbol | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:192:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 192 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:217:3: error: ‘int4’ does not name a type; did you mean ‘int’? 217 | int4 getResolutionDepth(const Scope *useScope) const; ///< Get number of scope names needed to resolve \b this symbol | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:160:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 160 | uint4 nameDedup; ///< id to distinguish symbols with the same name | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:176:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 176 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:288:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 288 | uint4 getHigh(void) const { return high; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:345:38: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 345 | void clearMark(void) { flags &= ~((uint4)marked); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:345:44: error: expected ‘)’ before ‘marked’ 345 | void clearMark(void) { flags &= ~((uint4)marked); } | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:345:36: note: to match this ‘(’ 345 | void clearMark(void) { flags &= ~((uint4)marked); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:193:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 193 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:224:11: error: ‘int4’ does not name a type; did you mean ‘int’? 224 | virtual int4 getBytesConsumed(void) const; ///< Get number of bytes consumed within the address->symbol map | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:194:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 194 | uint8 getId(void) const { return symbolId; } ///< Get a unique id for the symbol | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:177:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 177 | virtual uintb recoverInputUnary(int4 sizeout,uintb out,int4 sizein) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:161:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 161 | uint4 flags; ///< Varnode-like properties of the symbol | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::setSpacebasePlaceholder()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:293:40: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 293 | void setSpacebasePlaceholder(void) { addlflags |= Varnode::spacebase_placeholder; } ///< Mark \b this as a special Varnode for tracking stackpointer values | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:596:3: error: ‘int4’ does not name a type; did you mean ‘int’? 596 | int4 index; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:225:10: error: ‘uint8’ does not name a type; did you mean ‘uint’? 225 | static uint8 ID_BASE; ///< Base of internal ID's | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:600:32: error: ‘int4’ has not been declared 600 | MacroSymbol(const string &nm,int4 i) : SleighSymbol(nm) { index = i; construct = (ConstructTpl *)0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:475:3: error: ‘int4’ does not name a type; did you mean ‘int’? 475 | int4 minimumlength; // Minimum length taken up by this constructor in bytes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:200:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 200 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:543:3: error: ‘int4’ does not name a type; did you mean ‘int’? 543 | int4 num; // Total number of patterns we distinguish | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:195:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 195 | uint4 getFlags(void) const { return flags; } ///< Get the boolean properties of the Symbol | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:184:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 184 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:164:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 164 | uint4 dispflags; ///< Flags affecting the display of this symbol | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:201:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 201 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:616:73: error: ‘refcount’ was not declared in this scope 616 | LabelSymbol(const string &nm,uint4 i) : SleighSymbol(nm) { index = i; refcount = 0; isplaced=false; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:196:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 196 | uint4 getDisplayFormat(void) const { return (dispflags & 7); } ///< Get the format to display the Symbol in | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:545:3: error: ‘int4’ does not name a type; did you mean ‘int’? 545 | int4 startbit,bitsize; // Bits in the stream on which to base the decision | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:601:3: error: ‘int4’ does not name a type; did you mean ‘int’? 601 | int4 getIndex(void) const { return index; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:548:19: error: ‘int4’ has not been declared 548 | double getScore(int4 low,int4 size,bool context); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:548:28: error: ‘int4’ has not been declared 548 | double getScore(int4 low,int4 size,bool context); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:476:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 476 | uintm id; // Unique id of constructor within subtable | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:185:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 185 | virtual uintb recoverInputUnary(int4 sizeout,uintb out,int4 sizein) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:197:3: error: ‘int2’ does not name a type; did you mean ‘int’? 197 | int2 getCategory(void) const { return category; } ///< Get the Symbol category | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:165:3: error: ‘int2’ does not name a type; did you mean ‘int’? 165 | int2 category; ///< Special category (-1==none 0=parameter 1=equate) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:605:3: error: ‘int4’ does not name a type; did you mean ‘int’? 605 | int4 getNumOperands(void) const { return operands.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:549:3: error: ‘int4’ does not name a type; did you mean ‘int’? 549 | int4 getNumFixed(int4 low,int4 size,bool context); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:606:29: error: ‘int4’ has not been declared 606 | OperandSymbol *getOperand(int4 i) const { return operands[i]; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘bool OperandSymbol::isMarked() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:346:40: error: ‘flags’ was not declared in this scope 346 | bool isMarked(void) const { return ((flags&marked)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:477:3: error: ‘int4’ does not name a type; did you mean ‘int’? 477 | int4 firstwhitespace; // Index of first whitespace piece in -printpiece- | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:208:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 208 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:198:3: error: ‘uint2’ does not name a type; did you mean ‘uint’? 198 | uint2 getCategoryIndex(void) const { return catindex; } ///< Get the position of the Symbol within its category | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:192:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 192 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:166:3: error: ‘uint2’ does not name a type; did you mean ‘uint’? 166 | uint2 catindex; ///< Index within category | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:550:3: error: ‘int4’ does not name a type; did you mean ‘int’? 550 | int4 getMaximumLength(bool context); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:478:3: error: ‘int4’ does not name a type; did you mean ‘int’? 478 | int4 flowthruindex; // if >=0 then print only a single operand no markup | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::clearSpacebasePlaceholder()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:294:42: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 294 | void clearSpacebasePlaceholder(void) { addlflags &= ~Varnode::spacebase_placeholder; } ///< Clear the stackpointer tracking mark | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:193:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 193 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:215:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 215 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:167:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 167 | uint8 symbolId; ///< Unique id, 0=unassigned | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:214:3: error: ‘int4’ does not name a type; did you mean ‘int’? 214 | int4 numEntries(void) const { return mapentry.size(); } ///< Return the number of SymbolEntrys | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:215:28: error: ‘int4’ has not been declared 215 | SymbolEntry *getMapEntry(int4 i) const { return &(*mapentry[i]); } ///< Return the i-th SymbolEntry for \b this Symbol | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘bool Symbol::isTypeLocked() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:199:44: error: ‘flags’ was not declared in this scope 199 | bool isTypeLocked(void) const { return ((flags&Varnode::typelock)!=0); } ///< Is the Symbol type-locked | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:479:3: error: ‘int4’ does not name a type; did you mean ‘int’? 479 | int4 lineno; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘MacroSymbol::MacroSymbol(const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:600:69: error: overloaded function with no contextual type information 600 | MacroSymbol(const string &nm,int4 i) : SleighSymbol(nm) { index = i; construct = (ConstructTpl *)0; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:200:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 200 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:222:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 222 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:216:3: error: ‘int4’ does not name a type; did you mean ‘int’? 216 | int4 getMapEntryPosition(const SymbolEntry *entry) const; ///< Position of given SymbolEntry within \b this multi-entry Symbol | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:480:3: error: ‘int4’ does not name a type; did you mean ‘int’? 480 | int4 src_index; //source file index | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:489:25: error: ‘int4’ has not been declared 489 | void setMinimumLength(int4 l) { minimumlength = l; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:201:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 201 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:551:32: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 551 | void consistentValues(vector &bins,DisjointPattern *pat); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:551:37: error: template argument 1 is invalid 551 | void consistentValues(vector &bins,DisjointPattern *pat); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:551:37: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:217:3: error: ‘int4’ does not name a type; did you mean ‘int’? 217 | int4 getResolutionDepth(const Scope *useScope) const; ///< Get number of scope names needed to resolve \b this symbol | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:305:11: error: ‘int4’ does not name a type; did you mean ‘int’? 305 | virtual int4 getSize(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:229:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 229 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void LabelSymbol::incrementRefCount()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:618:34: error: ‘refcount’ was not declared in this scope 618 | void incrementRefCount(void) { refcount += 1; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:490:3: error: ‘int4’ does not name a type; did you mean ‘int’? 490 | int4 getMinimumLength(void) const { return minimumlength; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:491:14: error: ‘uintm’ has not been declared 491 | void setId(uintm i) { id = i; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:612:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 612 | uint4 index; // Local 1 up index of label | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:208:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 208 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:224:11: error: ‘int4’ does not name a type; did you mean ‘int’? 224 | virtual int4 getBytesConsumed(void) const; ///< Get number of bytes consumed within the address->symbol map | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::setWriteMask()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:299:29: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 299 | void setWriteMask(void) { addlflags |= Varnode::writemask; } ///< Mark \b this as not a true \e write when computing SSA form | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘bool Symbol::isNameLocked() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:200:44: error: ‘flags’ was not declared in this scope 200 | bool isNameLocked(void) const { return ((flags&Varnode::namelock)!=0); } ///< Is the Symbol name-locked | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:236:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 236 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:492:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 492 | uintm getId(void) const { return id; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:493:18: error: ‘int4’ has not been declared 493 | void setLineno(int4 ln) { lineno = ln; } | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:18: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:41:3: error: ‘int4’ does not name a type; did you mean ‘int’? 41 | int4 size; ///< Size of float in bytes (this format) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:225:10: error: ‘uint8’ does not name a type; did you mean ‘uint’? 225 | static uint8 ID_BASE; ///< Base of internal ID's | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:614:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 614 | uint4 refcount; // Number of references to this label | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:616:32: error: ‘uint4’ has not been declared 616 | LabelSymbol(const string &nm,uint4 i) : SleighSymbol(nm) { index = i; refcount = 0; isplaced=false; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:215:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 215 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:494:3: error: ‘int4’ does not name a type; did you mean ‘int’? 494 | int4 getLineno(void) const { return lineno; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:495:20: error: ‘int4’ has not been declared 495 | void setSrcIndex(int4 index) {src_index = index;} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:42:3: error: ‘int4’ does not name a type; did you mean ‘int’? 42 | int4 signbit_pos; ///< Bit position of sign bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:243:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 243 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:436:3: error: ‘int4’ does not name a type; did you mean ‘int’? 436 | int4 num; // index of word containing context variable to set | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:617:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 617 | uint4 getIndex(void) const { return index; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:222:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 222 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:496:3: error: ‘int4’ does not name a type; did you mean ‘int’? 496 | int4 getSrcIndex(void) {return src_index;} | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:43:3: error: ‘int4’ does not name a type; did you mean ‘int’? 43 | int4 frac_pos; ///< (lowest) bit position of fractional part | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:503:42: error: ‘int4’ has not been declared 503 | void setNamedSection(ConstructTpl *tpl,int4 id); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:319:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 319 | uint4 reloffset; // Relative offset | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:437:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 437 | uintm mask; // Mask off size of variable | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:619:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 619 | uint4 getRefCount(void) const { return refcount; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:250:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 250 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::clearWriteMask()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:300:31: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 300 | void clearWriteMask(void) { addlflags &= ~Varnode::writemask; } ///< Clear the mark indicating \b this is not a true write | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:44:3: error: ‘int4’ does not name a type; did you mean ‘int’? 44 | int4 frac_size; ///< Number of bits in fractional part | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘LabelSymbol::LabelSymbol(const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:616:70: error: overloaded function with no contextual type information 616 | LabelSymbol(const string &nm,uint4 i) : SleighSymbol(nm) { index = i; refcount = 0; isplaced=false; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:505:3: error: ‘int4’ does not name a type; did you mean ‘int’? 505 | int4 getNumOperands(void) const { return operands.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:506:29: error: ‘int4’ has not been declared 506 | OperandSymbol *getOperand(int4 i) const { return operands[i]; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:509:31: error: ‘int4’ has not been declared 509 | ConstructTpl *getNamedTempl(int4 secnum) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:229:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 229 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:438:3: error: ‘int4’ does not name a type; did you mean ‘int’? 438 | int4 shift; // Number of bits to shift value into place | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:320:3: error: ‘int4’ does not name a type; did you mean ‘int’? 320 | int4 offsetbase; // Base operand to which offset is relative (-1=constructor start) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:440:17: error: expected ‘)’ before ‘startbit’ 440 | ContextOp(int4 startbit,int4 endbit,PatternExpression *pe); | ~ ^~~~~~~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:45:3: error: ‘int4’ does not name a type; did you mean ‘int’? 45 | int4 exp_pos; ///< (lowest) bit position of exponent | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:257:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 257 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘bool Symbol::isTypeLocked() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:199:44: error: ‘flags’ was not declared in this scope 199 | bool isTypeLocked(void) const { return ((flags&Varnode::typelock)!=0); } ///< Is the Symbol type-locked | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:510:3: error: ‘int4’ does not name a type; did you mean ‘int’? 510 | int4 getNumSections(void) const { return namedtempl.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:321:3: error: ‘int4’ does not name a type; did you mean ‘int’? 321 | int4 minimumlength; // Minimum size of operand (within instruction tokens) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:236:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 236 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:46:3: error: ‘int4’ does not name a type; did you mean ‘int’? 46 | int4 exp_size; ///< Number of bits in exponent | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘bool Symbol::isSizeTypeLocked() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:201:48: error: ‘dispflags’ was not declared in this scope 201 | bool isSizeTypeLocked(void) const { return ((dispflags & size_typelock)!=0); } ///< Is the Symbol size type-locked | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:322:3: error: ‘int4’ does not name a type; did you mean ‘int’? 322 | int4 hand; // Handle index | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:264:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 264 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:452:3: error: ‘int4’ does not name a type; did you mean ‘int’? 452 | int4 num; // Index of word containing context commit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:47:3: error: ‘int4’ does not name a type; did you mean ‘int’? 47 | int4 bias; ///< What to add to real exponent to get encoding | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:243:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 243 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:326:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 326 | uint4 flags; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:265:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 265 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:331:34: error: ‘int4’ has not been declared 331 | OperandSymbol(const string &nm,int4 index,Constructor *ct); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:453:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 453 | uintm mask; // mask of bits in word being committed | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:48:3: error: ‘int4’ does not name a type; did you mean ‘int’? 48 | int4 maxexponent; ///< Maximum possible exponent | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::setAutoLiveHold()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:301:32: error: ‘flags’ was not declared in this scope 301 | void setAutoLiveHold(void) { flags |= Varnode::autolive_hold; } ///< Place temporary hold on dead code removal | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:457:33: error: ‘int4’ has not been declared 457 | ContextCommit(TripleSymbol *s,int4 sbit,int4 ebit,bool fl); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:457:43: error: ‘int4’ has not been declared 457 | ContextCommit(TripleSymbol *s,int4 sbit,int4 ebit,bool fl); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:521:36: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 521 | void markSubtableOperands(vector &check) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:521:40: error: template argument 1 is invalid 521 | void markSubtableOperands(vector &check) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:521:40: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:332:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 332 | uint4 getRelativeOffset(void) const { return reloffset; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:250:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 250 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:49:3: error: ‘int4’ does not name a type; did you mean ‘int’? 49 | int4 decimal_precision; ///< Number of decimal digits of precision | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:51:39: error: ‘uintb’ has not been declared 51 | static double createFloat(bool sign,uintb signif,int4 exp); ///< Create a double given sign, fractional, and exponent | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:51:52: error: ‘int4’ has not been declared 51 | static double createFloat(bool sign,uintb signif,int4 exp); ///< Create a double given sign, fractional, and exponent | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘bool Symbol::isNameLocked() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:200:44: error: ‘flags’ was not declared in this scope 200 | bool isNameLocked(void) const { return ((flags&Varnode::namelock)!=0); } ///< Is the Symbol name-locked | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:52:54: error: ‘uintb’ has not been declared 52 | static floatclass extractExpSig(double x,bool *sgn,uintb *signif,int4 *exp); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:52:68: error: ‘int4’ has not been declared 52 | static floatclass extractExpSig(double x,bool *sgn,uintb *signif,int4 *exp); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:53:34: error: ‘uintb’ has not been declared 53 | static bool roundToNearestEven(uintb &signif, int4 lowbitpos); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:53:49: error: ‘int4’ has not been declared 53 | static bool roundToNearestEven(uintb &signif, int4 lowbitpos); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:272:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 272 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:616:73: error: ‘refcount’ was not declared in this scope 616 | LabelSymbol(const string &nm,uint4 i) : SleighSymbol(nm) { index = i; refcount = 0; isplaced=false; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:333:3: error: ‘int4’ does not name a type; did you mean ‘int’? 333 | int4 getOffsetBase(void) const { return offsetbase; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:579:3: error: ‘int4’ does not name a type; did you mean ‘int’? 579 | int4 getNumConstructors(void) const { return construct.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:257:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 257 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:580:31: error: ‘uintm’ has not been declared 580 | Constructor *getConstructor(uintm id) const { return construct[id]; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:54:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 54 | uintb setFractionalCode(uintb x,uintb code) const; ///< Set the fractional part of an encoded value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:273:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 273 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:334:3: error: ‘int4’ does not name a type; did you mean ‘int’? 334 | int4 getMinimumLength(void) const { return minimumlength; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:55:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 55 | uintb setSign(uintb x,bool sign) const; ///< Set the sign bit of an encoded value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:522:35: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 522 | void collectLocalExports(vector &results) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:337:3: error: ‘int4’ does not name a type; did you mean ‘int’? 337 | int4 getIndex(void) const { return hand; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:522:40: error: template argument 1 is invalid 522 | void collectLocalExports(vector &results) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:522:40: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:264:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 264 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:585:11: error: ‘int4’ does not name a type; did you mean ‘int’? 585 | virtual int4 getSize(void) const { return -1; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘bool Symbol::isThisPointer() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:202:45: error: ‘dispflags’ was not declared in this scope 202 | bool isThisPointer(void) const { return ((dispflags & is_this_ptr)!=0); } ///< Is \b this the "this" pointer | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::clearAutoLiveHold()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:302:34: error: ‘flags’ was not declared in this scope 302 | void clearAutoLiveHold(void) { flags &= ~Varnode::autolive_hold; } ///< Clear temporary hold on dead code removal | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:280:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 280 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:56:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 56 | uintb setExponentCode(uintb x,uintb code) const; ///< Set the exponent of an encoded value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:351:11: error: ‘int4’ does not name a type; did you mean ‘int’? 351 | virtual int4 getSize(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:265:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 265 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:281:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 281 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:57:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 57 | uintb getZeroEncoding(bool sgn) const; ///< Get an encoded zero value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:170:11: error: ‘int4’ does not name a type; did you mean ‘int’? 170 | mutable int4 depthResolution; ///< Number of namespace elements required to resolve symbol in current scope | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:272:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 272 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:58:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 58 | uintb getInfinityEncoding(bool sgn) const; ///< Get an encoded infinite value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:288:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 288 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘bool Symbol::isSizeTypeLocked() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:201:48: error: ‘dispflags’ was not declared in this scope 201 | bool isSizeTypeLocked(void) const { return ((dispflags & size_typelock)!=0); } ///< Is the Symbol size type-locked | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void LabelSymbol::incrementRefCount()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:618:34: error: ‘refcount’ was not declared in this scope 618 | void incrementRefCount(void) { refcount += 1; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:273:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 273 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:588:42: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 588 | virtual void collectLocalValues(vector &results) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:588:47: error: template argument 1 is invalid 588 | virtual void collectLocalValues(vector &results) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:588:47: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:59:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 59 | uintb getNaNEncoding(bool sgn) const; ///< Get an encoded NaN value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:63:19: error: expected ‘)’ before ‘sz’ 63 | FloatFormat(int4 sz); ///< Construct default IEEE 754 standard settings | ~ ^~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:171:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 171 | uint4 wholeCount; ///< Number of SymbolEntries that map to the whole Symbol | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:353:42: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 353 | virtual void collectLocalValues(vector &results) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:353:47: error: template argument 1 is invalid 353 | virtual void collectLocalValues(vector &results) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:353:47: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:173:25: error: ‘uint4’ has not been declared 173 | void setDisplayFormat(uint4 val); ///< Set the display format for \b this Symbol | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::setUnsignedPrint()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:303:33: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 303 | void setUnsignedPrint(void) { addlflags |= Varnode::unsignedprint; } ///< Force \b this to be printed as unsigned | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘bool Symbol::isIndirectStorage() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:203:49: error: ‘flags’ was not declared in this scope 203 | bool isIndirectStorage(void) const { return ((flags&Varnode::indirectstorage)!=0); } ///< Is storage really a pointer to the true Symbol | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:295:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 295 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:64:3: error: ‘int4’ does not name a type; did you mean ‘int’? 64 | int4 getSize(void) const { return size; } ///< Get the size of the encoding in bytes | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:23:3: error: ‘int4’ does not name a type; did you mean ‘int’? 23 | int4 lineno; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:65:23: error: ‘uintb’ has not been declared 65 | double getHostFloat(uintb encoding,floatclass *type) const; ///< Convert an encoding into host's double | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:280:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 280 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:302:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 302 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:281:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 281 | virtual uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:66:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 66 | uintb getEncoding(double host) const; ///< Convert host's double into \b this encoding | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:26:39: error: ‘int4’ does not name a type; did you mean ‘int’? 26 | Location(const string &fname, const int4 line) { filename = fname; lineno = line; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void Constructor::setMinimumLength(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:489:35: error: ‘minimumlength’ was not declared in this scope; did you mean ‘setMinimumLength’? 489 | void setMinimumLength(int4 l) { minimumlength = l; } | ^~~~~~~~~~~~~ | setMinimumLength /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:194:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 194 | uint8 getId(void) const { return symbolId; } ///< Get a unique id for the symbol | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:28:3: error: ‘int4’ does not name a type; did you mean ‘int’? 28 | int4 getLineno(void) const { return lineno; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:67:3: error: ‘int4’ does not name a type; did you mean ‘int’? 67 | int4 getDecimalPrecision(void) const { return decimal_precision; } ///< Get number of digits of precision | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:288:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 288 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:309:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 309 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::setStackStore()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:305:30: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 305 | void setStackStore(void) { addlflags |= Varnode::stack_store; } ///< Mark as produced by explicit CPUI_STORE | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void OperandSymbol::setVariableLength()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:327:34: error: ‘flags’ was not declared in this scope 327 | void setVariableLength(void) { flags |= variable_len; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘bool Symbol::isHiddenReturn() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:204:46: error: ‘flags’ was not declared in this scope 204 | bool isHiddenReturn(void) const { return ((flags&Varnode::hiddenretparm)!=0); } ///< Is this a reference to the function return value | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:68:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 68 | uintb convertEncoding(uintb encoding,const FloatFormat *formin) const; ///< Convert between two different formats | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘bool Symbol::isThisPointer() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:202:45: error: ‘dispflags’ was not declared in this scope 202 | bool isThisPointer(void) const { return ((dispflags & is_this_ptr)!=0); } ///< Is \b this the "this" pointer | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:195:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 195 | uint4 getFlags(void) const { return flags; } ///< Get the boolean properties of the Symbol | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void Constructor::setId(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:491:25: error: ‘id’ was not declared in this scope; did you mean ‘i’? 491 | void setId(uintm i) { id = i; } | ^~ | i /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:70:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 70 | uintb extractFractionalCode(uintb x) const; ///< Extract the fractional part of the encoding | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:295:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 295 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:71:20: error: ‘uintb’ has not been declared 71 | bool extractSign(uintb x) const; ///< Extract the sign bit from the encoding | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:316:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 316 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:196:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 196 | uint4 getDisplayFormat(void) const { return (dispflags & 7); } ///< Get the format to display the Symbol in | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:596:3: error: ‘int4’ does not name a type; did you mean ‘int’? 596 | int4 index; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:600:32: error: ‘int4’ has not been declared 600 | MacroSymbol(const string &nm,int4 i) : SleighSymbol(nm) { index = i; construct = (ConstructTpl *)0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:72:3: error: ‘int4’ does not name a type; did you mean ‘int’? 72 | int4 extractExponentCode(uintb x) const; ///< Extract the exponent from the encoding | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:302:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 302 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:197:3: error: ‘int2’ does not name a type; did you mean ‘int’? 197 | int2 getCategory(void) const { return category; } ///< Get the Symbol category | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:323:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 323 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:76:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 76 | uintb opEqual(uintb a,uintb b) const; ///< Equality comparison (==) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh: In constructor ‘Location::Location(const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:26:70: error: ‘lineno’ was not declared in this scope; did you mean ‘fileno’? 26 | Location(const string &fname, const int4 line) { filename = fname; lineno = line; } | ^~~~~~ | fileno /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In member function ‘void Varnode::setLockedInput()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:306:31: error: ‘addlflags’ was not declared in this scope; did you mean ‘addl_flags’? 306 | void setLockedInput(void) { addlflags |= Varnode::locked_input; } ///< Mark as existing input, even if unused | ^~~~~~~~~ | addl_flags /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:601:3: error: ‘int4’ does not name a type; did you mean ‘int’? 601 | int4 getIndex(void) const { return index; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘bool OperandSymbol::isVariableLength() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:328:48: error: ‘flags’ was not declared in this scope 328 | bool isVariableLength(void) const { return ((flags&variable_len)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:309:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 309 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘bool Symbol::isIndirectStorage() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:203:49: error: ‘flags’ was not declared in this scope 203 | bool isIndirectStorage(void) const { return ((flags&Varnode::indirectstorage)!=0); } ///< Is storage really a pointer to the true Symbol | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:77:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 77 | uintb opNotEqual(uintb a,uintb b) const; ///< Inequality comparison (!=) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:198:3: error: ‘uint2’ does not name a type; did you mean ‘uint’? 198 | uint2 getCategoryIndex(void) const { return catindex; } ///< Get the position of the Symbol within its category | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:330:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 330 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:605:3: error: ‘int4’ does not name a type; did you mean ‘int’? 605 | int4 getNumOperands(void) const { return operands.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:606:29: error: ‘int4’ has not been declared 606 | OperandSymbol *getOperand(int4 i) const { return operands[i]; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void Constructor::setLineno(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:493:29: error: ‘lineno’ was not declared in this scope; did you mean ‘fileno’? 493 | void setLineno(int4 ln) { lineno = ln; } | ^~~~~~ | fileno /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:78:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 78 | uintb opLess(uintb a,uintb b) const; ///< Less-than comparison (<) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:34:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 34 | uint4 size; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:316:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 316 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:475:3: error: ‘int4’ does not name a type; did you mean ‘int’? 475 | int4 minimumlength; // Minimum length taken up by this constructor in bytes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:214:3: error: ‘int4’ does not name a type; did you mean ‘int’? 214 | int4 numEntries(void) const { return mapentry.size(); } ///< Return the number of SymbolEntrys | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:330:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 330 | uintm uniqbase; ///< Base for unique addresses | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:215:28: error: ‘int4’ has not been declared 215 | SymbolEntry *getMapEntry(int4 i) const { return &(*mapentry[i]); } ///< Return the i-th SymbolEntry for \b this Symbol | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:79:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 79 | uintb opLessEqual(uintb a,uintb b) const; ///< Less-than-or-equal comparison (<=) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:337:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 337 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘bool Symbol::isMultiEntry() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:206:43: error: ‘wholeCount’ was not declared in this scope 206 | bool isMultiEntry(void) const { return (wholeCount > 1); } ///< Does \b this have more than one \e entire mapping | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:476:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 476 | uintm id; // Unique id of constructor within subtable | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:323:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 323 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:216:3: error: ‘int4’ does not name a type; did you mean ‘int’? 216 | int4 getMapEntryPosition(const SymbolEntry *entry) const; ///< Position of given SymbolEntry within \b this multi-entry Symbol | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:80:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 80 | uintb opNan(uintb a) const; ///< Test if Not-a-Number (NaN) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:331:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 331 | uintm uniqid; ///< Counter for generating unique offsets | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:59:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 59 | uint4 local_labelcount; // Number of labels in current constructor | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:477:3: error: ‘int4’ does not name a type; did you mean ‘int’? 477 | int4 firstwhitespace; // Index of first whitespace piece in -printpiece- | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:344:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 344 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘MacroSymbol::MacroSymbol(const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:600:69: error: overloaded function with no contextual type information 600 | MacroSymbol(const string &nm,int4 i) : SleighSymbol(nm) { index = i; construct = (ConstructTpl *)0; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:217:3: error: ‘int4’ does not name a type; did you mean ‘int’? 217 | int4 getResolutionDepth(const Scope *useScope) const; ///< Get number of scope names needed to resolve \b this symbol | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:81:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 81 | uintb opAdd(uintb a,uintb b) const; ///< Addition (+) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:332:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 332 | uint4 create_index; ///< Number of varnodes created | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘bool Symbol::isHiddenReturn() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:204:46: error: ‘flags’ was not declared in this scope 204 | bool isHiddenReturn(void) const { return ((flags&Varnode::hiddenretparm)!=0); } ///< Is this a reference to the function return value | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:478:3: error: ‘int4’ does not name a type; did you mean ‘int’? 478 | int4 flowthruindex; // if >=0 then print only a single operand no markup | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:338:53: error: ‘uintm’ has not been declared 338 | VarnodeBank(AddrSpaceManager *m,AddrSpace *uspace,uintm ubase); ///< Construct the container | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void OperandSymbol::setCodeAddress()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:340:31: error: ‘flags’ was not declared in this scope 340 | void setCodeAddress(void) { flags |= code_address; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:330:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 330 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:61:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 61 | virtual uintb allocateTemp(void)=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:82:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 82 | uintb opDiv(uintb a,uintb b) const; ///< Division (/) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:479:3: error: ‘int4’ does not name a type; did you mean ‘int’? 479 | int4 lineno; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:80:78: error: ‘uint4’ has not been declared 80 | vector *newOutput(bool usesLocalKey,ExprTree *rhs,string *varname,uint4 size=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:81:43: error: ‘uint4’ has not been declared 81 | void newLocalDefinition(string *varname,uint4 size=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:352:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 352 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:224:11: error: ‘int4’ does not name a type; did you mean ‘int’? 224 | virtual int4 getBytesConsumed(void) const; ///< Get number of bytes consumed within the address->symbol map | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:341:3: error: ‘int4’ does not name a type; did you mean ‘int’? 341 | int4 numVarnodes(void) const { return loc_tree.size(); } ///< Get number of Varnodes \b this contains | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:342:19: error: ‘int4’ has not been declared 342 | Varnode *create(int4 s,const Address &m,Datatype *ct); ///< Create a \e free Varnode object | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:343:22: error: ‘int4’ has not been declared 343 | Varnode *createDef(int4 s,const Address &m,Datatype *ct,PcodeOp *op); ///< Create a Varnode as the output of a PcodeOp | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:88:45: error: ‘uintb’ has not been declared 88 | vector *createOpConst(OpCode opc,uintb val); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:344:25: error: ‘int4’ has not been declared 344 | Varnode *createUnique(int4 s,Datatype *ct); ///< Create a temporary varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:345:28: error: ‘int4’ has not been declared 345 | Varnode *createDefUnique(int4 s,Datatype *ct,PcodeOp *op); ///< Create a temporary Varnode as output of a PcodeOp | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:480:3: error: ‘int4’ does not name a type; did you mean ‘int’? 480 | int4 src_index; //source file index | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:337:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 337 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:83:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 83 | uintb opMult(uintb a,uintb b) const; ///< Multiplication (*) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:94:42: error: ‘uintb’ has not been declared 94 | void appendOp(OpCode opc,ExprTree *res,uintb constval,int4 constsz); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:351:17: error: ‘int4’ has not been declared 351 | Varnode *find(int4 s,const Address &loc,const Address &pc,uintm uniq=~((uintm)0)) const; ///< Find a Varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:94:57: error: ‘int4’ has not been declared 94 | void appendOp(OpCode opc,ExprTree *res,uintb constval,int4 constsz); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:351:61: error: ‘uintm’ has not been declared 351 | Varnode *find(int4 s,const Address &loc,const Address &pc,uintm uniq=~((uintm)0)) const; ///< Find a Varnode | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:95:56: error: ‘uint4’ has not been declared 95 | VarnodeTpl *buildTruncatedVarnode(VarnodeTpl *basevn,uint4 bitoffset,uint4 numbits); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:489:25: error: ‘int4’ has not been declared 489 | void setMinimumLength(int4 l) { minimumlength = l; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:352:22: error: ‘int4’ has not been declared 352 | Varnode *findInput(int4 s,const Address &loc) const; ///< Find an input Varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:95:72: error: ‘uint4’ has not been declared 95 | VarnodeTpl *buildTruncatedVarnode(VarnodeTpl *basevn,uint4 bitoffset,uint4 numbits); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:353:29: error: ‘int4’ has not been declared 353 | Varnode *findCoveredInput(int4 s,const Address &loc) const; ///< Find an input Varnode contained within this range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:96:50: error: ‘uint4’ has not been declared 96 | vector *assignBitRange(VarnodeTpl *vn,uint4 bitoffset,uint4 numbits,ExprTree *rhs); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:354:30: error: ‘int4’ has not been declared 354 | Varnode *findCoveringInput(int4 s,const Address &loc) const; ///< Find an input Varnode covering a range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:96:66: error: ‘uint4’ has not been declared 96 | vector *assignBitRange(VarnodeTpl *vn,uint4 bitoffset,uint4 numbits,ExprTree *rhs); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void Constructor::setSrcIndex(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:495:33: error: ‘src_index’ was not declared in this scope; did you mean ‘rindex’? 495 | void setSrcIndex(int4 index) {src_index = index;} | ^~~~~~~~~ | rindex /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:612:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 612 | uint4 index; // Local 1 up index of label | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:97:48: error: ‘uint4’ has not been declared 97 | ExprTree *createBitRange(SpecificSymbol *sym,uint4 bitoffset,uint4 numbits); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:97:64: error: ‘uint4’ has not been declared 97 | ExprTree *createBitRange(SpecificSymbol *sym,uint4 bitoffset,uint4 numbits); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:225:10: error: ‘uint8’ does not name a type; did you mean ‘uint’? 225 | static uint8 ID_BASE; ///< Base of internal ID's | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:98:41: error: ‘uint4’ has not been declared 98 | VarnodeTpl *addressOf(VarnodeTpl *var,uint4 size); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:100:25: error: ‘int4’ has not been declared 100 | static void matchSize(int4 j,OpTpl *op,bool inputonly,const vector &ops); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:490:3: error: ‘int4’ does not name a type; did you mean ‘int’? 490 | int4 getMinimumLength(void) const { return minimumlength; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:84:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 84 | uintb opSub(uintb a,uintb b) const; ///< Subtraction (-) | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:360:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 360 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:491:14: error: ‘uintm’ has not been declared 491 | void setId(uintm i) { id = i; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:344:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 344 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:355:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 355 | uint4 getCreateIndex(void) const { return create_index; } ///< Get the next creation index to be assigned | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:614:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 614 | uint4 refcount; // Number of references to this label | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:616:32: error: ‘uint4’ has not been declared 616 | LabelSymbol(const string &nm,uint4 i) : SleighSymbol(nm) { index = i; refcount = 0; isplaced=false; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:362:42: error: ‘int4’ has not been declared 362 | VarnodeLocSet::const_iterator beginLoc(int4 s,const Address &addr) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:363:40: error: ‘int4’ has not been declared 363 | VarnodeLocSet::const_iterator endLoc(int4 s,const Address &addr) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:85:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 85 | uintb opNeg(uintb a) const; ///< Unary negate | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:364:42: error: ‘int4’ has not been declared 364 | VarnodeLocSet::const_iterator beginLoc(int4 s,const Address &addr,uint4 fl) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:492:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 492 | uintm getId(void) const { return id; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:364:69: error: ‘uint4’ has not been declared 364 | VarnodeLocSet::const_iterator beginLoc(int4 s,const Address &addr,uint4 fl) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:493:18: error: ‘int4’ has not been declared 493 | void setLineno(int4 ln) { lineno = ln; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘bool Symbol::hasMergeProblems() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:207:48: error: ‘dispflags’ was not declared in this scope 207 | bool hasMergeProblems(void) const { return ((dispflags & merge_problems)!=0); } ///< Were some SymbolEntrys not merged | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:365:40: error: ‘int4’ has not been declared 365 | VarnodeLocSet::const_iterator endLoc(int4 s,const Address &addr,uint4 fl) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:365:67: error: ‘uint4’ has not been declared 365 | VarnodeLocSet::const_iterator endLoc(int4 s,const Address &addr,uint4 fl) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:366:42: error: ‘int4’ has not been declared 366 | VarnodeLocSet::const_iterator beginLoc(int4 s,const Address &addr,const Address &pc,uintm uniq) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘bool OperandSymbol::isCodeAddress() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:341:45: error: ‘flags’ was not declared in this scope 341 | bool isCodeAddress(void) const { return ((flags&code_address)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:366:87: error: ‘uintm’ has not been declared 366 | VarnodeLocSet::const_iterator beginLoc(int4 s,const Address &addr,const Address &pc,uintm uniq) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:367:40: error: ‘int4’ has not been declared 367 | VarnodeLocSet::const_iterator endLoc(int4 s,const Address &addr,const Address &pc,uintm uniq) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:367:85: error: ‘uintm’ has not been declared 367 | VarnodeLocSet::const_iterator endLoc(int4 s,const Address &addr,const Address &pc,uintm uniq) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:370:42: error: ‘uint4’ has not been declared 370 | VarnodeDefSet::const_iterator beginDef(uint4 fl) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:371:40: error: ‘uint4’ has not been declared 371 | VarnodeDefSet::const_iterator endDef(uint4 fl) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:372:42: error: ‘uint4’ has not been declared 372 | VarnodeDefSet::const_iterator beginDef(uint4 fl,const Address &addr) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:368:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 368 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:373:40: error: ‘uint4’ has not been declared 373 | VarnodeDefSet::const_iterator endDef(uint4 fl,const Address &addr) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:86:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 86 | uintb opAbs(uintb a) const; ///< Absolute value (abs) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:352:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 352 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:494:3: error: ‘int4’ does not name a type; did you mean ‘int’? 494 | int4 getLineno(void) const { return lineno; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:617:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 617 | uint4 getIndex(void) const { return index; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:495:20: error: ‘int4’ has not been declared 495 | void setSrcIndex(int4 index) {src_index = index;} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:87:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 87 | uintb opSqrt(uintb a) const; ///< Square root (sqrt) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:496:3: error: ‘int4’ does not name a type; did you mean ‘int’? 496 | int4 getSrcIndex(void) {return src_index;} | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:619:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 619 | uint4 getRefCount(void) const { return refcount; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:503:42: error: ‘int4’ has not been declared 503 | void setNamedSection(ConstructTpl *tpl,int4 id); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:376:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 376 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘bool Symbol::isMultiEntry() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:206:43: error: ‘wholeCount’ was not declared in this scope 206 | bool isMultiEntry(void) const { return (wholeCount > 1); } ///< Does \b this have more than one \e entire mapping | ^~~~~~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:360:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 360 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘LabelSymbol::LabelSymbol(const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:616:70: error: overloaded function with no contextual type information 616 | LabelSymbol(const string &nm,uint4 i) : SleighSymbol(nm) { index = i; refcount = 0; isplaced=false; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:88:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 88 | uintb opTrunc(uintb a,int4 sizeout) const; ///< Convert floating-point to integer | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘bool Symbol::isTypeLocked() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:199:44: error: ‘flags’ was not declared in this scope 199 | bool isTypeLocked(void) const { return ((flags&Varnode::typelock)!=0); } ///< Is the Symbol type-locked | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:505:3: error: ‘int4’ does not name a type; did you mean ‘int’? 505 | int4 getNumOperands(void) const { return operands.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:506:29: error: ‘int4’ has not been declared 506 | OperandSymbol *getOperand(int4 i) const { return operands[i]; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:509:31: error: ‘int4’ has not been declared 509 | ConstructTpl *getNamedTempl(int4 secnum) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:89:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 89 | uintb opCeil(uintb a) const; ///< Ceiling (ceil) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:384:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 384 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:510:3: error: ‘int4’ does not name a type; did you mean ‘int’? 510 | int4 getNumSections(void) const { return namedtempl.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:368:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 368 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void OperandSymbol::setOffsetIrrelevant()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:342:36: error: ‘flags’ was not declared in this scope 342 | void setOffsetIrrelevant(void) { flags |= offset_irrel; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:351:75: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 351 | Varnode *find(int4 s,const Address &loc,const Address &pc,uintm uniq=~((uintm)0)) const; ///< Find a Varnode | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:351:81: error: expected ‘)’ before numeric constant 351 | Varnode *find(int4 s,const Address &loc,const Address &pc,uintm uniq=~((uintm)0)) const; ///< Find a Varnode | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:351:73: note: to match this ‘(’ 351 | Varnode *find(int4 s,const Address &loc,const Address &pc,uintm uniq=~((uintm)0)) const; ///< Find a Varnode | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:90:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 90 | uintb opFloor(uintb a) const; ///< Floor (floor) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:392:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 392 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:376:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 376 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:91:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 91 | uintb opRound(uintb a) const; ///< Round | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘void Symbol::setMergeProblems()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:208:33: error: ‘dispflags’ was not declared in this scope 208 | void setMergeProblems(void) { dispflags |= merge_problems; } ///< Mark that some SymbolEntrys could not be merged | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:92:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 92 | uintb opInt2Float(uintb a,int4 sizein) const; ///< Convert integer to floating-point | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh: In constructor ‘PcodeCompile::PcodeCompile()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:65:69: error: ‘local_labelcount’ was not declared in this scope 65 | uniqspace=(AddrSpace *)0; local_labelcount=0; enforceLocalKey=false; } | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:400:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 400 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:384:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 384 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘bool Symbol::isNameLocked() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:200:44: error: ‘flags’ was not declared in this scope 200 | bool isNameLocked(void) const { return ((flags&Varnode::namelock)!=0); } ///< Is the Symbol name-locked | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:521:36: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 521 | void markSubtableOperands(vector &check) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:521:40: error: template argument 1 is invalid 521 | void markSubtableOperands(vector &check) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:521:40: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:93:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 93 | uintb opFloat2Float(uintb a,const FloatFormat &outformat) const; ///< Convert between floating-point precisions | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:382:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 382 | uint4 flags; ///< Flags associated with the node | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:383:33: error: ‘uint4’ has not been declared 383 | TraverseNode(const Varnode *v,uint4 f) { vn = v; flags = f; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘bool OperandSymbol::isOffsetIrrelevant() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:343:50: error: ‘flags’ was not declared in this scope 343 | bool isOffsetIrrelevant(void) const { return ((flags&offset_irrel)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:616:73: error: ‘refcount’ was not declared in this scope 616 | LabelSymbol(const string &nm,uint4 i) : SleighSymbol(nm) { index = i; refcount = 0; isplaced=false; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘bool Symbol::hasMergeProblems() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:207:48: error: ‘dispflags’ was not declared in this scope 207 | bool hasMergeProblems(void) const { return ((dispflags & merge_problems)!=0); } ///< Were some SymbolEntrys not merged | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:408:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 408 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:392:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 392 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:18: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:36:3: error: ‘int4’ does not name a type; did you mean ‘int’? 36 | int4 instruction_length; ///< Number of bytes in the unimplemented instruction | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:41:31: error: ‘int4’ has not been declared 41 | UnimplError(const string &s,int4 l) : LowlevelError(s) { instruction_length = l; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:416:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 416 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:400:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 400 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:522:35: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 522 | void collectLocalExports(vector &results) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:522:40: error: template argument 1 is invalid 522 | void collectLocalExports(vector &results) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:522:40: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘bool Symbol::isIsolated() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:209:42: error: ‘dispflags’ was not declared in this scope 209 | bool isIsolated(void) const { return ((dispflags & isolate)!=0); } ///< Return \b true if \b this is isolated from speculative merging | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:424:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 424 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:408:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 408 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh: In constructor ‘TraverseNode::TraverseNode(const Varnode*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varnode.hh:383:52: error: ‘flags’ was not declared in this scope 383 | TraverseNode(const Varnode *v,uint4 f) { vn = v; flags = f; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void OperandSymbol::setMark()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:344:24: error: ‘flags’ was not declared in this scope 344 | void setMark(void) { flags |= marked; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:230:13: error: variable or field ‘setDisplayFormat’ declared void 230 | inline void Symbol::setDisplayFormat(uint4 val) | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘bool Symbol::isSizeTypeLocked() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:201:48: error: ‘dispflags’ was not declared in this scope 201 | bool isSizeTypeLocked(void) const { return ((dispflags & size_typelock)!=0); } ///< Is the Symbol size type-locked | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:432:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 432 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:416:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 416 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘void Symbol::setMergeProblems()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:208:33: error: ‘dispflags’ was not declared in this scope 208 | void setMergeProblems(void) { dispflags |= merge_problems; } ///< Mark that some SymbolEntrys could not be merged | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void LabelSymbol::incrementRefCount()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:618:34: error: ‘refcount’ was not declared in this scope 618 | void incrementRefCount(void) { refcount += 1; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:440:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 440 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:230:38: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 230 | inline void Symbol::setDisplayFormat(uint4 val) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:424:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 424 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh: In member function ‘void PcodeCompile::resetLabelCount()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:70:32: error: ‘local_labelcount’ was not declared in this scope 70 | void resetLabelCount(void) { local_labelcount=0; } | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:239:8: error: ‘uint4’ does not name a type; did you mean ‘uint’? 239 | inline uint4 SymbolEntry::getAllFlags(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘bool SymbolEntry::isAddrTied() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:244:20: error: ‘class Symbol’ has no member named ‘getFlags’ 244 | return ((symbol->getFlags()&Varnode::addrtied)!=0); | ^~~~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh:19, from src/decompile/cpp/pcodeparse.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:23:3: error: ‘int4’ does not name a type; did you mean ‘int’? 23 | int4 lineno; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void OperandSymbol::clearMark()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:345:26: error: ‘flags’ was not declared in this scope 345 | void clearMark(void) { flags &= ~((uint4)marked); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:448:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 448 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:432:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 432 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void Constructor::setMinimumLength(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:489:35: error: ‘minimumlength’ was not declared in this scope; did you mean ‘setMinimumLength’? 489 | void setMinimumLength(int4 l) { minimumlength = l; } | ^~~~~~~~~~~~~ | setMinimumLength /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh: In constructor ‘UnimplError::UnimplError(const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:41:60: error: ‘instruction_length’ was not declared in this scope 41 | UnimplError(const string &s,int4 l) : LowlevelError(s) { instruction_length = l; } | ^~~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:253:3: error: ‘int4’ does not name a type; did you mean ‘int’? 253 | int4 consumeSize; ///< Minimum number of bytes to consume with the start address | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:26:39: error: ‘int4’ does not name a type; did you mean ‘int’? 26 | Location(const string &fname, const int4 line) { filename = fname; lineno = line; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:257:45: error: ‘int4’ has not been declared 257 | FunctionSymbol(Scope *sc,const string &nm,int4 size); ///< Construct given the name | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:258:28: error: ‘int4’ has not been declared 258 | FunctionSymbol(Scope *sc,int4 size); ///< Constructor for use with restoreXml | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:60:3: error: ‘int4’ does not name a type; did you mean ‘int’? 60 | int4 numMergeClasses; ///< Number of different speculative merge classes in \b this | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:440:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 440 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:456:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 456 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:28:3: error: ‘int4’ does not name a type; did you mean ‘int’? 28 | int4 getLineno(void) const { return lineno; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:61:11: error: ‘uint4’ does not name a type; did you mean ‘uint’? 61 | mutable uint4 highflags; ///< Dirtiness flags | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:262:11: error: ‘int4’ does not name a type; did you mean ‘int’? 262 | virtual int4 getBytesConsumed(void) const { return consumeSize; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘bool Symbol::isThisPointer() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:202:45: error: ‘dispflags’ was not declared in this scope 202 | bool isThisPointer(void) const { return ((dispflags & is_this_ptr)!=0); } ///< Is \b this the "this" pointer | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:345:38: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 345 | void clearMark(void) { flags &= ~((uint4)marked); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:345:44: error: expected ‘)’ before ‘marked’ 345 | void clearMark(void) { flags &= ~((uint4)marked); } | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:65:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 65 | uint4 size; ///< Size truncated addresses into the space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:345:36: note: to match this ‘(’ 345 | void clearMark(void) { flags &= ~((uint4)marked); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:448:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 448 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:464:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 464 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:543:3: error: ‘int4’ does not name a type; did you mean ‘int’? 543 | int4 num; // Total number of patterns we distinguish | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:62:11: error: ‘uint4’ does not name a type; did you mean ‘uint’? 62 | mutable uint4 flags; ///< Boolean properties inherited from Varnode members | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void Constructor::setId(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:491:25: error: ‘id’ was not declared in this scope; did you mean ‘i’? 491 | void setId(uintm i) { id = i; } | ^~ | i /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘bool Symbol::isIsolated() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:209:42: error: ‘dispflags’ was not declared in this scope 209 | bool isIsolated(void) const { return ((dispflags & isolate)!=0); } ///< Return \b true if \b this is isolated from speculative merging | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:271:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 271 | uintb value; ///< Value of the constant being equated | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:545:3: error: ‘int4’ does not name a type; did you mean ‘int’? 545 | int4 startbit,bitsize; // Bits in the stream on which to base the decision | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:69:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 69 | uint4 getSize(void) const { return size; } ///< Size (of pointers) for new truncated space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:548:19: error: ‘int4’ has not been declared 548 | double getScore(int4 low,int4 size,bool context); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:548:28: error: ‘int4’ has not been declared 548 | double getScore(int4 low,int4 size,bool context); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:67:11: error: ‘int4’ does not name a type; did you mean ‘int’? 67 | mutable int4 symboloffset; ///< -1=perfect symbol match >=0, offset | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:230:13: error: variable or field ‘setDisplayFormat’ declared void 230 | inline void Symbol::setDisplayFormat(uint4 val) | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:92:90: error: ‘int4’ has not been declared 92 | virtual void dump(const Address &addr,OpCode opc,VarnodeData *outvar,VarnodeData *vars,int4 isize)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc: In member function ‘std::string Location::format() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:22:34: error: ‘lineno’ was not declared in this scope; did you mean ‘fileno’? 22 | s << filename << ":" << dec << lineno; | ^~~~~~ | fileno /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:456:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 456 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:472:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 472 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:68:3: error: ‘int4’ does not name a type; did you mean ‘int’? 68 | int4 instanceIndex(const Varnode *vn) const; ///< Find the index of a specific Varnode member | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:274:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 274 | uintb getValue(void) const { return value; } ///< Get the constant value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:275:21: error: ‘uintb’ has not been declared 275 | bool isValueClose(uintb op2Value,int4 size) const; ///< Is the given value similar to \b this equate | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:275:36: error: ‘int4’ has not been declared 275 | bool isValueClose(uintb op2Value,int4 size) const; ///< Is the given value similar to \b this equate | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:549:3: error: ‘int4’ does not name a type; did you mean ‘int’? 549 | int4 getNumFixed(int4 low,int4 size,bool context); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:81:39: error: ‘int4’ has not been declared 81 | void setSymbolReference(Symbol *sym,int4 off); ///< Attach a reference to a Symbol to \b this | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:107:16: error: ‘uint1’ does not name a type; did you mean ‘uint’? 107 | static const uint1 *unpackOffset(const uint1 *ptr,uintb &off); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:464:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 464 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘bool Symbol::isIndirectStorage() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:203:49: error: ‘flags’ was not declared in this scope 203 | bool isIndirectStorage(void) const { return ((flags&Varnode::indirectstorage)!=0); } ///< Is storage really a pointer to the true Symbol | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:480:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 480 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘bool OperandSymbol::isMarked() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:346:40: error: ‘flags’ was not declared in this scope 346 | bool isMarked(void) const { return ((flags&marked)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:550:3: error: ‘int4’ does not name a type; did you mean ‘int’? 550 | int4 getMaximumLength(bool context); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh: In constructor ‘Location::Location(const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:26:70: error: ‘lineno’ was not declared in this scope; did you mean ‘fileno’? 26 | Location(const string &fname, const int4 line) { filename = fname; lineno = line; } | ^~~~~~ | fileno /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:230:38: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 230 | inline void Symbol::setDisplayFormat(uint4 val) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:91:3: error: ‘int4’ does not name a type; did you mean ‘int’? 91 | int4 getSymbolOffset(void) const { return symboloffset; } ///< Get the Symbol offset associated with \b this | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:109:16: error: ‘uint1’ does not name a type; did you mean ‘uint’? 109 | static const uint1 *unpackVarnodeData(const uint1 *ptr,VarnodeData &v,const AddrSpaceManager *trans); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void Constructor::setLineno(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:493:29: error: ‘lineno’ was not declared in this scope; did you mean ‘fileno’? 493 | void setLineno(int4 ln) { lineno = ln; } | ^~~~~~ | fileno /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:92:3: error: ‘int4’ does not name a type; did you mean ‘int’? 92 | int4 numInstances(void) const { return inst.size(); } ///< Get the number of member Varnodes \b this has | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:239:8: error: ‘uint4’ does not name a type; did you mean ‘uint’? 239 | inline uint4 SymbolEntry::getAllFlags(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:93:24: error: ‘int4’ has not been declared 93 | Varnode *getInstance(int4 i) const { return inst[i]; } ///< Get the i-th member Varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:472:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 472 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:488:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 488 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:111:9: error: ‘uint1’ does not name a type; did you mean ‘uint’? 111 | const uint1 *restorePackedOp(const Address &addr,const uint1 *ptr,const AddrSpaceManager *trans); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘bool SymbolEntry::isAddrTied() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:244:20: error: ‘class Symbol’ has no member named ‘getFlags’ 244 | return ((symbol->getFlags()&Varnode::addrtied)!=0); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:34:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 34 | uint4 size; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:156:27: error: ‘uintb’ has not been declared 156 | virtual Address resolve(uintb val,int4 sz,const Address &point,uintb &fullEncoding)=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:156:37: error: ‘int4’ has not been declared 156 | virtual Address resolve(uintb val,int4 sz,const Address &point,uintb &fullEncoding)=0; | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:107:3: error: ‘int4’ does not name a type; did you mean ‘int’? 107 | int4 getNumMergeClasses(void) const { return numMergeClasses; } ///< Get the number of speculative merges for \b this | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:156:66: error: ‘uintb’ has not been declared 156 | virtual Address resolve(uintb val,int4 sz,const Address &point,uintb &fullEncoding)=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc: In destructor ‘ExprTree::~ExprTree()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:50:9: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 50 | for(int4 i=0;isize();++i) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:551:32: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 551 | void consistentValues(vector &bins,DisjointPattern *pat); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:551:37: error: template argument 1 is invalid 551 | void consistentValues(vector &bins,DisjointPattern *pat); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:551:37: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:177:48: error: ‘int4’ has not been declared 177 | void setBaseRegister(const VarnodeData &data,int4 origSize,bool stackGrowth); ///< Set the base register at time space is created | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:480:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 480 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:253:3: error: ‘int4’ does not name a type; did you mean ‘int’? 253 | int4 consumeSize; ///< Minimum number of bytes to consume with the start address | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:495:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 495 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:18: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:179:74: error: ‘int4’ has not been declared 179 | SpacebaseSpace(AddrSpaceManager *m,const Translate *t,const string &nm,int4 ind,int4 sz,AddrSpace *base,int4 dl); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:179:83: error: ‘int4’ has not been declared 179 | SpacebaseSpace(AddrSpaceManager *m,const Translate *t,const string &nm,int4 ind,int4 sz,AddrSpace *base,int4 dl); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:179:107: error: ‘int4’ has not been declared 179 | SpacebaseSpace(AddrSpaceManager *m,const Translate *t,const string &nm,int4 ind,int4 sz,AddrSpace *base,int4 dl); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:257:45: error: ‘int4’ has not been declared 257 | FunctionSymbol(Scope *sc,const string &nm,int4 size); ///< Construct given the name | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In constructor ‘EquateSymbol::EquateSymbol(Scope*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:273:42: error: ‘value’ was not declared in this scope 273 | EquateSymbol(Scope *sc) : Symbol(sc) { value = 0; category = 1; } ///< Constructor for use with restoreXml | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:258:28: error: ‘int4’ has not been declared 258 | FunctionSymbol(Scope *sc,int4 size); ///< Constructor for use with restoreXml | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘bool Symbol::isHiddenReturn() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:204:46: error: ‘flags’ was not declared in this scope 204 | bool isHiddenReturn(void) const { return ((flags&Varnode::hiddenretparm)!=0); } ///< Is this a reference to the function return value | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:140:10: error: ‘int4’ does not name a type; did you mean ‘int’? 140 | static int4 markExpression(Varnode *vn,vector &highList); ///< Mark and collect variables in expression | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:59:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 59 | uint4 local_labelcount; // Number of labels in current constructor | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:181:11: error: ‘int4’ does not name a type; did you mean ‘int’? 181 | virtual int4 numSpacebase(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:182:43: error: ‘int4’ has not been declared 182 | virtual const VarnodeData &getSpacebase(int4 i) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:502:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 502 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:488:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 488 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:183:47: error: ‘int4’ has not been declared 183 | virtual const VarnodeData &getSpacebaseFull(int4 i) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:262:11: error: ‘int4’ does not name a type; did you mean ‘int’? 262 | virtual int4 getBytesConsumed(void) const { return consumeSize; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:50:18: error: ‘i’ was not declared in this scope 50 | for(int4 i=0;isize();++i) | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:61:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 61 | virtual uintb allocateTemp(void)=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void Constructor::setSrcIndex(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:495:33: error: ‘src_index’ was not declared in this scope; did you mean ‘rindex’? 495 | void setSrcIndex(int4 index) {src_index = index;} | ^~~~~~~~~ | rindex /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:80:78: error: ‘uint4’ has not been declared 80 | vector *newOutput(bool usesLocalKey,ExprTree *rhs,string *varname,uint4 size=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:509:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 509 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:81:43: error: ‘uint4’ has not been declared 81 | void newLocalDefinition(string *varname,uint4 size=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:495:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 495 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:88:45: error: ‘uintb’ has not been declared 88 | vector *createOpConst(OpCode opc,uintb val); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:271:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 271 | uintb value; ///< Value of the constant being equated | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:94:42: error: ‘uintb’ has not been declared 94 | void appendOp(OpCode opc,ExprTree *res,uintb constval,int4 constsz); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:94:57: error: ‘int4’ has not been declared 94 | void appendOp(OpCode opc,ExprTree *res,uintb constval,int4 constsz); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:95:56: error: ‘uint4’ has not been declared 95 | VarnodeTpl *buildTruncatedVarnode(VarnodeTpl *basevn,uint4 bitoffset,uint4 numbits); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:95:72: error: ‘uint4’ has not been declared 95 | VarnodeTpl *buildTruncatedVarnode(VarnodeTpl *basevn,uint4 bitoffset,uint4 numbits); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:96:50: error: ‘uint4’ has not been declared 96 | vector *assignBitRange(VarnodeTpl *vn,uint4 bitoffset,uint4 numbits,ExprTree *rhs); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:96:66: error: ‘uint4’ has not been declared 96 | vector *assignBitRange(VarnodeTpl *vn,uint4 bitoffset,uint4 numbits,ExprTree *rhs); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:97:48: error: ‘uint4’ has not been declared 97 | ExprTree *createBitRange(SpecificSymbol *sym,uint4 bitoffset,uint4 numbits); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:436:3: error: ‘int4’ does not name a type; did you mean ‘int’? 436 | int4 num; // index of word containing context variable to set | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:97:64: error: ‘uint4’ has not been declared 97 | ExprTree *createBitRange(SpecificSymbol *sym,uint4 bitoffset,uint4 numbits); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:98:41: error: ‘uint4’ has not been declared 98 | VarnodeTpl *addressOf(VarnodeTpl *var,uint4 size); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:100:25: error: ‘int4’ has not been declared 100 | static void matchSize(int4 j,OpTpl *op,bool inputonly,const vector &ops); | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:35:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 35 | uintb offset; ///< The offset within the space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:502:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 502 | virtual uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:274:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 274 | uintb getValue(void) const { return value; } ///< Get the constant value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:275:21: error: ‘uintb’ has not been declared 275 | bool isValueClose(uintb op2Value,int4 size) const; ///< Is the given value similar to \b this equate | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:275:36: error: ‘int4’ has not been declared 275 | bool isValueClose(uintb op2Value,int4 size) const; ///< Is the given value similar to \b this equate | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:273:53: error: ‘category’ was not declared in this scope 273 | EquateSymbol(Scope *sc) : Symbol(sc) { value = 0; category = 1; } ///< Constructor for use with restoreXml | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:437:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 437 | uintm mask; // Mask off size of variable | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:36:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 36 | uint4 size; ///< The number of bytes in the location | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/opbehavior.hh:509:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 509 | virtual uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh: In member function ‘bool VarnodeData::operator<(const VarnodeData&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:57:42: error: ‘class AddrSpace’ has no member named ‘getIndex’ 57 | if (space != op2.space) return (space->getIndex() < op2.space->getIndex()); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc: In static member function ‘static std::vector* ExprTree::appendParams(OpTpl*, std::vector*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:62:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 62 | for(int4 i=0;isize();++i) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:57:66: error: ‘class AddrSpace’ has no member named ‘getIndex’ 57 | if (space != op2.space) return (space->getIndex() < op2.space->getIndex()); | ^~~~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘void HighVariable::setCopyIn1() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:73:33: error: ‘highflags’ was not declared in this scope 73 | void setCopyIn1(void) const { highflags |= copy_in1; } ///< Mark the existence of one COPY into \b this | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:438:3: error: ‘int4’ does not name a type; did you mean ‘int’? 438 | int4 shift; // Number of bits to shift value into place | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:440:17: error: expected ‘)’ before ‘startbit’ 440 | ContextOp(int4 startbit,int4 endbit,PatternExpression *pe); | ~ ^~~~~~~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘bool Symbol::isMultiEntry() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:206:43: error: ‘wholeCount’ was not declared in this scope 206 | bool isMultiEntry(void) const { return (wholeCount > 1); } ///< Does \b this have more than one \e entire mapping | ^~~~~~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:35:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 35 | uintb offset; ///< The offset within the space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:36:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 36 | uint4 size; ///< The number of bytes in the location | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:62:16: error: ‘i’ was not declared in this scope 62 | for(int4 i=0;isize();++i) { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh: In member function ‘bool VarnodeData::operator<(const VarnodeData&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:57:42: error: ‘class AddrSpace’ has no member named ‘getIndex’ 57 | if (space != op2.space) return (space->getIndex() < op2.space->getIndex()); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:452:3: error: ‘int4’ does not name a type; did you mean ‘int’? 452 | int4 num; // Index of word containing context commit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:57:66: error: ‘class AddrSpace’ has no member named ‘getIndex’ 57 | if (space != op2.space) return (space->getIndex() < op2.space->getIndex()); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:200:3: error: ‘int4’ does not name a type; did you mean ‘int’? 200 | int4 numPieces(void) const { return pieces.size(); } ///< Get number of pieces in this record | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:202:31: error: ‘int4’ has not been declared 202 | const VarnodeData &getPiece(int4 i) const { return pieces[i]; } ///< Get the i-th piece | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:204:32: error: ‘uintb’ has not been declared 204 | Address getEquivalentAddress(uintb offset,int4 &pos) const; ///< Given offset in \e join space, get equivalent address of piece | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:204:45: error: ‘int4’ has not been declared 204 | Address getEquivalentAddress(uintb offset,int4 &pos) const; ///< Given offset in \e join space, get equivalent address of piece | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In constructor ‘EquateSymbol::EquateSymbol(Scope*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:273:42: error: ‘value’ was not declared in this scope 273 | EquateSymbol(Scope *sc) : Symbol(sc) { value = 0; category = 1; } ///< Constructor for use with restoreXml | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:58:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 58 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:58:21: error: ‘const struct VarnodeData’ has no member named ‘offset’ 58 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:58:50: error: ‘const struct VarnodeData’ has no member named ‘offset’ 58 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:453:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 453 | uintm mask; // mask of bits in word being committed | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘bool SymbolCompareName::operator()(const Symbol*, const Symbol*) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:318:5: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 318 | int4 comp = sym1->name.compare(sym2->name); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:457:33: error: ‘int4’ has not been declared 457 | ContextCommit(TripleSymbol *s,int4 sbit,int4 ebit,bool fl); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:457:43: error: ‘int4’ has not been declared 457 | ContextCommit(TripleSymbol *s,int4 sbit,int4 ebit,bool fl); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:579:3: error: ‘int4’ does not name a type; did you mean ‘int’? 579 | int4 getNumConstructors(void) const { return construct.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:580:31: error: ‘uintm’ has not been declared 580 | Constructor *getConstructor(uintm id) const { return construct[id]; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘void HighVariable::setCopyIn2() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:74:33: error: ‘highflags’ was not declared in this scope 74 | void setCopyIn2(void) const { highflags |= copy_in2; } ///< Mark the existence of two COPYs into \b this | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh: In constructor ‘PcodeCompile::PcodeCompile()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:65:69: error: ‘local_labelcount’ was not declared in this scope 65 | uniqspace=(AddrSpace *)0; local_labelcount=0; enforceLocalKey=false; } | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘bool Symbol::hasMergeProblems() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:207:48: error: ‘dispflags’ was not declared in this scope 207 | bool hasMergeProblems(void) const { return ((dispflags & merge_problems)!=0); } ///< Were some SymbolEntrys not merged | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:58:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 58 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:58:21: error: ‘const struct VarnodeData’ has no member named ‘offset’ 58 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:58:50: error: ‘const struct VarnodeData’ has no member named ‘offset’ 58 | if (offset != op2.offset) return (offset < op2.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:585:11: error: ‘int4’ does not name a type; did you mean ‘int’? 585 | virtual int4 getSize(void) const { return -1; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:59:11: error: ‘size’ was not declared in this scope 59 | return (size > op2.size); // BIG sizes come first | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:59:22: error: ‘const struct VarnodeData’ has no member named ‘size’ 59 | return (size > op2.size); // BIG sizes come first | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:319:9: error: ‘comp’ was not declared in this scope 319 | if (comp < 0) return true; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:273:53: error: ‘category’ was not declared in this scope 273 | EquateSymbol(Scope *sc) : Symbol(sc) { value = 0; category = 1; } ///< Constructor for use with restoreXml | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:59:11: error: ‘size’ was not declared in this scope 59 | return (size > op2.size); // BIG sizes come first | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:59:22: error: ‘const struct VarnodeData’ has no member named ‘size’ 59 | return (size > op2.size); // BIG sizes come first | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:588:42: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 588 | virtual void collectLocalValues(vector &results) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:588:47: error: template argument 1 is invalid 588 | virtual void collectLocalValues(vector &results) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:588:47: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh: In member function ‘bool VarnodeData::operator==(const VarnodeData&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:68:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 68 | if (offset != op2.offset) return false; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:320:9: error: ‘comp’ was not declared in this scope 320 | if (comp > 0) return false; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:68:21: error: ‘const struct VarnodeData’ has no member named ‘offset’ 68 | if (offset != op2.offset) return false; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:321:19: error: ‘const class Symbol’ has no member named ‘nameDedup’ 321 | return (sym1->nameDedup < sym2->nameDedup); | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:321:37: error: ‘const class Symbol’ has no member named ‘nameDedup’ 321 | return (sym1->nameDedup < sym2->nameDedup); | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc: In static member function ‘static void PcodeCompile::force_size(VarnodeTpl*, const ConstTpl&, const std::vector&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:109:65: error: ‘const class ConstTpl’ has no member named ‘getReal’ 109 | if ((vt->getSize().getType()!=ConstTpl::real)||(vt->getSize().getReal() != 0)) | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘void HighVariable::clearCopyIns() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:75:35: error: ‘highflags’ was not declared in this scope 75 | void clearCopyIns(void) const { highflags &= ~(copy_in1 | copy_in2); } ///< Clear marks indicating COPYs into \b this | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘void Symbol::setMergeProblems()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:208:33: error: ‘dispflags’ was not declared in this scope 208 | void setMergeProblems(void) { dispflags |= merge_problems; } ///< Mark that some SymbolEntrys could not be merged | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh: In member function ‘bool VarnodeData::operator==(const VarnodeData&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:68:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 68 | if (offset != op2.offset) return false; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:68:21: error: ‘const struct VarnodeData’ has no member named ‘offset’ 68 | if (offset != op2.offset) return false; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:69:11: error: ‘size’ was not declared in this scope 69 | return (size == op2.size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh: In member function ‘void PcodeCompile::resetLabelCount()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:70:32: error: ‘local_labelcount’ was not declared in this scope 70 | void resetLabelCount(void) { local_labelcount=0; } | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:69:23: error: ‘const struct VarnodeData’ has no member named ‘size’ 69 | return (size == op2.size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘bool SymbolCompareName::operator()(const Symbol*, const Symbol*) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:318:5: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 318 | int4 comp = sym1->name.compare(sym2->name); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:120:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 120 | for(int4 i=0;igetSize().getReal() != 0) && (vn->getSize().getReal() != size.getReal())) | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:44:3: error: ‘int4’ does not name a type; did you mean ‘int’? 44 | int4 frac_size; ///< Number of bits in fractional part | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:126:62: error: ‘const class ConstTpl’ has no member named ‘getReal’ 126 | (vn->getSize().getReal() != 0) && (vn->getSize().getReal() != size.getReal())) | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:126:80: error: ‘const class ConstTpl’ has no member named ‘getReal’ 126 | (vn->getSize().getReal() != 0) && (vn->getSize().getReal() != size.getReal())) | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:131:13: error: expected ‘;’ before ‘j’ 131 | for(int4 j=0;jnumInput();++j) { | ^~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:549:3: error: ‘int4’ does not name a type; did you mean ‘int’? 549 | int4 getNumFixed(int4 low,int4 size,bool context); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:45:3: error: ‘int4’ does not name a type; did you mean ‘int’? 45 | int4 exp_pos; ///< (lowest) bit position of exponent | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:28, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangemap.hh: In instantiation of ‘class rangemap’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:366:23: required from here /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangemap.hh:66:42: error: no type named ‘linetype’ in ‘class SymbolEntry’ 66 | typedef typename _recordtype::linetype linetype; ///< Integer data-type defining the linear domain | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:550:3: error: ‘int4’ does not name a type; did you mean ‘int’? 550 | int4 getMaximumLength(bool context); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh: In member function ‘bool VarnodeData::operator!=(const VarnodeData&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:78:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 78 | if (offset != op2.offset) return true; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:78:21: error: ‘const struct VarnodeData’ has no member named ‘offset’ 78 | if (offset != op2.offset) return true; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:230:38: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 230 | inline void Symbol::setDisplayFormat(uint4 val) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:46:3: error: ‘int4’ does not name a type; did you mean ‘int’? 46 | int4 exp_size; ///< Number of bits in exponent | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘MacroSymbol::MacroSymbol(const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:600:69: error: overloaded function with no contextual type information 600 | MacroSymbol(const string &nm,int4 i) : SleighSymbol(nm) { index = i; construct = (ConstructTpl *)0; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:79:11: error: ‘size’ was not declared in this scope 79 | return (size != op2.size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:79:23: error: ‘const struct VarnodeData’ has no member named ‘size’ 79 | return (size != op2.size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:320:9: error: ‘comp’ was not declared in this scope 320 | if (comp > 0) return false; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:239:8: error: ‘uint4’ does not name a type; did you mean ‘uint’? 239 | inline uint4 SymbolEntry::getAllFlags(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:47:3: error: ‘int4’ does not name a type; did you mean ‘int’? 47 | int4 bias; ///< What to add to real exponent to get encoding | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:321:19: error: ‘const class Symbol’ has no member named ‘nameDedup’ 321 | return (sym1->nameDedup < sym2->nameDedup); | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘bool SymbolEntry::isAddrTied() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:244:20: error: ‘class Symbol’ has no member named ‘getFlags’ 244 | return ((symbol->getFlags()&Varnode::addrtied)!=0); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:321:37: error: ‘const class Symbol’ has no member named ‘nameDedup’ 321 | return (sym1->nameDedup < sym2->nameDedup); | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:131:18: error: ‘j’ was not declared in this scope 131 | for(int4 j=0;jnumInput();++j) { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:131:24: error: ‘class OpTpl’ has no member named ‘numInput’ 131 | for(int4 j=0;jnumInput();++j) { | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:48:3: error: ‘int4’ does not name a type; did you mean ‘int’? 48 | int4 maxexponent; ///< Maximum possible exponent | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:475:3: error: ‘int4’ does not name a type; did you mean ‘int’? 475 | int4 minimumlength; // Minimum length taken up by this constructor in bytes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:612:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 612 | uint4 index; // Local 1 up index of label | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:253:3: error: ‘int4’ does not name a type; did you mean ‘int’? 253 | int4 consumeSize; ///< Minimum number of bytes to consume with the start address | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:257:45: error: ‘int4’ has not been declared 257 | FunctionSymbol(Scope *sc,const string &nm,int4 size); ///< Construct given the name | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:135:28: error: ‘const class ConstTpl’ has no member named ‘getReal’ 135 | (vn->getSize().getReal() != 0) && (vn->getSize().getReal() != size.getReal())) | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:551:32: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 551 | void consistentValues(vector &bins,DisjointPattern *pat); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:258:28: error: ‘int4’ has not been declared 258 | FunctionSymbol(Scope *sc,int4 size); ///< Constructor for use with restoreXml | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:551:37: error: template argument 1 is invalid 551 | void consistentValues(vector &bins,DisjointPattern *pat); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:551:37: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:49:3: error: ‘int4’ does not name a type; did you mean ‘int’? 49 | int4 decimal_precision; ///< Number of decimal digits of precision | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:135:62: error: ‘const class ConstTpl’ has no member named ‘getReal’ 135 | (vn->getSize().getReal() != 0) && (vn->getSize().getReal() != size.getReal())) | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘bool HighVariable::hasCopyIn2() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:77:42: error: ‘highflags’ was not declared in this scope 77 | bool hasCopyIn2(void) const { return ((highflags©_in2)!=0); } ///< Is there at least two COPYs into \b this | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:51:39: error: ‘uintb’ has not been declared 51 | static double createFloat(bool sign,uintb signif,int4 exp); ///< Create a double given sign, fractional, and exponent | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:51:52: error: ‘int4’ has not been declared 51 | static double createFloat(bool sign,uintb signif,int4 exp); ///< Create a double given sign, fractional, and exponent | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:135:80: error: ‘const class ConstTpl’ has no member named ‘getReal’ 135 | (vn->getSize().getReal() != 0) && (vn->getSize().getReal() != size.getReal())) | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:52:54: error: ‘uintb’ has not been declared 52 | static floatclass extractExpSig(double x,bool *sgn,uintb *signif,int4 *exp); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:79:11: error: ‘size’ was not declared in this scope 79 | return (size != op2.size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:52:68: error: ‘int4’ has not been declared 52 | static floatclass extractExpSig(double x,bool *sgn,uintb *signif,int4 *exp); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:79:23: error: ‘const struct VarnodeData’ has no member named ‘size’ 79 | return (size != op2.size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:53:34: error: ‘uintb’ has not been declared 53 | static bool roundToNearestEven(uintb &signif, int4 lowbitpos); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:53:49: error: ‘int4’ has not been declared 53 | static bool roundToNearestEven(uintb &signif, int4 lowbitpos); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:476:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 476 | uintm id; // Unique id of constructor within subtable | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:143:6: error: variable or field ‘matchSize’ declared void 143 | void PcodeCompile::matchSize(int4 j,OpTpl *op,bool inputonly,const vector &ops) | ^~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:614:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 614 | uint4 refcount; // Number of references to this label | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:616:32: error: ‘uint4’ has not been declared 616 | LabelSymbol(const string &nm,uint4 i) : SleighSymbol(nm) { index = i; refcount = 0; isplaced=false; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:262:11: error: ‘int4’ does not name a type; did you mean ‘int’? 262 | virtual int4 getBytesConsumed(void) const { return consumeSize; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:54:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 54 | uintb setFractionalCode(uintb x,uintb code) const; ///< Set the fractional part of an encoded value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:477:3: error: ‘int4’ does not name a type; did you mean ‘int’? 477 | int4 firstwhitespace; // Index of first whitespace piece in -printpiece- | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh: In member function ‘Address VarnodeData::getAddr() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:86:24: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 86 | return Address(space,offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:617:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 617 | uint4 getIndex(void) const { return index; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:55:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 55 | uintb setSign(uintb x,bool sign) const; ///< Set the sign bit of an encoded value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:478:3: error: ‘int4’ does not name a type; did you mean ‘int’? 478 | int4 flowthruindex; // if >=0 then print only a single operand no markup | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:143:30: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 143 | void PcodeCompile::matchSize(int4 j,OpTpl *op,bool inputonly,const vector &ops) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:143:43: error: expected primary-expression before ‘*’ token 143 | void PcodeCompile::matchSize(int4 j,OpTpl *op,bool inputonly,const vector &ops) | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:271:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 271 | uintb value; ///< Value of the constant being equated | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:619:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 619 | uint4 getRefCount(void) const { return refcount; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:56:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 56 | uintb setExponentCode(uintb x,uintb code) const; ///< Set the exponent of an encoded value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:479:3: error: ‘int4’ does not name a type; did you mean ‘int’? 479 | int4 lineno; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘LabelSymbol::LabelSymbol(const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:616:70: error: overloaded function with no contextual type information 616 | LabelSymbol(const string &nm,uint4 i) : SleighSymbol(nm) { index = i; refcount = 0; isplaced=false; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh: In member function ‘Address VarnodeData::getAddr() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:86:24: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 86 | return Address(space,offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:274:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 274 | uintb getValue(void) const { return value; } ///< Get the constant value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:275:21: error: ‘uintb’ has not been declared 275 | bool isValueClose(uintb op2Value,int4 size) const; ///< Is the given value similar to \b this equate | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:57:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 57 | uintb getZeroEncoding(bool sgn) const; ///< Get an encoded zero value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:275:36: error: ‘int4’ has not been declared 275 | bool isValueClose(uintb op2Value,int4 size) const; ///< Is the given value similar to \b this equate | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:143:44: error: ‘op’ was not declared in this scope 143 | void PcodeCompile::matchSize(int4 j,OpTpl *op,bool inputonly,const vector &ops) | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:143:47: error: expected primary-expression before ‘bool’ 143 | void PcodeCompile::matchSize(int4 j,OpTpl *op,bool inputonly,const vector &ops) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:143:62: error: expected primary-expression before ‘const’ 143 | void PcodeCompile::matchSize(int4 j,OpTpl *op,bool inputonly,const vector &ops) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:480:3: error: ‘int4’ does not name a type; did you mean ‘int’? 480 | int4 src_index; //source file index | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:222:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 222 | map shortcut2Space; ///< Map from shortcut -> space | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:489:25: error: ‘int4’ has not been declared 489 | void setMinimumLength(int4 l) { minimumlength = l; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:222:23: error: template argument 1 is invalid 222 | map shortcut2Space; ///< Map from shortcut -> space | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:222:23: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:222:23: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:58:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 58 | uintb getInfinityEncoding(bool sgn) const; ///< Get an encoded infinite value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘void HighVariable::flagsDirty() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:82:33: error: ‘highflags’ was not declared in this scope 82 | void flagsDirty(void) const { highflags |= flagsdirty | namerepdirty; } ///< Mark the boolean properties as \e dirty | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:490:3: error: ‘int4’ does not name a type; did you mean ‘int’? 490 | int4 getMinimumLength(void) const { return minimumlength; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:491:14: error: ‘uintm’ has not been declared 491 | void setId(uintm i) { id = i; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:231:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 231 | uintb joinallocate; ///< Next offset to be allocated in join space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:59:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 59 | uintb getNaNEncoding(bool sgn) const; ///< Get an encoded NaN value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:63:19: error: expected ‘)’ before ‘sz’ 63 | FloatFormat(int4 sz); ///< Construct default IEEE 754 standard settings | ~ ^~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:492:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 492 | uintm getId(void) const { return id; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:493:18: error: ‘int4’ has not been declared 493 | void setLineno(int4 ln) { lineno = ln; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:103:35: error: ‘uintm’ has not been declared 103 | void setSeqNum(const Address &a,uintm b); ///< Set the sequence number | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc: In static member function ‘static void PcodeCompile::fillinZero(OpTpl*, const std::vector&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:174:3: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 174 | int4 inputsize,i; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:64:3: error: ‘int4’ does not name a type; did you mean ‘int’? 64 | int4 getSize(void) const { return size; } ///< Get the size of the encoding in bytes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:65:23: error: ‘uintb’ has not been declared 65 | double getHostFloat(uintb encoding,floatclass *type) const; ///< Convert an encoding into host's double | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:494:3: error: ‘int4’ does not name a type; did you mean ‘int’? 494 | int4 getLineno(void) const { return lineno; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:495:20: error: ‘int4’ has not been declared 495 | void setSrcIndex(int4 index) {src_index = index;} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:354:26: error: ‘int4’ has not been declared 354 | MapIterator operator++(int4 i); ///< Post-increment the iterator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:496:3: error: ‘int4’ does not name a type; did you mean ‘int’? 496 | int4 getSrcIndex(void) {return src_index;} | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:66:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 66 | uintb getEncoding(double host) const; ///< Convert host's double into \b this encoding | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:503:42: error: ‘int4’ has not been declared 503 | void setNamedSection(ConstructTpl *tpl,int4 id); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:110:3: error: ‘int4’ does not name a type; did you mean ‘int’? 110 | int4 numInput(void) const; ///< Get the number of input varnodes to this op | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:111:25: error: ‘int4’ has not been declared 111 | VarnodeData *getInput(int4 i) const; ///< Get the i-th input varnode for this op | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In constructor ‘EquateSymbol::EquateSymbol(Scope*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:273:42: error: ‘value’ was not declared in this scope 273 | EquateSymbol(Scope *sc) : Symbol(sc) { value = 0; category = 1; } ///< Constructor for use with restoreXml | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:616:73: error: ‘refcount’ was not declared in this scope 616 | LabelSymbol(const string &nm,uint4 i) : SleighSymbol(nm) { index = i; refcount = 0; isplaced=false; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:103:35: error: ‘uintm’ has not been declared 103 | void setSeqNum(const Address &a,uintm b); ///< Set the sequence number | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:147:52: error: ‘uintm’ has not been declared 147 | inline void PcodeOpRaw::setSeqNum(const Address &a,uintm b) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:505:3: error: ‘int4’ does not name a type; did you mean ‘int’? 505 | int4 getNumOperands(void) const { return operands.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:506:29: error: ‘int4’ has not been declared 506 | OperandSymbol *getOperand(int4 i) const { return operands[i]; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:67:3: error: ‘int4’ does not name a type; did you mean ‘int’? 67 | int4 getDecimalPrecision(void) const { return decimal_precision; } ///< Get number of digits of precision | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:509:31: error: ‘int4’ has not been declared 509 | ConstructTpl *getNamedTempl(int4 secnum) const; | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:28, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangemap.hh: In instantiation of ‘class rangemap’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:366:23: required from here /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangemap.hh:66:42: error: no type named ‘linetype’ in ‘class SymbolEntry’ 66 | typedef typename _recordtype::linetype linetype; ///< Integer data-type defining the linear domain | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:510:3: error: ‘int4’ does not name a type; did you mean ‘int’? 510 | int4 getNumSections(void) const { return namedtempl.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:68:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 68 | uintb convertEncoding(uintb encoding,const FloatFormat *formin) const; ///< Convert between two different formats | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:379:13: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 379 | typedef map ScopeMap; ///< A map from id to Scope | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:110:3: error: ‘int4’ does not name a type; did you mean ‘int’? 110 | int4 numInput(void) const; ///< Get the number of input varnodes to this op | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:111:25: error: ‘int4’ has not been declared 111 | VarnodeData *getInput(int4 i) const; ///< Get the i-th input varnode for this op | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:379:26: error: template argument 1 is invalid 379 | typedef map ScopeMap; ///< A map from id to Scope | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:379:26: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:379:26: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘void HighVariable::coverDirty() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:83:33: error: ‘highflags’ was not declared in this scope 83 | void coverDirty(void) const { highflags |= coverdirty; } ///< Mark the cover as \e dirty | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:579:3: error: ‘int4’ does not name a type; did you mean ‘int’? 579 | int4 getNumConstructors(void) const { return construct.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:580:31: error: ‘uintm’ has not been declared 580 | Constructor *getConstructor(uintm id) const { return construct[id]; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:410:20: error: ‘ScopeMap’ is not a class, namespace, or enumeration 410 | void detachScope(ScopeMap::iterator iter); ///< Detach a child Scope from \b this | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:410:39: error: expected ‘,’ or ‘...’ before ‘iter’ 410 | void detachScope(ScopeMap::iterator iter); ///< Detach a child Scope from \b this | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:206:8: error: ‘int4’ does not name a type; did you mean ‘int’? 206 | inline int4 PcodeOpRaw::numInput(void) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:217:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 217 | inline VarnodeData *PcodeOpRaw::getInput(int4 i) const | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:147:52: error: ‘uintm’ has not been declared 147 | inline void PcodeOpRaw::setSeqNum(const Address &a,uintm b) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:217:21: error: ‘VarnodeData* PcodeOpRaw::getInput’ is not a static data member of ‘class PcodeOpRaw’ 217 | inline VarnodeData *PcodeOpRaw::getInput(int4 i) const | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:70:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 70 | uintb extractFractionalCode(uintb x) const; ///< Extract the fractional part of the encoding | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:71:20: error: ‘uintb’ has not been declared 71 | bool extractSign(uintb x) const; ///< Extract the sign bit from the encoding | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:585:11: error: ‘int4’ does not name a type; did you mean ‘int’? 585 | virtual int4 getSize(void) const { return -1; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:411:10: error: ‘uint8’ does not name a type; did you mean ‘uint’? 411 | static uint8 hashScopeName(uint8 baseId,const string &nm); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:72:3: error: ‘int4’ does not name a type; did you mean ‘int’? 72 | int4 extractExponentCode(uintb x) const; ///< Extract the exponent from the encoding | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:206:8: error: ‘int4’ does not name a type; did you mean ‘int’? 206 | inline int4 PcodeOpRaw::numInput(void) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:217:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 217 | inline VarnodeData *PcodeOpRaw::getInput(int4 i) const | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:217:21: error: ‘VarnodeData* PcodeOpRaw::getInput’ is not a static data member of ‘class PcodeOpRaw’ 217 | inline VarnodeData *PcodeOpRaw::getInput(int4 i) const | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:521:36: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 521 | void markSubtableOperands(vector &check) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:521:40: error: template argument 1 is invalid 521 | void markSubtableOperands(vector &check) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:521:40: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:202:5: error: ‘inputsize’ was not declared in this scope 202 | inputsize = op->numInput(); | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:202:21: error: ‘class OpTpl’ has no member named ‘numInput’ 202 | inputsize = op->numInput(); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:76:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 76 | uintb opEqual(uintb a,uintb b) const; ///< Equality comparison (==) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:416:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 416 | uint8 uniqueId; ///< Unique id for the scope, for deduping scope names, assigning symbol ids | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:424:63: error: ‘int4’ has not been declared 424 | const Address &addr,int4 size, | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:429:64: error: ‘int4’ has not been declared 429 | const Address &addr,int4 size, | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:217:42: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 217 | inline VarnodeData *PcodeOpRaw::getInput(int4 i) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:273:53: error: ‘category’ was not declared in this scope 273 | EquateSymbol(Scope *sc) : Symbol(sc) { value = 0; category = 1; } ///< Constructor for use with restoreXml | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:454:32: error: ‘uint8’ has not been declared 454 | virtual Scope *buildSubScope(uint8 id,const string &nm)=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:460:40: error: ‘uintb’ has not been declared 460 | virtual void addRange(AddrSpace *spc,uintb first,uintb last); ///< Add a memory range to the ownership of \b this Scope | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:460:52: error: ‘uintb’ has not been declared 460 | virtual void addRange(AddrSpace *spc,uintb first,uintb last); ///< Add a memory range to the ownership of \b this Scope | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:461:43: error: ‘uintb’ has not been declared 461 | virtual void removeRange(AddrSpace *spc,uintb first,uintb last); ///< Remove a memory range from the ownership of \b this Scope | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:461:55: error: ‘uintb’ has not been declared 461 | virtual void removeRange(AddrSpace *spc,uintb first,uintb last); ///< Remove a memory range from the ownership of \b this Scope | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:77:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 77 | uintb opNotEqual(uintb a,uintb b) const; ///< Inequality comparison (!=) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:478:51: error: ‘uint4’ has not been declared 478 | virtual SymbolEntry *addMapInternal(Symbol *sym,uint4 exfl,const Address &addr,int4 off,int4 sz, | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void LabelSymbol::incrementRefCount()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:618:34: error: ‘refcount’ was not declared in this scope 618 | void incrementRefCount(void) { refcount += 1; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:478:82: error: ‘int4’ has not been declared 478 | virtual SymbolEntry *addMapInternal(Symbol *sym,uint4 exfl,const Address &addr,int4 off,int4 sz, | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:478:91: error: ‘int4’ has not been declared 478 | virtual SymbolEntry *addMapInternal(Symbol *sym,uint4 exfl,const Address &addr,int4 off,int4 sz, | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:493:58: error: ‘uint4’ has not been declared 493 | virtual SymbolEntry *addDynamicMapInternal(Symbol *sym,uint4 exfl,uint8 hash,int4 off,int4 sz, | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:493:69: error: ‘uint8’ has not been declared 493 | virtual SymbolEntry *addDynamicMapInternal(Symbol *sym,uint4 exfl,uint8 hash,int4 off,int4 sz, | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:588:42: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 588 | virtual void collectLocalValues(vector &results) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:493:80: error: ‘int4’ has not been declared 493 | virtual SymbolEntry *addDynamicMapInternal(Symbol *sym,uint4 exfl,uint8 hash,int4 off,int4 sz, | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:588:47: error: template argument 1 is invalid 588 | virtual void collectLocalValues(vector &results) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:588:47: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:493:89: error: ‘int4’ has not been declared 493 | virtual SymbolEntry *addDynamicMapInternal(Symbol *sym,uint4 exfl,uint8 hash,int4 off,int4 sz, | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:496:32: error: ‘uint8’ has not been declared 496 | void setSymbolId(Symbol *sym,uint8 id) const { sym->symbolId = id; } ///< Adjust the id associated with a symbol | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:504:14: error: expected ‘)’ before ‘id’ 504 | Scope(uint8 id,const string &nm,Architecture *g,Scope *own) { | ~ ^~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:78:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 78 | uintb opLess(uintb a,uintb b) const; ///< Less-than comparison (<) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:518:30: error: ‘int4’ has not been declared 518 | virtual void clearCategory(int4 cat)=0; ///< Clear all symbols of the given category from \b this scope | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:520:38: error: ‘int4’ has not been declared 520 | virtual void clearUnlockedCategory(int4 cat)=0; ///< Clear unlocked symbols of the given category from \b this scope | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:535:44: error: ‘int4’ has not been declared 535 | virtual bool inScope(const Address &addr,int4 size, const Address &usepoint) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:548:41: error: ‘uint4’ has not been declared 548 | virtual void setAttribute(Symbol *sym,uint4 attr)=0; ///< Set boolean Varnode properties on a Symbol | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:217:42: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 217 | inline VarnodeData *PcodeOpRaw::getInput(int4 i) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:549:43: error: ‘uint4’ has not been declared 549 | virtual void clearAttribute(Symbol *sym,uint4 attr)=0; ///< Clear boolean Varnode properties on a Symbol | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:550:45: error: ‘uint4’ has not been declared 550 | virtual void setDisplayFormat(Symbol *sym,uint4 attr)=0; ///< Set the display format for a Symbol | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:203:9: error: ‘i’ was not declared in this scope 203 | for(i=0;i &results) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:522:40: error: template argument 1 is invalid 522 | void collectLocalExports(vector &results) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:522:40: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:576:59: error: ‘int4’ has not been declared 576 | virtual SymbolEntry *findClosestFit(const Address &addr,int4 size, | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:41:3: error: ‘int4’ does not name a type; did you mean ‘int’? 41 | int4 size; ///< Size of float in bytes (this format) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘void HighVariable::typeDirty() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:84:32: error: ‘highflags’ was not declared in this scope 84 | void typeDirty(void) const { highflags |= typedirty; } ///< Mark the data-type as \e dirty | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:602:56: error: ‘int4’ has not been declared 602 | virtual SymbolEntry *findOverlap(const Address &addr,int4 size) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:79:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 79 | uintb opLessEqual(uintb a,uintb b) const; ///< Less-than-or-equal comparison (<=) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:636:49: error: ‘int4’ has not been declared 636 | Datatype *ct,int4 &index,uint4 flags) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:636:61: error: ‘uint4’ has not been declared 636 | Datatype *ct,int4 &index,uint4 flags) const=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:227:21: error: ‘class OpTpl’ has no member named ‘numInput’ 227 | inputsize = op->numInput(); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:42:3: error: ‘int4’ does not name a type; did you mean ‘int’? 42 | int4 signbit_pos; ///< Bit position of sign bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:80:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 80 | uintb opNan(uintb a) const; ///< Test if Not-a-Number (NaN) | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:31:3: error: ‘int4’ does not name a type; did you mean ‘int’? 31 | int4 word; ///< Index of word containing this context value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:657:11: error: ‘int4’ does not name a type; did you mean ‘int’? 657 | virtual int4 getCategorySize(int4 cat) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:664:37: error: ‘int4’ has not been declared 664 | virtual Symbol *getCategorySymbol(int4 cat,int4 ind) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:664:46: error: ‘int4’ has not been declared 664 | virtual Symbol *getCategorySymbol(int4 cat,int4 ind) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:671:40: error: ‘int4’ has not been declared 671 | virtual void setCategory(Symbol *sym,int4 cat,int4 ind)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:43:3: error: ‘int4’ does not name a type; did you mean ‘int’? 43 | int4 frac_pos; ///< (lowest) bit position of fractional part | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:671:49: error: ‘int4’ has not been declared 671 | virtual void setCategory(Symbol *sym,int4 cat,int4 ind)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:81:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 81 | uintb opAdd(uintb a,uintb b) const; ///< Addition (+) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:32:3: error: ‘int4’ does not name a type; did you mean ‘int’? 32 | int4 startbit; ///< Starting bit of the value within its word (0=most significant bit 1=least significant) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘bool SymbolCompareName::operator()(const Symbol*, const Symbol*) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:318:5: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 318 | int4 comp = sym1->name.compare(sym2->name); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:237:28: error: ‘int4’ has not been declared 237 | void setDefaultCodeSpace(int4 index); ///< Set the default address space (for code) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:44:3: error: ‘int4’ does not name a type; did you mean ‘int’? 44 | int4 frac_size; ///< Number of bits in fractional part | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:31:3: error: ‘int4’ does not name a type; did you mean ‘int’? 31 | int4 word; ///< Index of word containing this context value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:238:28: error: ‘int4’ has not been declared 238 | void setDefaultDataSpace(int4 index); ///< Set the default address space for data | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:241:40: error: ‘int4’ has not been declared 241 | void markNearPointers(AddrSpace *spc,int4 size); ///< Mark that given space can be accessed with near pointers | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:82:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 82 | uintb opDiv(uintb a,uintb b) const; ///< Division (/) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:228:9: error: ‘i’ was not declared in this scope 228 | for(i=0;isymbolId = id; } ///< Adjust the id associated with a symbol | ^~~~~~~~ | Symbol /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void Constructor::setMinimumLength(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:489:35: error: ‘minimumlength’ was not declared in this scope; did you mean ‘setMinimumLength’? 489 | void setMinimumLength(int4 l) { minimumlength = l; } | ^~~~~~~~~~~~~ | setMinimumLength /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:35:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 35 | uintm mask; ///< Mask to apply (after shifting) when unpacking this value from its word | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:48:3: error: ‘int4’ does not name a type; did you mean ‘int’? 48 | int4 maxexponent; ///< Maximum possible exponent | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:319:9: error: ‘comp’ was not declared in this scope 319 | if (comp < 0) return true; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:265:3: error: ‘int4’ does not name a type; did you mean ‘int’? 265 | int4 numSpaces(void) const; ///< Get the number of address spaces for this processor | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:38:23: error: expected ‘)’ before ‘sbit’ 38 | ContextBitRange(int4 sbit,int4 ebit); ///< Construct a context value given an absolute bit range | ~ ^~~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:266:23: error: ‘int4’ has not been declared 266 | AddrSpace *getSpace(int4 i) const; ///< Get an address space via its index | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘int Scope::childrenBegin() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:695:68: error: request for member ‘begin’ in ‘((const Scope*)this)->Scope::children’, which is of non-class type ‘const ScopeMap’ {aka ‘const int’} 695 | ScopeMap::const_iterator childrenBegin() const { return children.begin(); } ///< Beginning iterator of child scopes | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:268:61: error: ‘uint4’ has not been declared 268 | JoinRecord *findAddJoin(const vector &pieces,uint4 logicalsize); ///< Get (or create) JoinRecord for \e pieces | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘int Scope::childrenEnd() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:696:66: error: request for member ‘end’ in ‘((const Scope*)this)->Scope::children’, which is of non-class type ‘const ScopeMap’ {aka ‘const int’} 696 | ScopeMap::const_iterator childrenEnd() const { return children.end(); } ///< Ending iterator of child scopes | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:253:9: error: ‘i’ was not declared in this scope 253 | for(i=1;inumInput();++i) { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:269:24: error: ‘uintb’ has not been declared 269 | JoinRecord *findJoin(uintb offset) const; ///< Find JoinRecord for \e offset in the join space | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:270:40: error: ‘int4’ has not been declared 270 | void setDeadcodeDelay(AddrSpace *spc,int4 delaydelta); ///< Set the deadcodedelay for a specific space | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:40:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 40 | uintm getMask(void) const { return mask; } ///< Return the mask for \b this value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:253:19: error: ‘class OpTpl’ has no member named ‘numInput’ 253 | for(i=1;inumInput();++i) { | ^~~~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:379:13: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 379 | typedef map ScopeMap; ///< A map from id to Scope | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:86:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 86 | uintb opAbs(uintb a) const; ///< Absolute value (abs) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:379:26: error: template argument 1 is invalid 379 | typedef map ScopeMap; ///< A map from id to Scope | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:274:66: error: ‘int4’ has not been declared 274 | Address constructFloatExtensionAddress(const Address &realaddr,int4 realsize,int4 logicalsize); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:379:26: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:379:26: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:274:80: error: ‘int4’ has not been declared 274 | Address constructFloatExtensionAddress(const Address &realaddr,int4 realsize,int4 logicalsize); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:277:81: error: ‘int4’ has not been declared 277 | Address constructJoinAddress(const Translate *translate,const Address &hiaddr,int4 hisz,const Address &loaddr,int4 losz); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:277:113: error: ‘int4’ has not been declared 277 | Address constructJoinAddress(const Translate *translate,const Address &hiaddr,int4 hisz,const Address &loaddr,int4 losz); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:280:45: error: ‘int4’ has not been declared 280 | void renormalizeJoinAddress(Address &addr,int4 size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:39:3: error: ‘int4’ does not name a type; did you mean ‘int’? 39 | int4 getShift(void) const { return shift; } ///< Return the shift-amount for \b this value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:49:3: error: ‘int4’ does not name a type; did you mean ‘int’? 49 | int4 decimal_precision; ///< Number of decimal digits of precision | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:410:20: error: ‘ScopeMap’ is not a class, namespace, or enumeration 410 | void detachScope(ScopeMap::iterator iter); ///< Detach a child Scope from \b this | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:51:39: error: ‘uintb’ has not been declared 51 | static double createFloat(bool sign,uintb signif,int4 exp); ///< Create a double given sign, fractional, and exponent | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:410:39: error: expected ‘,’ or ‘...’ before ‘iter’ 410 | void detachScope(ScopeMap::iterator iter); ///< Detach a child Scope from \b this | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:51:52: error: ‘int4’ has not been declared 51 | static double createFloat(bool sign,uintb signif,int4 exp); ///< Create a double given sign, fractional, and exponent | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:52:54: error: ‘uintb’ has not been declared 52 | static floatclass extractExpSig(double x,bool *sgn,uintb *signif,int4 *exp); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:52:68: error: ‘int4’ has not been declared 52 | static floatclass extractExpSig(double x,bool *sgn,uintb *signif,int4 *exp); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:53:34: error: ‘uintb’ has not been declared 53 | static bool roundToNearestEven(uintb &signif, int4 lowbitpos); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:53:49: error: ‘int4’ has not been declared 53 | static bool roundToNearestEven(uintb &signif, int4 lowbitpos); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:41:3: error: ‘int4’ does not name a type; did you mean ‘int’? 41 | int4 getWord(void) const { return word; } ///< Return the word index for \b this value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:47:17: error: ‘uintm’ has not been declared 47 | void setValue(uintm *vec,uintm val) const { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:47:28: error: ‘uintm’ has not been declared 47 | void setValue(uintm *vec,uintm val) const { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:87:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 87 | uintb opSqrt(uintb a) const; ///< Square root (sqrt) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:40:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 40 | uintm getMask(void) const { return mask; } ///< Return the mask for \b this value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:54:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 54 | uintb setFractionalCode(uintb x,uintb code) const; ///< Set the fractional part of an encoded value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:411:10: error: ‘uint8’ does not name a type; did you mean ‘uint’? 411 | static uint8 hashScopeName(uint8 baseId,const string &nm); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:58:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 58 | uintm getValue(const uintm *vec) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘MacroSymbol::MacroSymbol(const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:600:69: error: overloaded function with no contextual type information 600 | MacroSymbol(const string &nm,int4 i) : SleighSymbol(nm) { index = i; construct = (ConstructTpl *)0; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:41:3: error: ‘int4’ does not name a type; did you mean ‘int’? 41 | int4 getWord(void) const { return word; } ///< Return the word index for \b this value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:296:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 296 | uintm unique_base; ///< Starting offset into unique space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:47:17: error: ‘uintm’ has not been declared 47 | void setValue(uintm *vec,uintm val) const { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:47:28: error: ‘uintm’ has not been declared 47 | void setValue(uintm *vec,uintm val) const { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:88:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 88 | uintb opTrunc(uintb a,int4 sizeout) const; ///< Convert floating-point to integer | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void Constructor::setId(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:491:25: error: ‘id’ was not declared in this scope; did you mean ‘i’? 491 | void setId(uintm i) { id = i; } | ^~ | i /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:55:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 55 | uintb setSign(uintb x,bool sign) const; ///< Set the sign bit of an encoded value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:416:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 416 | uint8 uniqueId; ///< Unique id for the scope, for deduping scope names, assigning symbol ids | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:58:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 58 | uintm getValue(const uintm *vec) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:298:3: error: ‘int4’ does not name a type; did you mean ‘int’? 298 | int4 alignment; ///< Byte modulo on which instructions are aligned | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:424:63: error: ‘int4’ has not been declared 424 | const Address &addr,int4 size, | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:89:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 89 | uintb opCeil(uintb a) const; ///< Ceiling (ceil) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:429:64: error: ‘int4’ has not been declared 429 | const Address &addr,int4 size, | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:255:64: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 255 | force_size(op->getIn(i),ConstTpl(ConstTpl::real,sizeof(uintb)),ops); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:320:9: error: ‘comp’ was not declared in this scope 320 | if (comp > 0) return false; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:454:32: error: ‘uint8’ has not been declared 454 | virtual Scope *buildSubScope(uint8 id,const string &nm)=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:321:19: error: ‘const class Symbol’ has no member named ‘nameDedup’ 321 | return (sym1->nameDedup < sym2->nameDedup); | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:460:40: error: ‘uintb’ has not been declared 460 | virtual void addRange(AddrSpace *spc,uintb first,uintb last); ///< Add a memory range to the ownership of \b this Scope | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:460:52: error: ‘uintb’ has not been declared 460 | virtual void addRange(AddrSpace *spc,uintb first,uintb last); ///< Add a memory range to the ownership of \b this Scope | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:56:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 56 | uintb setExponentCode(uintb x,uintb code) const; ///< Set the exponent of an encoded value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:461:43: error: ‘uintb’ has not been declared 461 | virtual void removeRange(AddrSpace *spc,uintb first,uintb last); ///< Remove a memory range from the ownership of \b this Scope | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:321:37: error: ‘const class Symbol’ has no member named ‘nameDedup’ 321 | return (sym1->nameDedup < sym2->nameDedup); | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:461:55: error: ‘uintb’ has not been declared 461 | virtual void removeRange(AddrSpace *spc,uintb first,uintb last); ///< Remove a memory range from the ownership of \b this Scope | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:478:51: error: ‘uint4’ has not been declared 478 | virtual SymbolEntry *addMapInternal(Symbol *sym,uint4 exfl,const Address &addr,int4 off,int4 sz, | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:478:82: error: ‘int4’ has not been declared 478 | virtual SymbolEntry *addMapInternal(Symbol *sym,uint4 exfl,const Address &addr,int4 off,int4 sz, | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:478:91: error: ‘int4’ has not been declared 478 | virtual SymbolEntry *addMapInternal(Symbol *sym,uint4 exfl,const Address &addr,int4 off,int4 sz, | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:493:58: error: ‘uint4’ has not been declared 493 | virtual SymbolEntry *addDynamicMapInternal(Symbol *sym,uint4 exfl,uint8 hash,int4 off,int4 sz, | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:493:69: error: ‘uint8’ has not been declared 493 | virtual SymbolEntry *addDynamicMapInternal(Symbol *sym,uint4 exfl,uint8 hash,int4 off,int4 sz, | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:493:80: error: ‘int4’ has not been declared 493 | virtual SymbolEntry *addDynamicMapInternal(Symbol *sym,uint4 exfl,uint8 hash,int4 off,int4 sz, | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:493:89: error: ‘int4’ has not been declared 493 | virtual SymbolEntry *addDynamicMapInternal(Symbol *sym,uint4 exfl,uint8 hash,int4 off,int4 sz, | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:90:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 90 | uintb opFloor(uintb a) const; ///< Floor (floor) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:496:32: error: ‘uint8’ has not been declared 496 | void setSymbolId(Symbol *sym,uint8 id) const { sym->symbolId = id; } ///< Adjust the id associated with a symbol | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:612:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 612 | uint4 index; // Local 1 up index of label | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:504:14: error: expected ‘)’ before ‘id’ 504 | Scope(uint8 id,const string &nm,Architecture *g,Scope *own) { | ~ ^~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:57:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 57 | uintb getZeroEncoding(bool sgn) const; ///< Get an encoded zero value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:518:30: error: ‘int4’ has not been declared 518 | virtual void clearCategory(int4 cat)=0; ///< Clear all symbols of the given category from \b this scope | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:520:38: error: ‘int4’ has not been declared 520 | virtual void clearUnlockedCategory(int4 cat)=0; ///< Clear unlocked symbols of the given category from \b this scope | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:535:44: error: ‘int4’ has not been declared 535 | virtual bool inScope(const Address &addr,int4 size, const Address &usepoint) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘void HighVariable::printCover(std::ostream&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:99:44: error: ‘highflags’ was not declared in this scope 99 | void printCover(ostream &s) const { if ((highflags&HighVariable::coverdirty)==0) wholecover.print(s); else s << "Cover dirty"; } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:548:41: error: ‘uint4’ has not been declared 548 | virtual void setAttribute(Symbol *sym,uint4 attr)=0; ///< Set boolean Varnode properties on a Symbol | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: In member function ‘void ContextBitRange::setValue(int*, int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:48:5: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 48 | uintm newval = vec[word]; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:549:43: error: ‘uint4’ has not been declared 549 | virtual void clearAttribute(Symbol *sym,uint4 attr)=0; ///< Clear boolean Varnode properties on a Symbol | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:91:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 91 | uintb opRound(uintb a) const; ///< Round | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:550:45: error: ‘uint4’ has not been declared 550 | virtual void setDisplayFormat(Symbol *sym,uint4 attr)=0; ///< Set the display format for a Symbol | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:567:58: error: ‘int4’ has not been declared 567 | virtual SymbolEntry *findContainer(const Address &addr,int4 size, | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:576:59: error: ‘int4’ has not been declared 576 | virtual SymbolEntry *findClosestFit(const Address &addr,int4 size, | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:58:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 58 | uintb getInfinityEncoding(bool sgn) const; ///< Get an encoded infinite value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:602:56: error: ‘int4’ has not been declared 602 | virtual SymbolEntry *findOverlap(const Address &addr,int4 size) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:614:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 614 | uint4 refcount; // Number of references to this label | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:616:32: error: ‘uint4’ has not been declared 616 | LabelSymbol(const string &nm,uint4 i) : SleighSymbol(nm) { index = i; refcount = 0; isplaced=false; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:636:49: error: ‘int4’ has not been declared 636 | Datatype *ct,int4 &index,uint4 flags) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:636:61: error: ‘uint4’ has not been declared 636 | Datatype *ct,int4 &index,uint4 flags) const=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: In member function ‘void ContextBitRange::setValue(int*, int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:48:5: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 48 | uintm newval = vec[word]; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:92:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 92 | uintb opInt2Float(uintb a,int4 sizein) const; ///< Convert integer to floating-point | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:59:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 59 | uintb getNaNEncoding(bool sgn) const; ///< Get an encoded NaN value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void Constructor::setLineno(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:493:29: error: ‘lineno’ was not declared in this scope; did you mean ‘fileno’? 493 | void setLineno(int4 ln) { lineno = ln; } | ^~~~~~ | fileno /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:63:19: error: expected ‘)’ before ‘sz’ 63 | FloatFormat(int4 sz); ///< Construct default IEEE 754 standard settings | ~ ^~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:617:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 617 | uint4 getIndex(void) const { return index; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:93:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 93 | uintb opFloat2Float(uintb a,const FloatFormat &outformat) const; ///< Convert between floating-point precisions | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:657:11: error: ‘int4’ does not name a type; did you mean ‘int’? 657 | virtual int4 getCategorySize(int4 cat) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:664:37: error: ‘int4’ has not been declared 664 | virtual Symbol *getCategorySymbol(int4 cat,int4 ind) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:664:46: error: ‘int4’ has not been declared 664 | virtual Symbol *getCategorySymbol(int4 cat,int4 ind) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:671:40: error: ‘int4’ has not been declared 671 | virtual void setCategory(Symbol *sym,int4 cat,int4 ind)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:671:49: error: ‘int4’ has not been declared 671 | virtual void setCategory(Symbol *sym,int4 cat,int4 ind)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:64:3: error: ‘int4’ does not name a type; did you mean ‘int’? 64 | int4 getSize(void) const { return size; } ///< Get the size of the encoding in bytes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:65:23: error: ‘uintb’ has not been declared 65 | double getHostFloat(uintb encoding,floatclass *type) const; ///< Convert an encoding into host's double | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:619:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 619 | uint4 getRefCount(void) const { return refcount; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc: In static member function ‘static bool PcodeCompile::propagateSize(ConstructTpl*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:270:3: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 270 | int4 lastsize; | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh:20, from src/decompile/cpp/pcodeparse.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:36:3: error: ‘int4’ does not name a type; did you mean ‘int’? 36 | int4 instruction_length; ///< Number of bytes in the unimplemented instruction | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘LabelSymbol::LabelSymbol(const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:616:70: error: overloaded function with no contextual type information 616 | LabelSymbol(const string &nm,uint4 i) : SleighSymbol(nm) { index = i; refcount = 0; isplaced=false; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:66:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 66 | uintb getEncoding(double host) const; ///< Convert host's double into \b this encoding | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:41:31: error: ‘int4’ has not been declared 41 | UnimplError(const string &s,int4 l) : LowlevelError(s) { instruction_length = l; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:677:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 677 | uint8 getId(void) const { return uniqueId; } ///< Get the globally unique id | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:685:51: error: ‘int4’ has not been declared 685 | SymbolEntry *queryContainer(const Address &addr,int4 size, | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:687:52: error: ‘int4’ has not been declared 687 | SymbolEntry *queryProperties(const Address &addr,int4 size, | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:688:56: error: ‘uint4’ has not been declared 688 | const Address &usepoint,uint4 &flags) const; ///< Find a Symbol or properties at the given address | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:49:5: error: ‘newval’ was not declared in this scope 49 | newval &= ~(mask<symbolId = id; } ///< Adjust the id associated with a symbol | ^~~~~~~~ | Symbol /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:70:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 70 | uintb extractFractionalCode(uintb x) const; ///< Extract the fractional part of the encoding | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:71:20: error: ‘uintb’ has not been declared 71 | bool extractSign(uintb x) const; ///< Extract the sign bit from the encoding | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘int Scope::childrenBegin() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:695:68: error: request for member ‘begin’ in ‘((const Scope*)this)->Scope::children’, which is of non-class type ‘const ScopeMap’ {aka ‘const int’} 695 | ScopeMap::const_iterator childrenBegin() const { return children.begin(); } ///< Beginning iterator of child scopes | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘int Scope::childrenEnd() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:696:66: error: request for member ‘end’ in ‘((const Scope*)this)->Scope::children’, which is of non-class type ‘const ScopeMap’ {aka ‘const int’} 696 | ScopeMap::const_iterator childrenEnd() const { return children.end(); } ///< Ending iterator of child scopes | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:309:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 309 | uintm getUniqueBase(void) const; ///< Get the base offset for new temporary registers | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void Constructor::setSrcIndex(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:495:33: error: ‘src_index’ was not declared in this scope; did you mean ‘rindex’? 495 | void setSrcIndex(int4 index) {src_index = index;} | ^~~~~~~~~ | rindex /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:328:51: error: ‘int4’ has not been declared 328 | virtual void registerContext(const string &name,int4 sbit,int4 ebit) {} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:328:61: error: ‘int4’ has not been declared 328 | virtual void registerContext(const string &name,int4 sbit,int4 ebit) {} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:337:53: error: ‘uintm’ has not been declared 337 | virtual void setContextDefault(const string &name,uintm val) {} | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:357:61: error: ‘uintb’ has not been declared 357 | virtual void addRegister(const string &nm,AddrSpace *base,uintb offset,int4 size)=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:357:74: error: ‘int4’ has not been declared 357 | virtual void addRegister(const string &nm,AddrSpace *base,uintb offset,int4 size)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:72:3: error: ‘int4’ does not name a type; did you mean ‘int’? 72 | int4 extractExponentCode(uintb x) const; ///< Extract the exponent from the encoding | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:376:50: error: ‘uintb’ has not been declared 376 | virtual string getRegisterName(AddrSpace *base,uintb off,int4 size) const=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:376:60: error: ‘int4’ has not been declared 376 | virtual string getRegisterName(AddrSpace *base,uintb off,int4 size) const=0; | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:28, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangemap.hh: In instantiation of ‘class rangemap’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:366:23: required from here /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangemap.hh:66:42: error: no type named ‘linetype’ in ‘class SymbolEntry’ 66 | typedef typename _recordtype::linetype linetype; ///< Integer data-type defining the linear domain | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:49:17: error: ‘mask’ was not declared in this scope 49 | newval &= ~(mask< &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 1 is invalid 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:46:9: error: ‘int4’ does not name a type; did you mean ‘int’? 46 | int4 leastUnusedIndex; ///< one-up count for assigning indices to files | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:88:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 88 | uintb opTrunc(uintb a,int4 sizeout) const; ///< Convert floating-point to integer | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 1 is invalid 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:111:9: error: ‘uint1’ does not name a type; did you mean ‘uint’? 111 | const uint1 *restorePackedOp(const Address &addr,const uint1 *ptr,const AddrSpaceManager *trans); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 2 is invalid make[2]: *** [ghidra/CMakeFiles/ghidra_decompiler_sleigh.dir/build.make:132: ghidra/CMakeFiles/ghidra_decompiler_sleigh.dir/__/ghidra-native/src/decompiler/semantics.cc.o] Error 1 /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:89:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 89 | uintb opCeil(uintb a) const; ///< Ceiling (ceil) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:156:27: error: ‘uintb’ has not been declared 156 | virtual Address resolve(uintb val,int4 sz,const Address &point,uintb &fullEncoding)=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:156:37: error: ‘int4’ has not been declared 156 | virtual Address resolve(uintb val,int4 sz,const Address &point,uintb &fullEncoding)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:156:66: error: ‘uintb’ has not been declared 156 | virtual Address resolve(uintb val,int4 sz,const Address &point,uintb &fullEncoding)=0; | ^~~~~ make[2]: *** Waiting for unfinished jobs.... /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:177:48: error: ‘int4’ has not been declared 177 | void setBaseRegister(const VarnodeData &data,int4 origSize,bool stackGrowth); ///< Set the base register at time space is created | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘bool HighVariable::isImplied() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:112:56: error: ‘flags’ was not declared in this scope 112 | bool isImplied(void) const { updateFlags(); return ((flags&Varnode::implied)!=0); } ///< Return \b true if \b this is an implied variable | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh:20, from src/decompile/cpp/pcodeparse.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:179:74: error: ‘int4’ has not been declared 179 | SpacebaseSpace(AddrSpaceManager *m,const Translate *t,const string &nm,int4 ind,int4 sz,AddrSpace *base,int4 dl); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:179:83: error: ‘int4’ has not been declared 179 | SpacebaseSpace(AddrSpaceManager *m,const Translate *t,const string &nm,int4 ind,int4 sz,AddrSpace *base,int4 dl); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:179:107: error: ‘int4’ has not been declared 179 | SpacebaseSpace(AddrSpaceManager *m,const Translate *t,const string &nm,int4 ind,int4 sz,AddrSpace *base,int4 dl); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:90:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 90 | uintb opFloor(uintb a) const; ///< Floor (floor) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:529:40: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 529 | return Address(constantspace,(uintb)(uintp)spc); | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:379:13: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 379 | typedef map ScopeMap; ///< A map from id to Scope | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:379:26: error: template argument 1 is invalid 379 | typedef map ScopeMap; ///< A map from id to Scope | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:379:26: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:379:26: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 1 is invalid 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:410:20: error: ‘ScopeMap’ is not a class, namespace, or enumeration 410 | void detachScope(ScopeMap::iterator iter); ///< Detach a child Scope from \b this | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:410:39: error: expected ‘,’ or ‘...’ before ‘iter’ 410 | void detachScope(ScopeMap::iterator iter); ///< Detach a child Scope from \b this | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:47:13: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 47 | map indexToFile; ///< map from indices to files | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:91:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 91 | uintb opRound(uintb a) const; ///< Round | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:536:8: error: ‘int4’ does not name a type; did you mean ‘int’? 536 | inline int4 AddrSpaceManager::numSpaces(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:47:25: error: template argument 1 is invalid 47 | map indexToFile; ///< map from indices to files | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:47:25: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:47:25: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:545:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 545 | inline AddrSpace *AddrSpaceManager::getSpace(int4 i) const { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:181:11: error: ‘int4’ does not name a type; did you mean ‘int’? 181 | virtual int4 numSpacebase(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 1 is invalid 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:545:19: error: ‘AddrSpace* AddrSpaceManager::getSpace’ is not a static data member of ‘class AddrSpaceManager’ 545 | inline AddrSpace *AddrSpaceManager::getSpace(int4 i) const { | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:182:43: error: ‘int4’ has not been declared 182 | virtual const VarnodeData &getSpacebase(int4 i) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:183:47: error: ‘int4’ has not been declared 183 | virtual const VarnodeData &getSpacebaseFull(int4 i) const; | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:20: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:97:3: error: ‘int4’ does not name a type; did you mean ‘int’? 97 | int4 refcount; ///< Number of managers using this space | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:92:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 92 | uintb opInt2Float(uintb a,int4 sizein) const; ///< Convert integer to floating-point | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:411:10: error: ‘uint8’ does not name a type; did you mean ‘uint’? 411 | static uint8 hashScopeName(uint8 baseId,const string &nm); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:98:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 98 | uint4 flags; ///< Attributes of the space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:93:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 93 | uintb opFloat2Float(uintb a,const FloatFormat &outformat) const; ///< Convert between floating-point precisions | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:742:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 742 | uint8 nextUniqueId; ///< Next available symbol id | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:744:22: error: expected ‘)’ before ‘id’ 744 | ScopeInternal(uint8 id,const string &nm,Architecture *g); ///< Construct the Scope | ~ ^~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:745:22: error: expected ‘)’ before ‘id’ 745 | ScopeInternal(uint8 id,const string &nm,Architecture *g, Scope *own); ///< Construct as a cache | ~ ^~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:748:30: error: ‘int4’ has not been declared 748 | virtual void clearCategory(int4 cat); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:99:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 99 | uintb highest; ///< Highest (byte) offset into this space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:750:38: error: ‘int4’ has not been declared 750 | virtual void clearUnlockedCategory(int4 cat); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:416:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 416 | uint8 uniqueId; ///< Unique id for the scope, for deduping scope names, assigning symbol ids | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 1 is invalid 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:32: error: ‘vector’ is not a type 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:424:63: error: ‘int4’ has not been declared 424 | const Address &addr,int4 size, | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘bool HighVariable::isSpacebase() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:113:58: error: ‘flags’ was not declared in this scope 113 | bool isSpacebase(void) const { updateFlags(); return ((flags&Varnode::spacebase)!=0); } ///< Return \b true if \b this is a \e spacebase | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:38: error: expected ‘,’ or ‘...’ before ‘<’ token 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:429:64: error: ‘int4’ has not been declared 429 | const Address &addr,int4 size, | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:763:41: error: ‘uint4’ has not been declared 763 | virtual void setAttribute(Symbol *sym,uint4 attr); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:764:43: error: ‘uint4’ has not been declared 764 | virtual void clearAttribute(Symbol *sym,uint4 attr); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:765:45: error: ‘uint4’ has not been declared 765 | virtual void setDisplayFormat(Symbol *sym,uint4 attr); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:48:21: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 48 | map fileToIndex; ///< map from files to indices | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:48:25: error: template argument 2 is invalid 48 | map fileToIndex; ///< map from files to indices | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:100:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 100 | uintb pointerLowerBound; ///< Offset below which we don't search for pointers | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:454:32: error: ‘uint8’ has not been declared 454 | virtual Scope *buildSubScope(uint8 id,const string &nm)=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 1 is invalid 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:48:25: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 2 is invalid In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:36:3: error: ‘int4’ does not name a type; did you mean ‘int’? 36 | int4 instruction_length; ///< Number of bytes in the unimplemented instruction | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:768:58: error: ‘int4’ has not been declared 768 | virtual SymbolEntry *findContainer(const Address &addr,int4 size, | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:32: error: ‘vector’ is not a type 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:545:46: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 545 | inline AddrSpace *AddrSpaceManager::getSpace(int4 i) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:460:40: error: ‘uintb’ has not been declared 460 | virtual void addRange(AddrSpace *spc,uintb first,uintb last); ///< Add a memory range to the ownership of \b this Scope | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:41:31: error: ‘int4’ has not been declared 41 | UnimplError(const string &s,int4 l) : LowlevelError(s) { instruction_length = l; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:38: error: expected ‘,’ or ‘...’ before ‘<’ token 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:460:52: error: ‘uintb’ has not been declared 460 | virtual void addRange(AddrSpace *spc,uintb first,uintb last); ///< Add a memory range to the ownership of \b this Scope | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:770:59: error: ‘int4’ has not been declared 770 | virtual SymbolEntry *findClosestFit(const Address &addr,int4 size, | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:461:43: error: ‘uintb’ has not been declared 461 | virtual void removeRange(AddrSpace *spc,uintb first,uintb last); ///< Remove a memory range from the ownership of \b this Scope | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:461:55: error: ‘uintb’ has not been declared 461 | virtual void removeRange(AddrSpace *spc,uintb first,uintb last); ///< Remove a memory range from the ownership of \b this Scope | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:775:56: error: ‘int4’ has not been declared 775 | virtual SymbolEntry *findOverlap(const Address &addr,int4 size) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:478:51: error: ‘uint4’ has not been declared 478 | virtual SymbolEntry *addMapInternal(Symbol *sym,uint4 exfl,const Address &addr,int4 off,int4 sz, | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:478:82: error: ‘int4’ has not been declared 478 | virtual SymbolEntry *addMapInternal(Symbol *sym,uint4 exfl,const Address &addr,int4 off,int4 sz, | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:564:13: error: variable or field ‘setUniqueBase’ declared void 564 | inline void Translate::setUniqueBase(uintm val) { | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:478:91: error: ‘int4’ has not been declared 478 | virtual SymbolEntry *addMapInternal(Symbol *sym,uint4 exfl,const Address &addr,int4 off,int4 sz, | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:493:58: error: ‘uint4’ has not been declared 493 | virtual SymbolEntry *addDynamicMapInternal(Symbol *sym,uint4 exfl,uint8 hash,int4 off,int4 sz, | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:493:69: error: ‘uint8’ has not been declared 493 | virtual SymbolEntry *addDynamicMapInternal(Symbol *sym,uint4 exfl,uint8 hash,int4 off,int4 sz, | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:783:49: error: ‘int4’ has not been declared 783 | Datatype *ct,int4 &index,uint4 flags) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:493:80: error: ‘int4’ has not been declared 493 | virtual SymbolEntry *addDynamicMapInternal(Symbol *sym,uint4 exfl,uint8 hash,int4 off,int4 sz, | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:493:89: error: ‘int4’ has not been declared 493 | virtual SymbolEntry *addDynamicMapInternal(Symbol *sym,uint4 exfl,uint8 hash,int4 off,int4 sz, | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:783:61: error: ‘uint4’ has not been declared 783 | Datatype *ct,int4 &index,uint4 flags) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:101:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 101 | uintb pointerUpperBound; ///< Offset above which we don't search for pointers | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:496:32: error: ‘uint8’ has not been declared 496 | void setSymbolId(Symbol *sym,uint8 id) const { sym->symbolId = id; } ///< Adjust the id associated with a symbol | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:504:14: error: expected ‘)’ before ‘id’ 504 | Scope(uint8 id,const string &nm,Architecture *g,Scope *own) { | ~ ^~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:518:30: error: ‘int4’ has not been declared 518 | virtual void clearCategory(int4 cat)=0; ///< Clear all symbols of the given category from \b this scope | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:520:38: error: ‘int4’ has not been declared 520 | virtual void clearUnlockedCategory(int4 cat)=0; ///< Clear unlocked symbols of the given category from \b this scope | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:535:44: error: ‘int4’ has not been declared 535 | virtual bool inScope(const Address &addr,int4 size, const Address &usepoint) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:105:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 105 | uint4 addressSize; ///< Size of an address into this space in bytes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc: In member function ‘LabelSymbol* PcodeCompile::defineLabel(std::string*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:306:47: error: ‘local_labelcount’ was not declared in this scope 306 | LabelSymbol *labsym = new LabelSymbol(*name,local_labelcount++); | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:548:41: error: ‘uint4’ has not been declared 548 | virtual void setAttribute(Symbol *sym,uint4 attr)=0; ///< Set boolean Varnode properties on a Symbol | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:549:43: error: ‘uint4’ has not been declared 549 | virtual void clearAttribute(Symbol *sym,uint4 attr)=0; ///< Clear boolean Varnode properties on a Symbol | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:550:45: error: ‘uint4’ has not been declared 550 | virtual void setDisplayFormat(Symbol *sym,uint4 attr)=0; ///< Set the display format for a Symbol | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:567:58: error: ‘int4’ has not been declared 567 | virtual SymbolEntry *findContainer(const Address &addr,int4 size, | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:576:59: error: ‘int4’ has not been declared 576 | virtual SymbolEntry *findClosestFit(const Address &addr,int4 size, | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:602:56: error: ‘int4’ has not been declared 602 | virtual SymbolEntry *findOverlap(const Address &addr,int4 size) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:789:11: error: ‘int4’ does not name a type; did you mean ‘int’? 789 | virtual int4 getCategorySize(int4 cat) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:106:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 106 | uint4 wordsize; ///< Size of unit being addressed (1=byte) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:790:37: error: ‘int4’ has not been declared 790 | virtual Symbol *getCategorySymbol(int4 cat,int4 ind) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:790:46: error: ‘int4’ has not been declared 790 | virtual Symbol *getCategorySymbol(int4 cat,int4 ind) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:791:40: error: ‘int4’ has not been declared 791 | virtual void setCategory(Symbol *sym,int4 cat,int4 ind); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:636:49: error: ‘int4’ has not been declared 636 | Datatype *ct,int4 &index,uint4 flags) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:564:38: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 564 | inline void Translate::setUniqueBase(uintm val) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:791:49: error: ‘int4’ has not been declared 791 | virtual void setCategory(Symbol *sym,int4 cat,int4 ind); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:636:61: error: ‘uint4’ has not been declared 636 | Datatype *ct,int4 &index,uint4 flags) const=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:792:27: error: ‘int4’ has not been declared 792 | void assignDefaultNames(int4 &base); ///< Assign a default name (via buildVariableName) to any unnamed symbol | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 1 is invalid 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:107:3: error: ‘int4’ does not name a type; did you mean ‘int’? 107 | int4 minimumPointerSize; ///< Smallest size of a pointer into \b this space (in bytes) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 1 is invalid 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc: In member function ‘std::vector* PcodeCompile::placeLabel(LabelSymbol*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:322:71: error: ‘class LabelSymbol’ has no member named ‘getIndex’ 322 | ConstTpl(ConstTpl::real,labsym->getIndex()), | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:543:3: error: ‘int4’ does not name a type; did you mean ‘int’? 543 | int4 num; // Total number of patterns we distinguish | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:582:8: error: ‘int4’ does not name a type; did you mean ‘int’? 582 | inline int4 Translate::getAlignment(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:108:3: error: ‘int4’ does not name a type; did you mean ‘int’? 108 | int4 index; ///< An integer identifier for the space | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:329:90: error: ‘uint4’ has not been declared 329 | vector *PcodeCompile::newOutput(bool usesLocalKey,ExprTree *rhs,string *varname,uint4 size) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘bool HighVariable::isConstant() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:114:57: error: ‘flags’ was not declared in this scope 114 | bool isConstant(void) const { updateFlags(); return ((flags&Varnode::constant)!=0); } ///< Return \b true if \b this is a constant | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:657:11: error: ‘int4’ does not name a type; did you mean ‘int’? 657 | virtual int4 getCategorySize(int4 cat) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:109:3: error: ‘int4’ does not name a type; did you mean ‘int’? 109 | int4 delay; ///< Delay in heritaging this space | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:592:8: error: ‘uintm’ does not name a type; did you mean ‘uint’? 592 | inline uintm Translate::getUniqueBase(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:664:37: error: ‘int4’ has not been declared 664 | virtual Symbol *getCategorySymbol(int4 cat,int4 ind) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc: In member function ‘std::vector* PcodeCompile::newOutput(bool, ExprTree*, std::string*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:336:72: error: ‘const class ConstTpl’ has no member named ‘getReal’ 336 | else if ((rhs->getSize().getType()==ConstTpl::real)&&(rhs->getSize().getReal()!=0)) | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:664:46: error: ‘int4’ has not been declared 664 | virtual Symbol *getCategorySymbol(int4 cat,int4 ind) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:671:40: error: ‘int4’ has not been declared 671 | virtual void setCategory(Symbol *sym,int4 cat,int4 ind)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:671:49: error: ‘int4’ has not been declared 671 | virtual void setCategory(Symbol *sym,int4 cat,int4 ind)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:341:84: error: ‘const class ConstTpl’ has no member named ‘getReal’ 341 | sym = new VarnodeSymbol(*varname,tmpvn->getSpace().getSpace(),tmpvn->getOffset().getReal(),tmpvn->getSize().getReal()); // Create new symbol regardless | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:545:3: error: ‘int4’ does not name a type; did you mean ‘int’? 545 | int4 startbit,bitsize; // Bits in the stream on which to base the decision | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:341:111: error: ‘const class ConstTpl’ has no member named ‘getReal’ 341 | sym = new VarnodeSymbol(*varname,tmpvn->getSpace().getSpace(),tmpvn->getOffset().getReal(),tmpvn->getSize().getReal()); // Create new symbol regardless | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:548:19: error: ‘int4’ has not been declared 548 | double getScore(int4 low,int4 size,bool context); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:548:28: error: ‘int4’ has not been declared 548 | double getScore(int4 low,int4 size,bool context); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:110:3: error: ‘int4’ does not name a type; did you mean ‘int’? 110 | int4 deadcodedelay; ///< Delay before deadcode removal is allowed on this space | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:112:17: error: ‘uint4’ has not been declared 112 | void setFlags(uint4 fl); ///< Set a cached attribute | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:113:19: error: ‘uint4’ has not been declared 113 | void clearFlags(uint4 fl); ///< Clear a cached attribute | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:200:3: error: ‘int4’ does not name a type; did you mean ‘int’? 200 | int4 numPieces(void) const { return pieces.size(); } ///< Get number of pieces in this record | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:115:22: error: ‘uint4’ has not been declared 115 | void truncateSpace(uint4 newsize); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:202:31: error: ‘int4’ has not been declared 202 | const VarnodeData &getPiece(int4 i) const { return pieces[i]; } ///< Get the i-th piece | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:117:82: error: ‘uint4’ has not been declared 117 | AddrSpace(AddrSpaceManager *m,const Translate *t,spacetype tp,const string &nm,uint4 size,uint4 ws,int4 ind,uint4 fl,int4 dl); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:117:93: error: ‘uint4’ has not been declared 117 | AddrSpace(AddrSpaceManager *m,const Translate *t,spacetype tp,const string &nm,uint4 size,uint4 ws,int4 ind,uint4 fl,int4 dl); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:204:32: error: ‘uintb’ has not been declared 204 | Address getEquivalentAddress(uintb offset,int4 &pos) const; ///< Given offset in \e join space, get equivalent address of piece | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:117:102: error: ‘int4’ has not been declared 117 | AddrSpace(AddrSpaceManager *m,const Translate *t,spacetype tp,const string &nm,uint4 size,uint4 ws,int4 ind,uint4 fl,int4 dl); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:204:45: error: ‘int4’ has not been declared 204 | Address getEquivalentAddress(uintb offset,int4 &pos) const; ///< Given offset in \e join space, get equivalent address of piece | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:117:111: error: ‘uint4’ has not been declared 117 | AddrSpace(AddrSpaceManager *m,const Translate *t,spacetype tp,const string &nm,uint4 size,uint4 ws,int4 ind,uint4 fl,int4 dl); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:117:120: error: ‘int4’ has not been declared 117 | AddrSpace(AddrSpaceManager *m,const Translate *t,spacetype tp,const string &nm,uint4 size,uint4 ws,int4 ind,uint4 fl,int4 dl); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:349:55: error: ‘uint4’ has not been declared 349 | void PcodeCompile::newLocalDefinition(string *varname,uint4 size) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 1 is invalid 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc: In member function ‘void PcodeCompile::newLocalDefinition(std::string*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:356:84: error: ‘const class ConstTpl’ has no member named ‘getReal’ 356 | sym = new VarnodeSymbol(*varname,tmpvn->getSpace().getSpace(),tmpvn->getOffset().getReal(),tmpvn->getSize().getReal()); | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:549:3: error: ‘int4’ does not name a type; did you mean ‘int’? 549 | int4 getNumFixed(int4 low,int4 size,bool context); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:677:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 677 | uint8 getId(void) const { return uniqueId; } ///< Get the globally unique id | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:356:111: error: ‘const class ConstTpl’ has no member named ‘getReal’ 356 | sym = new VarnodeSymbol(*varname,tmpvn->getSpace().getSpace(),tmpvn->getOffset().getReal(),tmpvn->getSize().getReal()); | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 1 is invalid 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:685:51: error: ‘int4’ has not been declared 685 | SymbolEntry *queryContainer(const Address &addr,int4 size, | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:20: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:124:3: error: ‘int4’ does not name a type; did you mean ‘int’? 124 | int4 getDelay(void) const; ///< Get number of heritage passes being delayed | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:687:52: error: ‘int4’ has not been declared 687 | SymbolEntry *queryProperties(const Address &addr,int4 size, | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:688:56: error: ‘uint4’ has not been declared 688 | const Address &usepoint,uint4 &flags) const; ///< Find a Symbol or properties at the given address | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:694:44: error: ‘int4’ has not been declared 694 | Scope *discoverScope(const Address &addr,int4 sz,const Address &usepoint); ///< Find the owning Scope of a given memory range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:695:11: error: invalid use of ‘::’ 695 | ScopeMap::const_iterator childrenBegin() const { return children.begin(); } ///< Beginning iterator of child scopes | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:695:13: error: expected ‘;’ at end of member declaration 695 | ScopeMap::const_iterator childrenBegin() const { return children.begin(); } ///< Beginning iterator of child scopes | ^~~~~~~~~~~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:550:3: error: ‘int4’ does not name a type; did you mean ‘int’? 550 | int4 getMaximumLength(bool context); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:695:28: error: ISO C++ forbids declaration of ‘childrenBegin’ with no type [-fpermissive] 695 | ScopeMap::const_iterator childrenBegin() const { return children.begin(); } ///< Beginning iterator of child scopes | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:696:11: error: invalid use of ‘::’ 696 | ScopeMap::const_iterator childrenEnd() const { return children.end(); } ///< Ending iterator of child scopes | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:696:13: error: expected ‘;’ at end of member declaration 696 | ScopeMap::const_iterator childrenEnd() const { return children.end(); } ///< Ending iterator of child scopes | ^~~~~~~~~~~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:125:3: error: ‘int4’ does not name a type; did you mean ‘int’? 125 | int4 getDeadcodeDelay(void) const; ///< Get number of passes before deadcode removal is allowed | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:696:28: error: ISO C++ forbids declaration of ‘childrenEnd’ with no type [-fpermissive] 696 | ScopeMap::const_iterator childrenEnd() const { return children.end(); } ///< Ending iterator of child scopes | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘bool HighVariable::isUnaffected() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:115:59: error: ‘flags’ was not declared in this scope 115 | bool isUnaffected(void) const { updateFlags(); return ((flags&Varnode::unaffected)!=0); } ///< Return \b true if \b this is an \e unaffected register | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:126:3: error: ‘int4’ does not name a type; did you mean ‘int’? 126 | int4 getIndex(void) const; ///< Get the integer identifier | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh: In constructor ‘SourceFileIndexer::SourceFileIndexer()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:36:26: error: ‘leastUnusedIndex’ was not declared in this scope 36 | SourceFileIndexer() {leastUnusedIndex = 0;} | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:714:79: error: ‘uint8’ has not been declared 714 | Symbol *addDynamicSymbol(const string &nm,Datatype *ct,const Address &caddr,uint8 hash); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:715:39: error: ‘int4’ has not been declared 715 | string buildDefaultName(Symbol *sym,int4 &base,Varnode *vn) const; ///< Create a default name for the given Symbol | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:716:39: error: ‘int4’ has not been declared 716 | bool isReadOnly(const Address &addr,int4 size,const Address &usepoint) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh: In constructor ‘UnimplError::UnimplError(const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:41:60: error: ‘instruction_length’ was not declared in this scope 41 | UnimplError(const string &s,int4 l) : LowlevelError(s) { instruction_length = l; } | ^~~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:127:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 127 | uint4 getWordSize(void) const; ///< Get the addressable unit size | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘void Scope::setSymbolId(Symbol*, int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:496:55: error: ‘class Symbol’ has no member named ‘symbolId’; did you mean ‘Symbol’? 496 | void setSymbolId(Symbol *sym,uint8 id) const { sym->symbolId = id; } ///< Adjust the id associated with a symbol | ^~~~~~~~ | Symbol /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 1 is invalid 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:39: error: ‘vector’ is not a type 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:45: error: expected ‘,’ or ‘...’ before ‘<’ token 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 1 is invalid 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:128:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 128 | uint4 getAddrSize(void) const; ///< Get the size of the space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘int Scope::childrenBegin() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:695:68: error: request for member ‘begin’ in ‘((const Scope*)this)->Scope::children’, which is of non-class type ‘const ScopeMap’ {aka ‘const int’} 695 | ScopeMap::const_iterator childrenBegin() const { return children.begin(); } ///< Beginning iterator of child scopes | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:39: error: ‘vector’ is not a type 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:45: error: expected ‘,’ or ‘...’ before ‘<’ token 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘int Scope::childrenEnd() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:696:66: error: request for member ‘end’ in ‘((const Scope*)this)->Scope::children’, which is of non-class type ‘const ScopeMap’ {aka ‘const int’} 696 | ScopeMap::const_iterator childrenEnd() const { return children.end(); } ///< Ending iterator of child scopes | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:58:16: error: ‘int4’ does not name a type; did you mean ‘int’? 58 | static const int4 SLA_FORMAT_VERSION; ///< Current version of the .sla file read/written by SleighBash | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:129:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 129 | uintb getHighest(void) const; ///< Get the highest byte-scaled address | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:551:32: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 551 | void consistentValues(vector &bins,DisjointPattern *pat); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:551:37: error: template argument 1 is invalid 551 | void consistentValues(vector &bins,DisjointPattern *pat); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:551:37: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:158:11: error: ‘uintm’ does not name a type; did you mean ‘uint’? 158 | virtual uintm *getDefaultValue(void)=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:158:11: error: ‘uintm’ does not name a type; did you mean ‘uint’? 158 | virtual uintm *getDefaultValue(void)=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:65:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 65 | uint4 size; ///< Size truncated addresses into the space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:130:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 130 | uintb getPointerLowerBound(void) const; ///< Get lower bound for assuming an offset is a pointer | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:165:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 165 | virtual const uintm *getDefaultValue(void) const=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:165:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 165 | virtual const uintm *getDefaultValue(void) const=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:131:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 131 | uintb getPointerUpperBound(void) const; ///< Get upper bound for assuming an offset is a pointer | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘bool HighVariable::isExtraOut() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:116:57: error: ‘flags’ was not declared in this scope 116 | bool isExtraOut(void) const { updateFlags(); return ((flags&(Varnode::indirect_creation|Varnode::addrtied))==Varnode::indirect_creation); } ///< Return \b true if \b this is an extra output | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:172:11: error: ‘int4’ does not name a type; did you mean ‘int’? 172 | virtual int4 getContextSize(void) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:183:50: error: ‘int4’ has not been declared 183 | virtual void registerVariable(const string &nm,int4 sbit,int4 ebit)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:69:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 69 | uint4 getSize(void) const { return size; } ///< Size (of pointers) for new truncated space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:183:60: error: ‘int4’ has not been declared 183 | virtual void registerVariable(const string &nm,int4 sbit,int4 ebit)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:132:3: error: ‘int4’ does not name a type; did you mean ‘int’? 132 | int4 getMinimumPtrSize(void) const; ///< Get the minimum pointer size for \b this space | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:455:57: error: ‘uintb’ has not been declared 455 | vector *PcodeCompile::createOpConst(OpCode opc,uintb val) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:172:11: error: ‘int4’ does not name a type; did you mean ‘int’? 172 | virtual int4 getContextSize(void) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:183:50: error: ‘int4’ has not been declared 183 | virtual void registerVariable(const string &nm,int4 sbit,int4 ebit)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:183:60: error: ‘int4’ has not been declared 183 | virtual void registerVariable(const string &nm,int4 sbit,int4 ebit)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:92:90: error: ‘int4’ has not been declared 92 | virtual void dump(const Address &addr,OpCode opc,VarnodeData *outvar,VarnodeData *vars,int4 isize)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:189:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 189 | virtual const uintm *getContext(const Address &addr) const=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:133:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 133 | uintb wrapOffset(uintb off) const; ///< Wrap -off- to the offset that fits into this space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:189:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 189 | virtual const uintm *getContext(const Address &addr) const=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:145:31: error: ‘uintb’ has not been declared 145 | void printOffset(ostream &s,uintb offset) const; ///< Write an address offset to a stream | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc: In member function ‘ExprTree* PcodeCompile::createLoad(StarQuality*, ExprTree*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:484:13: error: ‘struct StarQuality’ has no member named ‘size’ 484 | if (qual->size > 0) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:485:52: error: ‘struct StarQuality’ has no member named ‘size’ 485 | force_size(outvn,ConstTpl(ConstTpl::real,qual->size),*ptr->ops); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:199:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 199 | virtual const uintm *getContext(const Address &addr,uintb &first,uintb &last) const=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:199:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 199 | virtual const uintm *getContext(const Address &addr,uintb &first,uintb &last) const=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:107:16: error: ‘uint1’ does not name a type; did you mean ‘uint’? 107 | static const uint1 *unpackOffset(const uint1 *ptr,uintb &off); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:240:44: error: ‘uintm’ has not been declared 240 | void setVariableDefault(const string &nm,uintm val); ///< Provide a default value for a context variable | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:147:11: error: ‘int4’ does not name a type; did you mean ‘int’? 147 | virtual int4 numSpacebase(void) const; ///< Number of base registers associated with this space | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:240:44: error: ‘uintm’ has not been declared 240 | void setVariableDefault(const string &nm,uintm val); ///< Provide a default value for a context variable | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:148:43: error: ‘int4’ has not been declared 148 | virtual const VarnodeData &getSpacebase(int4 i) const; ///< Get a base register that creates this virtual space | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:149:47: error: ‘int4’ has not been declared 149 | virtual const VarnodeData &getSpacebaseFull(int4 i) const; ///< Return original spacebase register before truncation | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:152:45: error: ‘uintb’ has not been declared 152 | virtual void saveXmlAttributes(ostream &s,uintb offset) const; ///< Save an address as XML | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:153:45: error: ‘uintb’ has not been declared 153 | virtual void saveXmlAttributes(ostream &s,uintb offset,int4 size) const; ///< Save an address and size as XML | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:153:58: error: ‘int4’ has not been declared 153 | virtual void saveXmlAttributes(ostream &s,uintb offset,int4 size) const; ///< Save an address and size as XML | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc: In constructor ‘ParserContext::ParserContext(ContextCache*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:23:3: error: ‘parsestate’ was not declared in this scope; did you mean ‘base_state’? 23 | parsestate = 0; | ^~~~~~~~~~ | base_state /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:241:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 241 | uintm getDefaultValue(const string &nm) const; ///< Retrieve the default value for a context variable | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:242:57: error: ‘uintm’ has not been declared 242 | void setVariable(const string &nm,const Address &addr,uintm value); ///< Set a context value at the given address | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc: In member function ‘std::vector* PcodeCompile::createStore(StarQuality*, ExprTree*, ExprTree*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:510:55: error: ‘struct StarQuality’ has no member named ‘size’ 510 | force_size(val->outvn,ConstTpl(ConstTpl::real,qual->size),*res); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:241:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 241 | uintm getDefaultValue(const string &nm) const; ///< Retrieve the default value for a context variable | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:242:57: error: ‘uintm’ has not been declared 242 | void setVariable(const string &nm,const Address &addr,uintm value); ///< Set a context value at the given address | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:109:16: error: ‘uint1’ does not name a type; did you mean ‘uint’? 109 | static const uint1 *unpackVarnodeData(const uint1 *ptr,VarnodeData &v,const AddrSpaceManager *trans); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:154:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 154 | virtual uintb restoreXmlAttributes(const Element *el,uint4 &size) const; ///< Recover an offset and size | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:155:36: error: ‘uintb’ has not been declared 155 | virtual void printRaw(ostream &s,uintb offset) const; ///< Write an address in this space to a stream | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘void HighVariable::setMark() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:117:30: error: ‘flags’ was not declared in this scope 117 | void setMark(void) const { flags |= Varnode::mark; } ///< Set the mark on this variable | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:243:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 243 | uintm getVariable(const string &nm,const Address &addr) const; ///< Retrieve a context value at the given address | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:244:50: error: ‘int4’ has not been declared 244 | void setContextChangePoint(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:244:59: error: ‘uintm’ has not been declared 244 | void setContextChangePoint(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:244:70: error: ‘uintm’ has not been declared 244 | void setContextChangePoint(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:243:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 243 | uintm getVariable(const string &nm,const Address &addr) const; ///< Retrieve a context value at the given address | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:245:67: error: ‘int4’ has not been declared 245 | void setContextRegion(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:245:76: error: ‘uintm’ has not been declared 245 | void setContextRegion(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:244:50: error: ‘int4’ has not been declared 244 | void setContextChangePoint(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:245:87: error: ‘uintm’ has not been declared 245 | void setContextRegion(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:244:59: error: ‘uintm’ has not been declared 244 | void setContextChangePoint(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:244:70: error: ‘uintm’ has not been declared 244 | void setContextChangePoint(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:247:47: error: ‘uintm’ has not been declared 247 | const Address &endad,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:245:67: error: ‘int4’ has not been declared 245 | void setContextRegion(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:245:76: error: ‘uintm’ has not been declared 245 | void setContextRegion(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:245:87: error: ‘uintm’ has not been declared 245 | void setContextRegion(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:247:47: error: ‘uintm’ has not been declared 247 | const Address &endad,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:111:9: error: ‘uint1’ does not name a type; did you mean ‘uint’? 111 | const uint1 *restorePackedOp(const Address &addr,const uint1 *ptr,const AddrSpaceManager *trans); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc: In member function ‘std::vector* PcodeCompile::createUserOpNoOut(UserOpSymbol*, std::vector*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:535:66: error: ‘class UserOpSymbol’ has no member named ‘getIndex’; did you mean ‘setIndex’? 535 | ConstTpl(ConstTpl::real,sym->getIndex()), | ^~~~~~~~ | setIndex /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:156:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 156 | virtual uintb read(const string &s,int4 &size) const; ///< Read in an address (and possible size) from a string | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:248:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 248 | uintb getTrackedValue(const VarnodeData &mem,const Address &point) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:248:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 248 | uintb getTrackedValue(const VarnodeData &mem,const Address &point) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:553:54: error: ‘uintb’ has not been declared 553 | void PcodeCompile::appendOp(OpCode opc,ExprTree *res,uintb constval,int4 constsz) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:553:69: error: ‘int4’ has not been declared 553 | void PcodeCompile::appendOp(OpCode opc,ExprTree *res,uintb constval,int4 constsz) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:156:27: error: ‘uintb’ has not been declared 156 | virtual Address resolve(uintb val,int4 sz,const Address &point,uintb &fullEncoding)=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:156:37: error: ‘int4’ has not been declared 156 | virtual Address resolve(uintb val,int4 sz,const Address &point,uintb &fullEncoding)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:160:10: error: ‘uintb’ does not name a type; did you mean ‘uint’? 160 | static uintb addressToByte(uintb val,uint4 ws); ///< Scale from addressable units to byte units | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:156:66: error: ‘uintb’ has not been declared 156 | virtual Address resolve(uintb val,int4 sz,const Address &point,uintb &fullEncoding)=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:177:48: error: ‘int4’ has not been declared 177 | void setBaseRegister(const VarnodeData &data,int4 origSize,bool stackGrowth); ///< Set the base register at time space is created | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:179:74: error: ‘int4’ has not been declared 179 | SpacebaseSpace(AddrSpaceManager *m,const Translate *t,const string &nm,int4 ind,int4 sz,AddrSpace *base,int4 dl); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:179:83: error: ‘int4’ has not been declared 179 | SpacebaseSpace(AddrSpaceManager *m,const Translate *t,const string &nm,int4 ind,int4 sz,AddrSpace *base,int4 dl); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:179:107: error: ‘int4’ has not been declared 179 | SpacebaseSpace(AddrSpaceManager *m,const Translate *t,const string &nm,int4 ind,int4 sz,AddrSpace *base,int4 dl); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:569:68: error: ‘uint4’ has not been declared 569 | VarnodeTpl *PcodeCompile::buildTruncatedVarnode(VarnodeTpl *basevn,uint4 bitoffset,uint4 numbits) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:569:84: error: ‘uint4’ has not been declared 569 | VarnodeTpl *PcodeCompile::buildTruncatedVarnode(VarnodeTpl *basevn,uint4 bitoffset,uint4 numbits) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:161:10: error: ‘uintb’ does not name a type; did you mean ‘uint’? 161 | static uintb byteToAddress(uintb val,uint4 ws); ///< Scale from byte units to addressable units | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:264:5: error: ‘uintm’ does not name a type; did you mean ‘uint’? 264 | uintm *array; ///< The "array of words" holding context variable values | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:264:5: error: ‘uintm’ does not name a type; did you mean ‘uint’? 264 | uintm *array; ///< The "array of words" holding context variable values | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:162:10: error: ‘int4’ does not name a type; did you mean ‘int’? 162 | static int4 addressToByteInt(int4 val,uint4 ws); ///< Scale int4 from addressable units to byte units | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:265:5: error: ‘uintm’ does not name a type; did you mean ‘uint’? 265 | uintm *mask; ///< The mask array indicating which variables are explicitly set | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:181:11: error: ‘int4’ does not name a type; did you mean ‘int’? 181 | virtual int4 numSpacebase(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:182:43: error: ‘int4’ has not been declared 182 | virtual const VarnodeData &getSpacebase(int4 i) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:265:5: error: ‘uintm’ does not name a type; did you mean ‘uint’? 265 | uintm *mask; ///< The mask array indicating which variables are explicitly set | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:183:47: error: ‘int4’ has not been declared 183 | virtual const VarnodeData &getSpacebaseFull(int4 i) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:732:32: error: ‘uint8’ has not been declared 732 | virtual Scope *buildSubScope(uint8 id,const string &nm); ///< Build an unattached Scope to be associated as a sub-scope of \b this | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:163:10: error: ‘int4’ does not name a type; did you mean ‘int’? 163 | static int4 byteToAddressInt(int4 val,uint4 ws); ///< Scale int4 from byte units to addressable units | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:734:51: error: ‘uint4’ has not been declared 734 | virtual SymbolEntry *addMapInternal(Symbol *sym,uint4 exfl,const Address &addr,int4 off,int4 sz,const RangeList &uselim); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:734:82: error: ‘int4’ has not been declared 734 | virtual SymbolEntry *addMapInternal(Symbol *sym,uint4 exfl,const Address &addr,int4 off,int4 sz,const RangeList &uselim); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:734:91: error: ‘int4’ has not been declared 734 | virtual SymbolEntry *addMapInternal(Symbol *sym,uint4 exfl,const Address &addr,int4 off,int4 sz,const RangeList &uselim); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘void HighVariable::clearMark() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:118:32: error: ‘flags’ was not declared in this scope 118 | void clearMark(void) const { flags &= ~Varnode::mark; } ///< Clear the mark on this variable | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:735:58: error: ‘uint4’ has not been declared 735 | virtual SymbolEntry *addDynamicMapInternal(Symbol *sym,uint4 exfl,uint8 hash,int4 off,int4 sz, | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:735:69: error: ‘uint8’ has not been declared 735 | virtual SymbolEntry *addDynamicMapInternal(Symbol *sym,uint4 exfl,uint8 hash,int4 off,int4 sz, | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:735:80: error: ‘int4’ has not been declared 735 | virtual SymbolEntry *addDynamicMapInternal(Symbol *sym,uint4 exfl,uint8 hash,int4 off,int4 sz, | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:735:89: error: ‘int4’ has not been declared 735 | virtual SymbolEntry *addDynamicMapInternal(Symbol *sym,uint4 exfl,uint8 hash,int4 off,int4 sz, | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:266:5: error: ‘int4’ does not name a type; did you mean ‘int’? 266 | int4 size; ///< The number of words in the array | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:266:5: error: ‘int4’ does not name a type; did you mean ‘int’? 266 | int4 size; ///< The number of words in the array | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:269:16: error: ‘int4’ has not been declared 269 | void reset(int4 sz); ///< Resize the context blob, preserving old values | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:269:16: error: ‘int4’ has not been declared 269 | void reset(int4 sz); ///< Resize the context blob, preserving old values | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:181:73: error: ‘int4’ has not been declared 181 | ConstantSpace(AddrSpaceManager *m,const Translate *t,const string &nm,int4 ind); ///< Only constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:182:36: error: ‘uintb’ has not been declared 182 | virtual void printRaw(ostream &s,uintb offset) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:190:73: error: ‘int4’ has not been declared 190 | OtherSpace(AddrSpaceManager *m, const Translate *t, const string &nm, int4 ind); ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:26:5: error: ‘contextsize’ was not declared in this scope 26 | contextsize = ccache->getDatabase()->getContextSize(); | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:192:37: error: ‘uintb’ has not been declared 192 | virtual void printRaw(ostream &s, uintb offset) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:273:3: error: ‘int4’ does not name a type; did you mean ‘int’? 273 | int4 size; ///< Number of words in a context blob (for this architecture) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:26:42: error: ‘class ContextDatabase’ has no member named ‘getContextSize’; did you mean ‘setContextRegion’? 26 | contextsize = ccache->getDatabase()->getContextSize(); | ^~~~~~~~~~~~~~ | setContextRegion /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:273:3: error: ‘int4’ does not name a type; did you mean ‘int’? 273 | int4 size; ///< Number of words in a context blob (for this architecture) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:207:71: error: ‘int4’ has not been declared 207 | UniqueSpace(AddrSpaceManager *m,const Translate *t,const string &nm,int4 ind,uint4 fl); ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:64:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 64 | uint4 maxdelayslotbytes; ///< Maximum number of bytes in a delay-slot directive | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:207:80: error: ‘uint4’ has not been declared 207 | UniqueSpace(AddrSpaceManager *m,const Translate *t,const string &nm,int4 ind,uint4 fl); ///< Constructor | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:222:69: error: ‘int4’ has not been declared 222 | JoinSpace(AddrSpaceManager *m,const Translate *t,const string &nm,int4 ind); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:223:45: error: ‘uintb’ has not been declared 223 | virtual void saveXmlAttributes(ostream &s,uintb offset) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc: In member function ‘VarnodeTpl* PcodeCompile::buildTruncatedVarnode(VarnodeTpl*, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:573:3: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 573 | uint4 byteoffset = bitoffset / 8; // Convert to byte units | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:224:45: error: ‘uintb’ has not been declared 224 | virtual void saveXmlAttributes(ostream &s,uintb offset,int4 size) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:224:58: error: ‘int4’ has not been declared 224 | virtual void saveXmlAttributes(ostream &s,uintb offset,int4 size) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:574:8: error: expected ‘;’ before ‘numbytes’ 574 | uint4 numbytes = numbits / 8; | ^~~~~~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:579:3: error: ‘int4’ does not name a type; did you mean ‘int’? 579 | int4 getNumConstructors(void) const { return construct.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:580:31: error: ‘uintm’ has not been declared 580 | Constructor *getConstructor(uintm id) const { return construct[id]; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:65:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 65 | uint4 unique_allocatemask; ///< Bits that are guaranteed to be zero in the unique allocation scheme | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:225:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 225 | virtual uintb restoreXmlAttributes(const Element *el,uint4 &size) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:226:36: error: ‘uintb’ has not been declared 226 | virtual void printRaw(ostream &s,uintb offset) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:849:19: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 849 | partmap flagbase; ///< Map of global properties | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:849:24: error: template argument 2 is invalid 849 | partmap flagbase; ///< Map of global properties | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:66:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 66 | uint4 numSections; ///< Number of \e named sections | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:585:11: error: ‘int4’ does not name a type; did you mean ‘int’? 585 | virtual int4 getSize(void) const { return -1; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘bool HighVariable::isMark() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:119:38: error: ‘flags’ was not declared in this scope 119 | bool isMark(void) const { return ((flags&Varnode::mark)!=0); } ///< Return \b true if \b this is marked | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:865:45: error: ‘uintb’ has not been declared 865 | void addRange(Scope *scope,AddrSpace *spc,uintb first,uintb last); ///< Add an address range to the \e ownership of a Scope | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:865:57: error: ‘uintb’ has not been declared 865 | void addRange(Scope *scope,AddrSpace *spc,uintb first,uintb last); ///< Add an address range to the \e ownership of a Scope | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:866:48: error: ‘uintb’ has not been declared 866 | void removeRange(Scope *scope,AddrSpace *spc,uintb first,uintb last); ///< Remove an address range from \e ownership of a Scope | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:866:60: error: ‘uintb’ has not been declared 866 | void removeRange(Scope *scope,AddrSpace *spc,uintb first,uintb last); ///< Remove an address range from \e ownership of a Scope | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:868:23: error: ‘uint8’ has not been declared 868 | Scope *resolveScope(uint8 id) const; ///< Look-up a Scope by id | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:227:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 227 | virtual uintb read(const string &s,int4 &size) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:870:26: error: ‘uint8’ has not been declared 870 | Scope *findCreateScope(uint8,const string &nm,Scope *parent); /// Find (and if not found create) a specific subscope | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:575:3: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 575 | uintb fullsz = 0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:251:13: error: variable or field ‘setFlags’ declared void 251 | inline void AddrSpace::setFlags(uint4 fl) { | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:72:16: error: ‘uintb’ does not name a type; did you mean ‘uint’? 72 | static const uintb MAX_UNIQUE_SIZE; ///< Maximum size of a varnode in the unique space (should match value in SleighBase.java) | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:76:61: error: ‘uintb’ has not been declared 76 | virtual void addRegister(const string &nm,AddrSpace *base,uintb offset,int4 size); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:76:74: error: ‘int4’ has not been declared 76 | virtual void addRegister(const string &nm,AddrSpace *base,uintb offset,int4 size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:78:50: error: ‘uintb’ has not been declared 78 | virtual string getRegisterName(AddrSpace *base,uintb off,int4 size) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:78:60: error: ‘int4’ has not been declared 78 | virtual string getRegisterName(AddrSpace *base,uintb off,int4 size) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:27:5: error: ‘context’ was not declared in this scope; did you mean ‘ContextOp’? 27 | context = new uintm[ contextsize ]; | ^~~~~~~ | ContextOp /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:83:28: error: ‘uintm’ has not been declared 83 | SleighSymbol *findSymbol(uintm id) const { return symtab.findSymbol(id); } ///< Find a specific SLEIGH symbol by id | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:874:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 874 | uint4 getProperty(const Address &addr) const { return flagbase.getValue(addr); } ///< Get boolean properties at the given address | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:875:25: error: ‘uint4’ has not been declared 875 | void setPropertyRange(uint4 flags,const Range &range); ///< Set boolean properties over a given memory range | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:27:19: error: ‘uintm’ does not name a type; did you mean ‘uint’? 27 | context = new uintm[ contextsize ]; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:200:3: error: ‘int4’ does not name a type; did you mean ‘int’? 200 | int4 numPieces(void) const { return pieces.size(); } ///< Get number of pieces in this record | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:588:42: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 588 | virtual void collectLocalValues(vector &results) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:588:47: error: template argument 1 is invalid 588 | virtual void collectLocalValues(vector &results) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:588:47: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:202:31: error: ‘int4’ has not been declared 202 | const VarnodeData &getPiece(int4 i) const { return pieces[i]; } ///< Get the i-th piece | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:204:32: error: ‘uintb’ has not been declared 204 | Address getEquivalentAddress(uintb offset,int4 &pos) const; ///< Given offset in \e join space, get equivalent address of piece | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:204:45: error: ‘int4’ has not been declared 204 | Address getEquivalentAddress(uintb offset,int4 &pos) const; ///< Given offset in \e join space, get equivalent address of piece | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:742:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 742 | uint8 nextUniqueId; ///< Next available symbol id | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:251:33: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 251 | inline void AddrSpace::setFlags(uint4 fl) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:744:22: error: expected ‘)’ before ‘id’ 744 | ScopeInternal(uint8 id,const string &nm,Architecture *g); ///< Construct the Scope | ~ ^~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:257:13: error: variable or field ‘clearFlags’ declared void 257 | inline void AddrSpace::clearFlags(uint4 fl) { | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:745:22: error: expected ‘)’ before ‘id’ 745 | ScopeInternal(uint8 id,const string &nm,Architecture *g, Scope *own); ///< Construct as a cache | ~ ^~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:748:30: error: ‘int4’ has not been declared 748 | virtual void clearCategory(int4 cat); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:750:38: error: ‘int4’ has not been declared 750 | virtual void clearUnlockedCategory(int4 cat); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:763:41: error: ‘uint4’ has not been declared 763 | virtual void setAttribute(Symbol *sym,uint4 attr); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:764:43: error: ‘uint4’ has not been declared 764 | virtual void clearAttribute(Symbol *sym,uint4 attr); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:18:7: error: ‘int4’ does not name a type; did you mean ‘int’? 18 | const int4 SleighBase::SLA_FORMAT_VERSION = 3; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:765:45: error: ‘uint4’ has not been declared 765 | virtual void setDisplayFormat(Symbol *sym,uint4 attr); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:768:58: error: ‘int4’ has not been declared 768 | virtual SymbolEntry *findContainer(const Address &addr,int4 size, | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:770:59: error: ‘int4’ has not been declared 770 | virtual SymbolEntry *findClosestFit(const Address &addr,int4 size, | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:775:56: error: ‘int4’ has not been declared 775 | virtual SymbolEntry *findOverlap(const Address &addr,int4 size) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:876:44: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 876 | void setProperties(const partmap &newflags) { flagbase = newflags; } ///< Replace the property map | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:876:49: error: template argument 2 is invalid 876 | void setProperties(const partmap &newflags) { flagbase = newflags; } ///< Replace the property map | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:783:49: error: ‘int4’ has not been declared 783 | Datatype *ct,int4 &index,uint4 flags) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:783:61: error: ‘uint4’ has not been declared 783 | Datatype *ct,int4 &index,uint4 flags) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:20:7: error: ‘uintb’ does not name a type; did you mean ‘uint’? 20 | const uintb SleighBase::MAX_UNIQUE_SIZE = 128; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:578:5: error: ‘fullsz’ was not declared in this scope 578 | fullsz = basevn->getSize().getReal(); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘bool HighVariable::isUnmerged() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:120:42: error: ‘highflags’ was not declared in this scope 120 | bool isUnmerged(void) const { return ((highflags&unmerged)!=0); } ///< Return \b true if \b this has merge problems | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:578:32: error: ‘const class ConstTpl’ has no member named ‘getReal’ 578 | fullsz = basevn->getSize().getReal(); | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:22:1: error: ‘int4’ does not name a type; did you mean ‘int’? 22 | int4 SourceFileIndexer::index(const string filename){ | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:257:35: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 257 | inline void AddrSpace::clearFlags(uint4 fl) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:789:11: error: ‘int4’ does not name a type; did you mean ‘int’? 789 | virtual int4 getCategorySize(int4 cat) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:790:37: error: ‘int4’ has not been declared 790 | virtual Symbol *getCategorySymbol(int4 cat,int4 ind) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:790:46: error: ‘int4’ has not been declared 790 | virtual Symbol *getCategorySymbol(int4 cat,int4 ind) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:791:40: error: ‘int4’ has not been declared 791 | virtual void setCategory(Symbol *sym,int4 cat,int4 ind); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:791:49: error: ‘int4’ has not been declared 791 | virtual void setCategory(Symbol *sym,int4 cat,int4 ind); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:32:1: error: ‘int4’ does not name a type; did you mean ‘int’? 32 | int4 SourceFileIndexer::getIndex(string filename){ | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:792:27: error: ‘int4’ has not been declared 792 | void assignDefaultNames(int4 &base); ///< Assign a default name (via buildVariableName) to any unnamed symbol | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:36:8: error: ‘std::string SourceFileIndexer::getFilename’ is not a static data member of ‘class SourceFileIndexer’ 36 | string SourceFileIndexer::getFilename(int4 index){ | ^~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:222:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 222 | map shortcut2Space; ///< Map from shortcut -> space | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:222:23: error: template argument 1 is invalid 222 | map shortcut2Space; ///< Map from shortcut -> space | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:222:23: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:222:23: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:302:8: error: ‘int4’ does not name a type; did you mean ‘int’? 302 | inline int4 AddrSpace::getDelay(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:312:8: error: ‘int4’ does not name a type; did you mean ‘int’? 312 | inline int4 AddrSpace::getDeadcodeDelay(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:877:25: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 877 | const partmap &getProperties(void) const { return flagbase; } ///< Get the entire property map | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:877:30: error: template argument 2 is invalid 877 | const partmap &getProperties(void) const { return flagbase; } ///< Get the entire property map | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:231:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 231 | uintb joinallocate; ///< Next offset to be allocated in join space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:30:5: error: ‘contextsize’ was not declared in this scope 30 | contextsize = 0; | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:319:8: error: ‘int4’ does not name a type; did you mean ‘int’? 319 | inline int4 AddrSpace::getIndex(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:596:3: error: ‘int4’ does not name a type; did you mean ‘int’? 596 | int4 index; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:600:32: error: ‘int4’ has not been declared 600 | MacroSymbol(const string &nm,int4 i) : SleighSymbol(nm) { index = i; construct = (ConstructTpl *)0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:327:8: error: ‘uint4’ does not name a type; did you mean ‘uint’? 327 | inline uint4 AddrSpace::getWordSize(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:335:8: error: ‘uint4’ does not name a type; did you mean ‘uint’? 335 | inline uint4 AddrSpace::getAddrSize(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘bool HighVariable::hasCover() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:128:14: error: ‘flags’ was not declared in this scope 128 | return ((flags&(Varnode::constant|Varnode::annotation|Varnode::insert))==Varnode::insert); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:36:39: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 36 | string SourceFileIndexer::getFilename(int4 index){ | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:849:19: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 849 | partmap flagbase; ///< Map of global properties | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:36:50: error: expected ‘,’ or ‘;’ before ‘{’ token 36 | string SourceFileIndexer::getFilename(int4 index){ | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:849:24: error: template argument 2 is invalid 849 | partmap flagbase; ///< Map of global properties | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:601:3: error: ‘int4’ does not name a type; did you mean ‘int’? 601 | int4 getIndex(void) const { return index; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:341:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 341 | inline uintb AddrSpace::getHighest(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:865:45: error: ‘uintb’ has not been declared 865 | void addRange(Scope *scope,AddrSpace *spc,uintb first,uintb last); ///< Add an address range to the \e ownership of a Scope | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:865:57: error: ‘uintb’ has not been declared 865 | void addRange(Scope *scope,AddrSpace *spc,uintb first,uintb last); ///< Add an address range to the \e ownership of a Scope | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:866:48: error: ‘uintb’ has not been declared 866 | void removeRange(Scope *scope,AddrSpace *spc,uintb first,uintb last); ///< Remove an address range from \e ownership of a Scope | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:866:60: error: ‘uintb’ has not been declared 866 | void removeRange(Scope *scope,AddrSpace *spc,uintb first,uintb last); ///< Remove an address range from \e ownership of a Scope | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:868:23: error: ‘uint8’ has not been declared 868 | Scope *resolveScope(uint8 id) const; ///< Look-up a Scope by id | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:348:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 348 | inline uintb AddrSpace::getPointerLowerBound(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:870:26: error: ‘uint8’ has not been declared 870 | Scope *findCreateScope(uint8,const string &nm,Scope *parent); /// Find (and if not found create) a specific subscope | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:580:9: error: ‘byteoffset’ was not declared in this scope; did you mean ‘bitoffset’? 580 | if (byteoffset + numbytes > fullsz) | ^~~~~~~~~~ | bitoffset /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:605:3: error: ‘int4’ does not name a type; did you mean ‘int’? 605 | int4 getNumOperands(void) const { return operands.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:606:29: error: ‘int4’ has not been declared 606 | OperandSymbol *getOperand(int4 i) const { return operands[i]; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:355:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 355 | inline uintb AddrSpace::getPointerUpperBound(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:361:8: error: ‘int4’ does not name a type; did you mean ‘int’? 361 | inline int4 AddrSpace::getMinimumPtrSize(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:874:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 874 | uint4 getProperty(const Address &addr) const { return flagbase.getValue(addr); } ///< Get boolean properties at the given address | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:370:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 370 | inline uintb AddrSpace::wrapOffset(uintb off) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:875:25: error: ‘uint4’ has not been declared 875 | void setPropertyRange(uint4 flags,const Range &range); ///< Set boolean properties over a given memory range | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:31:5: error: ‘context’ was not declared in this scope; did you mean ‘ContextOp’? 31 | context = (uintm *)0; | ^~~~~~~ | ContextOp /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘MacroSymbol::MacroSymbol(const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:600:69: error: overloaded function with no contextual type information 600 | MacroSymbol(const string &nm,int4 i) : SleighSymbol(nm) { index = i; construct = (ConstructTpl *)0; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘bool HighVariable::isTypeLock() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:131:56: error: ‘flags’ was not declared in this scope 131 | bool isTypeLock(void) const { updateType(); return ((flags & Varnode::typelock)!=0); } ///< Return \b true if \b this is \e typelocked | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc: In member function ‘void SourceFileIndexer::restoreXml(const Element*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:45:17: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 45 | int4 index = stoi((*iter)->getAttributeValue("index"),NULL,10); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:46:28: error: no match for ‘operator[]’ (operand types are ‘int’ and ‘std::string’ {aka ‘std::__cxx11::basic_string’}) 46 | fileToIndex[filename] = index; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:47:28: error: invalid types ‘int[]’ for array subscript 47 | indexToFile[index] = filename; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:876:44: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 876 | void setProperties(const partmap &newflags) { flagbase = newflags; } ///< Replace the property map | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:876:49: error: template argument 2 is invalid 876 | void setProperties(const partmap &newflags) { flagbase = newflags; } ///< Replace the property map | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:580:22: error: ‘numbytes’ was not declared in this scope; did you mean ‘numbits’? 580 | if (byteoffset + numbytes > fullsz) | ^~~~~~~~ | numbits /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:31:16: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 31 | context = (uintm *)0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:31:23: error: expected primary-expression before ‘)’ token 31 | context = (uintm *)0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:612:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 612 | uint4 index; // Local 1 up index of label | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:35:6: error: variable or field ‘initialize’ declared void 35 | void ParserContext::initialize(int4 maxstate,int4 maxparam,AddrSpace *spc) | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In constructor ‘Symbol::Symbol(Scope*, const string&, Datatype*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:891:3: error: ‘nameDedup’ was not declared in this scope 891 | nameDedup=0; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:599:64: error: ‘const class ConstTpl’ has no member named ‘getHandleIndex’; did you mean ‘changeHandleIndex’? 599 | specialoff = ConstTpl(ConstTpl::handle,basevn->getOffset().getHandleIndex(), | ^~~~~~~~~~~~~~ | changeHandleIndex /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:614:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 614 | uint4 refcount; // Number of references to this label | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:616:32: error: ‘uint4’ has not been declared 616 | LabelSymbol(const string &nm,uint4 i) : SleighSymbol(nm) { index = i; refcount = 0; isplaced=false; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh: In member function ‘bool HighVariable::isNameLock() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/variable.hh:132:57: error: ‘flags’ was not declared in this scope 132 | bool isNameLock(void) const { updateFlags(); return ((flags & Varnode::namelock)!=0); } ///< Return \b true if \b this is \e namelocked | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isHeritaged() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:395:12: error: ‘flags’ was not declared in this scope 395 | return ((flags & heritaged)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc: In member function ‘void SourceFileIndexer::saveXml(std::ostream&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:53:14: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 53 | for (int4 i = 0; i < leastUnusedIndex; ++i){ | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:35:32: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 35 | void ParserContext::initialize(int4 maxstate,int4 maxparam,AddrSpace *spc) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:877:25: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 877 | const partmap &getProperties(void) const { return flagbase; } ///< Get the entire property map | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:617:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 617 | uint4 getIndex(void) const { return index; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:877:30: error: template argument 2 is invalid 877 | const partmap &getProperties(void) const { return flagbase; } ///< Get the entire property map | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:619:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 619 | uint4 getRefCount(void) const { return refcount; } | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cast.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cast.hh:55:3: error: ‘int4’ does not name a type; did you mean ‘int’? 55 | int4 promoteSize; ///< Size of \b int data-type, (size that integers get promoted to) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:35:46: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 35 | void ParserContext::initialize(int4 maxstate,int4 maxparam,AddrSpace *spc) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:35:70: error: expected primary-expression before ‘*’ token 35 | void ParserContext::initialize(int4 maxstate,int4 maxparam,AddrSpace *spc) | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘LabelSymbol::LabelSymbol(const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:616:70: error: overloaded function with no contextual type information 616 | LabelSymbol(const string &nm,uint4 i) : SleighSymbol(nm) { index = i; refcount = 0; isplaced=false; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:53:26: error: ‘i’ was not declared in this scope 53 | for (int4 i = 0; i < leastUnusedIndex; ++i){ | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:893:3: error: ‘flags’ was not declared in this scope 893 | flags=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:237:28: error: ‘int4’ has not been declared 237 | void setDefaultCodeSpace(int4 index); ///< Set the default address space (for code) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:238:28: error: ‘int4’ has not been declared 238 | void setDefaultDataSpace(int4 index); ///< Set the default address space for data | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:241:40: error: ‘int4’ has not been declared 241 | void markNearPointers(AddrSpace *spc,int4 size); ///< Mark that given space can be accessed with near pointers | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cast.hh:65:11: error: ‘int4’ does not name a type; did you mean ‘int’? 65 | virtual int4 localExtensionType(const Varnode *vn) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:244:81: error: ‘int4’ has not been declared 244 | void addSpacebasePointer(SpacebaseSpace *basespace,const VarnodeData &ptrdata,int4 truncSize,bool stackGrowth); ///< Set the base register of a spacebase space | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:247:32: error: ‘uintb’ has not been declared 247 | JoinRecord *findJoinInternal(uintb offset) const; ///< Find JoinRecord for \e offset in the join space | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:35:71: error: ‘spc’ was not declared in this scope 35 | void ParserContext::initialize(int4 maxstate,int4 maxparam,AddrSpace *spc) | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cast.hh:72:11: error: ‘int4’ does not name a type; did you mean ‘int’? 72 | virtual int4 intPromotionType(const Varnode *vn) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cast.hh:81:62: error: ‘int4’ has not been declared 81 | virtual bool checkIntPromotionForCompare(const PcodeOp *op,int4 slot) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:600:51: error: ‘byteoffset’ was not declared in this scope; did you mean ‘bitoffset’? 600 | ConstTpl::v_offset_plus,byteoffset); | ^~~~~~~~~~ | bitoffset /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cast.hh:126:66: error: ‘uint4’ has not been declared 126 | virtual bool isSubpieceCast(Datatype *outtype,Datatype *intype,uint4 offset) const=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cast.hh:138:72: error: ‘uint4’ has not been declared 138 | virtual bool isSubpieceCastEndian(Datatype *outtype,Datatype *intype,uint4 offset,bool isbigend) const=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:46:1: error: ‘uintm’ does not name a type; did you mean ‘uint’? 46 | uintm ParserContext::getInstructionBytes(int4 bytestart,int4 size,uint4 off) const | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:251:3: error: ‘int4’ does not name a type; did you mean ‘int’? 251 | int4 getDefaultSize(void) const; ///< Get size of addresses for the default space | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:605:10: error: expected ‘;’ before ‘plus’ 605 | uintb plus; | ^~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:607:12: error: missing template arguments before ‘=’ token 607 | plus = fullsz - (byteoffset + numbytes); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:262:23: error: ‘uintb’ has not been declared 262 | Address getConstant(uintb val) const; ///< Get a constant encoded as an Address | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::doesDeadcode() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:403:12: error: ‘flags’ was not declared in this scope 403 | return ((flags & does_deadcode)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:264:42: error: ‘uintb’ has not been declared 264 | Address resolveConstant(AddrSpace *spc,uintb val,int4 sz,const Address &point,uintb &fullEncoding) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:62:1: error: ‘uintm’ does not name a type; did you mean ‘uint’? 62 | uintm ParserContext::getInstructionBits(int4 startbit,int4 size,uint4 off) const | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:264:52: error: ‘int4’ has not been declared 264 | Address resolveConstant(AddrSpace *spc,uintb val,int4 sz,const Address &point,uintb &fullEncoding) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:264:81: error: ‘uintb’ has not been declared 264 | Address resolveConstant(AddrSpace *spc,uintb val,int4 sz,const Address &point,uintb &fullEncoding) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:81:1: error: ‘uintm’ does not name a type; did you mean ‘uint’? 81 | uintm ParserContext::getContextBytes(int4 bytestart,int4 size) const | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cast.hh:160:11: error: ‘int4’ does not name a type; did you mean ‘int’? 160 | virtual int4 localExtensionType(const Varnode *vn) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:265:3: error: ‘int4’ does not name a type; did you mean ‘int’? 265 | int4 numSpaces(void) const; ///< Get the number of address spaces for this processor | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:266:23: error: ‘int4’ has not been declared 266 | AddrSpace *getSpace(int4 i) const; ///< Get an address space via its index | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:268:61: error: ‘uint4’ has not been declared 268 | JoinRecord *findAddJoin(const vector &pieces,uint4 logicalsize); ///< Get (or create) JoinRecord for \e pieces | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:100:1: error: ‘uintm’ does not name a type; did you mean ‘uint’? 100 | uintm ParserContext::getContextBits(int4 startbit,int4 size) const | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:269:24: error: ‘uintb’ has not been declared 269 | JoinRecord *findJoin(uintb offset) const; ///< Find JoinRecord for \e offset in the join space | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:119:49: error: ‘int4’ has not been declared 119 | void ParserContext::addCommit(TripleSymbol *sym,int4 num,uintm mask,bool flow,ConstructState *point) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:270:40: error: ‘int4’ has not been declared 270 | void setDeadcodeDelay(AddrSpace *spc,int4 delaydelta); ///< Set the deadcodedelay for a specific space | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:119:58: error: ‘uintm’ has not been declared 119 | void ParserContext::addCommit(TripleSymbol *sym,int4 num,uintm mask,bool flow,ConstructState *point) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:274:66: error: ‘int4’ has not been declared 274 | Address constructFloatExtensionAddress(const Address &realaddr,int4 realsize,int4 logicalsize); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:274:80: error: ‘int4’ has not been declared 274 | Address constructFloatExtensionAddress(const Address &realaddr,int4 realsize,int4 logicalsize); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:277:81: error: ‘int4’ has not been declared 277 | Address constructJoinAddress(const Translate *translate,const Address &hiaddr,int4 hisz,const Address &loaddr,int4 losz); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:277:113: error: ‘int4’ has not been declared 277 | Address constructJoinAddress(const Translate *translate,const Address &hiaddr,int4 hisz,const Address &loaddr,int4 losz); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:280:45: error: ‘int4’ has not been declared 280 | void renormalizeJoinAddress(Address &addr,int4 size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cast.hh:161:11: error: ‘int4’ does not name a type; did you mean ‘int’? 161 | virtual int4 intPromotionType(const Varnode *vn) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cast.hh:162:62: error: ‘int4’ has not been declared 162 | virtual bool checkIntPromotionForCompare(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc: In member function ‘void ParserContext::addCommit(TripleSymbol*, int, int, bool, ConstructState*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:127:7: error: ‘struct ContextSet’ has no member named ‘num’ 127 | set.num = num; | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:128:7: error: ‘struct ContextSet’ has no member named ‘mask’ 128 | set.mask = mask; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cast.hh:167:66: error: ‘uint4’ has not been declared 167 | virtual bool isSubpieceCast(Datatype *outtype,Datatype *intype,uint4 offset) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:129:7: error: ‘struct ContextSet’ has no member named ‘value’ 129 | set.value = context[num] & mask; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cast.hh:168:72: error: ‘uint4’ has not been declared 168 | virtual bool isSubpieceCastEndian(Datatype *outtype,Datatype *intype,uint4 offset,bool isbigend) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:616:73: error: ‘refcount’ was not declared in this scope 616 | LabelSymbol(const string &nm,uint4 i) : SleighSymbol(nm) { index = i; refcount = 0; isplaced=false; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:894:3: error: ‘dispflags’ was not declared in this scope 894 | dispflags=0; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:296:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 296 | uintm unique_base; ///< Starting offset into unique space | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:80:3: error: ‘int4’ does not name a type; did you mean ‘int’? 80 | int4 indentlevel; ///< Current indent level (in fixed width characters) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:222:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 222 | map shortcut2Space; ///< Map from shortcut -> space | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:222:23: error: template argument 1 is invalid 222 | map shortcut2Space; ///< Map from shortcut -> space | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:222:23: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:222:23: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In constructor ‘Symbol::Symbol(Scope*, const string&, Datatype*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:891:3: error: ‘nameDedup’ was not declared in this scope 891 | nameDedup=0; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:607:14: error: ‘fullsz’ was not declared in this scope 607 | plus = fullsz - (byteoffset + numbytes); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:298:3: error: ‘int4’ does not name a type; did you mean ‘int’? 298 | int4 alignment; ///< Byte modulo on which instructions are aligned | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:81:3: error: ‘int4’ does not name a type; did you mean ‘int’? 81 | int4 parenlevel; ///< Current depth of parentheses | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:53:30: error: ‘leastUnusedIndex’ was not declared in this scope 53 | for (int4 i = 0; i < leastUnusedIndex; ++i){ | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:231:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 231 | uintb joinallocate; ///< Next offset to be allocated in join space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::hasPhysical() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:411:12: error: ‘flags’ was not declared in this scope 411 | return ((flags & hasphysical) !=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:55:47: error: request for member ‘at’ in ‘((const SourceFileIndexer*)this)->SourceFileIndexer::indexToFile’, which is of non-class type ‘const int’ 55 | const char *str = indexToFile.at(i).c_str(); | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:82:3: error: ‘int4’ does not name a type; did you mean ‘int’? 82 | int4 indentincrement; ///< Change in indentlevel per level of nesting | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:100:11: error: ‘int4’ does not name a type; did you mean ‘int’? 100 | virtual int4 beginDocument(void); ///< Begin a whole document of output | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:101:28: error: ‘int4’ has not been declared 101 | virtual void endDocument(int4 id); ///< End a whole document of output | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:129:15: error: ‘context’ was not declared in this scope; did you mean ‘ContextOp’? 129 | set.value = context[num] & mask; | ^~~~~~~ | ContextOp /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:102:11: error: ‘int4’ does not name a type; did you mean ‘int’? 102 | virtual int4 beginFunction(const Funcdata *fd); ///< Begin a whole declaration and body of a function | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:103:28: error: ‘int4’ has not been declared 103 | virtual void endFunction(int4 id); ///< End a whole declaration and body of a function | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:893:3: error: ‘flags’ was not declared in this scope 893 | flags=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void LabelSymbol::incrementRefCount()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:618:34: error: ‘refcount’ was not declared in this scope 618 | void incrementRefCount(void) { refcount += 1; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:104:11: error: ‘int4’ does not name a type; did you mean ‘int’? 104 | virtual int4 beginBlock(const FlowBlock *bl); ///< Begin a control-flow element | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:105:25: error: ‘int4’ has not been declared 105 | virtual void endBlock(int4 id); ///< End a control-flow element | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:107:24: error: ‘int4’ has not been declared 107 | virtual void tagLine(int4 indent); ///< Force a line break and indent level | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:895:3: error: ‘category’ was not declared in this scope 895 | category=-1; | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:108:11: error: ‘int4’ does not name a type; did you mean ‘int’? 108 | virtual int4 beginReturnType(const Varnode *vn); ///< Begin a return type declaration | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:109:30: error: ‘int4’ has not been declared 109 | virtual void endReturnType(int4 id); ///< End a return type declaration | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:607:24: error: ‘byteoffset’ was not declared in this scope; did you mean ‘bitoffset’? 607 | plus = fullsz - (byteoffset + numbytes); | ^~~~~~~~~~ | bitoffset In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:39:5: error: ‘int4’ does not name a type; did you mean ‘int’? 39 | int4 index(const string filename); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:110:11: error: ‘int4’ does not name a type; did you mean ‘int’? 110 | virtual int4 beginVarDecl(const Symbol *sym); ///< Begin a variable declaration | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:302:22: error: ‘uintm’ has not been declared 302 | void setUniqueBase(uintm val); ///< Set the base offset for new temporary registers | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:111:27: error: ‘int4’ has not been declared 111 | virtual void endVarDecl(int4 id); ///< End a variable declaration | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:307:37: error: ‘int4’ has not been declared 307 | const FloatFormat *getFloatFormat(int4 size) const; ///< Get format for a particular floating point encoding | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:277:57: error: ‘uintm’ does not name a type; did you mean ‘uint’? 277 | void saveContext(ostream &s,const Address &addr,const uintm *vec) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:40:9: error: ‘int4’ does not name a type; did you mean ‘int’? 40 | int4 getIndex(const string); ///< get the index of a file. Error if the file is not in the index. | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:41:28: error: ‘int4’ has not been declared 41 | string getFilename(int4); ///< get the filename corresponding to an index | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:277:57: error: ‘uintm’ does not name a type; did you mean ‘uint’? 277 | void saveContext(ostream &s,const Address &addr,const uintm *vec) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isBigEndian() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:418:12: error: ‘flags’ was not declared in this scope 418 | return ((flags&big_endian)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:112:11: error: ‘int4’ does not name a type; did you mean ‘int’? 112 | virtual int4 beginStatement(const PcodeOp *op); ///< Begin a source code statement | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:113:29: error: ‘int4’ has not been declared 113 | virtual void endStatement(int4 id); ///< End a source code statement | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:308:3: error: ‘int4’ does not name a type; did you mean ‘int’? 308 | int4 getAlignment(void) const; ///< Get the instruction alignment for the processor | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:46:9: error: ‘int4’ does not name a type; did you mean ‘int’? 46 | int4 leastUnusedIndex; ///< one-up count for assigning indices to files | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:114:11: error: ‘int4’ does not name a type; did you mean ‘int’? 114 | virtual int4 beginFuncProto(void); ///< Begin a function prototype declaration | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:115:29: error: ‘int4’ has not been declared 115 | virtual void endFuncProto(int4 id); ///< End a function prototype declaration | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:122:80: error: ‘int4’ has not been declared 122 | virtual void tagField(const char *ptr,syntax_highlight hl,const Datatype *ct,int4 off); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:123:84: error: ‘uintb’ has not been declared 123 | virtual void tagComment(const char *ptr,syntax_highlight hl,const AddrSpace *spc,uintb off); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:124:82: error: ‘uintb’ has not been declared 124 | virtual void tagLabel(const char *ptr,syntax_highlight hl,const AddrSpace *spc,uintb off); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc: In member function ‘void ParserContext::applyCommits()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:149:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 149 | int4 i = ((OperandSymbol *)sym)->getIndex(); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:309:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 309 | uintm getUniqueBase(void) const; ///< Get the base offset for new temporary registers | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:328:51: error: ‘int4’ has not been declared 328 | virtual void registerContext(const string &name,int4 sbit,int4 ebit) {} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:328:61: error: ‘int4’ has not been declared 328 | virtual void registerContext(const string &name,int4 sbit,int4 ebit) {} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:337:53: error: ‘uintm’ has not been declared 337 | virtual void setContextDefault(const string &name,uintm val) {} | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:357:61: error: ‘uintb’ has not been declared 357 | virtual void addRegister(const string &nm,AddrSpace *base,uintb offset,int4 size)=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:357:74: error: ‘int4’ has not been declared 357 | virtual void addRegister(const string &nm,AddrSpace *base,uintb offset,int4 size)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:126:11: error: ‘int4’ does not name a type; did you mean ‘int’? 126 | virtual int4 openParen(char o,int4 id=0); ///< Emit an open parenthesis | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:376:50: error: ‘uintb’ has not been declared 376 | virtual string getRegisterName(AddrSpace *base,uintb off,int4 size) const=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:849:19: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 849 | partmap flagbase; ///< Map of global properties | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:127:34: error: ‘int4’ has not been declared 127 | virtual void closeParen(char c,int4 id); ///< Emit a close parenthesis | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:376:60: error: ‘int4’ has not been declared 376 | virtual string getRegisterName(AddrSpace *base,uintb off,int4 size) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:849:24: error: template argument 2 is invalid 849 | partmap flagbase; ///< Map of global properties | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:894:3: error: ‘dispflags’ was not declared in this scope 894 | dispflags=0; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 1 is invalid 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:865:45: error: ‘uintb’ has not been declared 865 | void addRange(Scope *scope,AddrSpace *spc,uintb first,uintb last); ///< Add an address range to the \e ownership of a Scope | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:896:3: error: ‘catindex’ was not declared in this scope; did you mean ‘rindex’? 896 | catindex = 0; | ^~~~~~~~ | rindex /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:865:57: error: ‘uintb’ has not been declared 865 | void addRange(Scope *scope,AddrSpace *spc,uintb first,uintb last); ///< Add an address range to the \e ownership of a Scope | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:866:48: error: ‘uintb’ has not been declared 866 | void removeRange(Scope *scope,AddrSpace *spc,uintb first,uintb last); ///< Remove an address range from \e ownership of a Scope | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:133:11: error: ‘int4’ does not name a type; did you mean ‘int’? 133 | virtual int4 openGroup(void) { return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:866:60: error: ‘uintb’ has not been declared 866 | void removeRange(Scope *scope,AddrSpace *spc,uintb first,uintb last); ///< Remove an address range from \e ownership of a Scope | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:139:27: error: ‘int4’ has not been declared 139 | virtual void closeGroup(int4 id) {} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:607:37: error: ‘numbytes’ was not declared in this scope; did you mean ‘numbits’? 607 | plus = fullsz - (byteoffset + numbytes); | ^~~~~~~~ | numbits /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:868:23: error: ‘uint8’ has not been declared 868 | Scope *resolveScope(uint8 id) const; ///< Look-up a Scope by id | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:609:12: error: missing template arguments before ‘=’ token 609 | plus = byteoffset; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:143:23: error: ‘int4’ has not been declared 143 | virtual void spaces(int4 num,int4 bump=0); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 1 is invalid 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:143:32: error: ‘int4’ has not been declared 143 | virtual void spaces(int4 num,int4 bump=0); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:870:26: error: ‘uint8’ has not been declared 870 | Scope *findCreateScope(uint8,const string &nm,Scope *parent); /// Find (and if not found create) a specific subscope | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:403:11: error: ‘int4’ does not name a type; did you mean ‘int’? 403 | virtual int4 instructionLength(const Address &baseaddr) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:47:13: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 47 | map indexToFile; ///< map from indices to files | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:47:25: error: template argument 1 is invalid 47 | map indexToFile; ///< map from indices to files | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:47:25: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:47:25: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:149:11: error: ‘int4’ does not name a type; did you mean ‘int’? 149 | virtual int4 startIndent(void) { indentlevel+=indentincrement; return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:156:27: error: ‘int4’ has not been declared 156 | virtual void stopIndent(int4 id) { indentlevel-=indentincrement; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:418:11: error: ‘int4’ does not name a type; did you mean ‘int’? 418 | virtual int4 oneInstruction(PcodeEmit &emit,const Address &baseaddr) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:150:45: error: ‘i’ was not declared in this scope 150 | FixedHandle &h((*iter).point->resolve[i]->hand); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:151:38: error: ‘struct FixedHandle’ has no member named ‘offset_offset’ 151 | commitaddr = Address(h.space,h.offset_offset); | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:162:11: error: ‘int4’ does not name a type; did you mean ‘int’? 162 | virtual int4 startComment(void) { return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:874:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 874 | uint4 getProperty(const Address &addr) const { return flagbase.getValue(addr); } ///< Get boolean properties at the given address | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:168:28: error: ‘int4’ has not been declared 168 | virtual void stopComment(int4 id) {} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:156:44: error: ‘struct FixedHandle’ has no member named ‘offset_offset’ 156 | commitaddr = Address(hand.space,hand.offset_offset); | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:875:25: error: ‘uint4’ has not been declared 875 | void setPropertyRange(uint4 flags,const Range &range); ///< Set boolean properties over a given memory range | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:181:31: error: ‘int4’ has not been declared 181 | virtual void setMaxLineSize(int4 mls) {} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:428:11: error: ‘int4’ does not name a type; did you mean ‘int’? 428 | virtual int4 printAssembly(AssemblyEmit &emit,const Address &baseaddr) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isReverseJustified() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:427:12: error: ‘flags’ was not declared in this scope 427 | return ((flags&reverse_justification)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:187:11: error: ‘int4’ does not name a type; did you mean ‘int’? 187 | virtual int4 getMaxLineSize(void) const { return -1; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 1 is invalid 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:434:8: error: ‘int4’ does not name a type; did you mean ‘int’? 434 | inline int4 AddrSpaceManager::getDefaultSize(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 1 is invalid 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:48:21: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 48 | map fileToIndex; ///< map from files to indices | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:48:25: error: template argument 2 is invalid 48 | map fileToIndex; ///< map from files to indices | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:48:25: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:207:3: error: ‘int4’ does not name a type; did you mean ‘int’? 207 | int4 getParenLevel(void) const { return parenlevel; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:518:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 518 | inline Address AddrSpaceManager::getConstant(uintb val) const { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:518:16: error: ‘Address AddrSpaceManager::getConstant’ is not a static data member of ‘class AddrSpaceManager’ 518 | inline Address AddrSpaceManager::getConstant(uintb val) const { | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:237:28: error: ‘int4’ has not been declared 237 | void setDefaultCodeSpace(int4 index); ///< Set the default address space (for code) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:238:28: error: ‘int4’ has not been declared 238 | void setDefaultDataSpace(int4 index); ///< Set the default address space for data | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:241:40: error: ‘int4’ has not been declared 241 | void markNearPointers(AddrSpace *spc,int4 size); ///< Mark that given space can be accessed with near pointers | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:212:3: error: ‘int4’ does not name a type; did you mean ‘int’? 212 | int4 getIndentIncrement(void) const { return indentincrement; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:244:81: error: ‘int4’ has not been declared 244 | void addSpacebasePointer(SpacebaseSpace *basespace,const VarnodeData &ptrdata,int4 truncSize,bool stackGrowth); ///< Set the base register of a spacebase space | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:217:27: error: ‘int4’ has not been declared 217 | void setIndentIncrement(int4 val) { indentincrement = val; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:247:32: error: ‘uintb’ has not been declared 247 | JoinRecord *findJoinInternal(uintb offset) const; ///< Find JoinRecord for \e offset in the join space | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:895:3: error: ‘category’ was not declared in this scope 895 | category=-1; | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:897:3: error: ‘symbolId’ was not declared in this scope; did you mean ‘Symbol’? 897 | symbolId=0; | ^~~~~~~~ | Symbol /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:162:7: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 162 | uintb newoff = AddrSpace::addressToByte(commitaddr.getOffset(),addr.getSpace()->getWordSize()); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:609:14: error: ‘byteoffset’ was not declared in this scope; did you mean ‘bitoffset’? 609 | plus = byteoffset; | ^~~~~~~~~~ | bitoffset /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:876:44: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 876 | void setProperties(const partmap &newflags) { flagbase = newflags; } ///< Replace the property map | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc: In constructor ‘SleighBase::SleighBase()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:66:3: error: ‘maxdelayslotbytes’ was not declared in this scope 66 | maxdelayslotbytes = 0; | ^~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:876:49: error: template argument 2 is invalid 876 | void setProperties(const partmap &newflags) { flagbase = newflags; } ///< Replace the property map | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:610:62: error: ‘const class ConstTpl’ has no member named ‘getReal’ 610 | specialoff = ConstTpl(ConstTpl::real,basevn->getOffset().getReal() + plus); | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:610:26: error: expected primary-expression before ‘(’ token 610 | specialoff = ConstTpl(ConstTpl::real,basevn->getOffset().getReal() + plus); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 1 is invalid 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:610:62: error: ‘const class ConstTpl’ has no member named ‘getReal’ 610 | specialoff = ConstTpl(ConstTpl::real,basevn->getOffset().getReal() + plus); | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:32: error: ‘vector’ is not a type 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:610:78: error: missing template arguments before ‘)’ token 610 | specialoff = ConstTpl(ConstTpl::real,basevn->getOffset().getReal() + plus); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:38: error: expected ‘,’ or ‘...’ before ‘<’ token 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 1 is invalid 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:251:3: error: ‘int4’ does not name a type; did you mean ‘int’? 251 | int4 getDefaultSize(void) const; ///< Get size of addresses for the default space | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:32: error: ‘vector’ is not a type 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:38: error: expected ‘,’ or ‘...’ before ‘<’ token 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:262:23: error: ‘uintb’ has not been declared 262 | Address getConstant(uintb val) const; ///< Get a constant encoded as an Address | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:264:42: error: ‘uintb’ has not been declared 264 | Address resolveConstant(AddrSpace *spc,uintb val,int4 sz,const Address &point,uintb &fullEncoding) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:264:52: error: ‘int4’ has not been declared 264 | Address resolveConstant(AddrSpace *spc,uintb val,int4 sz,const Address &point,uintb &fullEncoding) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:264:81: error: ‘uintb’ has not been declared 264 | Address resolveConstant(AddrSpace *spc,uintb val,int4 sz,const Address &point,uintb &fullEncoding) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:518:46: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 518 | inline Address AddrSpaceManager::getConstant(uintb val) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:518:57: error: expected ‘,’ or ‘;’ before ‘const’ 518 | inline Address AddrSpaceManager::getConstant(uintb val) const { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:265:3: error: ‘int4’ does not name a type; did you mean ‘int’? 265 | int4 numSpaces(void) const; ///< Get the number of address spaces for this processor | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:266:23: error: ‘int4’ has not been declared 266 | AddrSpace *getSpace(int4 i) const; ///< Get an address space via its index | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isOverlay() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:431:12: error: ‘flags’ was not declared in this scope 431 | return ((flags&overlay)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:268:61: error: ‘uint4’ has not been declared 268 | JoinRecord *findAddJoin(const vector &pieces,uint4 logicalsize); ///< Get (or create) JoinRecord for \e pieces | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:269:24: error: ‘uintb’ has not been declared 269 | JoinRecord *findJoin(uintb offset) const; ///< Find JoinRecord for \e offset in the join space | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:270:40: error: ‘int4’ has not been declared 270 | void setDeadcodeDelay(AddrSpace *spc,int4 delaydelta); ///< Set the deadcodedelay for a specific space | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:274:66: error: ‘int4’ has not been declared 274 | Address constructFloatExtensionAddress(const Address &realaddr,int4 realsize,int4 logicalsize); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:274:80: error: ‘int4’ has not been declared 274 | Address constructFloatExtensionAddress(const Address &realaddr,int4 realsize,int4 logicalsize); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:277:81: error: ‘int4’ has not been declared 277 | Address constructJoinAddress(const Translate *translate,const Address &hiaddr,int4 hisz,const Address &loaddr,int4 losz); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:277:113: error: ‘int4’ has not been declared 277 | Address constructJoinAddress(const Translate *translate,const Address &hiaddr,int4 hisz,const Address &loaddr,int4 losz); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:280:45: error: ‘int4’ has not been declared 280 | void renormalizeJoinAddress(Address &addr,int4 size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:877:25: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 877 | const partmap &getProperties(void) const { return flagbase; } ///< Get the entire property map | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 1 is invalid 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:877:30: error: template argument 2 is invalid 877 | const partmap &getProperties(void) const { return flagbase; } ///< Get the entire property map | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 1 is invalid 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:163:44: error: ‘newoff’ was not declared in this scope 163 | commitaddr = Address(addr.getSpace(),newoff); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:896:3: error: ‘catindex’ was not declared in this scope; did you mean ‘rindex’? 896 | catindex = 0; | ^~~~~~~~ | rindex /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:168:48: error: ‘struct ContextSet’ has no member named ‘num’ 168 | contcache->setContext(commitaddr,(*iter).num,(*iter).mask,(*iter).value); | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:296:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 296 | uintm unique_base; ///< Starting offset into unique space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:168:60: error: ‘struct ContextSet’ has no member named ‘mask’ 168 | contcache->setContext(commitaddr,(*iter).num,(*iter).mask,(*iter).value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:168:73: error: ‘struct ContextSet’ has no member named ‘value’ 168 | contcache->setContext(commitaddr,(*iter).num,(*iter).mask,(*iter).value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh: In member function ‘Address AddrSpaceManager::createConstFromSpace(AddrSpace*) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:529:33: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 529 | return Address(constantspace,(uintb)(uintp)spc); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:171:20: error: ‘class Address’ has no member named ‘getOffset’ 171 | if (nextaddr.getOffset() < commitaddr.getOffset()) | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:171:45: error: ‘class Address’ has no member named ‘getOffset’ 171 | if (nextaddr.getOffset() < commitaddr.getOffset()) | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void EmitXml::resetDefaultsInternal()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:83:38: error: ‘indentincrement’ was not declared in this scope; did you mean ‘setIndentIncrement’? 83 | void resetDefaultsInternal(void) { indentincrement = 2; } ///< Set options to default values for EmitXml | ^~~~~~~~~~~~~~~ | setIndentIncrement /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:172:50: error: ‘struct ContextSet’ has no member named ‘num’ 172 | contcache->setContext(commitaddr,(*iter).num,(*iter).mask,(*iter).value); | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:172:62: error: ‘struct ContextSet’ has no member named ‘mask’ 172 | contcache->setContext(commitaddr,(*iter).num,(*iter).mask,(*iter).value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:172:75: error: ‘struct ContextSet’ has no member named ‘value’ 172 | contcache->setContext(commitaddr,(*iter).num,(*iter).mask,(*iter).value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:612:90: error: ‘numbytes’ was not declared in this scope; did you mean ‘numbits’? 612 | VarnodeTpl *res = new VarnodeTpl(basevn->getSpace(),specialoff,ConstTpl(ConstTpl::real,numbytes)); | ^~~~~~~~ | numbits /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:174:59: error: ‘struct ContextSet’ has no member named ‘num’ 174 | contcache->setContext(commitaddr,nextaddr,(*iter).num,(*iter).mask,(*iter).value); | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:298:3: error: ‘int4’ does not name a type; did you mean ‘int’? 298 | int4 alignment; ///< Byte modulo on which instructions are aligned | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:174:71: error: ‘struct ContextSet’ has no member named ‘mask’ 174 | contcache->setContext(commitaddr,nextaddr,(*iter).num,(*iter).mask,(*iter).value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:174:84: error: ‘struct ContextSet’ has no member named ‘value’ 174 | contcache->setContext(commitaddr,nextaddr,(*iter).num,(*iter).mask,(*iter).value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh: In constructor ‘SourceFileIndexer::SourceFileIndexer()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:36:26: error: ‘leastUnusedIndex’ was not declared in this scope 36 | SourceFileIndexer() {leastUnusedIndex = 0;} | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:179:54: error: ‘int4’ has not been declared 179 | void ParserWalker::setOutOfBandState(Constructor *ct,int4 index,ConstructState *tempstate,const ParserWalker &otherwalker) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:898:3: error: ‘wholeCount’ was not declared in this scope 898 | wholeCount=0; | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:616:62: error: ‘uint4’ has not been declared 616 | vector *PcodeCompile::assignBitRange(VarnodeTpl *vn,uint4 bitoffset,uint4 numbits,ExprTree *rhs) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:616:78: error: ‘uint4’ has not been declared 616 | vector *PcodeCompile::assignBitRange(VarnodeTpl *vn,uint4 bitoffset,uint4 numbits,ExprTree *rhs) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 1 is invalid 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 1 is invalid 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:58:16: error: ‘int4’ does not name a type; did you mean ‘int’? 58 | static const int4 SLA_FORMAT_VERSION; ///< Current version of the .sla file read/written by SleighBash | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:529:40: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 529 | return Address(constantspace,(uintb)(uintp)spc); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isOverlayBase() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:435:12: error: ‘flags’ was not declared in this scope 435 | return ((flags&overlaybase)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:67:3: error: ‘unique_allocatemask’ was not declared in this scope 67 | unique_allocatemask = 0; | ^~~~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:536:8: error: ‘int4’ does not name a type; did you mean ‘int’? 536 | inline int4 AddrSpaceManager::numSpaces(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:545:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 545 | inline AddrSpace *AddrSpaceManager::getSpace(int4 i) const { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:545:19: error: ‘AddrSpace* AddrSpaceManager::getSpace’ is not a static data member of ‘class AddrSpaceManager’ 545 | inline AddrSpace *AddrSpaceManager::getSpace(int4 i) const { | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:897:3: error: ‘symbolId’ was not declared in this scope; did you mean ‘Symbol’? 897 | symbolId=0; | ^~~~~~~~ | Symbol /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc: In member function ‘void ParserWalker::setOutOfBandState(Constructor*, int, ConstructState*, const ParserWalker&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:183:3: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 183 | int4 curdepth = otherwalker.depth; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 1 is invalid 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:39: error: ‘vector’ is not a type 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:45: error: expected ‘,’ or ‘...’ before ‘<’ token 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc: In member function ‘std::vector* PcodeCompile::assignBitRange(VarnodeTpl*, int, int, ExprTree*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:622:3: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 622 | uint4 smallsize = (numbits+7)/8; // Size of input (output of rhs) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 1 is invalid 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:39: error: ‘vector’ is not a type 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:45: error: expected ‘,’ or ‘...’ before ‘<’ token 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:284:11: error: ‘uintm’ does not name a type; did you mean ‘uint’? 284 | virtual uintm *getDefaultValue(void) { return database.defaultValue().array; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:284:11: error: ‘uintm’ does not name a type; did you mean ‘uint’? 284 | virtual uintm *getDefaultValue(void) { return database.defaultValue().array; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:302:22: error: ‘uintm’ has not been declared 302 | void setUniqueBase(uintm val); ///< Set the base offset for new temporary registers | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:285:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 285 | virtual const uintm *getDefaultValue(void) const { return database.defaultValue().array; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:307:37: error: ‘int4’ has not been declared 307 | const FloatFormat *getFloatFormat(int4 size) const; ///< Get format for a particular floating point encoding | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In constructor ‘EmitXml::EmitXml()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:85:37: error: ‘indentlevel’ was not declared in this scope 85 | EmitXml(void) { s = (ostream *)0; indentlevel=0; parenlevel=0; resetDefaultsInternal(); } ///< Constructor | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:285:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 285 | virtual const uintm *getDefaultValue(void) const { return database.defaultValue().array; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:545:46: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 545 | inline AddrSpace *AddrSpaceManager::getSpace(int4 i) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:289:11: error: ‘int4’ does not name a type; did you mean ‘int’? 289 | virtual int4 getContextSize(void) const { return size; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:290:50: error: ‘int4’ has not been declared 290 | virtual void registerVariable(const string &nm,int4 sbit,int4 ebit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:290:60: error: ‘int4’ has not been declared 290 | virtual void registerVariable(const string &nm,int4 sbit,int4 ebit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:564:13: error: variable or field ‘setUniqueBase’ declared void 564 | inline void Translate::setUniqueBase(uintm val) { | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:289:11: error: ‘int4’ does not name a type; did you mean ‘int’? 289 | virtual int4 getContextSize(void) const { return size; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:290:50: error: ‘int4’ has not been declared 290 | virtual void registerVariable(const string &nm,int4 sbit,int4 ebit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:290:60: error: ‘int4’ has not been declared 290 | virtual void registerVariable(const string &nm,int4 sbit,int4 ebit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:625:3: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 625 | uintb mask = (uintb)2; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:308:3: error: ‘int4’ does not name a type; did you mean ‘int’? 308 | int4 getAlignment(void) const; ///< Get the instruction alignment for the processor | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In constructor ‘Symbol::Symbol(Scope*, const string&, Datatype*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:891:3: error: ‘nameDedup’ was not declared in this scope 891 | nameDedup=0; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:292:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 292 | virtual const uintm *getContext(const Address &addr) const { return database.getValue(addr).array; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:292:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 292 | virtual const uintm *getContext(const Address &addr) const { return database.getValue(addr).array; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isOtherSpace() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:439:12: error: ‘flags’ was not declared in this scope 439 | return ((flags&is_otherspace)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:900:3: error: ‘depthResolution’ was not declared in this scope 900 | depthResolution = 0; | ^~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:293:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 293 | virtual const uintm *getContext(const Address &addr,uintb &first,uintb &last) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:309:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 309 | uintm getUniqueBase(void) const; ///< Get the base offset for new temporary registers | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:328:51: error: ‘int4’ has not been declared 328 | virtual void registerContext(const string &name,int4 sbit,int4 ebit) {} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:328:61: error: ‘int4’ has not been declared 328 | virtual void registerContext(const string &name,int4 sbit,int4 ebit) {} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:293:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 293 | virtual const uintm *getContext(const Address &addr,uintb &first,uintb &last) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:337:53: error: ‘uintm’ has not been declared 337 | virtual void setContextDefault(const string &name,uintm val) {} | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:564:38: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 564 | inline void Translate::setUniqueBase(uintm val) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:357:61: error: ‘uintb’ has not been declared 357 | virtual void addRegister(const string &nm,AddrSpace *base,uintb offset,int4 size)=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:357:74: error: ‘int4’ has not been declared 357 | virtual void addRegister(const string &nm,AddrSpace *base,uintb offset,int4 size)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:376:50: error: ‘uintb’ has not been declared 376 | virtual string getRegisterName(AddrSpace *base,uintb off,int4 size) const=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:376:60: error: ‘int4’ has not been declared 376 | virtual string getRegisterName(AddrSpace *base,uintb off,int4 size) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:68:3: error: ‘numSections’ was not declared in this scope 68 | numSections = 0; | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:185:9: error: ‘curdepth’ was not declared in this scope 185 | if (curdepth <= 0) return; | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:898:3: error: ‘wholeCount’ was not declared in this scope 898 | wholeCount=0; | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:582:8: error: ‘int4’ does not name a type; did you mean ‘int’? 582 | inline int4 Translate::getAlignment(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:403:11: error: ‘int4’ does not name a type; did you mean ‘int’? 403 | virtual int4 instructionLength(const Address &baseaddr) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:592:8: error: ‘uintm’ does not name a type; did you mean ‘uint’? 592 | inline uintm Translate::getUniqueBase(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:626:3: error: ‘mask’ was not declared in this scope 626 | mask = ~(((mask<<(numbits-1))-1) << bitoffset); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:418:11: error: ‘int4’ does not name a type; did you mean ‘int’? 418 | virtual int4 oneInstruction(PcodeEmit &emit,const Address &baseaddr) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:631:10: error: expected ‘;’ before ‘symsize’ 631 | uint4 symsize = vn->getSize().getReal(); | ^~~~~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:893:3: error: ‘flags’ was not declared in this scope 893 | flags=0; | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh:20, from src/decompile/cpp/pcodeparse.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:39:5: error: ‘int4’ does not name a type; did you mean ‘int’? 39 | int4 index(const string filename); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:428:11: error: ‘int4’ does not name a type; did you mean ‘int’? 428 | virtual int4 printAssembly(AssemblyEmit &emit,const Address &baseaddr) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:85:52: error: ‘parenlevel’ was not declared in this scope 85 | EmitXml(void) { s = (ostream *)0; indentlevel=0; parenlevel=0; resetDefaultsInternal(); } ///< Constructor | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: In constructor ‘ContextInternal::FreeArray::FreeArray()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:23: error: ‘size’ was not declared in this scope 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:37: error: missing template arguments before ‘=’ token 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: In constructor ‘ContextInternal::FreeArray::FreeArray()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:23: error: ‘size’ was not declared in this scope 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:40:9: error: ‘int4’ does not name a type; did you mean ‘int’? 40 | int4 getIndex(const string); ///< get the index of a file. Error if the file is not in the index. | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:37: error: missing template arguments before ‘=’ token 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:41:28: error: ‘int4’ has not been declared 41 | string getFilename(int4); ///< get the filename corresponding to an index | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:434:8: error: ‘int4’ does not name a type; did you mean ‘int’? 434 | inline int4 AddrSpaceManager::getDefaultSize(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::isTruncated() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:445:12: error: ‘flags’ was not declared in this scope 445 | return ((flags&truncated)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:64:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 64 | uint4 maxdelayslotbytes; ///< Maximum number of bytes in a delay-slot directive | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:518:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 518 | inline Address AddrSpaceManager::getConstant(uintb val) const { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:46:9: error: ‘int4’ does not name a type; did you mean ‘int’? 46 | int4 leastUnusedIndex; ///< one-up count for assigning indices to files | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:518:16: error: ‘Address AddrSpaceManager::getConstant’ is not a static data member of ‘class AddrSpaceManager’ 518 | inline Address AddrSpaceManager::getConstant(uintb val) const { | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:186:5: error: ‘curdepth’ was not declared in this scope 186 | curdepth -= 1; | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In constructor ‘Symbol::Symbol(Scope*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:908:3: error: ‘nameDedup’ was not declared in this scope 908 | nameDedup=0; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:65:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 65 | uint4 unique_allocatemask; ///< Bits that are guaranteed to be zero in the unique allocation scheme | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:190:7: error: expected ‘;’ before ‘i’ 190 | int4 i = sym->getOffsetBase(); | ^~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:40: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:47: error: expected primary-expression before ‘)’ token 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:632:9: error: ‘symsize’ was not declared in this scope; did you mean ‘dysize’? 632 | if (symsize > 0) | ^~~~~~~ | dysize /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:40: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:47: error: expected primary-expression before ‘)’ token 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:66:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 66 | uint4 numSections; ///< Number of \e named sections | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:47:13: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 47 | map indexToFile; ///< map from indices to files | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:47:25: error: template argument 1 is invalid 47 | map indexToFile; ///< map from indices to files | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:47:25: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:47:25: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:518:46: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 518 | inline Address AddrSpaceManager::getConstant(uintb val) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:518:57: error: expected ‘,’ or ‘;’ before ‘const’ 518 | inline Address AddrSpaceManager::getConstant(uintb val) const { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:900:3: error: ‘depthResolution’ was not declared in this scope 900 | depthResolution = 0; | ^~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:894:3: error: ‘dispflags’ was not declared in this scope 894 | dispflags=0; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:72:16: error: ‘uintb’ does not name a type; did you mean ‘uint’? 72 | static const uintb MAX_UNIQUE_SIZE; ///< Maximum size of a varnode in the unique space (should match value in SleighBase.java) | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:76:61: error: ‘uintb’ has not been declared 76 | virtual void addRegister(const string &nm,AddrSpace *base,uintb offset,int4 size); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:76:74: error: ‘int4’ has not been declared 76 | virtual void addRegister(const string &nm,AddrSpace *base,uintb offset,int4 size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:78:50: error: ‘uintb’ has not been declared 78 | virtual string getRegisterName(AddrSpace *base,uintb off,int4 size) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:78:60: error: ‘int4’ has not been declared 78 | virtual string getRegisterName(AddrSpace *base,uintb off,int4 size) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:196:7: error: ‘i’ was not declared in this scope 196 | if (i<0) | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:83:28: error: ‘uintm’ has not been declared 83 | SleighSymbol *findSymbol(uintm id) const { return symtab.findSymbol(id); } ///< Find a specific SLEIGH symbol by id | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:197:16: error: ‘struct ConstructState’ has no member named ‘offset’ 197 | tempstate->offset = pt->offset + sym->getRelativeOffset(); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:197:29: error: ‘const struct ConstructState’ has no member named ‘offset’ 197 | tempstate->offset = pt->offset + sym->getRelativeOffset(); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:197:43: error: ‘class OperandSymbol’ has no member named ‘getRelativeOffset’ 197 | tempstate->offset = pt->offset + sym->getRelativeOffset(); | ^~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:199:16: error: ‘struct ConstructState’ has no member named ‘offset’ 199 | tempstate->offset = pt->resolve[index]->offset; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:199:45: error: ‘struct ConstructState’ has no member named ‘offset’ 199 | tempstate->offset = pt->resolve[index]->offset; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:202:14: error: ‘struct ConstructState’ has no member named ‘length’ 202 | tempstate->length = pt->length; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:202:27: error: ‘const struct ConstructState’ has no member named ‘length’ 202 | tempstate->length = pt->length; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:51: error: ‘mask’ was not declared in this scope 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:66: error: expected primary-expression before ‘)’ token 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘virtual void EmitXml::clear()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:140:30: error: ‘parenlevel’ was not declared in this scope 140 | virtual void clear(void) { parenlevel = 0; indentlevel=0; } ///< Reset the emitter to its initial state | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:910:3: error: ‘flags’ was not declared in this scope 910 | flags=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:51: error: ‘mask’ was not declared in this scope 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:66: error: expected primary-expression before ‘)’ token 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In member function ‘bool AddrSpace::hasNearPointers() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:449:12: error: ‘flags’ was not declared in this scope 449 | return ((flags&has_nearpointers)!=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:48:21: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 48 | map fileToIndex; ///< map from files to indices | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:48:25: error: template argument 2 is invalid 48 | map fileToIndex; ///< map from files to indices | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:48:25: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh: In member function ‘Address AddrSpaceManager::createConstFromSpace(AddrSpace*) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:529:33: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 529 | return Address(constantspace,(uintb)(uintp)spc); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:456:8: error: ‘int4’ does not name a type; did you mean ‘int’? 456 | inline int4 AddrSpace::numSpacebase(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:464:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 464 | inline const VarnodeData &AddrSpace::getSpacebase(int4 i) const { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:464:27: error: ‘const VarnodeData& AddrSpace::getSpacebase’ is not a static data member of ‘class AddrSpace’ 464 | inline const VarnodeData &AddrSpace::getSpacebase(int4 i) const { | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:633:31: error: ‘smallsize’ was not declared in this scope 633 | zextneeded = (symsize > smallsize); | ^~~~~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:36:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 36 | uintb calling_index; ///< Index of instruction containing relative offset | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: In destructor ‘ContextInternal::FreeArray::~FreeArray()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:268:28: error: ‘size’ was not declared in this scope 268 | ~FreeArray(void) { if (size!=0) { delete [] array; delete [] mask; } } ///< Destructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:268:54: error: missing template arguments before ‘;’ token 268 | ~FreeArray(void) { if (size!=0) { delete [] array; delete [] mask; } } ///< Destructor | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:46:3: error: ‘int4’ does not name a type; did you mean ‘int’? 46 | int4 isize; ///< Number of input Varnodes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: In destructor ‘ContextInternal::FreeArray::~FreeArray()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:268:28: error: ‘size’ was not declared in this scope 268 | ~FreeArray(void) { if (size!=0) { delete [] array; delete [] mask; } } ///< Destructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:268:54: error: missing template arguments before ‘;’ token 268 | ~FreeArray(void) { if (size!=0) { delete [] array; delete [] mask; } } ///< Destructor | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:204:3: error: ‘depth’ was not declared in this scope 204 | depth = 0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:895:3: error: ‘category’ was not declared in this scope 895 | category=-1; | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:529:40: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 529 | return Address(constantspace,(uintb)(uintp)spc); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In constructor ‘Symbol::Symbol(Scope*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:908:3: error: ‘nameDedup’ was not declared in this scope 908 | nameDedup=0; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:536:8: error: ‘int4’ does not name a type; did you mean ‘int’? 536 | inline int4 AddrSpaceManager::numSpaces(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:545:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 545 | inline AddrSpace *AddrSpaceManager::getSpace(int4 i) const { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:545:19: error: ‘AddrSpace* AddrSpaceManager::getSpace’ is not a static data member of ‘class AddrSpaceManager’ 545 | inline AddrSpace *AddrSpaceManager::getSpace(int4 i) const { | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:911:3: error: ‘dispflags’ was not declared in this scope 911 | dispflags=0; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:464:51: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 464 | inline const VarnodeData &AddrSpace::getSpacebase(int4 i) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:472:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 472 | inline const VarnodeData &AddrSpace::getSpacebaseFull(int4 i) const { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:472:27: error: ‘const VarnodeData& AddrSpace::getSpacebaseFull’ is not a static data member of ‘class AddrSpace’ 472 | inline const VarnodeData &AddrSpace::getSpacebaseFull(int4 i) const { | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:634:5: error: ‘symsize’ was not declared in this scope; did you mean ‘dysize’? 634 | symsize *= 8; // Convert to number of bits | ^~~~~~~ | dysize /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:140:46: error: ‘indentlevel’ was not declared in this scope 140 | virtual void clear(void) { parenlevel = 0; indentlevel=0; } ///< Reset the emitter to its initial state | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:268:66: error: ‘mask’ was not declared in this scope 268 | ~FreeArray(void) { if (size!=0) { delete [] array; delete [] mask; } } ///< Destructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:268:66: error: ‘mask’ was not declared in this scope 268 | ~FreeArray(void) { if (size!=0) { delete [] array; delete [] mask; } } ///< Destructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:545:46: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 545 | inline AddrSpace *AddrSpaceManager::getSpace(int4 i) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:564:13: error: variable or field ‘setUniqueBase’ declared void 564 | inline void Translate::setUniqueBase(uintm val) { | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh: In constructor ‘SourceFileIndexer::SourceFileIndexer()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:36:26: error: ‘leastUnusedIndex’ was not declared in this scope 36 | SourceFileIndexer() {leastUnusedIndex = 0;} | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:910:3: error: ‘flags’ was not declared in this scope 910 | flags=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:896:3: error: ‘catindex’ was not declared in this scope; did you mean ‘rindex’? 896 | catindex = 0; | ^~~~~~~~ | rindex /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:205:3: error: ‘breadcrumb’ was not declared in this scope 205 | breadcrumb[0] = 0; | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:208:6: error: variable or field ‘calcCurrentLength’ declared void 208 | void ParserWalkerChange::calcCurrentLength(int4 length,int4 numopers) | ^~~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:58:16: error: ‘int4’ does not name a type; did you mean ‘int’? 58 | static const int4 SLA_FORMAT_VERSION; ///< Current version of the .sla file read/written by SleighBash | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:564:38: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 564 | inline void Translate::setUniqueBase(uintm val) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:472:55: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 472 | inline const VarnodeData &AddrSpace::getSpacebaseFull(int4 i) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:582:8: error: ‘int4’ does not name a type; did you mean ‘int’? 582 | inline int4 Translate::getAlignment(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:912:3: error: ‘category’ was not declared in this scope 912 | category=-1; | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:496:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 496 | inline uintb AddrSpace::addressToByte(uintb val,uint4 ws) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:592:8: error: ‘uintm’ does not name a type; did you mean ‘uint’? 592 | inline uintm Translate::getUniqueBase(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:505:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 505 | inline uintb AddrSpace::byteToAddress(uintb val,uint4 ws) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:208:44: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 208 | void ParserWalkerChange::calcCurrentLength(int4 length,int4 numopers) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:514:8: error: ‘int4’ does not name a type; did you mean ‘int’? 514 | inline int4 AddrSpace::addressToByteInt(int4 val,uint4 ws) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:651:49: error: ‘smallsize’ was not declared in this scope 651 | force_size(rhs->outvn,ConstTpl(ConstTpl::real,smallsize),*rhs->ops); | ^~~~~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:39:5: error: ‘int4’ does not name a type; did you mean ‘int’? 39 | int4 index(const string filename); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘virtual void EmitXml::stopIndent(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:156:38: error: ‘indentlevel’ was not declared in this scope 156 | virtual void stopIndent(int4 id) { indentlevel-=indentincrement; } | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:523:8: error: ‘int4’ does not name a type; did you mean ‘int’? 523 | inline int4 AddrSpace::byteToAddressInt(int4 val,uint4 ws) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh: In static member function ‘static bool AddrSpace::compareByIndex(const AddrSpace*, const AddrSpace*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:532:14: error: ‘const class AddrSpace’ has no member named ‘index’ 532 | return (a->index < b->index); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:532:25: error: ‘const class AddrSpace’ has no member named ‘index’ 532 | return (a->index < b->index); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:897:3: error: ‘symbolId’ was not declared in this scope; did you mean ‘Symbol’? 897 | symbolId=0; | ^~~~~~~~ | Symbol /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:40:9: error: ‘int4’ does not name a type; did you mean ‘int’? 40 | int4 getIndex(const string); ///< get the index of a file. Error if the file is not in the index. | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:41:28: error: ‘int4’ has not been declared 41 | string getFilename(int4); ///< get the filename corresponding to an index | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.cc:208:56: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 208 | void ParserWalkerChange::calcCurrentLength(int4 length,int4 numopers) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:911:3: error: ‘dispflags’ was not declared in this scope 911 | dispflags=0; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:680:60: error: ‘uint4’ has not been declared 680 | ExprTree *PcodeCompile::createBitRange(SpecificSymbol *sym,uint4 bitoffset,uint4 numbits) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:680:76: error: ‘uint4’ has not been declared 680 | ExprTree *PcodeCompile::createBitRange(SpecificSymbol *sym,uint4 bitoffset,uint4 numbits) | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:20: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:49:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 49 | uintb offset; ///< Offset (in bytes) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:46:9: error: ‘int4’ does not name a type; did you mean ‘int’? 46 | int4 leastUnusedIndex; ///< one-up count for assigning indices to files | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:58:25: error: ‘uintb’ has not been declared 58 | Address(AddrSpace *id,uintb off); ///< Construct an address with a space/offset pair | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:62:3: error: ‘int4’ does not name a type; did you mean ‘int’? 62 | int4 getAddrSize(void) const; ///< Get the number of bytes in the address | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:913:3: error: ‘catindex’ was not declared in this scope; did you mean ‘rindex’? 913 | catindex = 0; | ^~~~~~~~ | rindex /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:65:3: error: ‘int4’ does not name a type; did you mean ‘int’? 65 | int4 read(const string &s); ///< Read in the address from a string | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:67:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 67 | uintb getOffset(void) const; ///< Get the address offset | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:47:13: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 47 | map indexToFile; ///< map from indices to files | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:47:25: error: template argument 1 is invalid 47 | map indexToFile; ///< map from indices to files | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:47:25: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:47:25: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:75:21: error: ‘int4’ has not been declared 75 | Address operator+(int4 off) const; ///< Increment address by a number of bytes | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:76:21: error: ‘int4’ has not been declared 76 | Address operator-(int4 off) const; ///< Decrement address by a number of bytes | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc: In member function ‘ExprTree* PcodeCompile::createBitRange(SpecificSymbol*, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:690:3: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 690 | uint4 finalsize = (numbits+7)/8; // Round up to neareast byte size | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:691:8: error: expected ‘;’ before ‘truncshift’ 691 | uint4 truncshift = 0; | ^~~~~~~~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:78:20: error: ‘int4’ has not been declared 78 | bool containedBy(int4 sz,const Address &op2,int4 sz2) const; ///< Determine if \e op2 range contains \b this range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:78:47: error: ‘int4’ has not been declared 78 | bool containedBy(int4 sz,const Address &op2,int4 sz2) const; ///< Determine if \e op2 range contains \b this range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:79:3: error: ‘int4’ does not name a type; did you mean ‘int’? 79 | int4 justifiedContain(int4 sz,const Address &op2,int4 sz2,bool forceleft) const; ///< Determine if \e op2 is the least significant part of \e this. | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:156:51: error: ‘indentincrement’ was not declared in this scope; did you mean ‘setIndentIncrement’? 156 | virtual void stopIndent(int4 id) { indentlevel-=indentincrement; } | ^~~~~~~~~~~~~~~ | setIndentIncrement In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:20: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:80:3: error: ‘int4’ does not name a type; did you mean ‘int’? 80 | int4 overlap(int4 skip,const Address &op,int4 size) const; ///< Determine how two address ranges overlap | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:81:21: error: ‘int4’ has not been declared 81 | bool isContiguous(int4 sz,const Address &loaddr,int4 losz) const; ///< Does \e this form a contigous range with \e loaddr | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:81:51: error: ‘int4’ has not been declared 81 | bool isContiguous(int4 sz,const Address &loaddr,int4 losz) const; ///< Does \e this form a contigous range with \e loaddr | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:912:3: error: ‘category’ was not declared in this scope 912 | category=-1; | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:83:20: error: ‘int4’ has not been declared 83 | void renormalize(int4 size); ///< Make sure there is a backing JoinRecord if \b this is in the \e join space | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:86:27: error: ‘int4’ has not been declared 86 | void saveXml(ostream &s,int4 size) const; ///< Save this and a size to a stream as an XML tag | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:898:3: error: ‘wholeCount’ was not declared in this scope 898 | wholeCount=0; | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:92:78: error: ‘int4’ has not been declared 92 | static Address restoreXml(const Element *el,const AddrSpaceManager *manage,int4 &size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:62:10: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 62 | vector labels; ///< Locations of labels | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:62:15: error: template argument 1 is invalid 62 | vector labels; ///< Locations of labels | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:62:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:63:27: error: ‘uint4’ has not been declared 63 | VarnodeData *expandPool(uint4 size); ///< Expand the memory pool | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:48:21: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 48 | map fileToIndex; ///< map from files to indices | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:48:25: error: template argument 2 is invalid 48 | map fileToIndex; ///< map from files to indices | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:48:25: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:72:33: error: ‘uint4’ has not been declared 72 | VarnodeData *allocateVarnodes(uint4 size) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:93:17: error: ‘uint4’ has not been declared 93 | void addLabel(uint4 id); ///< Attach a label to the \e next p-code instruction | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:113:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 113 | uintm uniq; ///< Number to guarantee uniqueness | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:914:3: error: ‘symbolId’ was not declared in this scope; did you mean ‘Symbol’? 914 | symbolId = 0; | ^~~~~~~~ | Symbol /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:114:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 114 | uintm order; ///< Number for order comparisons within a block | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:120:27: error: ‘uintm’ has not been declared 120 | SeqNum(const Address &a,uintm b) : pc(a) { uniq = b; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:64:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 64 | uint4 maxdelayslotbytes; ///< Maximum number of bytes in a delay-slot directive | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:129:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 129 | uintm getTime(void) const { return uniq; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:108:3: error: ‘int4’ does not name a type; did you mean ‘int’? 108 | int4 minimumreuse; ///< Can call getParserContext this many times, before a ParserContext is reused | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:132:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 132 | uintm getOrder(void) const { return order; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:135:17: error: ‘uintm’ has not been declared 135 | void setOrder(uintm ord) { order = ord; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:65:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 65 | uint4 unique_allocatemask; ///< Bits that are guaranteed to be zero in the unique allocation scheme | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:699:43: error: ‘finalsize’ was not declared in this scope 699 | vn->setSize(ConstTpl(ConstTpl::real,finalsize)); | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:109:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 109 | uint4 mask; ///< Size of the hashtable in form 2^n-1 | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:66:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 66 | uint4 numSections; ///< Number of \e named sections | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:913:3: error: ‘catindex’ was not declared in this scope; did you mean ‘rindex’? 913 | catindex = 0; | ^~~~~~~~ | rindex /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void EmitXml::setIndentIncrement(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:217:39: error: ‘indentincrement’ was not declared in this scope; did you mean ‘setIndentIncrement’? 217 | void setIndentIncrement(int4 val) { indentincrement = val; } | ^~~~~~~~~~~~~~~ | setIndentIncrement /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:111:3: error: ‘int4’ does not name a type; did you mean ‘int’? 111 | int4 nextfree; ///< Current end/beginning of circular list | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:719:10: error: expected ‘;’ before ‘insize’ 719 | uint4 insize = vn->getSize().getReal(); | ^~~~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:113:19: error: ‘int4’ has not been declared 113 | void initialize(int4 min,int4 hashsize); ///< Initialize the hash-table of ParserContexts | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:113:28: error: ‘int4’ has not been declared 113 | void initialize(int4 min,int4 hashsize); ///< Initialize the hash-table of ParserContexts | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:116:59: error: ‘int4’ has not been declared 116 | DisassemblyCache(ContextCache *ccache,AddrSpace *cspace,int4 cachesize,int4 windowsize); ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:116:74: error: ‘int4’ has not been declared 116 | DisassemblyCache(ContextCache *ccache,AddrSpace *cspace,int4 cachesize,int4 windowsize); ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:72:16: error: ‘uintb’ does not name a type; did you mean ‘uint’? 72 | static const uintb MAX_UNIQUE_SIZE; ///< Maximum size of a varnode in the unique space (should match value in SleighBase.java) | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh:20, from src/decompile/cpp/pcodeparse.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:76:61: error: ‘uintb’ has not been declared 76 | virtual void addRegister(const string &nm,AddrSpace *base,uintb offset,int4 size); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:76:74: error: ‘int4’ has not been declared 76 | virtual void addRegister(const string &nm,AddrSpace *base,uintb offset,int4 size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: In constructor ‘ContextInternal::ContextInternal()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:287:27: error: ‘size’ was not declared in this scope 287 | ContextInternal(void) { size = 0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:78:50: error: ‘uintb’ has not been declared 78 | virtual string getRegisterName(AddrSpace *base,uintb off,int4 size) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:78:60: error: ‘int4’ has not been declared 78 | virtual string getRegisterName(AddrSpace *base,uintb off,int4 size) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:228:11: error: ‘int4’ does not name a type; did you mean ‘int’? 228 | virtual int4 beginDocument(void) { return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: In constructor ‘ContextInternal::ContextInternal()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:287:27: error: ‘size’ was not declared in this scope 287 | ContextInternal(void) { size = 0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:229:28: error: ‘int4’ has not been declared 229 | virtual void endDocument(int4 id) {} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:83:28: error: ‘uintm’ has not been declared 83 | SleighSymbol *findSymbol(uintm id) const { return symtab.findSymbol(id); } ///< Find a specific SLEIGH symbol by id | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:132:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 132 | uintb uniquemask; ///< Mask of address bits to use to uniquify temporary registers | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:900:3: error: ‘depthResolution’ was not declared in this scope 900 | depthResolution = 0; | ^~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:230:11: error: ‘int4’ does not name a type; did you mean ‘int’? 230 | virtual int4 beginFunction(const Funcdata *fd) { return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:231:28: error: ‘int4’ has not been declared 231 | virtual void endFunction(int4 id) {} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:915:3: error: ‘wholeCount’ was not declared in this scope 915 | wholeCount=0; | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:133:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 133 | uintb uniqueoffset; ///< Uniquifier bits for \b this instruction | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:136:35: error: ‘int4’ has not been declared 136 | void buildEmpty(Constructor *ct,int4 secnum); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:141:106: error: ‘uint4’ has not been declared 141 | SleighBuilder(ParserWalker *w,DisassemblyCache *dcache,PcodeCacher *pc,AddrSpace *cspc,AddrSpace *uspc,uint4 umask); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:313:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 313 | mutable uintb first; ///< Starting offset of the current valid range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh: In constructor ‘SourceFileIndexer::SourceFileIndexer()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:36:26: error: ‘leastUnusedIndex’ was not declared in this scope 36 | SourceFileIndexer() {leastUnusedIndex = 0;} | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:142:39: error: ‘int4’ has not been declared 142 | virtual void appendBuild(OpTpl *bld,int4 secnum); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:145:44: error: ‘int4’ has not been declared 145 | virtual void appendCrossBuild(OpTpl *bld,int4 secnum); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:232:11: error: ‘int4’ does not name a type; did you mean ‘int’? 232 | virtual int4 beginBlock(const FlowBlock *bl) { return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:233:25: error: ‘int4’ has not been declared 233 | virtual void endBlock(int4 id) {} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:313:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 313 | mutable uintb first; ///< Starting offset of the current valid range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:234:24: error: ‘int4’ has not been declared 234 | virtual void tagLine(int4 indent) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:166:52: error: ‘int4’ has not been declared 166 | ParserContext *obtainContext(const Address &addr,int4 state) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:175:51: error: ‘int4’ has not been declared 175 | virtual void registerContext(const string &name,int4 sbit,int4 ebit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In constructor ‘SeqNum::SeqNum(const Address&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:120:46: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 120 | SeqNum(const Address &a,uintm b) : pc(a) { uniq = b; } | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:175:61: error: ‘int4’ has not been declared 175 | virtual void registerContext(const string &name,int4 sbit,int4 ebit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:720:9: error: ‘insize’ was not declared in this scope; did you mean ‘dysize’? 720 | if (insize > 0) { | ^~~~~~ | dysize /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:176:51: error: ‘uintm’ has not been declared 176 | virtual void setContextDefault(const string &nm,uintm val); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:314:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 314 | mutable uintb last; ///< Ending offset of the current valid range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:914:3: error: ‘symbolId’ was not declared in this scope; did you mean ‘Symbol’? 914 | symbolId = 0; | ^~~~~~~~ | Symbol In file included from src/decompile/cpp/pcodeparse.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh:26:3: error: ‘int4’ does not name a type; did you mean ‘int’? 26 | int4 id; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:236:11: error: ‘int4’ does not name a type; did you mean ‘int’? 236 | virtual int4 beginReturnType(const Varnode *vn) { return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:237:30: error: ‘int4’ has not been declared 237 | virtual void endReturnType(int4 id) {} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:58:16: error: ‘int4’ does not name a type; did you mean ‘int’? 58 | static const int4 SLA_FORMAT_VERSION; ///< Current version of the .sla file read/written by SleighBash | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:314:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 314 | mutable uintb last; ///< Ending offset of the current valid range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:315:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 315 | mutable const uintm *context; ///< The current cached context blob | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:178:11: error: ‘int4’ does not name a type; did you mean ‘int’? 178 | virtual int4 instructionLength(const Address &baseaddr) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:320:39: error: ‘uintm’ has not been declared 320 | void getContext(const Address &addr,uintm *buf) const; ///< Retrieve the context blob for the given address | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:321:39: error: ‘int4’ has not been declared 321 | void setContext(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:321:48: error: ‘uintm’ has not been declared 321 | void setContext(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:321:59: error: ‘uintm’ has not been declared 321 | void setContext(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:238:11: error: ‘int4’ does not name a type; did you mean ‘int’? 238 | virtual int4 beginVarDecl(const Symbol *sym) { return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:239:27: error: ‘int4’ has not been declared 239 | virtual void endVarDecl(int4 id) {} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:322:61: error: ‘int4’ has not been declared 322 | void setContext(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:322:70: error: ‘uintm’ has not been declared 322 | void setContext(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:322:81: error: ‘uintm’ has not been declared 322 | void setContext(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:315:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 315 | mutable const uintm *context; ///< The current cached context blob | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh:46:3: error: ‘int4’ does not name a type; did you mean ‘int’? 46 | int4 curstate; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:320:39: error: ‘uintm’ has not been declared 320 | void getContext(const Address &addr,uintm *buf) const; ///< Retrieve the context blob for the given address | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc: In member function ‘void SleighBase::buildXrefs(std::vector >&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:92:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 92 | int4 index = ((UserOpSymbol *)sym)->getIndex(); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:321:39: error: ‘int4’ has not been declared 321 | void setContext(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:321:48: error: ‘uintm’ has not been declared 321 | void setContext(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:179:11: error: ‘int4’ does not name a type; did you mean ‘int’? 179 | virtual int4 oneInstruction(PcodeEmit &emit,const Address &baseaddr) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:321:59: error: ‘uintm’ has not been declared 321 | void setContext(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:322:61: error: ‘int4’ has not been declared 322 | void setContext(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:322:70: error: ‘uintm’ has not been declared 322 | void setContext(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:93:27: error: invalid operands of types ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘’ to binary ‘operator<=’ 93 | while(userop.size() <= index) | ~~~~~~~~~~~~~~^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:240:11: error: ‘int4’ does not name a type; did you mean ‘int’? 240 | virtual int4 beginStatement(const PcodeOp *op) { return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:241:29: error: ‘int4’ has not been declared 241 | virtual void endStatement(int4 id) {} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:95:13: error: no match for ‘operator[]’ (operand types are ‘std::vector >’ and ‘’) 95 | userop[index] = sym->getName(); | ^ In file included from /usr/include/c++/11.2.0/vector:67, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:31, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:16: /usr/include/c++/11.2.0/bits/stl_vector.h:1043:7: note: candidate: ‘std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) [with _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >; std::vector<_Tp, _Alloc>::reference = std::__cxx11::basic_string&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]’ 1043 | operator[](size_type __n) _GLIBCXX_NOEXCEPT | ^~~~~~~~ /usr/include/c++/11.2.0/bits/stl_vector.h:1043:28: note: no known conversion for argument 1 from ‘’ to ‘std::vector >::size_type’ {aka ‘long unsigned int’} 1043 | operator[](size_type __n) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:322:81: error: ‘uintm’ has not been declared 322 | void setContext(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~~ /usr/include/c++/11.2.0/bits/stl_vector.h:1061:7: note: candidate: ‘std::vector<_Tp, _Alloc>::const_reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) const [with _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >; std::vector<_Tp, _Alloc>::const_reference = const std::__cxx11::basic_string&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]’ 1061 | operator[](size_type __n) const _GLIBCXX_NOEXCEPT | ^~~~~~~~ /usr/include/c++/11.2.0/bits/stl_vector.h:1061:28: note: no known conversion for argument 1 from ‘’ to ‘std::vector >::size_type’ {aka ‘long unsigned int’} 1061 | operator[](size_type __n) const _GLIBCXX_NOEXCEPT | ~~~~~~~~~~^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:180:11: error: ‘int4’ does not name a type; did you mean ‘int’? 180 | virtual int4 printAssembly(AssemblyEmit &emit,const Address &baseaddr) const; | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:24:3: error: ‘int4’ does not name a type; did you mean ‘int’? 24 | int4 size; // Number of bytes in token; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh:49:3: error: ‘int4’ does not name a type; did you mean ‘int’? 49 | int4 tokpos; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:242:11: error: ‘int4’ does not name a type; did you mean ‘int’? 242 | virtual int4 beginFuncProto(void) { return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:243:29: error: ‘int4’ has not been declared 243 | virtual void endFuncProto(int4 id) {} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:255:80: error: ‘int4’ has not been declared 255 | virtual void tagField(const char *ptr,syntax_highlight hl,const Datatype *ct,int4 off) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:258:49: error: ‘uintb’ has not been declared 258 | const AddrSpace *spc,uintb off) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:261:47: error: ‘uintb’ has not been declared 261 | const AddrSpace *spc,uintb off) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:25:3: error: ‘int4’ does not name a type; did you mean ‘int’? 25 | int4 index; // Index of this token, for resolving offsets | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:28:26: error: ‘int4’ has not been declared 28 | Token(const string &nm,int4 sz,bool be,int4 ind) : name(nm) { size = sz; bigendian=be; index = ind; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:28:42: error: ‘int4’ has not been declared 28 | Token(const string &nm,int4 sz,bool be,int4 ind) : name(nm) { size = sz; bigendian=be; index = ind; } | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:24:3: error: ‘int4’ does not name a type; did you mean ‘int’? 24 | int4 size; // Number of bytes in token; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh:54:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 54 | uintb curnum; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:265:11: error: ‘int4’ does not name a type; did you mean ‘int’? 265 | virtual int4 openParen(char o,int4 id=0) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:267:34: error: ‘int4’ has not been declared 267 | virtual void closeParen(char c,int4 id) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In copy constructor ‘SeqNum::SeqNum(const SeqNum&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:123:44: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 123 | SeqNum(const SeqNum &op2) : pc(op2.pc) { uniq = op2.uniq; } | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In constructor ‘Symbol::Symbol(Scope*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:908:3: error: ‘nameDedup’ was not declared in this scope 908 | nameDedup=0; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:29:3: error: ‘int4’ does not name a type; did you mean ‘int’? 29 | int4 getSize(void) const { return size; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:123:55: error: ‘const class SeqNum’ has no member named ‘uniq’ 123 | SeqNum(const SeqNum &op2) : pc(op2.pc) { uniq = op2.uniq; } | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/loadimage.hh:58:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 58 | uintb size; ///< Number of bytes in section | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:25:3: error: ‘int4’ does not name a type; did you mean ‘int’? 25 | int4 index; // Index of this token, for resolving offsets | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:28:26: error: ‘int4’ has not been declared 28 | Token(const string &nm,int4 sz,bool be,int4 ind) : name(nm) { size = sz; bigendian=be; index = ind; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:28:42: error: ‘int4’ has not been declared 28 | Token(const string &nm,int4 sz,bool be,int4 ind) : name(nm) { size = sz; bigendian=be; index = ind; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh:60:3: error: ‘int4’ does not name a type; did you mean ‘int’? 60 | int4 findIdentifier(const string &str) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:721:22: error: ‘finalsize’ was not declared in this scope 721 | truncneeded = (finalsize < insize); | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:31:3: error: ‘int4’ does not name a type; did you mean ‘int’? 31 | int4 getIndex(void) const { return index; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/loadimage.hh:59:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 59 | uint4 flags; ///< Properties of the section | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:917:3: error: ‘depthResolution’ was not declared in this scope 917 | depthResolution = 0; | ^~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:29:3: error: ‘int4’ does not name a type; did you mean ‘int’? 29 | int4 getSize(void) const { return size; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/loadimage.hh:82:25: error: ‘uint1’ has not been declared 82 | virtual void loadFill(uint1 *ptr,int4 size,const Address &addr)=0; ///< Get data from the LoadImage | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/loadimage.hh:82:36: error: ‘int4’ has not been declared 82 | virtual void loadFill(uint1 *ptr,int4 size,const Address &addr)=0; ///< Get data from the LoadImage | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:100:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 100 | int4 startbit = field->getStartBit(); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:915:3: error: ‘wholeCount’ was not declared in this scope 915 | wholeCount=0; | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh:61:3: error: ‘int4’ does not name a type; did you mean ‘int’? 61 | int4 moveState(void); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:101:11: error: expected ‘;’ before ‘endbit’ 101 | int4 endbit = field->getEndBit(); | ^~~~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:31:3: error: ‘int4’ does not name a type; did you mean ‘int’? 31 | int4 getIndex(void) const { return index; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/loadimage.hh:92:3: error: ‘uint1’ does not name a type; did you mean ‘uint’? 92 | uint1 *load(int4 size,const Address &addr); ///< Load a chunk of image | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh:65:3: error: ‘int4’ does not name a type; did you mean ‘int’? 65 | int4 getNextToken(void); | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:32:3: error: ‘int4’ does not name a type; did you mean ‘int’? 32 | int4 size; ///< An optional/recommended size for the variable being stored | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/loadimage.hh:101:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 101 | uintb vma; ///< Address of first byte in the file | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh:67:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 67 | uintb getNumber(void) const { return curnum; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:730:3: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 730 | uintb mask = (uintb)2; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:910:3: error: ‘flags’ was not declared in this scope 910 | flags=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:34:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 34 | uint8 symbolId; ///< Id associated with the original Symbol | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In constructor ‘Token::Token(const string&, int, bool, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:28:65: error: ‘size’ was not declared in this scope 28 | Token(const string &nm,int4 sz,bool be,int4 ind) : name(nm) { size = sz; bigendian=be; index = ind; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:36:54: error: ‘int4’ has not been declared 36 | NameRecommend(const Address &ad,const Address &use,int4 sz,const string &nm,uint8 id) : | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:36:79: error: ‘uint8’ has not been declared 36 | NameRecommend(const Address &ad,const Address &use,int4 sz,const string &nm,uint8 id) : | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/loadimage.hh:103:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 103 | uintb filesize; ///< Total number of bytes in the loadimage/file | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘virtual void EmitNoXml::tagLine(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:235:21: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 235 | *s << endl; for(int4 i=indent;i>0;--i) *s << ' '; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:28:98: error: overloaded function with no contextual type information 28 | Token(const string &nm,int4 sz,bool be,int4 ind) : name(nm) { size = sz; bigendian=be; index = ind; } | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/loadimage.hh:110:25: error: ‘uint1’ has not been declared 110 | virtual void loadFill(uint1 *ptr,int4 size,const Address &addr); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/loadimage.hh:110:36: error: ‘int4’ has not been declared 110 | virtual void loadFill(uint1 *ptr,int4 size,const Address &addr); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘void SeqNum::setOrder(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:135:30: error: ‘order’ was not declared in this scope; did you mean ‘ord’? 135 | void setOrder(uintm ord) { order = ord; } | ^~~~~ | ord /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:40:3: error: ‘int4’ does not name a type; did you mean ‘int’? 40 | int4 getSize(void) const { return size; } ///< Get the optional size | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In constructor ‘Token::Token(const string&, int, bool, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:28:65: error: ‘size’ was not declared in this scope 28 | Token(const string &nm,int4 sz,bool be,int4 ind) : name(nm) { size = sz; bigendian=be; index = ind; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:28:98: error: overloaded function with no contextual type information 28 | Token(const string &nm,int4 sz,bool be,int4 ind) : name(nm) { size = sz; bigendian=be; index = ind; } | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:37:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 37 | uint4 size; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:102:39: error: ‘startbit’ was not declared in this scope; did you mean ‘static’? 102 | registerContext(csym->getName(),startbit,endbit); | ^~~~~~~~ | static /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:42:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 42 | uint8 getSymbolId(void) const { return symbolId; } ///< Get the original Symbol id | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:235:35: error: ‘i’ was not declared in this scope 235 | *s << endl; for(int4 i=indent;i>0;--i) *s << ' '; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:64:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 64 | uint4 maxdelayslotbytes; ///< Maximum number of bytes in a delay-slot directive | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:39:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 39 | uintb offset_offset; // Either static offset or ptr offset | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh: In constructor ‘NameRecommend::NameRecommend(const Address&, const Address&, int, const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:37:29: error: class ‘NameRecommend’ does not have any field named ‘size’ 37 | addr(ad), useaddr(use), size(sz), name(nm), symbolId(id) {} ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:37:49: error: class ‘NameRecommend’ does not have any field named ‘symbolId’ 37 | addr(ad), useaddr(use), size(sz), name(nm), symbolId(id) {} ///< Constructor | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:37:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 37 | uint4 size; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:731:3: error: ‘mask’ was not declared in this scope 731 | mask = ((mask<<(numbits-1))-1); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:40:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 40 | uint4 offset_size; // Size of pointer | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:65:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 65 | uint4 unique_allocatemask; ///< Bits that are guaranteed to be zero in the unique allocation scheme | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh: In member function ‘void PcodeLexer::starttoken()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh:55:50: error: ‘tokpos’ was not declared in this scope 55 | void starttoken(void) { curtoken[0] = curchar; tokpos = 1; } | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:917:3: error: ‘depthResolution’ was not declared in this scope 917 | depthResolution = 0; | ^~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:39:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 39 | uintb offset_offset; // Either static offset or ptr offset | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:42:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 42 | uintb temp_offset; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:51:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 51 | uint8 hash; ///< Hash encoding the Symbols environment | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:66:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 66 | uint4 numSections; ///< Number of \e named sections | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:40:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 40 | uint4 offset_size; // Size of pointer | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:911:3: error: ‘dispflags’ was not declared in this scope 911 | dispflags=0; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool SeqNum::operator==(const SeqNum&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:138:54: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 138 | bool operator==(const SeqNum &op2) const { return (uniq == op2.uniq); } | ^~~~ | unix In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:32:3: error: ‘int4’ does not name a type; did you mean ‘int’? 32 | int4 size; ///< An optional/recommended size for the variable being stored | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:138:66: error: ‘const class SeqNum’ has no member named ‘uniq’ 138 | bool operator==(const SeqNum &op2) const { return (uniq == op2.uniq); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:53:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 53 | uint8 symbolId; ///< Id associated with the original Symbol | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:42:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 42 | uintb temp_offset; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:72:16: error: ‘uintb’ does not name a type; did you mean ‘uint’? 72 | static const uintb MAX_UNIQUE_SIZE; ///< Maximum size of a varnode in the unique space (should match value in SleighBase.java) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:55:40: error: ‘uint8’ has not been declared 55 | DynamicRecommend(const Address &addr,uint8 h,const string &nm,uint8 id) : | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:55:65: error: ‘uint8’ has not been declared 55 | DynamicRecommend(const Address &addr,uint8 h,const string &nm,uint8 id) : | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:76:61: error: ‘uintb’ has not been declared 76 | virtual void addRegister(const string &nm,AddrSpace *base,uintb offset,int4 size); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:76:74: error: ‘int4’ has not been declared 76 | virtual void addRegister(const string &nm,AddrSpace *base,uintb offset,int4 size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:78:50: error: ‘uintb’ has not been declared 78 | virtual string getRegisterName(AddrSpace *base,uintb off,int4 size) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:102:48: error: ‘endbit’ was not declared in this scope 102 | registerContext(csym->getName(),startbit,endbit); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:78:60: error: ‘int4’ has not been declared 78 | virtual string getRegisterName(AddrSpace *base,uintb off,int4 size) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:83:28: error: ‘uintm’ has not been declared 83 | SleighSymbol *findSymbol(uintm id) const { return symtab.findSymbol(id); } ///< Find a specific SLEIGH symbol by id | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:34:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 34 | uint8 symbolId; ///< Id associated with the original Symbol | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:36:54: error: ‘int4’ has not been declared 36 | NameRecommend(const Address &ad,const Address &use,int4 sz,const string &nm,uint8 id) : | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:36:79: error: ‘uint8’ has not been declared 36 | NameRecommend(const Address &ad,const Address &use,int4 sz,const string &nm,uint8 id) : | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:58:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 58 | uint8 getHash(void) const { return hash; } ///< Get the dynamic hash | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:40:3: error: ‘int4’ does not name a type; did you mean ‘int’? 40 | int4 getSize(void) const { return size; } ///< Get the optional size | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:60:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 60 | uint8 getSymbolId(void) const { return symbolId; } ///< Get the original Symbol id | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh: In member function ‘void PcodeLexer::advancetoken()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh:56:38: error: ‘tokpos’ was not declared in this scope 56 | void advancetoken(void) { curtoken[tokpos++] = curchar; } | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh: In constructor ‘DynamicRecommend::DynamicRecommend(const Address&, int, const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:56:21: error: class ‘DynamicRecommend’ does not have any field named ‘hash’ 56 | usePoint(addr), hash(h), name(nm), symbolId(id) {} ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:56:40: error: class ‘DynamicRecommend’ does not have any field named ‘symbolId’ 56 | usePoint(addr), hash(h), name(nm), symbolId(id) {} ///< Constructor | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc: In constructor ‘PcodeCacher::PcodeCacher()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:23:3: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 23 | uint4 maxsize = 600; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:734:5: error: ‘truncshift’ was not declared in this scope 734 | truncshift = bitoffset/8; | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:42:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 42 | uint8 getSymbolId(void) const { return symbolId; } ///< Get the original Symbol id | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh: In constructor ‘NameRecommend::NameRecommend(const Address&, const Address&, int, const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:37:29: error: class ‘NameRecommend’ does not have any field named ‘size’ 37 | addr(ad), useaddr(use), size(sz), name(nm), symbolId(id) {} ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:37:49: error: class ‘NameRecommend’ does not have any field named ‘symbolId’ 37 | addr(ad), useaddr(use), size(sz), name(nm), symbolId(id) {} ///< Constructor | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool SeqNum::operator!=(const SeqNum&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:141:54: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 141 | bool operator!=(const SeqNum &op2) const { return (uniq != op2.uniq); } | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:141:66: error: ‘const class SeqNum’ has no member named ‘uniq’ 141 | bool operator!=(const SeqNum &op2) const { return (uniq != op2.uniq); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:912:3: error: ‘category’ was not declared in this scope 912 | category=-1; | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc: In member function ‘void SleighBase::reregisterContext()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:120:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 120 | int4 startbit = field->getStartBit(); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:121:11: error: expected ‘;’ before ‘endbit’ 121 | int4 endbit = field->getEndBit(); | ^~~~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:51:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 51 | uint8 hash; ///< Hash encoding the Symbols environment | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:94:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 94 | uintb start; ///< Starting offset of \b this range of bytes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh:74:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 74 | uintb tempbase; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:51:3: error: ‘int4’ does not name a type; did you mean ‘int’? 51 | int4 length; // Length of this instantiation of the constructor | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘virtual void EmitNoXml::closeParen(char, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:268:14: error: ‘parenlevel’ was not declared in this scope 268 | *s << c; parenlevel -= 1; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:53:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 53 | uint8 symbolId; ///< Id associated with the original Symbol | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:55:40: error: ‘uint8’ has not been declared 55 | DynamicRecommend(const Address &addr,uint8 h,const string &nm,uint8 id) : | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:55:65: error: ‘uint8’ has not been declared 55 | DynamicRecommend(const Address &addr,uint8 h,const string &nm,uint8 id) : | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:95:3: error: ‘int4’ does not name a type; did you mean ‘int’? 95 | int4 size; ///< Number of bytes in a single element of this range | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:52:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 52 | uint4 offset; // Absolute offset (from start of instruction) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh:75:3: error: ‘int4’ does not name a type; did you mean ‘int’? 75 | int4 errorcount; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:51:3: error: ‘int4’ does not name a type; did you mean ‘int’? 51 | int4 length; // Length of this instantiation of the constructor | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:58:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 58 | uint8 getHash(void) const { return hash; } ///< Get the dynamic hash | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:24:32: error: ‘maxsize’ was not declared in this scope 24 | poolstart = new VarnodeData[ maxsize ]; | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:348:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 348 | uintb off; ///< Offset associated either with address or field markup | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:96:3: error: ‘intb’ does not name a type; did you mean ‘int’? 96 | intb sstart; ///< A signed version of the starting offset | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:59:3: error: ‘int4’ does not name a type; did you mean ‘int’? 59 | int4 num; // Number of context word affected | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh:78:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 78 | virtual uintb allocateTemp(void); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:52:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 52 | uint4 offset; // Absolute offset (from start of instruction) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:60:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 60 | uint8 getSymbolId(void) const { return symbolId; } ///< Get the original Symbol id | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh: In constructor ‘DynamicRecommend::DynamicRecommend(const Address&, int, const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:56:21: error: class ‘DynamicRecommend’ does not have any field named ‘hash’ 56 | usePoint(addr), hash(h), name(nm), symbolId(id) {} ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:56:40: error: class ‘DynamicRecommend’ does not have any field named ‘symbolId’ 56 | usePoint(addr), hash(h), name(nm), symbolId(id) {} ///< Constructor | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh:90:22: error: ‘uintb’ has not been declared 90 | void setUniqueBase(uintb val) { tempbase = val; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:39:14: error: ‘VarnodeData* PcodeCacher::expandPool’ is not a static data member of ‘class PcodeCacher’ 39 | VarnodeData *PcodeCacher::expandPool(uint4 size) | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:349:3: error: ‘int4’ does not name a type; did you mean ‘int’? 349 | int4 indentbump; ///< Amount to indent if a line breaks | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:741:22: error: ‘finalsize’ was not declared in this scope 741 | if (maskneeded && (finalsize > 8)) | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:98:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 98 | uint4 flags; ///< Additional boolean properties of this range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:60:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 60 | uintm mask; // Bits within word affected | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:59:3: error: ‘int4’ does not name a type; did you mean ‘int’? 59 | int4 num; // Number of context word affected | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool SeqNum::operator<(const SeqNum&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:146:15: error: ‘uniq’ was not declared in this scope; did you mean ‘unix’? 146 | return (uniq < op2.uniq); | ^~~~ | unix /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh:91:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 91 | uintb getUniqueBase(void) const { return tempbase; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:146:26: error: ‘const class SeqNum’ has no member named ‘uniq’ 146 | return (uniq < op2.uniq); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:913:3: error: ‘catindex’ was not declared in this scope; did you mean ‘rindex’? 913 | catindex = 0; | ^~~~~~~~ | rindex /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:350:3: error: ‘int4’ does not name a type; did you mean ‘int’? 350 | int4 numspaces; ///< Number of spaces in a whitespace token (\e tokenbreak) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:61:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 61 | uintm value; // New setting for bits | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh:95:38: error: ‘int4’ has not been declared 95 | void addOperand(const string &name,int4 index); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:100:3: error: ‘int4’ does not name a type; did you mean ‘int’? 100 | int4 highind; ///< Minimum upper bound on the array index (if \b this is \e open) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:103:18: error: expected ‘)’ before ‘st’ 103 | RangeHint(uintb st,int4 sz,intb sst,Datatype *ct,uint4 fl,RangeType rt,int4 hi) { | ~ ^~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:122:39: error: ‘startbit’ was not declared in this scope; did you mean ‘static’? 122 | registerContext(csym->getName(),startbit,endbit); | ^~~~~~~~ | static /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:60:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 60 | uintm mask; // Bits within word affected | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:94:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 94 | uintb start; ///< Starting offset of \b this range of bytes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:351:3: error: ‘int4’ does not name a type; did you mean ‘int’? 351 | int4 size; ///< Number of content characters or other size information | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:78:3: error: ‘int4’ does not name a type; did you mean ‘int’? 78 | int4 parsestate; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:61:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 61 | uintm value; // New setting for bits | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:164:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 164 | uintb first; ///< Offset of first byte in \b this Range | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:110:3: error: ‘int4’ does not name a type; did you mean ‘int’? 110 | int4 compare(const RangeHint &op2) const; ///< Order \b this with another RangeHint | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:352:3: error: ‘int4’ does not name a type; did you mean ‘int’? 352 | int4 count; ///< Associated id (for matching begin/end pairs) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:95:3: error: ‘int4’ does not name a type; did you mean ‘int’? 95 | int4 size; ///< Number of bytes in a single element of this range | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:39:38: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 39 | VarnodeData *PcodeCacher::expandPool(uint4 size) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:80:3: error: ‘uint1’ does not name a type; did you mean ‘uint’? 80 | uint1 buf[16]; // Buffer of bytes in the instruction stream | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh: In static member function ‘static bool RangeHint::compareRanges(const RangeHint*, const RangeHint*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:111:81: error: ‘const class RangeHint’ has no member named ‘compare’ 111 | static bool compareRanges(const RangeHint *a,const RangeHint *b) { return (a->compare(*b) < 0); } ///< Compare two RangeHint pointers | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:165:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 165 | uintb last; ///< Offset of last byte in \b this Range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc: In member function ‘void PcodeCacher::addLabelRef(VarnodeData*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:89:21: error: ‘__gnu_cxx::__alloc_traits, RelativeRecord>::value_type’ {aka ‘struct RelativeRecord’} has no member named ‘calling_index’ 89 | label_refs.back().calling_index = issued.size(); | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:78:3: error: ‘int4’ does not name a type; did you mean ‘int’? 78 | int4 parsestate; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:173:22: error: ‘uintb’ has not been declared 173 | Range(AddrSpace *s,uintb f,uintb l) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:173:30: error: ‘uintb’ has not been declared 173 | Range(AddrSpace *s,uintb f,uintb l) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:98:6: error: variable or field ‘addLabel’ declared void 98 | void PcodeCacher::addLabel(uint4 id) | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:353:10: error: ‘int4’ does not name a type; did you mean ‘int’? 353 | static int4 countbase; ///< Static counter for uniquely assigning begin/end pair ids. | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:96:3: error: ‘intb’ does not name a type; did you mean ‘int’? 96 | intb sstart; ///< A signed version of the starting offset | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:81:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 81 | uintm *context; // Pointer to local context | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:80:3: error: ‘uint1’ does not name a type; did you mean ‘uint’? 80 | uint1 buf[16]; // Buffer of bytes in the instruction stream | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:177:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 177 | uintb getFirst(void) const { return first; } ///< Get the offset of the first byte in \b this Range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:360:3: error: ‘int4’ does not name a type; did you mean ‘int’? 360 | int4 beginDocument(void) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:366:20: error: ‘int4’ has not been declared 366 | void endDocument(int4 id) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:82:3: error: ‘int4’ does not name a type; did you mean ‘int’? 82 | int4 contextsize; // Number of entries in context array | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:98:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 98 | uint4 flags; ///< Additional boolean properties of this range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:81:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 81 | uintm *context; // Pointer to local context | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:178:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 178 | uintb getLast(void) const { return last; } ///< Get the offset of the last byte in \b this Range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:372:3: error: ‘int4’ does not name a type; did you mean ‘int’? 372 | int4 beginFunction(const Funcdata *f) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:98:28: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 98 | void PcodeCacher::addLabel(uint4 id) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:378:20: error: ‘int4’ has not been declared 378 | void endFunction(int4 id) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:100:3: error: ‘int4’ does not name a type; did you mean ‘int’? 100 | int4 highind; ///< Minimum upper bound on the array index (if \b this is \e open) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:122:48: error: ‘endbit’ was not declared in this scope 122 | registerContext(csym->getName(),startbit,endbit); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:103:18: error: expected ‘)’ before ‘st’ 103 | RangeHint(uintb st,int4 sz,intb sst,Datatype *ct,uint4 fl,RangeType rt,int4 hi) { | ~ ^~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc: In member function ‘void PcodeCacher::clear()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:112:10: error: request for member ‘clear’ in ‘((PcodeCacher*)this)->PcodeCacher::labels’, which is of non-class type ‘int’ 112 | labels.clear(); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:914:3: error: ‘symbolId’ was not declared in this scope; did you mean ‘Symbol’? 914 | symbolId = 0; | ^~~~~~~~ | Symbol /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:82:3: error: ‘int4’ does not name a type; did you mean ‘int’? 82 | int4 contextsize; // Number of entries in context array | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:127:63: error: ‘uintb’ has not been declared 127 | void SleighBase::addRegister(const string &nm,AddrSpace *base,uintb offset,int4 size) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:127:76: error: ‘int4’ has not been declared 127 | void SleighBase::addRegister(const string &nm,AddrSpace *base,uintb offset,int4 size) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:385:3: error: ‘int4’ does not name a type; did you mean ‘int’? 385 | int4 beginBlock(const FlowBlock *b) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:391:17: error: ‘int4’ has not been declared 391 | void endBlock(int4 id) { | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:110:3: error: ‘int4’ does not name a type; did you mean ‘int’? 110 | int4 compare(const RangeHint &op2) const; ///< Order \b this with another RangeHint | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:398:3: error: ‘int4’ does not name a type; did you mean ‘int’? 398 | int4 beginReturnType(const Varnode *v) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:404:22: error: ‘int4’ has not been declared 404 | void endReturnType(int4 id) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:754:32: error: ‘truncshift’ was not declared in this scope 754 | appendOp(CPUI_SUBPIECE,res,truncshift,4); | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh: In static member function ‘static bool RangeHint::compareRanges(const RangeHint*, const RangeHint*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:111:81: error: ‘const class RangeHint’ has no member named ‘compare’ 111 | static bool compareRanges(const RangeHint *a,const RangeHint *b) { return (a->compare(*b) < 0); } ///< Compare two RangeHint pointers | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh: In member function ‘bool PcodeSnippet::hasErrors() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh:88:40: error: ‘errorcount’ was not declared in this scope; did you mean ‘error_t’? 88 | bool hasErrors(void) const { return (errorcount != 0); } | ^~~~~~~~~~ | error_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:145:52: error: ‘uintb’ has not been declared 145 | string SleighBase::getRegisterName(AddrSpace *base,uintb off,int4 size) const | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:145:62: error: ‘int4’ has not been declared 145 | string SleighBase::getRegisterName(AddrSpace *base,uintb off,int4 size) const | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc: In member function ‘virtual std::string SleighBase::getRegisterName(AddrSpace*, int, int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:150:7: error: ‘struct VarnodeData’ has no member named ‘offset’ 150 | sym.offset = off; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:151:7: error: ‘struct VarnodeData’ has no member named ‘size’ 151 | sym.size = size; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:411:3: error: ‘int4’ does not name a type; did you mean ‘int’? 411 | int4 beginVarDecl(const Symbol *sym) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:417:19: error: ‘int4’ has not been declared 417 | void endVarDecl(int4 id) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:424:3: error: ‘int4’ does not name a type; did you mean ‘int’? 424 | int4 beginStatement(const PcodeOp *o) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:430:21: error: ‘int4’ has not been declared 430 | void endStatement(int4 id) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:436:3: error: ‘int4’ does not name a type; did you mean ‘int’? 436 | int4 beginFuncProto(void) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:442:21: error: ‘int4’ has not been declared 442 | void endFuncProto(int4 id) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:494:80: error: ‘int4’ has not been declared 494 | void tagField(const char *ptr,EmitXml::syntax_highlight h,const Datatype *ct,int4 o) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:505:39: error: ‘uintb’ has not been declared 505 | const AddrSpace *s,uintb o) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:516:37: error: ‘uintb’ has not been declared 516 | const AddrSpace *s,uintb o) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:532:25: error: ‘int4’ has not been declared 532 | void openParen(char o,int4 id) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc: In member function ‘void PcodeCacher::resolveRelatives()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:124:5: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 124 | uint4 id = ptr->offset; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:540:26: error: ‘int4’ has not been declared 540 | void closeParen(char c,int4 id) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In constructor ‘Range::Range(AddrSpace*, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:174:14: error: ‘first’ was not declared in this scope 174 | spc = s; first = f; last = l; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:547:3: error: ‘int4’ does not name a type; did you mean ‘int’? 547 | int4 openGroup(void) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:553:19: error: ‘int4’ has not been declared 553 | void closeGroup(int4 id) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:915:3: error: ‘wholeCount’ was not declared in this scope 915 | wholeCount=0; | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:560:3: error: ‘int4’ does not name a type; did you mean ‘int’? 560 | int4 startIndent(int4 bump) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:567:19: error: ‘int4’ has not been declared 567 | void stopIndent(int4 id) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:134:18: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 134 | mutable vector alias; ///< List of aliased addresses (as offsets) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:134:23: error: template argument 1 is invalid 134 | mutable vector alias; ///< List of aliased addresses (as offsets) | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:134:23: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:756:36: error: ‘finalsize’ was not declared in this scope 756 | appendOp(CPUI_INT_AND,res,mask,finalsize); | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:157:3: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 157 | uintb offbase = point.offset; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:158:13: error: ‘const struct VarnodeData’ has no member named ‘offset’ 158 | if (point.offset+point.size >= off+size) | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh: In member function ‘void PcodeSnippet::setUniqueBase(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh:90:35: error: ‘tempbase’ was not declared in this scope 90 | void setUniqueBase(uintb val) { tempbase = val; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:158:26: error: ‘const struct VarnodeData’ has no member named ‘size’ 158 | if (point.offset+point.size >= off+size) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:573:3: error: ‘int4’ does not name a type; did you mean ‘int’? 573 | int4 startComment(void) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:579:20: error: ‘int4’ has not been declared 579 | void stopComment(int4 id) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:586:15: error: ‘int4’ has not been declared 586 | void spaces(int4 num,int4 bump) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:586:24: error: ‘int4’ has not been declared 586 | void spaces(int4 num,int4 bump) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:125:10: error: ‘id’ was not declared in this scope; did you mean ‘void’? 125 | if ((id >= labels.size())||(labels[id] == 0xbadbeef)) | ^~ | void /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:594:16: error: ‘int4’ has not been declared 594 | void tagLine(int4 indent) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:125:23: error: request for member ‘size’ in ‘((PcodeCacher*)this)->PcodeCacher::labels’, which is of non-class type ‘int’ 125 | if ((id >= labels.size())||(labels[id] == 0xbadbeef)) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:164:39: error: ‘const struct VarnodeData’ has no member named ‘offset’ 164 | if ((point.space != base)||(point.offset != offbase)) return ""; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:136:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 136 | uintb localExtreme; ///< Largest possible offset for a local variable | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:598:3: error: ‘int4’ does not name a type; did you mean ‘int’? 598 | int4 getIndentBump(void) const { return indentbump; } ///< Get the extra indent after a line break | ^~~~ | int src/decompile/cpp/pcodeparse.y: At global scope: src/decompile/cpp/pcodeparse.y:27:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:599:3: error: ‘int4’ does not name a type; did you mean ‘int’? 599 | int4 getNumSpaces(void) const { return numspaces; } ///< Get the number of characters of whitespace | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:137:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 137 | uintb localBoundary; ///< Boundary offset separating locals and parameters | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:174:25: error: ‘last’ was not declared in this scope 174 | spc = s; first = f; last = l; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:600:3: error: ‘int4’ does not name a type; did you mean ‘int’? 600 | int4 getSize(void) const { return size; } ///< Get the number of content characters | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:601:16: error: ‘int4’ has not been declared 601 | void setSize(int4 sz) { size = sz; } ///< Set the number of content characters | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:138:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 138 | mutable uintb aliasBoundary; ///< Shallowest alias | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:134:18: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 134 | mutable vector alias; ///< List of aliased addresses (as offsets) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:134:23: error: template argument 1 is invalid 134 | mutable vector alias; ///< List of aliased addresses (as offsets) | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:134:23: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:128:5: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 128 | uintb res = labels[id] - (*iter).calling_index; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:90:3: error: ‘int4’ does not name a type; did you mean ‘int’? 90 | int4 alloc; // Number of ConstructState's allocated | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:139:3: error: ‘int4’ does not name a type; did you mean ‘int’? 139 | int4 direction; ///< 1=stack grows negative, -1=positive | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:136:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 136 | uintb localExtreme; ///< Largest possible offset for a local variable | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:137:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 137 | uintb localBoundary; ///< Boundary offset separating locals and parameters | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:91:3: error: ‘int4’ does not name a type; did you mean ‘int’? 91 | int4 delayslot; // delayslot depth | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:757:49: error: ‘finalsize’ was not declared in this scope 757 | force_size(res->outvn,ConstTpl(ConstTpl::real,finalsize),*res->ops); | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:90:3: error: ‘int4’ does not name a type; did you mean ‘int’? 90 | int4 alloc; // Number of ConstructState's allocated | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:164:49: error: ‘offbase’ was not declared in this scope; did you mean ‘base’? 164 | if ((point.space != base)||(point.offset != offbase)) return ""; | ^~~~~~~ | base /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:165:15: error: ‘const struct VarnodeData’ has no member named ‘offset’ 165 | if (point.offset+point.size >= off+size) | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:761:53: error: ‘uint4’ has not been declared 761 | VarnodeTpl *PcodeCompile::addressOf(VarnodeTpl *var,uint4 size) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:165:28: error: ‘const struct VarnodeData’ has no member named ‘size’ 165 | if (point.offset+point.size >= off+size) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:138:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 138 | mutable uintb aliasBoundary; ///< Shallowest alias | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:917:3: error: ‘depthResolution’ was not declared in this scope 917 | depthResolution = 0; | ^~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:91:3: error: ‘int4’ does not name a type; did you mean ‘int’? 91 | int4 delayslot; // delayslot depth | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:97:3: error: ‘uint1’ does not name a type; did you mean ‘uint’? 97 | uint1 *getBuffer(void) { return buf; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:98:19: error: ‘int4’ has not been declared 98 | void initialize(int4 maxstate,int4 maxparam,AddrSpace *spc); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc: In member function ‘VarnodeTpl* PcodeCompile::addressOf(VarnodeTpl*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:768:19: error: ‘class AddrSpace’ has no member named ‘getAddrSize’ 768 | size = spc->getAddrSize(); // to see if it has a standard address size | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:98:33: error: ‘int4’ has not been declared 98 | void initialize(int4 maxstate,int4 maxparam,AddrSpace *spc); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::endDocument(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:367:36: error: ‘size’ was not declared in this scope 367 | tagtype=docu_e; delimtype=end; size=0; count=id; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:139:3: error: ‘int4’ does not name a type; did you mean ‘int’? 139 | int4 direction; ///< 1=stack grows negative, -1=positive | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:367:50: error: overloaded function with no contextual type information 367 | tagtype=docu_e; delimtype=end; size=0; count=id; } | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:129:5: error: ‘res’ was not declared in this scope 129 | res &= calc_mask( ptr->size ); | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:129:28: error: ‘struct VarnodeData’ has no member named ‘size’ 129 | res &= calc_mask( ptr->size ); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:99:3: error: ‘int4’ does not name a type; did you mean ‘int’? 99 | int4 getParserState(void) const { return parsestate; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:100:23: error: ‘int4’ has not been declared 100 | void setParserState(int4 st) { parsestate = st; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:148:16: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 148 | const vector &getAlias(void) const { return alias; } ///< Get the list of alias starting offsets | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:102:24: error: ‘int4’ has not been declared 102 | void allocateOperand(int4 i,ParserWalkerChange &walker); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:148:21: error: template argument 1 is invalid 148 | const vector &getAlias(void) const { return alias; } ///< Get the list of alias starting offsets | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:97:3: error: ‘uint1’ does not name a type; did you mean ‘uint’? 97 | uint1 *getBuffer(void) { return buf; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:148:21: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:98:19: error: ‘int4’ has not been declared 98 | void initialize(int4 maxstate,int4 maxparam,AddrSpace *spc); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:98:33: error: ‘int4’ has not been declared 98 | void initialize(int4 maxstate,int4 maxparam,AddrSpace *spc); | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:32:3: error: ‘int4’ does not name a type; did you mean ‘int’? 32 | int4 size; ///< An optional/recommended size for the variable being stored | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘Address Range::getFirstAddr() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:179:57: error: ‘first’ was not declared in this scope 179 | Address getFirstAddr(void) const { return Address(spc,first); } ///< Get the address of the first byte | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:106:36: error: ‘int4’ has not been declared 106 | void addCommit(TripleSymbol *sym,int4 num,uintm mask,bool flow,ConstructState *point); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:106:45: error: ‘uintm’ has not been declared 106 | void addCommit(TripleSymbol *sym,int4 num,uintm mask,bool flow,ConstructState *point); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:99:3: error: ‘int4’ does not name a type; did you mean ‘int’? 99 | int4 getParserState(void) const { return parsestate; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:100:23: error: ‘int4’ has not been declared 100 | void setParserState(int4 st) { parsestate = st; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:102:24: error: ‘int4’ has not been declared 102 | void allocateOperand(int4 i,ParserWalkerChange &walker); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:106:36: error: ‘int4’ has not been declared 106 | void addCommit(TripleSymbol *sym,int4 num,uintm mask,bool flow,ConstructState *point); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:106:45: error: ‘uintm’ has not been declared 106 | void addCommit(TripleSymbol *sym,int4 num,uintm mask,bool flow,ConstructState *point); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:150:10: error: ‘uintb’ does not name a type; did you mean ‘uint’? 150 | static uintb gatherOffset(Varnode *vn); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:34:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 34 | uint8 symbolId; ///< Id associated with the original Symbol | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:36:54: error: ‘int4’ has not been declared 36 | NameRecommend(const Address &ad,const Address &use,int4 sz,const string &nm,uint8 id) : | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:36:79: error: ‘uint8’ has not been declared 36 | NameRecommend(const Address &ad,const Address &use,int4 sz,const string &nm,uint8 id) : | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:115:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 115 | uintm getInstructionBytes(int4 byteoff,int4 numbytes,uint4 off) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:148:16: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 148 | const vector &getAlias(void) const { return alias; } ///< Get the list of alias starting offsets | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:148:21: error: template argument 1 is invalid 148 | const vector &getAlias(void) const { return alias; } ///< Get the list of alias starting offsets | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:148:21: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:774:5: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 774 | uintb off = AddrSpace::byteToAddress(var->getOffset().getReal(),spc->getWordSize()); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:115:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 115 | uintm getInstructionBytes(int4 byteoff,int4 numbytes,uint4 off) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::endFunction(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:379:36: error: ‘size’ was not declared in this scope 379 | tagtype=func_e; delimtype=end; size=0; count=id; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:379:50: error: overloaded function with no contextual type information 379 | tagtype=func_e; delimtype=end; size=0; count=id; } | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::endBlock(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:392:45: error: overloaded function with no contextual type information 392 | tagtype=bloc_e; delimtype=ignore; count=id; } | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::endReturnType(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:405:42: error: overloaded function with no contextual type information 405 | tagtype=rtyp_e; delimtype=end; count=id; } | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:116:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 116 | uintm getContextBytes(int4 byteoff,int4 numbytes) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::endVarDecl(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:418:42: error: overloaded function with no contextual type information 418 | tagtype=vard_e; delimtype=end; count=id; } | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:40:3: error: ‘int4’ does not name a type; did you mean ‘int’? 40 | int4 getSize(void) const { return size; } ///< Get the optional size | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::endStatement(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:431:42: error: overloaded function with no contextual type information 431 | tagtype=stat_e; delimtype=end; count=id; } | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:150:10: error: ‘uintb’ does not name a type; did you mean ‘uint’? 150 | static uintb gatherOffset(Varnode *vn); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::endFuncProto(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:443:42: error: overloaded function with no contextual type information 443 | tagtype=prot_e; delimtype=end; count=id; } | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:116:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 116 | uintm getContextBytes(int4 byteoff,int4 numbytes) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:117:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 117 | uintm getInstructionBits(int4 startbit,int4 size,uint4 off) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:117:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 117 | uintm getInstructionBits(int4 startbit,int4 size,uint4 off) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:129:12: error: ‘calc_mask’ was not declared in this scope 129 | res &= calc_mask( ptr->size ); | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:42:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 42 | uint8 getSymbolId(void) const { return symbolId; } ///< Get the original Symbol id | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:130:10: error: ‘struct VarnodeData’ has no member named ‘offset’ 130 | ptr->offset = res; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh: In constructor ‘NameRecommend::NameRecommend(const Address&, const Address&, int, const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:37:29: error: class ‘NameRecommend’ does not have any field named ‘size’ 37 | addr(ad), useaddr(use), size(sz), name(nm), symbolId(id) {} ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:118:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 118 | uintm getContextBits(int4 startbit,int4 size) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:37:49: error: class ‘NameRecommend’ does not have any field named ‘symbolId’ 37 | addr(ad), useaddr(use), size(sz), name(nm), symbolId(id) {} ///< Constructor | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:119:23: error: ‘int4’ has not been declared 119 | void setContextWord(int4 i,uintm val,uintm mask) { context[i] = (context[i]&(~mask))|(mask&val); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:119:30: error: ‘uintm’ has not been declared 119 | void setContextWord(int4 i,uintm val,uintm mask) { context[i] = (context[i]&(~mask))|(mask&val); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:119:40: error: ‘uintm’ has not been declared 119 | void setContextWord(int4 i,uintm val,uintm mask) { context[i] = (context[i]&(~mask))|(mask&val); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘Address Range::getLastAddr() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:180:56: error: ‘last’ was not declared in this scope 180 | Address getLastAddr(void) const { return Address(spc,last); } ///< Get the address of the last byte | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Range::operator<(const Range&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:190:14: error: ‘class AddrSpace’ has no member named ‘getIndex’ 190 | if (spc->getIndex() != op2.spc->getIndex()) | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:118:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 118 | uintm getContextBits(int4 startbit,int4 size) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:119:23: error: ‘int4’ has not been declared 119 | void setContextWord(int4 i,uintm val,uintm mask) { context[i] = (context[i]&(~mask))|(mask&val); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:119:30: error: ‘uintm’ has not been declared 119 | void setContextWord(int4 i,uintm val,uintm mask) { context[i] = (context[i]&(~mask))|(mask&val); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:119:40: error: ‘uintm’ has not been declared 119 | void setContextWord(int4 i,uintm val,uintm mask) { context[i] = (context[i]&(~mask))|(mask&val); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:190:37: error: ‘class AddrSpace’ has no member named ‘getIndex’ 190 | if (spc->getIndex() != op2.spc->getIndex()) | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.cc:776:51: error: ‘off’ was not declared in this scope; did you mean ‘off_t’? 776 | ConstTpl(ConstTpl::real,off), | ^~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:191:20: error: ‘class AddrSpace’ has no member named ‘getIndex’ 191 | return (spc->getIndex() < op2.spc->getIndex()); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:191:42: error: ‘class AddrSpace’ has no member named ‘getIndex’ 191 | return (spc->getIndex() < op2.spc->getIndex()); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:121:3: error: ‘int4’ does not name a type; did you mean ‘int’? 121 | int4 getLength(void) const { return base_state->length; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:122:21: error: ‘int4’ has not been declared 122 | void setDelaySlot(int4 val) { delayslot = val; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:121:3: error: ‘int4’ does not name a type; did you mean ‘int’? 121 | int4 getLength(void) const { return base_state->length; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:122:21: error: ‘int4’ has not been declared 122 | void setDelaySlot(int4 val) { delayslot = val; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::tagVariable(const char*, EmitXml::syntax_highlight, const Varnode*, const PcodeOp*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:453:16: error: ‘size’ was not declared in this scope 453 | tok = ptr; size = tok.size(); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc: In member function ‘void PcodeCacher::emit(const Address&, PcodeEmit*) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:143:69: error: ‘const struct PcodeData’ has no member named ‘isize’ 143 | emt->dump(addr,(*iter).opc,(*iter).outvar,(*iter).invar,(*iter).isize); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:123:3: error: ‘int4’ does not name a type; did you mean ‘int’? 123 | int4 getDelaySlot(void) const { return delayslot; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:51:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 51 | uint8 hash; ///< Hash encoding the Symbols environment | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc: In member function ‘void SleighBuilder::generateLocation(const VarnodeTpl*, VarnodeData&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:154:6: error: ‘struct VarnodeData’ has no member named ‘size’ 154 | vn.size = vntpl->getSize().fix(*walker); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:123:3: error: ‘int4’ does not name a type; did you mean ‘int’? 123 | int4 getDelaySlot(void) const { return delayslot; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:154:30: error: ‘const class ConstTpl’ has no member named ‘fix’ 154 | vn.size = vntpl->getSize().fix(*walker); | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc: In member function ‘void SleighBase::saveXml(std::ostream&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:189:21: error: ‘SLA_FORMAT_VERSION’ was not declared in this scope 189 | a_v_i(s,"version",SLA_FORMAT_VERSION); | ^~~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:156:8: error: ‘struct VarnodeData’ has no member named ‘offset’ 156 | vn.offset = vntpl->getOffset().fix(*walker) & calc_mask(vn.size); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:156:36: error: ‘const class ConstTpl’ has no member named ‘fix’ 156 | vn.offset = vntpl->getOffset().fix(*walker) & calc_mask(vn.size); | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:156:64: error: ‘struct VarnodeData’ has no member named ‘size’ 156 | vn.offset = vntpl->getOffset().fix(*walker) & calc_mask(vn.size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:53:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 53 | uint8 symbolId; ///< Id associated with the original Symbol | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:55:40: error: ‘uint8’ has not been declared 55 | DynamicRecommend(const Address &addr,uint8 h,const string &nm,uint8 id) : | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:55:65: error: ‘uint8’ has not been declared 55 | DynamicRecommend(const Address &addr,uint8 h,const string &nm,uint8 id) : | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:58:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 58 | uint8 getHash(void) const { return hash; } ///< Get the dynamic hash | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::tagOp(const char*, EmitXml::syntax_highlight, const PcodeOp*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:462:16: error: ‘size’ was not declared in this scope 462 | tok = ptr; size = tok.size(); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:60:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 60 | uint8 getSymbolId(void) const { return symbolId; } ///< Get the original Symbol id | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:192:13: error: ‘first’ was not declared in this scope 192 | return (first < op2.first); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:192:25: error: ‘const class Range’ has no member named ‘first’ 192 | return (first < op2.first); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh: In constructor ‘DynamicRecommend::DynamicRecommend(const Address&, int, const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:56:21: error: class ‘DynamicRecommend’ does not have any field named ‘hash’ 56 | usePoint(addr), hash(h), name(nm), symbolId(id) {} ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:56:40: error: class ‘DynamicRecommend’ does not have any field named ‘symbolId’ 56 | usePoint(addr), hash(h), name(nm), symbolId(id) {} ///< Constructor | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In destructor ‘ParserContext::~ParserContext()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:30: error: ‘context’ was not declared in this scope 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In destructor ‘ParserContext::~ParserContext()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:30: error: ‘context’ was not declared in this scope 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:156:51: error: ‘calc_mask’ was not declared in this scope 156 | vn.offset = vntpl->getOffset().fix(*walker) & calc_mask(vn.size); | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:191:19: error: ‘alignment’ was not declared in this scope 191 | a_v_i(s,"align",alignment); | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:158:8: error: ‘struct VarnodeData’ has no member named ‘offset’ 158 | vn.offset = vntpl->getOffset().fix(*walker); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:158:36: error: ‘const class ConstTpl’ has no member named ‘fix’ 158 | vn.offset = vntpl->getOffset().fix(*walker); | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:159:8: error: ‘struct VarnodeData’ has no member named ‘offset’ 159 | vn.offset |= uniqueoffset; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:94:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 94 | uintb start; ///< Starting offset of \b this range of bytes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:167:17: error: ‘uintb’ has not been declared 167 | void addRange(uintb st,Datatype *ct,uint4 fl,RangeHint::RangeType rt,int4 hi); ///< Add a hint to the collection | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:167:39: error: ‘uint4’ has not been declared 167 | void addRange(uintb st,Datatype *ct,uint4 fl,RangeHint::RangeType rt,int4 hi); ///< Add a hint to the collection | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:167:72: error: ‘int4’ has not been declared 167 | void addRange(uintb st,Datatype *ct,uint4 fl,RangeHint::RangeType rt,int4 hi); ///< Add a hint to the collection | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::tagFuncName(const char*, EmitXml::syntax_highlight, const Funcdata*, const PcodeOp*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:472:16: error: ‘size’ was not declared in this scope 472 | tok = ptr; size = tok.size(); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:42: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:49: error: expected primary-expression before ‘)’ token 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:50: error: expected ‘)’ before numeric constant 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:29: note: to match this ‘(’ 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:63: error: type ‘’ argument given to ‘delete’, expected pointer 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:42: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:49: error: expected primary-expression before ‘)’ token 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:50: error: expected ‘)’ before numeric constant 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:29: note: to match this ‘(’ 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:95:3: error: ‘int4’ does not name a type; did you mean ‘int’? 95 | int4 size; ///< Number of bytes in a single element of this range | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:63: error: type ‘’ argument given to ‘delete’, expected pointer 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:167:17: error: ‘uintb’ has not been declared 167 | void addRange(uintb st,Datatype *ct,uint4 fl,RangeHint::RangeType rt,int4 hi); ///< Add a hint to the collection | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:167:39: error: ‘uint4’ has not been declared 167 | void addRange(uintb st,Datatype *ct,uint4 fl,RangeHint::RangeType rt,int4 hi); ///< Add a hint to the collection | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:167:72: error: ‘int4’ has not been declared 167 | void addRange(uintb st,Datatype *ct,uint4 fl,RangeHint::RangeType rt,int4 hi); ///< Add a hint to the collection | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:96:3: error: ‘intb’ does not name a type; did you mean ‘int’? 96 | intb sstart; ///< A signed version of the starting offset | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:192:22: error: ‘getUniqueBase’ was not declared in this scope; did you mean ‘setUniqueBase’? 192 | a_v_u(s,"uniqbase",getUniqueBase()); | ^~~~~~~~~~~~~ | setUniqueBase /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:98:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 98 | uint4 flags; ///< Additional boolean properties of this range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:180:16: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 180 | const vector &getAlias(void) { return checker.getAlias(); } ///< Get the list of alias starting offsets | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:180:21: error: template argument 1 is invalid 180 | const vector &getAlias(void) { return checker.getAlias(); } ///< Get the list of alias starting offsets | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:180:21: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:100:3: error: ‘int4’ does not name a type; did you mean ‘int’? 100 | int4 highind; ///< Minimum upper bound on the array index (if \b this is \e open) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::tagType(const char*, EmitXml::syntax_highlight, const Datatype*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:485:16: error: ‘size’ was not declared in this scope 485 | tok = ptr; size = tok.size(); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:103:18: error: expected ‘)’ before ‘st’ 103 | RangeHint(uintb st,int4 sz,intb sst,Datatype *ct,uint4 fl,RangeType rt,int4 hi) { | ~ ^~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:180:16: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 180 | const vector &getAlias(void) { return checker.getAlias(); } ///< Get the list of alias starting offsets | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:180:21: error: template argument 1 is invalid 180 | const vector &getAlias(void) { return checker.getAlias(); } ///< Get the list of alias starting offsets | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:180:21: error: template argument 2 is invalid In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:110:3: error: ‘int4’ does not name a type; did you mean ‘int’? 110 | int4 compare(const RangeHint &op2) const; ///< Order \b this with another RangeHint | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserContext::setParserState(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:100:34: error: ‘parsestate’ was not declared in this scope; did you mean ‘base_state’? 100 | void setParserState(int4 st) { parsestate = st; } | ^~~~~~~~~~ | base_state /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:159:18: error: ‘uniqueoffset’ was not declared in this scope; did you mean ‘setUniqueOffset’? 159 | vn.offset |= uniqueoffset; | ^~~~~~~~~~~~ | setUniqueOffset /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:162:8: error: ‘struct VarnodeData’ has no member named ‘offset’ 162 | vn.offset = vn.space->wrapOffset(vntpl->getOffset().fix(*walker)); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:162:27: error: ‘class AddrSpace’ has no member named ‘wrapOffset’ 162 | vn.offset = vn.space->wrapOffset(vntpl->getOffset().fix(*walker)); | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh: In static member function ‘static bool RangeHint::compareRanges(const RangeHint*, const RangeHint*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:111:81: error: ‘const class RangeHint’ has no member named ‘compare’ 111 | static bool compareRanges(const RangeHint *a,const RangeHint *b) { return (a->compare(*b) < 0); } ///< Compare two RangeHint pointers | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:162:57: error: ‘const class ConstTpl’ has no member named ‘fix’ 162 | vn.offset = vn.space->wrapOffset(vntpl->getOffset().fix(*walker)); | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserContext::setParserState(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:100:34: error: ‘parsestate’ was not declared in this scope; did you mean ‘base_state’? 100 | void setParserState(int4 st) { parsestate = st; } | ^~~~~~~~~~ | base_state /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc: In member function ‘AddrSpace* SleighBuilder::generatePointer(const VarnodeTpl*, VarnodeData&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:177:69: error: ‘const class ConstTpl’ has no member named ‘getHandleIndex’; did you mean ‘changeHandleIndex’? 177 | const FixedHandle &hand(walker->getFixedHandle(vntpl->getOffset().getHandleIndex())); | ^~~~~~~~~~~~~~ | changeHandleIndex /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:179:6: error: ‘struct VarnodeData’ has no member named ‘size’ 179 | vn.size = hand.offset_size; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:179:18: error: ‘const struct FixedHandle’ has no member named ‘offset_size’; did you mean ‘offset_space’? 179 | vn.size = hand.offset_size; | ^~~~~~~~~~~ | offset_space /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:181:8: error: ‘struct VarnodeData’ has no member named ‘offset’ 181 | vn.offset = hand.offset_offset & calc_mask(vn.size); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:181:22: error: ‘const struct FixedHandle’ has no member named ‘offset_offset’ 181 | vn.offset = hand.offset_offset & calc_mask(vn.size); | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:181:51: error: ‘struct VarnodeData’ has no member named ‘size’ 181 | vn.offset = hand.offset_offset & calc_mask(vn.size); | ^~~~ src/decompile/cpp/pcodeparse.y: In function ‘void yydestruct(const char*, int, YYSTYPE*)’: src/decompile/cpp/pcodeparse.y:90:29: error: ‘YYSTYPE’ {aka ‘union YYSTYPE’} has no member named ‘i’ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::tagField(const char*, EmitXml::syntax_highlight, const Datatype*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:495:16: error: ‘size’ was not declared in this scope 495 | tok = ptr; size = tok.size(); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:212:3: error: ‘int4’ does not name a type; did you mean ‘int’? 212 | int4 numRanges(void) const { return tree.size(); } ///< Return the number of Range objects in container | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:216:44: error: ‘uintb’ has not been declared 216 | const Range *getRange(AddrSpace *spaceid,uintb offset) const; ///< Get Range containing the given byte | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:217:35: error: ‘uintb’ has not been declared 217 | void insertRange(AddrSpace *spc,uintb first,uintb last); ///< Insert a range of addresses | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:217:47: error: ‘uintb’ has not been declared 217 | void insertRange(AddrSpace *spc,uintb first,uintb last); ///< Insert a range of addresses | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:218:35: error: ‘uintb’ has not been declared 218 | void removeRange(AddrSpace *spc,uintb first,uintb last); ///< Remove a range of addresses | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:218:47: error: ‘uintb’ has not been declared 218 | void removeRange(AddrSpace *spc,uintb first,uintb last); ///< Remove a range of addresses | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:220:36: error: ‘int4’ has not been declared 220 | bool inRange(const Address &addr,int4 size) const; ///< Check containment an address range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:221:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 221 | uintb longestFit(const Address &addr,uintb maxsize) const; ///< Find size of biggest Range containing given address | ^~~~~ | uint src/decompile/cpp/pcodeparse.y:94:63: error: ‘int4’ was not declared in this scope; did you mean ‘int’? /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:193:7: error: ‘maxdelayslotbytes’ was not declared in this scope 193 | if (maxdelayslotbytes > 0) | ^~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserContext::setContextWord(int, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:119:54: error: ‘context’ was not declared in this scope 119 | void setContextWord(int4 i,uintm val,uintm mask) { context[i] = (context[i]&(~mask))|(mask&val); } | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserContext::setContextWord(int, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:119:54: error: ‘context’ was not declared in this scope 119 | void setContextWord(int4 i,uintm val,uintm mask) { context[i] = (context[i]&(~mask))|(mask&val); } | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:496:69: error: ‘off’ was not declared in this scope; did you mean ‘off_t’? 496 | tagtype=field_t; delimtype=tokenstring; hl=h; ptr_second.ct=ct; off=(uintb)o; } | ^~~ | off_t src/decompile/cpp/pcodeparse.y:94:72: error: ‘i’ was not declared in this scope /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:181:38: error: ‘calc_mask’ was not declared in this scope 181 | vn.offset = hand.offset_offset & calc_mask(vn.size); | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:183:8: error: ‘struct VarnodeData’ has no member named ‘offset’ 183 | vn.offset = hand.offset_offset | uniqueoffset; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:183:22: error: ‘const struct FixedHandle’ has no member named ‘offset_offset’ 183 | vn.offset = hand.offset_offset | uniqueoffset; | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:496:74: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 496 | tagtype=field_t; delimtype=tokenstring; hl=h; ptr_second.ct=ct; off=(uintb)o; } | ^~~~~ | uint src/decompile/cpp/pcodeparse.y:92:13: error: ‘int4’ was not declared in this scope; did you mean ‘int’? /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserContext::loadContext()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:120:55: error: ‘context’ was not declared in this scope 120 | void loadContext(void) { contcache->getContext(addr,context); } | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:134:18: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 134 | mutable vector alias; ///< List of aliased addresses (as offsets) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:134:23: error: template argument 1 is invalid 134 | mutable vector alias; ///< List of aliased addresses (as offsets) | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:134:23: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserContext::loadContext()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:120:55: error: ‘context’ was not declared in this scope 120 | void loadContext(void) { contcache->getContext(addr,context); } | ^~~~~~~ src/decompile/cpp/pcodeparse.y:92:22: error: ‘i’ was not declared in this scope /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:136:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 136 | uintb localExtreme; ///< Largest possible offset for a local variable | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:228:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 228 | extern uintb uintbmasks[]; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:241:39: error: ‘uintb’ has not been declared 241 | inline Address::Address(AddrSpace *id,uintb off) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:195:7: error: ‘unique_allocatemask’ was not declared in this scope 195 | if (unique_allocatemask != 0) | ^~~~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:137:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 137 | uintb localBoundary; ///< Boundary offset separating locals and parameters | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::tagComment(const char*, EmitXml::syntax_highlight, const AddrSpace*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:506:16: error: ‘size’ was not declared in this scope 506 | tok = ptr; size = tok.size(); ptr_second.spc=s; off=o; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:183:38: error: ‘uniqueoffset’ was not declared in this scope; did you mean ‘setUniqueOffset’? 183 | vn.offset = hand.offset_offset | uniqueoffset; | ^~~~~~~~~~~~ | setUniqueOffset /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:185:8: error: ‘struct VarnodeData’ has no member named ‘offset’ 185 | vn.offset = vn.space->wrapOffset(hand.offset_offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:185:27: error: ‘class AddrSpace’ has no member named ‘wrapOffset’ 185 | vn.offset = vn.space->wrapOffset(hand.offset_offset); | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:185:43: error: ‘const struct FixedHandle’ has no member named ‘offset_offset’ 185 | vn.offset = vn.space->wrapOffset(hand.offset_offset); | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:138:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 138 | mutable uintb aliasBoundary; ///< Shallowest alias | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserContext::setDelaySlot(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:122:33: error: ‘delayslot’ was not declared in this scope; did you mean ‘setDelaySlot’? 122 | void setDelaySlot(int4 val) { delayslot = val; } | ^~~~~~~~~ | setDelaySlot /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:139:3: error: ‘int4’ does not name a type; did you mean ‘int’? 139 | int4 direction; ///< 1=stack grows negative, -1=positive | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserContext::setDelaySlot(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:122:33: error: ‘delayslot’ was not declared in this scope; did you mean ‘setDelaySlot’? 122 | void setDelaySlot(int4 val) { delayslot = val; } | ^~~~~~~~~ | setDelaySlot /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:131:3: error: ‘int4’ does not name a type; did you mean ‘int’? 131 | int4 depth; // Depth of the current node | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:506:53: error: ‘off’ was not declared in this scope; did you mean ‘off_t’? 506 | tok = ptr; size = tok.size(); ptr_second.spc=s; off=o; | ^~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:131:3: error: ‘int4’ does not name a type; did you mean ‘int’? 131 | int4 depth; // Depth of the current node | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:132:3: error: ‘int4’ does not name a type; did you mean ‘int’? 132 | int4 breadcrumb[32]; // Path of operands from root | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:138:42: error: ‘int4’ has not been declared 138 | void setOutOfBandState(Constructor *ct,int4 index,ConstructState *tempstate,const ParserWalker &otherwalker); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc: In member function ‘virtual void SleighBuilder::dump(OpTpl*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:198:3: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 198 | int4 isize = op->numInput(); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:140:20: error: ‘int4’ has not been declared 140 | void pushOperand(int4 i) { breadcrumb[depth++] = i+1; point = point->resolve[i]; breadcrumb[depth] = 0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:132:3: error: ‘int4’ does not name a type; did you mean ‘int’? 132 | int4 breadcrumb[32]; // Path of operands from root | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:138:42: error: ‘int4’ has not been declared 138 | void setOutOfBandState(Constructor *ct,int4 index,ConstructState *tempstate,const ParserWalker &otherwalker); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:140:20: error: ‘int4’ has not been declared 140 | void pushOperand(int4 i) { breadcrumb[depth++] = i+1; point = point->resolve[i]; breadcrumb[depth] = 0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:142:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 142 | uint4 getOffset(int4 i) const { if (i<0) return point->offset; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:148:16: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 148 | const vector &getAlias(void) const { return alias; } ///< Get the list of alias starting offsets | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:148:21: error: template argument 1 is invalid 148 | const vector &getAlias(void) const { return alias; } ///< Get the list of alias starting offsets | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:148:21: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In constructor ‘Address::Address(AddrSpace*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:242:12: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 242 | base=id; offset=off; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:142:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 142 | uint4 getOffset(int4 i) const { if (i<0) return point->offset; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:197:7: error: ‘numSections’ was not declared in this scope 197 | if (numSections != 0) | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:145:3: error: ‘int4’ does not name a type; did you mean ‘int’? 145 | int4 getOperand(void) const { return breadcrumb[depth]; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:147:37: error: ‘int4’ has not been declared 147 | const FixedHandle &getFixedHandle(int4 i) const { return point->resolve[i]->hand; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::tagLabel(const char*, EmitXml::syntax_highlight, const AddrSpace*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:517:16: error: ‘size’ was not declared in this scope 517 | tok = ptr; size = tok.size(); ptr_second.spc=s; off=o; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:145:3: error: ‘int4’ does not name a type; did you mean ‘int’? 145 | int4 getOperand(void) const { return breadcrumb[depth]; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:147:37: error: ‘int4’ has not been declared 147 | const FixedHandle &getFixedHandle(int4 i) const { return point->resolve[i]->hand; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:150:10: error: ‘uintb’ does not name a type; did you mean ‘uint’? 150 | static uintb gatherOffset(Varnode *vn); | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:154:3: error: ‘int4’ does not name a type; did you mean ‘int’? 154 | int4 getLength(void) const { return const_context->getLength(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:200:36: error: ‘isize’ was not declared in this scope; did you mean ‘dysize’? 200 | invars = cache->allocateVarnodes(isize); | ^~~~~ | dysize /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:201:11: error: expected ‘;’ before ‘i’ 201 | for(int4 i=0;igetLength(); } | ^~~~ | int src/decompile/cpp/pcodeparse.y: In function ‘int pcodeparseparse()’: src/decompile/cpp/pcodeparse.y:105:92: error: ‘YYSTYPE’ {aka ‘union YYSTYPE’} has no member named ‘i’ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:155:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 155 | uintm getInstructionBytes(int4 byteoff,int4 numbytes) const { | ^~~~~ | uint src/decompile/cpp/pcodeparse.y:105:115: error: ‘YYSTYPE’ {aka ‘union YYSTYPE’} has no member named ‘i’ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:155:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 155 | uintm getInstructionBytes(int4 byteoff,int4 numbytes) const { | ^~~~~ | uint src/decompile/cpp/pcodeparse.y:110:89: error: ‘YYSTYPE’ {aka ‘union YYSTYPE’} has no member named ‘i’ src/decompile/cpp/pcodeparse.y:110:112: error: ‘YYSTYPE’ {aka ‘union YYSTYPE’} has no member named ‘i’ src/decompile/cpp/pcodeparse.y:111:89: error: ‘YYSTYPE’ {aka ‘union YYSTYPE’} has no member named ‘i’ src/decompile/cpp/pcodeparse.y:111:112: error: ‘YYSTYPE’ {aka ‘union YYSTYPE’} has no member named ‘i’ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:157:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 157 | uintm getContextBytes(int4 byteoff,int4 numbytes) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:517:53: error: ‘off’ was not declared in this scope; did you mean ‘off_t’? 517 | tok = ptr; size = tok.size(); ptr_second.spc=s; off=o; | ^~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:157:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 157 | uintm getContextBytes(int4 byteoff,int4 numbytes) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:201:16: error: ‘i’ was not declared in this scope 201 | for(int4 i=0;iisize = 2; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:159:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 159 | uintm getInstructionBits(int4 startbit,int4 size) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:212:19: error: ‘struct VarnodeData’ has no member named ‘offset’ 212 | loadvars[0].offset = (uintb)(uintp)spc; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:161:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 161 | uintm getContextBits(int4 startbit,int4 size) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In copy constructor ‘Address::Address(const Address&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:250:3: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 250 | offset = op2.offset; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:161:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 161 | uintm getContextBits(int4 startbit,int4 size) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:250:16: error: ‘const class Address’ has no member named ‘offset’ 250 | offset = op2.offset; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:207:35: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 207 | void markUnaliased(const vector &alias); ///< Mark all local symbols for which there are no aliases | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:207:40: error: template argument 1 is invalid 207 | void markUnaliased(const vector &alias); ///< Mark all local symbols for which there are no aliases | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:207:40: error: template argument 2 is invalid src/decompile/cpp/pcodeparse.y:115:65: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:212:19: error: expected ‘)’ before ‘id’ 212 | ScopeLocal(uint8 id,AddrSpace *spc,Funcdata *fd,Architecture *g); ///< Constructor | ~ ^~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:207:35: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 207 | void markUnaliased(const vector &alias); ///< Mark all local symbols for which there are no aliases | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:207:40: error: template argument 1 is invalid 207 | void markUnaliased(const vector &alias); ///< Mark all local symbols for which there are no aliases | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:207:40: error: template argument 2 is invalid src/decompile/cpp/pcodeparse.y:115:83: error: ‘YYSTYPE’ {aka ‘union YYSTYPE’} has no member named ‘i’ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:223:37: error: ‘uintb’ has not been declared 223 | void markNotMapped(AddrSpace *spc,uintb first,int4 sz,bool param); ///< Mark a specific address range is not mapped | ^~~~~ src/decompile/cpp/pcodeparse.y:115:105: error: ‘YYSTYPE’ {aka ‘union YYSTYPE’} has no member named ‘i’ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:223:49: error: ‘int4’ has not been declared 223 | void markNotMapped(AddrSpace *spc,uintb first,int4 sz,bool param); ///< Mark a specific address range is not mapped | ^~~~ src/decompile/cpp/pcodeparse.y:115:145: error: ‘YYSTYPE’ {aka ‘union YYSTYPE’} has no member named ‘i’ src/decompile/cpp/pcodeparse.y:115:167: error: ‘YYSTYPE’ {aka ‘union YYSTYPE’} has no member named ‘i’ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:212:19: error: expected ‘)’ before ‘id’ 212 | ScopeLocal(uint8 id,AddrSpace *spc,Funcdata *fd,Architecture *g); ///< Constructor | ~ ^~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:231:36: error: ‘int4’ has not been declared 231 | int4 &index,uint4 flags) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:204:16: error: ‘i’ was not declared in this scope 204 | for(int4 i=0;ibase_state; depth=0; breadcrumb[0] = 0; } | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserWalker::baseState()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:137:61: error: ‘depth’ was not declared in this scope 137 | void baseState(void) { point = const_context->base_state; depth=0; breadcrumb[0] = 0; } | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/loadimage.hh:58:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 58 | uintb size; ///< Number of bytes in section | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/loadimage.hh:58:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 58 | uintb size; ///< Number of bytes in section | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:212:36: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 212 | loadvars[0].offset = (uintb)(uintp)spc; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:68:14: error: ‘SymbolScope* SymbolTable::skipScope’ is not a static data member of ‘class SymbolTable’ 68 | SymbolScope *SymbolTable::skipScope(int4 i) const | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:213:19: error: ‘struct VarnodeData’ has no member named ‘size’ 213 | loadvars[0].size = sizeof(spc); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::openParen(char, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:533:14: error: ‘size’ was not declared in this scope 533 | tok = o; size = 1; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:219:13: error: ‘struct VarnodeData’ has no member named ‘offset’ 219 | invars->offset += getLabelBase(); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:534:50: error: overloaded function with no contextual type information 534 | tagtype=opar_t; delimtype=tokenstring; count=id; } | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/loadimage.hh:59:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 59 | uint4 flags; ///< Properties of the section | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/loadimage.hh:59:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 59 | uint4 flags; ///< Properties of the section | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:204:18: error: ‘numSpaces’ was not declared in this scope 204 | for(int4 i=0;iprintRaw(s,offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/loadimage.hh:92:3: error: ‘uint1’ does not name a type; did you mean ‘uint’? 92 | uint1 *load(int4 size,const Address &addr); ///< Load a chunk of image | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/loadimage.hh:92:3: error: ‘uint1’ does not name a type; did you mean ‘uint’? 92 | uint1 *load(int4 size,const Address &addr); ///< Load a chunk of image | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:288:8: error: ‘int4’ does not name a type; did you mean ‘int’? 288 | inline int4 Address::read(const string &s) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/loadimage.hh:101:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 101 | uintb vma; ///< Address of first byte in the file | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:137:70: error: ‘breadcrumb’ was not declared in this scope 137 | void baseState(void) { point = const_context->base_state; depth=0; breadcrumb[0] = 0; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/loadimage.hh:101:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 101 | uintb vma; ///< Address of first byte in the file | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::closeParen(char, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:541:14: error: ‘size’ was not declared in this scope 541 | tok = c; size = 1; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:542:50: error: overloaded function with no contextual type information 542 | tagtype=cpar_t; delimtype=tokenstring; count=id; } | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:137:70: error: ‘breadcrumb’ was not declared in this scope 137 | void baseState(void) { point = const_context->base_state; depth=0; breadcrumb[0] = 0; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:300:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 300 | inline uintb Address::getOffset(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::closeGroup(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:554:42: error: overloaded function with no contextual type information 554 | tagtype=cinv_t; delimtype=end; count=id; } | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/loadimage.hh:103:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 103 | uintb filesize; ///< Total number of bytes in the loadimage/file | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/loadimage.hh:110:25: error: ‘uint1’ has not been declared 110 | virtual void loadFill(uint1 *ptr,int4 size,const Address &addr); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/loadimage.hh:110:36: error: ‘int4’ has not been declared 110 | virtual void loadFill(uint1 *ptr,int4 size,const Address &addr); | ^~~~ src/decompile/cpp/pcodeparse.y:187:67: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? src/decompile/cpp/pcodeparse.y:187:85: error: ‘YYSTYPE’ {aka ‘union YYSTYPE’} has no member named ‘i’ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:68:37: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 68 | SymbolScope *SymbolTable::skipScope(int4 i) const | ^~~~ | int src/decompile/cpp/pcodeparse.y:187:112: error: ‘YYSTYPE’ {aka ‘union YYSTYPE’} has no member named ‘i’ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/loadimage.hh:103:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 103 | uintb filesize; ///< Total number of bytes in the loadimage/file | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘void SymbolTable::addGlobalSymbol(SleighSymbol*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:83:6: error: ‘class SleighSymbol’ has no member named ‘id’ 83 | a->id = symbollist.size(); | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/loadimage.hh:110:25: error: ‘uint1’ has not been declared 110 | virtual void loadFill(uint1 *ptr,int4 size,const Address &addr); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/loadimage.hh:110:36: error: ‘int4’ has not been declared 110 | virtual void loadFill(uint1 *ptr,int4 size,const Address &addr); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:180:16: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 180 | const vector &getAlias(void) { return checker.getAlias(); } ///< Get the list of alias starting offsets | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:180:21: error: template argument 1 is invalid 180 | const vector &getAlias(void) { return checker.getAlias(); } ///< Get the list of alias starting offsets | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:180:21: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:86:6: error: ‘class SleighSymbol’ has no member named ‘scopeid’ 86 | a->scopeid = scope->getId(); | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:86:23: error: ‘class SymbolScope’ has no member named ‘getId’ 86 | a->scopeid = scope->getId(); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘void SymbolTable::addSymbol(SleighSymbol*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:95:6: error: ‘class SleighSymbol’ has no member named ‘id’ 95 | a->id = symbollist.size(); | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:97:6: error: ‘class SleighSymbol’ has no member named ‘scopeid’ 97 | a->scopeid = curscope->getId(); | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:97:26: error: ‘class SymbolScope’ has no member named ‘getId’ 97 | a->scopeid = curscope->getId(); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:219:23: error: ‘getLabelBase’ was not declared in this scope 219 | invars->offset += getLabelBase(); | ^~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:225:11: error: ‘struct PcodeData’ has no member named ‘isize’ 225 | thisop->isize = isize; | ^~~~~ src/decompile/cpp/pcodeparse.y:188:65: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? src/decompile/cpp/pcodeparse.y:188:83: error: ‘YYSTYPE’ {aka ‘union YYSTYPE’} has no member named ‘i’ src/decompile/cpp/pcodeparse.y:188:105: error: ‘YYSTYPE’ {aka ‘union YYSTYPE’} has no member named ‘i’ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:39:3: error: ‘int4’ does not name a type; did you mean ‘int’? 39 | int4 wordsize; ///< Number of bytes in an aligned word access | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:234:17: error: ‘struct PcodeData’ has no member named ‘isize’ 234 | store_op->isize = 3; | ^~~~~ src/decompile/cpp/pcodeparse.y:188:128: error: ‘YYSTYPE’ {aka ‘union YYSTYPE’} has no member named ‘i’ src/decompile/cpp/pcodeparse.y:188:150: error: ‘YYSTYPE’ {aka ‘union YYSTYPE’} has no member named ‘i’ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:239:20: error: ‘struct VarnodeData’ has no member named ‘offset’ 239 | storevars[0].offset = (uintb)(uintp)spc; // space in which to store | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::stopIndent(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:568:43: error: ‘size’ was not declared in this scope 568 | tagtype=bump_t; delimtype=end_indent; size=0; count=id; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:568:57: error: overloaded function with no contextual type information 568 | tagtype=bump_t; delimtype=end_indent; size=0; count=id; } | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::stopComment(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:580:50: error: overloaded function with no contextual type information 580 | tagtype=cinv_t; delimtype=end_comment; count=id; } | ^~ src/decompile/cpp/pcodeparse.y:191:61: error: ‘struct StarQuality’ has no member named ‘size’ src/decompile/cpp/pcodeparse.y:191:79: error: ‘YYSTYPE’ {aka ‘union YYSTYPE’} has no member named ‘i’ src/decompile/cpp/pcodeparse.y:191:100: error: ‘YYSTYPE’ {aka ‘union YYSTYPE’} has no member named ‘i’ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:39:3: error: ‘int4’ does not name a type; did you mean ‘int’? 39 | int4 wordsize; ///< Number of bytes in an aligned word access | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:40:3: error: ‘int4’ does not name a type; did you mean ‘int’? 40 | int4 pagesize; ///< Number of bytes in an aligned page access | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:43:23: error: ‘uintb’ has not been declared 43 | virtual void insert(uintb addr,uintb val)=0; ///< Insert a word in memory bank at an aligned location | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:43:34: error: ‘uintb’ has not been declared 43 | virtual void insert(uintb addr,uintb val)=0; ///< Insert a word in memory bank at an aligned location | ^~~~~ src/decompile/cpp/pcodeparse.y:192:61: error: ‘struct StarQuality’ has no member named ‘size’ src/decompile/cpp/pcodeparse.y:193:61: error: ‘struct StarQuality’ has no member named ‘size’ src/decompile/cpp/pcodeparse.y:193:79: error: ‘YYSTYPE’ {aka ‘union YYSTYPE’} has no member named ‘i’ src/decompile/cpp/pcodeparse.y:193:100: error: ‘YYSTYPE’ {aka ‘union YYSTYPE’} has no member named ‘i’ src/decompile/cpp/pcodeparse.y:194:61: error: ‘struct StarQuality’ has no member named ‘size’ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserWalker::pushOperand(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:140:30: error: ‘breadcrumb’ was not declared in this scope 140 | void pushOperand(int4 i) { breadcrumb[depth++] = i+1; point = point->resolve[i]; breadcrumb[depth] = 0; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:44:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 44 | virtual uintb find(uintb addr) const=0; ///< Retrieve a word from memory bank at an aligned location | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:45:24: error: ‘uintb’ has not been declared 45 | virtual void getPage(uintb addr,uint1 *res,int4 skip,int4 size) const; ///< Retrieve data from a memory \e page | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:45:35: error: ‘uint1’ has not been declared 45 | virtual void getPage(uintb addr,uint1 *res,int4 skip,int4 size) const; ///< Retrieve data from a memory \e page | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:45:46: error: ‘int4’ has not been declared 45 | virtual void getPage(uintb addr,uint1 *res,int4 skip,int4 size) const; ///< Retrieve data from a memory \e page | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:40:3: error: ‘int4’ does not name a type; did you mean ‘int’? 40 | int4 pagesize; ///< Number of bytes in an aligned page access | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:45:56: error: ‘int4’ has not been declared 45 | virtual void getPage(uintb addr,uint1 *res,int4 skip,int4 size) const; ///< Retrieve data from a memory \e page | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:43:23: error: ‘uintb’ has not been declared 43 | virtual void insert(uintb addr,uintb val)=0; ///< Insert a word in memory bank at an aligned location | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:46:24: error: ‘uintb’ has not been declared 46 | virtual void setPage(uintb addr,const uint1 *val,int4 skip,int4 size); ///< Write data into a memory page | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:43:34: error: ‘uintb’ has not been declared 43 | virtual void insert(uintb addr,uintb val)=0; ///< Insert a word in memory bank at an aligned location | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserWalker::pushOperand(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:140:30: error: ‘breadcrumb’ was not declared in this scope 140 | void pushOperand(int4 i) { breadcrumb[depth++] = i+1; point = point->resolve[i]; breadcrumb[depth] = 0; } | ^~~~~~~~~~ src/decompile/cpp/pcodeparse.y:198:106: error: ‘YYSTYPE’ {aka ‘union YYSTYPE’} has no member named ‘i’ src/decompile/cpp/pcodeparse.y:198:165: error: ‘YYSTYPE’ {aka ‘union YYSTYPE’} has no member named ‘i’ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘Address& Address::operator=(const Address&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:319:3: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 319 | offset = op2.offset; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc: In member function ‘void SleighBase::restoreXml(const Element*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:225:3: error: ‘maxdelayslotbytes’ was not declared in this scope 225 | maxdelayslotbytes = 0; | ^~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:319:16: error: ‘const class Address’ has no member named ‘offset’ 319 | offset = op2.offset; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:46:41: error: ‘uint1’ does not name a type; did you mean ‘uint’? 46 | virtual void setPage(uintb addr,const uint1 *val,int4 skip,int4 size); ///< Write data into a memory page | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:46:52: error: ‘int4’ has not been declared 46 | virtual void setPage(uintb addr,const uint1 *val,int4 skip,int4 size); ///< Write data into a memory page | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:46:62: error: ‘int4’ has not been declared 46 | virtual void setPage(uintb addr,const uint1 *val,int4 skip,int4 size); ///< Write data into a memory page | ^~~~ src/decompile/cpp/pcodeparse.y:200:141: error: ‘YYSTYPE’ {aka ‘union YYSTYPE’} has no member named ‘i’ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:48:29: error: ‘int4’ has not been declared 48 | MemoryBank(AddrSpace *spc,int4 ws,int4 ps); ///< Generic constructor for a memory bank | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:48:37: error: ‘int4’ has not been declared 48 | MemoryBank(AddrSpace *spc,int4 ws,int4 ps); ///< Generic constructor for a memory bank | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:239:30: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 239 | storevars[0].offset = (uintb)(uintp)spc; // space in which to store | ^~~~~ | uint src/decompile/cpp/pcodeparse.y:200:174: error: ‘class AddrSpace’ has no member named ‘getAddrSize’ src/decompile/cpp/pcodeparse.y:200:209: error: ‘YYSTYPE’ {aka ‘union YYSTYPE’} has no member named ‘i’ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:44:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 44 | virtual uintb find(uintb addr) const=0; ///< Retrieve a word from memory bank at an aligned location | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:45:24: error: ‘uintb’ has not been declared 45 | virtual void getPage(uintb addr,uint1 *res,int4 skip,int4 size) const; ///< Retrieve data from a memory \e page | ^~~~~ src/decompile/cpp/pcodeparse.y:201:127: error: ‘class LabelSymbol’ has no member named ‘getIndex’ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:45:35: error: ‘uint1’ has not been declared 45 | virtual void getPage(uintb addr,uint1 *res,int4 skip,int4 size) const; ///< Retrieve data from a memory \e page | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:45:46: error: ‘int4’ has not been declared 45 | virtual void getPage(uintb addr,uint1 *res,int4 skip,int4 size) const; ///< Retrieve data from a memory \e page | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:45:56: error: ‘int4’ has not been declared 45 | virtual void getPage(uintb addr,uint1 *res,int4 skip,int4 size) const; ///< Retrieve data from a memory \e page | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:46:24: error: ‘uintb’ has not been declared 46 | virtual void setPage(uintb addr,const uint1 *val,int4 skip,int4 size); ///< Write data into a memory page | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:50:3: error: ‘int4’ does not name a type; did you mean ‘int’? 50 | int4 getWordSize(void) const; ///< Get the number of bytes in a word for this memory bank | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘void SymbolTable::replaceSymbol(SleighSymbol*, SleighSymbol*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:122:3: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 122 | int4 i = table.size()-1; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:51:3: error: ‘int4’ does not name a type; did you mean ‘int’? 51 | int4 getPageSize(void) const; ///< Get the number of bytes in a page for this memory bank | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:54:17: error: ‘uintb’ has not been declared 54 | void setValue(uintb offset,int4 size,uintb val); ///< Set the value of a (small) range of bytes | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:54:30: error: ‘int4’ has not been declared 54 | void setValue(uintb offset,int4 size,uintb val); ///< Set the value of a (small) range of bytes | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:54:40: error: ‘uintb’ has not been declared 54 | void setValue(uintb offset,int4 size,uintb val); ///< Set the value of a (small) range of bytes | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:46:41: error: ‘uint1’ does not name a type; did you mean ‘uint’? 46 | virtual void setPage(uintb addr,const uint1 *val,int4 skip,int4 size); ///< Write data into a memory page | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:46:52: error: ‘int4’ has not been declared 46 | virtual void setPage(uintb addr,const uint1 *val,int4 skip,int4 size); ///< Write data into a memory page | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:46:62: error: ‘int4’ has not been declared 46 | virtual void setPage(uintb addr,const uint1 *val,int4 skip,int4 size); ///< Write data into a memory page | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:48:29: error: ‘int4’ has not been declared 48 | MemoryBank(AddrSpace *spc,int4 ws,int4 ps); ///< Generic constructor for a memory bank | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:48:37: error: ‘int4’ has not been declared 48 | MemoryBank(AddrSpace *spc,int4 ws,int4 ps); ///< Generic constructor for a memory bank | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::spaces(int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:587:43: error: ‘numspaces’ was not declared in this scope; did you mean ‘spaces’? 587 | tagtype=spac_t; delimtype=tokenbreak; numspaces=num; indentbump=bump; } | ^~~~~~~~~ | spaces /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:140:41: error: ‘depth’ was not declared in this scope 140 | void pushOperand(int4 i) { breadcrumb[depth++] = i+1; point = point->resolve[i]; breadcrumb[depth] = 0; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:55:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 55 | uintb getValue(uintb offset,int4 size) const; ///< Retrieve the value encoded in a (small) range of bytes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:56:17: error: ‘uintb’ has not been declared 56 | void setChunk(uintb offset,int4 size,const uint1 *val); ///< Set values of an arbitrary sequence of bytes | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:56:30: error: ‘int4’ has not been declared 56 | void setChunk(uintb offset,int4 size,const uint1 *val); ///< Set values of an arbitrary sequence of bytes | ^~~~ src/decompile/cpp/pcodeparse.y:201:170: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:140:41: error: ‘depth’ was not declared in this scope 140 | void pushOperand(int4 i) { breadcrumb[depth++] = i+1; point = point->resolve[i]; breadcrumb[depth] = 0; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:50:3: error: ‘int4’ does not name a type; did you mean ‘int’? 50 | int4 getWordSize(void) const; ///< Get the number of bytes in a word for this memory bank | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:56:46: error: ‘uint1’ does not name a type; did you mean ‘uint’? 56 | void setChunk(uintb offset,int4 size,const uint1 *val); ///< Set values of an arbitrary sequence of bytes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:57:17: error: ‘uintb’ has not been declared 57 | void getChunk(uintb offset,int4 size,uint1 *res) const; ///< Retrieve an arbitrary sequence of bytes | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:57:30: error: ‘int4’ has not been declared 57 | void getChunk(uintb offset,int4 size,uint1 *res) const; ///< Retrieve an arbitrary sequence of bytes | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:57:40: error: ‘uint1’ has not been declared 57 | void getChunk(uintb offset,int4 size,uint1 *res) const; ///< Retrieve an arbitrary sequence of bytes | ^~~~~ src/decompile/cpp/pcodeparse.y:208:111: error: ‘YYSTYPE’ {aka ‘union YYSTYPE’} has no member named ‘i’ src/decompile/cpp/pcodeparse.y:208:161: error: ‘YYSTYPE’ {aka ‘union YYSTYPE’} has no member named ‘i’ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:58:10: error: ‘uintb’ does not name a type; did you mean ‘uint’? 58 | static uintb constructValue(const uint1 *ptr,int4 size,bool bigendian); ///< Decode bytes to value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:59:32: error: ‘uint1’ has not been declared 59 | static void deconstructValue(uint1 *ptr,uintb val,int4 size,bool bigendian); ///< Encode value to bytes | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:51:3: error: ‘int4’ does not name a type; did you mean ‘int’? 51 | int4 getPageSize(void) const; ///< Get the number of bytes in a page for this memory bank | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:59:43: error: ‘uintb’ has not been declared 59 | static void deconstructValue(uint1 *ptr,uintb val,int4 size,bool bigendian); ///< Encode value to bytes | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:59:53: error: ‘int4’ has not been declared 59 | static void deconstructValue(uint1 *ptr,uintb val,int4 size,bool bigendian); ///< Encode value to bytes | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:54:17: error: ‘uintb’ has not been declared 54 | void setValue(uintb offset,int4 size,uintb val); ///< Set the value of a (small) range of bytes | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:54:30: error: ‘int4’ has not been declared 54 | void setValue(uintb offset,int4 size,uintb val); ///< Set the value of a (small) range of bytes | ^~~~ src/decompile/cpp/pcodeparse.y:210:112: error: ‘YYSTYPE’ {aka ‘union YYSTYPE’} has no member named ‘i’ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:54:40: error: ‘uintb’ has not been declared 54 | void setValue(uintb offset,int4 size,uintb val); ///< Set the value of a (small) range of bytes | ^~~~~ src/decompile/cpp/pcodeparse.y:210:151: error: ‘YYSTYPE’ {aka ‘union YYSTYPE’} has no member named ‘i’ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:239:37: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 239 | storevars[0].offset = (uintb)(uintp)spc; // space in which to store | ^~~~~ | uint src/decompile/cpp/pcodeparse.y:210:175: error: ‘YYSTYPE’ {aka ‘union YYSTYPE’} has no member named ‘i’ src/decompile/cpp/pcodeparse.y:210:196: error: ‘YYSTYPE’ {aka ‘union YYSTYPE’} has no member named ‘i’ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:240:20: error: ‘struct VarnodeData’ has no member named ‘size’ 240 | storevars[0].size = sizeof(spc); | ^~~~ src/decompile/cpp/pcodeparse.y:212:73: error: ‘YYSTYPE’ {aka ‘union YYSTYPE’} has no member named ‘i’ src/decompile/cpp/pcodeparse.y:212:96: error: ‘YYSTYPE’ {aka ‘union YYSTYPE’} has no member named ‘i’ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:124:9: error: ‘i’ was not declared in this scope 124 | while(i>=0) { // Find the particular symbol | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:257:48: error: ‘int4’ has not been declared 257 | void SleighBuilder::buildEmpty(Constructor *ct,int4 secnum) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:128:10: error: ‘class SleighSymbol’ has no member named ‘id’ 128 | b->id = a->id; | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:128:18: error: ‘class SleighSymbol’ has no member named ‘id’ 128 | b->id = a->id; | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:65:8: error: ‘int4’ does not name a type; did you mean ‘int’? 65 | inline int4 MemoryBank::getWordSize(void) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Address::operator==(const Address&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:328:30: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 328 | return ((base==op2.base)&&(offset==op2.offset)); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:129:10: error: ‘class SleighSymbol’ has no member named ‘scopeid’ 129 | b->scopeid = a->scopeid; | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:129:23: error: ‘class SleighSymbol’ has no member named ‘scopeid’ 129 | b->scopeid = a->scopeid; | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:328:42: error: ‘const class Address’ has no member named ‘offset’ 328 | return ((base==op2.base)&&(offset==op2.offset)); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:130:21: error: ‘class SleighSymbol’ has no member named ‘id’ 130 | symbollist[b->id] = b; | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:55:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 55 | uintb getValue(uintb offset,int4 size) const; ///< Retrieve the value encoded in a (small) range of bytes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:56:17: error: ‘uintb’ has not been declared 56 | void setChunk(uintb offset,int4 size,const uint1 *val); ///< Set values of an arbitrary sequence of bytes | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:56:30: error: ‘int4’ has not been declared 56 | void setChunk(uintb offset,int4 size,const uint1 *val); ///< Set values of an arbitrary sequence of bytes | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:74:8: error: ‘int4’ does not name a type; did you mean ‘int’? 74 | inline int4 MemoryBank::getPageSize(void) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:96:23: error: ‘uintb’ has not been declared 96 | virtual void insert(uintb addr,uintb val) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:96:34: error: ‘uintb’ has not been declared 96 | virtual void insert(uintb addr,uintb val) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserWalker::popOperand()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:141:50: error: ‘depth’ was not declared in this scope 141 | void popOperand(void) { point = point->parent; depth-= 1; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserWalker::popOperand()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:141:50: error: ‘depth’ was not declared in this scope 141 | void popOperand(void) { point = point->parent; depth-= 1; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:56:46: error: ‘uint1’ does not name a type; did you mean ‘uint’? 56 | void setChunk(uintb offset,int4 size,const uint1 *val); ///< Set values of an arbitrary sequence of bytes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:226:3: error: ‘unique_allocatemask’ was not declared in this scope 226 | unique_allocatemask = 0; | ^~~~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:57:17: error: ‘uintb’ has not been declared 57 | void getChunk(uintb offset,int4 size,uint1 *res) const; ///< Retrieve an arbitrary sequence of bytes | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:57:30: error: ‘int4’ has not been declared 57 | void getChunk(uintb offset,int4 size,uint1 *res) const; ///< Retrieve an arbitrary sequence of bytes | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:57:40: error: ‘uint1’ has not been declared 57 | void getChunk(uintb offset,int4 size,uint1 *res) const; ///< Retrieve an arbitrary sequence of bytes | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:98:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 98 | virtual uintb find(uintb addr) const; ///< Overridden find method | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:99:24: error: ‘uintb’ has not been declared 99 | virtual void getPage(uintb addr,uint1 *res,int4 skip,int4 size) const; ///< Overridded getPage method | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:99:35: error: ‘uint1’ has not been declared 99 | virtual void getPage(uintb addr,uint1 *res,int4 skip,int4 size) const; ///< Overridded getPage method | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:99:46: error: ‘int4’ has not been declared 99 | virtual void getPage(uintb addr,uint1 *res,int4 skip,int4 size) const; ///< Overridded getPage method | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:99:56: error: ‘int4’ has not been declared 99 | virtual void getPage(uintb addr,uint1 *res,int4 skip,int4 size) const; ///< Overridded getPage method | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:101:30: error: ‘int4’ has not been declared 101 | MemoryImage(AddrSpace *spc,int4 ws,int4 ps,LoadImage *ld); ///< Constructor for a loadimage memorybank | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:101:38: error: ‘int4’ has not been declared 101 | MemoryImage(AddrSpace *spc,int4 ws,int4 ps,LoadImage *ld); ///< Constructor for a loadimage memorybank | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:172:18: error: ‘uint4’ has not been declared 172 | void setOffset(uint4 off) { point->offset = off; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:174:25: error: ‘int4’ has not been declared 174 | void setCurrentLength(int4 len) { point->length = len; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:175:26: error: ‘int4’ has not been declared 175 | void calcCurrentLength(int4 length,int4 numopers); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:175:38: error: ‘int4’ has not been declared 175 | void calcCurrentLength(int4 length,int4 numopers); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:587:58: error: ‘indentbump’ was not declared in this scope 587 | tagtype=spac_t; delimtype=tokenbreak; numspaces=num; indentbump=bump; } | ^~~~~~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:172:18: error: ‘uint4’ has not been declared 172 | void setOffset(uint4 off) { point->offset = off; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc: In member function ‘void SleighBuilder::buildEmpty(Constructor*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:260:3: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 260 | int4 numops = ct->getNumOperands(); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:174:25: error: ‘int4’ has not been declared 174 | void setCurrentLength(int4 len) { point->length = len; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:262:11: error: expected ‘;’ before ‘i’ 262 | for(int4 i=0;ioffset = off; } | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:58:10: error: ‘uintb’ does not name a type; did you mean ‘uint’? 58 | static uintb constructValue(const uint1 *ptr,int4 size,bool bigendian); ///< Decode bytes to value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserWalkerChange::setCurrentLength(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:174:44: error: ‘struct ConstructState’ has no member named ‘length’ 174 | void setCurrentLength(int4 len) { point->length = len; } | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:59:32: error: ‘uint1’ has not been declared 59 | static void deconstructValue(uint1 *ptr,uintb val,int4 size,bool bigendian); ///< Encode value to bytes | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:59:43: error: ‘uintb’ has not been declared 59 | static void deconstructValue(uint1 *ptr,uintb val,int4 size,bool bigendian); ///< Encode value to bytes | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:59:53: error: ‘int4’ has not been declared 59 | static void deconstructValue(uint1 *ptr,uintb val,int4 size,bool bigendian); ///< Encode value to bytes | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserWalkerChange::setOffset(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:172:38: error: ‘struct ConstructState’ has no member named ‘offset’ 172 | void setOffset(uint4 off) { point->offset = off; } | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserWalkerChange::setCurrentLength(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:174:44: error: ‘struct ConstructState’ has no member named ‘length’ 174 | void setCurrentLength(int4 len) { point->length = len; } | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Address::operator<(const Address&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:351:39: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 351 | else if (base == (AddrSpace *) ~((uintp)0)) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:351:45: error: expected ‘)’ before numeric constant 351 | else if (base == (AddrSpace *) ~((uintp)0)) { | ~ ^ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:353:6: error: expected ‘)’ before ‘else’ 353 | } | ^ | ) 354 | else if (op2.base == (AddrSpace *)0) { | ~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:351:13: note: to match this ‘(’ 351 | else if (base == (AddrSpace *) ~((uintp)0)) { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:65:8: error: ‘int4’ does not name a type; did you mean ‘int’? 65 | inline int4 MemoryBank::getWordSize(void) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:262:16: error: ‘i’ was not declared in this scope 262 | for(int4 i=0;i page; ///< Overlayed pages | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:96:23: error: ‘uintb’ has not been declared 96 | virtual void insert(uintb addr,uintb val) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:96:34: error: ‘uintb’ has not been declared 96 | virtual void insert(uintb addr,uintb val) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserContext::deallocateState(ParserWalkerChange&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:183:3: error: ‘alloc’ was not declared in this scope; did you mean ‘valloc’? 183 | alloc = 1; | ^~~~~ | valloc /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘void SymbolTable::saveXml(std::ostream&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:145:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 145 | for(int4 i=0;i page; ///< Overlayed pages | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:112:20: error: template argument 1 is invalid 112 | map page; ///< Overlayed pages | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:112:20: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:112:20: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:112:20: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:114:23: error: ‘uintb’ has not been declared 114 | virtual void insert(uintb addr,uintb val); ///< Overridden aligned word insert | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:188:44: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 188 | inline void ParserContext::allocateOperand(int4 i,ParserWalkerChange &walker) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:114:34: error: ‘uintb’ has not been declared 114 | virtual void insert(uintb addr,uintb val); ///< Overridden aligned word insert | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:188:70: error: expected primary-expression before ‘&’ token 188 | inline void ParserContext::allocateOperand(int4 i,ParserWalkerChange &walker) { | ^ src/decompile/cpp/pcodeparse.y:281:1: error: ‘int4’ does not name a type; did you mean ‘int’? /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:262:18: error: ‘numops’ was not declared in this scope 262 | for(int4 i=0;i page; ///< Overlayed pages | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:591:61: error: ‘indentbump’ was not declared in this scope 591 | tagtype=bump_t; delimtype=tokenbreak; numspaces=999999; indentbump=0; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:130:3: error: ‘int4’ does not name a type; did you mean ‘int’? 130 | int4 alignshift; ///< How many LSBs are thrown away from address when doing hash table lookup | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:23:3: error: ‘int4’ does not name a type; did you mean ‘int’? 23 | int4 offset; // Offset to non-zero byte of mask | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:24:3: error: ‘int4’ does not name a type; did you mean ‘int’? 24 | int4 nonzerosize; // Last byte(+1) containing nonzero mask | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:131:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 131 | uintb collideskip; ///< How many slots to skip after a hashtable collision | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:24:3: error: ‘int4’ does not name a type; did you mean ‘int’? 24 | int4 nonzerosize; // Last byte(+1) containing nonzero mask | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:207:35: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 207 | void markUnaliased(const vector &alias); ///< Mark all local symbols for which there are no aliases | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:207:40: error: template argument 1 is invalid 207 | void markUnaliased(const vector &alias); ///< Mark all local symbols for which there are no aliases | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:207:40: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:212:19: error: expected ‘)’ before ‘id’ 212 | ScopeLocal(uint8 id,AddrSpace *spc,Funcdata *fd,Architecture *g); ///< Constructor | ~ ^~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:223:37: error: ‘uintb’ has not been declared 223 | void markNotMapped(AddrSpace *spc,uintb first,int4 sz,bool param); ///< Mark a specific address range is not mapped | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:223:49: error: ‘int4’ has not been declared 223 | void markNotMapped(AddrSpace *spc,uintb first,int4 sz,bool param); ///< Mark a specific address range is not mapped | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:231:36: error: ‘int4’ has not been declared 231 | int4 &index,uint4 flags) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Address::operator<=(const Address&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:374:39: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 374 | else if (base == (AddrSpace *) ~((uintp)0)) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:231:48: error: ‘uint4’ has not been declared 231 | int4 &index,uint4 flags) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:374:45: error: expected ‘)’ before numeric constant 374 | else if (base == (AddrSpace *) ~((uintp)0)) { | ~ ^ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:376:6: error: expected ‘)’ before ‘else’ 376 | } | ^ | ) 377 | else if (op2.base == (AddrSpace *)0) { | ~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:374:13: note: to match this ‘(’ 374 | else if (base == (AddrSpace *) ~((uintp)0)) { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:236:47: error: ‘uint8’ has not been declared 236 | SymbolEntry *remapSymbolDynamic(Symbol *sym,uint8 hash,const Address &usepoint); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:112:13: error: ‘uint1’ was not declared in this scope; did you mean ‘uint’? 112 | map page; ///< Overlayed pages | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:112:20: error: template argument 1 is invalid 112 | map page; ///< Overlayed pages | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:112:20: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:112:20: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:112:20: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:114:23: error: ‘uintb’ has not been declared 114 | virtual void insert(uintb addr,uintb val); ///< Overridden aligned word insert | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:114:34: error: ‘uintb’ has not been declared 114 | virtual void insert(uintb addr,uintb val); ///< Overridden aligned word insert | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:233:10: error: ‘alignment’ was not declared in this scope 233 | s >> alignment; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:25:10: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 25 | vector maskvec; // Mask | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:25:15: error: template argument 1 is invalid 25 | vector maskvec; // Mask | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:25:15: error: template argument 2 is invalid src/decompile/cpp/pcodeparse.y: In member function ‘void PcodeLexer::initialize(std::istream*)’: src/decompile/cpp/pcodeparse.y:618:3: error: ‘curstate’ was not declared in this scope /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:156:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 156 | for(int4 i=0;i maskvec; // Mask | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:25:15: error: template argument 1 is invalid 25 | vector maskvec; // Mask | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:25:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:283:24: error: ‘const class Address’ has no member named ‘getOffset’ 283 | uniqueoffset = (addr.getOffset() & uniquemask)<<4; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:132:10: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 132 | vector address; ///< The hashtable addresses | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:132:15: error: template argument 1 is invalid 132 | vector address; ///< The hashtable addresses | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:132:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:115:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 115 | virtual uintb find(uintb addr) const; ///< Overridden aligned word find | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:116:24: error: ‘uintb’ has not been declared 116 | virtual void getPage(uintb addr,uint1 *res,int4 skip,int4 size) const; ///< Overridden getPage | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:116:35: error: ‘uint1’ has not been declared 116 | virtual void getPage(uintb addr,uint1 *res,int4 skip,int4 size) const; ///< Overridden getPage | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:116:46: error: ‘int4’ has not been declared 116 | virtual void getPage(uintb addr,uint1 *res,int4 skip,int4 size) const; ///< Overridden getPage | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:116:56: error: ‘int4’ has not been declared 116 | virtual void getPage(uintb addr,uint1 *res,int4 skip,int4 size) const; ///< Overridden getPage | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:117:24: error: ‘uintb’ has not been declared 117 | virtual void setPage(uintb addr,const uint1 *val,int4 skip,int4 size); ///< Overridden setPage | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::tagLine(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:595:43: error: ‘numspaces’ was not declared in this scope; did you mean ‘spaces’? 595 | tagtype=line_t; delimtype=tokenbreak; numspaces=999999; indentbump=indent; } | ^~~~~~~~~ | spaces /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:117:41: error: ‘uint1’ does not name a type; did you mean ‘uint’? 117 | virtual void setPage(uintb addr,const uint1 *val,int4 skip,int4 size); ///< Overridden setPage | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:117:52: error: ‘int4’ has not been declared 117 | virtual void setPage(uintb addr,const uint1 *val,int4 skip,int4 size); ///< Overridden setPage | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:117:62: error: ‘int4’ has not been declared 117 | virtual void setPage(uintb addr,const uint1 *val,int4 skip,int4 size); ///< Overridden setPage | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:26:10: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 26 | vector valvec; // Value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:119:36: error: ‘int4’ has not been declared 119 | MemoryPageOverlay(AddrSpace *spc,int4 ws,int4 ps,MemoryBank *ul); ///< Constructor for page overlay | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:26:15: error: template argument 1 is invalid 26 | vector valvec; // Value | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:26:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:119:44: error: ‘int4’ has not been declared 119 | MemoryPageOverlay(AddrSpace *spc,int4 ws,int4 ps,MemoryBank *ul); ///< Constructor for page overlay | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/loadimage.hh:58:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 58 | uintb size; ///< Number of bytes in section | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:29:20: error: expected ‘)’ before ‘off’ 29 | PatternBlock(int4 off,uintm msk,uintm val); | ~ ^~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:238:5: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 238 | uintm ubase; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:38:14: error: ‘int4’ has not been declared 38 | void shift(int4 sa) { offset += sa; normalize(); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:26:10: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 26 | vector valvec; // Value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:26:15: error: template argument 1 is invalid 26 | vector valvec; // Value | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:26:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:133:10: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 133 | vector value; ///< The hashtable values | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:133:15: error: template argument 1 is invalid 133 | vector value; ///< The hashtable values | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:133:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:135:23: error: ‘uintb’ has not been declared 135 | virtual void insert(uintb addr,uintb val); ///< Overridden aligned word insert | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:135:34: error: ‘uintb’ has not been declared 135 | virtual void insert(uintb addr,uintb val); ///< Overridden aligned word insert | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:29:20: error: expected ‘)’ before ‘off’ 29 | PatternBlock(int4 off,uintm msk,uintm val); | ~ ^~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:156:16: error: ‘i’ was not declared in this scope 156 | for(int4 i=0;i> ubase; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc: In constructor ‘SleighBuilder::SleighBuilder(ParserWalker*, DisassemblyCache*, PcodeCacher*, AddrSpace*, AddrSpace*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:296:19: error: no matching function for call to ‘PcodeBuilder::PcodeBuilder(int)’ 296 | : PcodeBuilder(0) | ^ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:192:7: note: candidate: ‘PcodeBuilder::PcodeBuilder()’ 192 | class PcodeBuilder { // SLEIGH specific pcode generator | ^~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:242:7: error: expected ‘;’ before ‘numattr’ 242 | int4 numattr = el->getNumAttributes(); | ^~~~~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:192:7: note: candidate expects 0 arguments, 1 provided /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:243:11: error: expected ‘;’ before ‘i’ 243 | for(int4 i=0;i address; ///< The hashtable addresses | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:132:15: error: template argument 1 is invalid 132 | vector address; ///< The hashtable addresses | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:132:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/loadimage.hh:103:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 103 | uintb filesize; ///< Total number of bytes in the loadimage/file | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/loadimage.hh:110:25: error: ‘uint1’ has not been declared 110 | virtual void loadFill(uint1 *ptr,int4 size,const Address &addr); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/loadimage.hh:110:36: error: ‘int4’ has not been declared 110 | virtual void loadFill(uint1 *ptr,int4 size,const Address &addr); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:243:16: error: ‘i’ was not declared in this scope 243 | for(int4 i=0;i value; ///< The hashtable values | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:133:15: error: template argument 1 is invalid 133 | vector value; ///< The hashtable values | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:133:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:135:23: error: ‘uintb’ has not been declared 135 | virtual void insert(uintb addr,uintb val); ///< Overridden aligned word insert | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:135:34: error: ‘uintb’ has not been declared 135 | virtual void insert(uintb addr,uintb val); ///< Overridden aligned word insert | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:160:16: error: ‘i’ was not declared in this scope 160 | for(int4 i=0;isaveXmlAttributes(s,offset); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh: In member function ‘bool PatternBlock::alwaysTrue() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:42:41: error: ‘nonzerosize’ was not declared in this scope 42 | bool alwaysTrue(void) const { return (nonzerosize==0); } | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:46:41: error: ‘uint1’ does not name a type; did you mean ‘uint’? 46 | virtual void setPage(uintb addr,const uint1 *val,int4 skip,int4 size); ///< Write data into a memory page | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:46:52: error: ‘int4’ has not been declared 46 | virtual void setPage(uintb addr,const uint1 *val,int4 skip,int4 size); ///< Write data into a memory page | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:46:62: error: ‘int4’ has not been declared 46 | virtual void setPage(uintb addr,const uint1 *val,int4 skip,int4 size); ///< Write data into a memory page | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:48:29: error: ‘int4’ has not been declared 48 | MemoryBank(AddrSpace *spc,int4 ws,int4 ps); ///< Generic constructor for a memory bank | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:48:37: error: ‘int4’ has not been declared 48 | MemoryBank(AddrSpace *spc,int4 ws,int4 ps); ///< Generic constructor for a memory bank | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘void SymbolTable::restoreXml(const Element*, SleighBase*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:169:5: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 169 | uint4 size; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:438:41: error: ‘int4’ has not been declared 438 | inline void Address::saveXml(ostream &s,int4 size) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:631:3: error: ‘int4’ does not name a type; did you mean ‘int’? 631 | int4 bottomref(void) const { return left; } ///< Get a reference to the first object on the queue/stack | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:632:14: error: ‘int4’ has not been declared 632 | _type &ref(int4 r) { return cache[r]; } ///< Retrieve an object by its reference | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘bool circularqueue<_type>::empty() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:629:53: error: invalid operands of types ‘std::ios_base& (*)(std::ios_base&)’ and ‘’ to binary ‘operator%’ 629 | bool empty(void) const { return (left == (right+1)%max); } ///< Is the queue empty | ~~~~~~~~~^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘_type& circularqueue<_type>::push()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:635:38: error: invalid operands of types ‘std::ios_base& (*)(std::ios_base&)’ and ‘’ to binary ‘operator%’ 635 | _type &push(void) { right=(right+1)%max; return cache[right]; } ///< Push a new object onto the queue/stack | ~~~~~~~~~^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:50:3: error: ‘int4’ does not name a type; did you mean ‘int’? 50 | int4 getWordSize(void) const; ///< Get the number of bytes in a word for this memory bank | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:189:57: error: ‘uintb’ has not been declared 189 | inline void MemoryState::setValue(const VarnodeData *vn,uintb cval) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:304:3: error: ‘uniqueoffset’ was not declared in this scope; did you mean ‘setUniqueOffset’? 304 | uniqueoffset = (walker->getAddr().getOffset() & uniquemask)<<4; | ^~~~~~~~~~~~ | setUniqueOffset /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh: In member function ‘void MemoryState::setValue(const VarnodeData*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:192:26: error: ‘const struct VarnodeData’ has no member named ‘offset’ 192 | setValue(vn->space,vn->offset,vn->size,cval); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:192:37: error: ‘const struct VarnodeData’ has no member named ‘size’ 192 | setValue(vn->space,vn->offset,vn->size,cval); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:304:37: error: ‘const class Address’ has no member named ‘getOffset’ 304 | uniqueoffset = (walker->getAddr().getOffset() & uniquemask)<<4; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:307:44: error: ‘int4’ has not been declared 307 | void SleighBuilder::appendBuild(OpTpl *bld,int4 secnum) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:51:3: error: ‘int4’ does not name a type; did you mean ‘int’? 51 | int4 getPageSize(void) const; ///< Get the number of bytes in a page for this memory bank | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:54:17: error: ‘uintb’ has not been declared 54 | void setValue(uintb offset,int4 size,uintb val); ///< Set the value of a (small) range of bytes | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:54:30: error: ‘int4’ has not been declared 54 | void setValue(uintb offset,int4 size,uintb val); ///< Set the value of a (small) range of bytes | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:54:40: error: ‘uintb’ has not been declared 54 | void setValue(uintb offset,int4 size,uintb val); ///< Set the value of a (small) range of bytes | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:158:32: error: ‘uintb’ has not been declared 158 | void setValue(AddrSpace *spc,uintb off,int4 size,uintb cval); ///< Set a value on the memory state | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:158:42: error: ‘int4’ has not been declared 158 | void setValue(AddrSpace *spc,uintb off,int4 size,uintb cval); ///< Set a value on the memory state | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:158:52: error: ‘uintb’ has not been declared 158 | void setValue(AddrSpace *spc,uintb off,int4 size,uintb cval); ///< Set a value on the memory state | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:199:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 199 | inline uintb MemoryState::getValue(const VarnodeData *vn) const | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:263:12: error: ‘version’ was not declared in this scope 263 | s >> version; | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:55:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 55 | uintb getValue(uintb offset,int4 size) const; ///< Retrieve the value encoded in a (small) range of bytes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:56:17: error: ‘uintb’ has not been declared 56 | void setChunk(uintb offset,int4 size,const uint1 *val); ///< Set values of an arbitrary sequence of bytes | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:56:30: error: ‘int4’ has not been declared 56 | void setChunk(uintb offset,int4 size,const uint1 *val); ///< Set values of an arbitrary sequence of bytes | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:41:3: error: ‘int4’ does not name a type; did you mean ‘int’? 41 | int4 size; ///< Size of float in bytes (this format) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘_type& circularqueue<_type>::pop()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:636:22: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 636 | _type &pop(void) { int4 tmp=right; right=(right+max-1)%max; return cache[tmp]; } ///< Pop the (last) object on the stack | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:159:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 159 | uintb getValue(AddrSpace *spc,uintb off,int4 size) const; ///< Retrieve a memory value from the memory state | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh: In member function ‘bool PatternBlock::alwaysFalse() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:43:42: error: ‘nonzerosize’ was not declared in this scope 43 | bool alwaysFalse(void) const { return (nonzerosize==-1); } | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:160:34: error: ‘uintb’ has not been declared 160 | void setValue(const string &nm,uintb cval); ///< Set a value on a named register in the memory state | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:636:50: error: invalid operands of types ‘std::ios_base&(std::ios_base&)’ and ‘’ to binary ‘operator+’ 636 | _type &pop(void) { int4 tmp=right; right=(right+max-1)%max; return cache[tmp]; } ///< Pop the (last) object on the stack | ~~~~~^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:55:33: error: ‘int4’ has not been declared 55 | virtual void shiftInstruction(int4 sa)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:56:46: error: ‘uint1’ does not name a type; did you mean ‘uint’? 56 | void setChunk(uintb offset,int4 size,const uint1 *val); ///< Set values of an arbitrary sequence of bytes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:56:42: error: ‘int4’ has not been declared 56 | virtual Pattern *doOr(const Pattern *b,int4 sa) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:57:17: error: ‘uintb’ has not been declared 57 | void getChunk(uintb offset,int4 size,uint1 *res) const; ///< Retrieve an arbitrary sequence of bytes | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:57:43: error: ‘int4’ has not been declared 57 | virtual Pattern *doAnd(const Pattern *b,int4 sa) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:57:30: error: ‘int4’ has not been declared 57 | void getChunk(uintb offset,int4 size,uint1 *res) const; ///< Retrieve an arbitrary sequence of bytes | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:57:40: error: ‘uint1’ has not been declared 57 | void getChunk(uintb offset,int4 size,uint1 *res) const; ///< Retrieve an arbitrary sequence of bytes | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:58:54: error: ‘int4’ has not been declared 58 | virtual Pattern *commonSubPattern(const Pattern *b,int4 sa) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:42:3: error: ‘int4’ does not name a type; did you mean ‘int’? 42 | int4 signbit_pos; ///< Bit position of sign bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc: In member function ‘virtual void SleighBuilder::appendBuild(OpTpl*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:311:3: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 311 | int4 index = bld->getIn(0)->getOffset().getReal(); // Recover operand index from build statement | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh: In member function ‘bool PatternBlock::alwaysFalse() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:43:42: error: ‘nonzerosize’ was not declared in this scope 43 | bool alwaysFalse(void) const { return (nonzerosize==-1); } | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:313:79: error: cannot convert ‘’ to ‘int’ 313 | SubtableSymbol *sym = (SubtableSymbol *)walker->getConstructor()->getOperand(index)->getDefiningSymbol(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:506:34: note: initializing argument 1 of ‘OperandSymbol* Constructor::getOperand(int) const’ 506 | OperandSymbol *getOperand(int4 i) const { return operands[i]; } | ~~~~~^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:55:33: error: ‘int4’ has not been declared 55 | virtual void shiftInstruction(int4 sa)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:56:42: error: ‘int4’ has not been declared 56 | virtual Pattern *doOr(const Pattern *b,int4 sa) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:43:3: error: ‘int4’ does not name a type; did you mean ‘int’? 43 | int4 frac_pos; ///< (lowest) bit position of fractional part | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:57:43: error: ‘int4’ has not been declared 57 | virtual Pattern *doAnd(const Pattern *b,int4 sa) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:172:10: error: ‘size’ was not declared in this scope 172 | s >> size; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:161:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 161 | uintb getValue(const string &nm) const; ///< Retrieve a value from a named register in the memory state | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:58:54: error: ‘int4’ has not been declared 58 | virtual Pattern *commonSubPattern(const Pattern *b,int4 sa) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:162:39: error: ‘uintb’ has not been declared 162 | void setValue(const VarnodeData *vn,uintb cval); ///< Set value on a given \b varnode | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:58:10: error: ‘uintb’ does not name a type; did you mean ‘uint’? 58 | static uintb constructValue(const uint1 *ptr,int4 size,bool bigendian); ///< Decode bytes to value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:59:32: error: ‘uint1’ has not been declared 59 | static void deconstructValue(uint1 *ptr,uintb val,int4 size,bool bigendian); ///< Encode value to bytes | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:59:43: error: ‘uintb’ has not been declared 59 | static void deconstructValue(uint1 *ptr,uintb val,int4 size,bool bigendian); ///< Encode value to bytes | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:316:22: error: cannot convert ‘’ to ‘int’ 316 | walker->pushOperand(index); | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:60:11: error: ‘int4’ does not name a type; did you mean ‘int’? 60 | virtual int4 numDisjoint(void) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:59:53: error: ‘int4’ has not been declared 59 | static void deconstructValue(uint1 *ptr,uintb val,int4 size,bool bigendian); ///< Encode value to bytes | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:140:25: note: initializing argument 1 of ‘void ParserWalker::pushOperand(int)’ 140 | void pushOperand(int4 i) { breadcrumb[depth++] = i+1; point = point->resolve[i]; breadcrumb[depth] = 0; } | ~~~~~^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:61:40: error: ‘int4’ has not been declared 61 | virtual DisjointPattern *getDisjoint(int4 i) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:44:3: error: ‘int4’ does not name a type; did you mean ‘int’? 44 | int4 frac_size; ///< Number of bits in fractional part | ^~~~ | int src/decompile/cpp/pcodeparse.y: In member function ‘void PcodeSnippet::clear()’: src/decompile/cpp/pcodeparse.y:677:3: error: ‘errorcount’ was not declared in this scope; did you mean ‘error_t’? /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘void Address::saveXml(std::ostream&, int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:441:31: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 441 | base->saveXmlAttributes(s,offset,size); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:60:11: error: ‘int4’ does not name a type; did you mean ‘int’? 60 | virtual int4 numDisjoint(void) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:61:40: error: ‘int4’ has not been declared 61 | virtual DisjointPattern *getDisjoint(int4 i) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:163:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 163 | uintb getValue(const VarnodeData *vn) const; ///< Get a value from a \b varnode | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:45:3: error: ‘int4’ does not name a type; did you mean ‘int’? 45 | int4 exp_pos; ///< (lowest) bit position of exponent | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:636:76: error: ‘tmp’ was not declared in this scope; did you mean ‘top’? 636 | _type &pop(void) { int4 tmp=right; right=(right+max-1)%max; return cache[tmp]; } ///< Pop the (last) object on the stack | ^~~ | top /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:164:17: error: ‘uint1’ has not been declared 164 | void getChunk(uint1 *res,AddrSpace *spc,uintb off,int4 size) const; ///< Get a chunk of data from memory state | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:164:43: error: ‘uintb’ has not been declared 164 | void getChunk(uint1 *res,AddrSpace *spc,uintb off,int4 size) const; ///< Get a chunk of data from memory state | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:164:53: error: ‘int4’ has not been declared 164 | void getChunk(uint1 *res,AddrSpace *spc,uintb off,int4 size) const; ///< Get a chunk of data from memory state | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:65:8: error: ‘int4’ does not name a type; did you mean ‘int’? 65 | inline int4 MemoryBank::getWordSize(void) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:72:11: error: ‘int4’ does not name a type; did you mean ‘int’? 72 | virtual int4 numDisjoint(void) const { return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:46:3: error: ‘int4’ does not name a type; did you mean ‘int’? 46 | int4 exp_size; ///< Number of bits in exponent | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:266:7: error: ‘version’ was not declared in this scope 266 | if (version != SLA_FORMAT_VERSION) | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:73:40: error: ‘int4’ has not been declared 73 | virtual DisjointPattern *getDisjoint(int4 i) const { return (DisjointPattern *)0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:74:8: error: ‘int4’ does not name a type; did you mean ‘int’? 74 | inline int4 MemoryBank::getPageSize(void) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:47:3: error: ‘int4’ does not name a type; did you mean ‘int’? 47 | int4 bias; ///< What to add to real exponent to get encoding | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:165:23: error: ‘uint1’ does not name a type; did you mean ‘uint’? 165 | void setChunk(const uint1 *val,AddrSpace *spc,uintb off,int4 size); ///< Set a chunk of data from memory state | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:165:49: error: ‘uintb’ has not been declared 165 | void setChunk(const uint1 *val,AddrSpace *spc,uintb off,int4 size); ///< Set a chunk of data from memory state | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:165:59: error: ‘int4’ has not been declared 165 | void setChunk(const uint1 *val,AddrSpace *spc,uintb off,int4 size); ///< Set a chunk of data from memory state | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:96:23: error: ‘uintb’ has not been declared 96 | virtual void insert(uintb addr,uintb val) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:72:11: error: ‘int4’ does not name a type; did you mean ‘int’? 72 | virtual int4 numDisjoint(void) const { return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:96:34: error: ‘uintb’ has not been declared 96 | virtual void insert(uintb addr,uintb val) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:73:40: error: ‘int4’ has not been declared 73 | virtual DisjointPattern *getDisjoint(int4 i) const { return (DisjointPattern *)0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:74:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 74 | uintm getMask(int4 startbit,int4 size,bool context) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:48:3: error: ‘int4’ does not name a type; did you mean ‘int’? 48 | int4 maxexponent; ///< Maximum possible exponent | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc: In member function ‘virtual void SleighBuilder::delaySlot(OpTpl*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:338:3: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 338 | uintb olduniqueoffset = uniqueoffset; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘_type& circularqueue<_type>::popbottom()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:637:28: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 637 | _type &popbottom(void) { int4 tmp=left; left=(left+1)%max; return cache[tmp]; } ///< Get the (next) object in the queue | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:49:3: error: ‘int4’ does not name a type; did you mean ‘int’? 49 | int4 decimal_precision; ///< Number of decimal digits of precision | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:74:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 74 | uintm getMask(int4 startbit,int4 size,bool context) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:637:56: error: invalid operands of types ‘std::ios_base& (*)(std::ios_base&)’ and ‘’ to binary ‘operator%’ 637 | _type &popbottom(void) { int4 tmp=left; left=(left+1)%max; return cache[tmp]; } ///< Get the (next) object in the queue | ~~~~~~~~^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:51:39: error: ‘uintb’ has not been declared 51 | static double createFloat(bool sign,uintb signif,int4 exp); ///< Create a double given sign, fractional, and exponent | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:51:52: error: ‘int4’ has not been declared 51 | static double createFloat(bool sign,uintb signif,int4 exp); ///< Create a double given sign, fractional, and exponent | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:75:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 75 | uintm getValue(int4 startbit,int4 size,bool context) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:176:5: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 176 | uint4 size; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:52:54: error: ‘uintb’ has not been declared 52 | static floatclass extractExpSig(double x,bool *sgn,uintb *signif,int4 *exp); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:98:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 98 | virtual uintb find(uintb addr) const; ///< Overridden find method | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:52:68: error: ‘int4’ has not been declared 52 | static floatclass extractExpSig(double x,bool *sgn,uintb *signif,int4 *exp); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:99:24: error: ‘uintb’ has not been declared 99 | virtual void getPage(uintb addr,uint1 *res,int4 skip,int4 size) const; ///< Overridded getPage method | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:53:34: error: ‘uintb’ has not been declared 53 | static bool roundToNearestEven(uintb &signif, int4 lowbitpos); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:99:35: error: ‘uint1’ has not been declared 99 | virtual void getPage(uintb addr,uint1 *res,int4 skip,int4 size) const; ///< Overridded getPage method | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:53:49: error: ‘int4’ has not been declared 53 | static bool roundToNearestEven(uintb &signif, int4 lowbitpos); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:99:46: error: ‘int4’ has not been declared 99 | virtual void getPage(uintb addr,uint1 *res,int4 skip,int4 size) const; ///< Overridded getPage method | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:99:56: error: ‘int4’ has not been declared 99 | virtual void getPage(uintb addr,uint1 *res,int4 skip,int4 size) const; ///< Overridded getPage method | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:101:30: error: ‘int4’ has not been declared 101 | MemoryImage(AddrSpace *spc,int4 ws,int4 ps,LoadImage *ld); ///< Constructor for a loadimage memorybank | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:101:38: error: ‘int4’ has not been declared 101 | MemoryImage(AddrSpace *spc,int4 ws,int4 ps,LoadImage *ld); ///< Constructor for a loadimage memorybank | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:76:3: error: ‘int4’ does not name a type; did you mean ‘int’? 76 | int4 getLength(bool context) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:75:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 75 | uintm getValue(int4 startbit,int4 size,bool context) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:54:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 54 | uintb setFractionalCode(uintb x,uintb code) const; ///< Set the fractional part of an encoded value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In static member function ‘static AddrSpace* Address::getSpaceFromConst(const Address&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:453:24: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 453 | return (AddrSpace *)(uintp)addr.offset; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:453:30: error: expected ‘;’ before ‘addr’ 453 | return (AddrSpace *)(uintp)addr.offset; | ^~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:453:35: error: ‘const class Address’ has no member named ‘offset’ 453 | return (AddrSpace *)(uintp)addr.offset; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:189:57: error: ‘uintb’ has not been declared 189 | inline void MemoryState::setValue(const VarnodeData *vn,uintb cval) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:93:33: error: ‘int4’ has not been declared 93 | virtual void shiftInstruction(int4 sa) { maskvalue->shift(sa); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:94:42: error: ‘int4’ has not been declared 94 | virtual Pattern *doOr(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:76:3: error: ‘int4’ does not name a type; did you mean ‘int’? 76 | int4 getLength(bool context) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh: In member function ‘void MemoryState::setValue(const VarnodeData*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:192:26: error: ‘const struct VarnodeData’ has no member named ‘offset’ 192 | setValue(vn->space,vn->offset,vn->size,cval); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:55:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 55 | uintb setSign(uintb x,bool sign) const; ///< Set the sign bit of an encoded value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:95:43: error: ‘int4’ has not been declared 95 | virtual Pattern *doAnd(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:192:37: error: ‘const struct VarnodeData’ has no member named ‘size’ 192 | setValue(vn->space,vn->offset,vn->size,cval); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:96:54: error: ‘int4’ has not been declared 96 | virtual Pattern *commonSubPattern(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:341:3: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 341 | int4 fallOffset = tmp->getLength(); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:637:75: error: ‘tmp’ was not declared in this scope; did you mean ‘top’? 637 | _type &popbottom(void) { int4 tmp=left; left=(left+1)%max; return cache[tmp]; } ///< Get the (next) object in the queue | ^~~ | top /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:342:7: error: expected ‘;’ before ‘delaySlotByteCnt’ 342 | int4 delaySlotByteCnt = tmp->getParserContext()->getDelaySlot(); | ^~~~~~~~~~~~~~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:343:7: error: expected ‘;’ before ‘bytecount’ 343 | int4 bytecount = 0; | ^~~~~~~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:642:36: error: expected constructor, destructor, or type conversion before ‘(’ token 642 | circularqueue<_type>::circularqueue(int4 sz) | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:56:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 56 | uintb setExponentCode(uintb x,uintb code) const; ///< Set the exponent of an encoded value | ^~~~~ | uint src/decompile/cpp/pcodeparse.y: In constructor ‘PcodeSnippet::PcodeSnippet(const SleighBase*)’: src/decompile/cpp/pcodeparse.y:686:3: error: ‘tempbase’ was not declared in this scope /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:93:33: error: ‘int4’ has not been declared 93 | virtual void shiftInstruction(int4 sa) { maskvalue->shift(sa); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:661:6: error: variable or field ‘setMax’ declared void 661 | void circularqueue<_type>::setMax(int4 sz) | ^~~~~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:94:42: error: ‘int4’ has not been declared 94 | virtual Pattern *doOr(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:95:43: error: ‘int4’ has not been declared 95 | virtual Pattern *doAnd(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:96:54: error: ‘int4’ has not been declared 96 | virtual Pattern *commonSubPattern(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:199:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 199 | inline uintb MemoryState::getValue(const VarnodeData *vn) const | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:57:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 57 | uintb getZeroEncoding(bool sgn) const; ///< Get an encoded zero value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:58:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 58 | uintb getInfinityEncoding(bool sgn) const; ///< Get an encoded infinite value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:661:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 661 | void circularqueue<_type>::setMax(int4 sz) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:679:6: error: variable or field ‘expand’ declared void 679 | void circularqueue<_type>::expand(int4 amount) | ^~~~~~~~~~~~~~~~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:41:3: error: ‘int4’ does not name a type; did you mean ‘int’? 41 | int4 size; ///< Size of float in bytes (this format) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.cc:266:18: error: ‘SLA_FORMAT_VERSION’ was not declared in this scope 266 | if (version != SLA_FORMAT_VERSION) | ^~~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:59:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 59 | uintb getNaNEncoding(bool sgn) const; ///< Get an encoded NaN value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:63:19: error: expected ‘)’ before ‘sz’ 63 | FloatFormat(int4 sz); ///< Construct default IEEE 754 standard settings | ~ ^~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:114:33: error: ‘int4’ has not been declared 114 | virtual void shiftInstruction(int4 sa) { } // do nothing | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:112:7: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 112 | map page; ///< Overlayed pages | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:115:42: error: ‘int4’ has not been declared 115 | virtual Pattern *doOr(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:179:10: error: ‘size’ was not declared in this scope 179 | s >> size; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:116:43: error: ‘int4’ has not been declared 116 | virtual Pattern *doAnd(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:117:54: error: ‘int4’ has not been declared 117 | virtual Pattern *commonSubPattern(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:64:3: error: ‘int4’ does not name a type; did you mean ‘int’? 64 | int4 getSize(void) const { return size; } ///< Get the size of the encoding in bytes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:65:23: error: ‘uintb’ has not been declared 65 | double getHostFloat(uintb encoding,floatclass *type) const; ///< Convert an encoding into host's double | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:42:3: error: ‘int4’ does not name a type; did you mean ‘int’? 42 | int4 signbit_pos; ///< Bit position of sign bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:114:33: error: ‘int4’ has not been declared 114 | virtual void shiftInstruction(int4 sa) { } // do nothing | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:115:42: error: ‘int4’ has not been declared 115 | virtual Pattern *doOr(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:116:43: error: ‘int4’ has not been declared 116 | virtual Pattern *doAnd(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:117:54: error: ‘int4’ has not been declared 117 | virtual Pattern *commonSubPattern(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:679:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 679 | void circularqueue<_type>::expand(int4 amount) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh: In member function ‘bool Range::contains(const Address&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:460:7: error: ‘first’ was not declared in this scope 460 | if (first > addr.getOffset()) return false; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:460:20: error: ‘const class Address’ has no member named ‘getOffset’ 460 | if (first > addr.getOffset()) return false; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:66:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 66 | uintb getEncoding(double host) const; ///< Convert host's double into \b this encoding | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:43:3: error: ‘int4’ does not name a type; did you mean ‘int’? 43 | int4 frac_pos; ///< (lowest) bit position of fractional part | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:137:33: error: ‘int4’ has not been declared 137 | virtual void shiftInstruction(int4 sa) { instr->shiftInstruction(sa); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:142:42: error: ‘int4’ has not been declared 142 | virtual Pattern *doOr(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:143:43: error: ‘int4’ has not been declared 143 | virtual Pattern *doAnd(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:67:3: error: ‘int4’ does not name a type; did you mean ‘int’? 67 | int4 getDecimalPrecision(void) const { return decimal_precision; } ///< Get number of digits of precision | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:144:54: error: ‘int4’ has not been declared 144 | virtual Pattern *commonSubPattern(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:345:34: error: ‘fallOffset’ was not declared in this scope 345 | Address newaddr = baseaddr + fallOffset; | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:44:3: error: ‘int4’ does not name a type; did you mean ‘int’? 44 | int4 frac_size; ///< Number of bits in fractional part | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:137:33: error: ‘int4’ has not been declared 137 | virtual void shiftInstruction(int4 sa) { instr->shiftInstruction(sa); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:142:42: error: ‘int4’ has not been declared 142 | virtual Pattern *doOr(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:68:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 68 | uintb convertEncoding(uintb encoding,const FloatFormat *formin) const; ///< Convert between two different formats | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:143:43: error: ‘int4’ has not been declared 143 | virtual Pattern *doAnd(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:112:13: error: ‘uint1’ was not declared in this scope; did you mean ‘uint’? 112 | map page; ///< Overlayed pages | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:144:54: error: ‘int4’ has not been declared 144 | virtual Pattern *commonSubPattern(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:112:20: error: template argument 1 is invalid 112 | map page; ///< Overlayed pages | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:112:20: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:112:20: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:112:20: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:348:14: error: ‘const class ParserContext’ has no member named ‘getParserState’; did you mean ‘setParserState’? 348 | if (pos->getParserState() != ParserContext::pcode) | ^~~~~~~~~~~~~~ | setParserState /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:114:23: error: ‘uintb’ has not been declared 114 | virtual void insert(uintb addr,uintb val); ///< Overridden aligned word insert | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:114:34: error: ‘uintb’ has not been declared 114 | virtual void insert(uintb addr,uintb val); ///< Overridden aligned word insert | ^~~~~ src/decompile/cpp/pcodeparse.y:687:3: error: ‘errorcount’ was not declared in this scope; did you mean ‘error_t’? /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:350:9: error: expected ‘;’ before ‘len’ 350 | int4 len = pos->getLength(); | ^~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:70:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 70 | uintb extractFractionalCode(uintb x) const; ///< Extract the fractional part of the encoding | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:71:20: error: ‘uintb’ has not been declared 71 | bool extractSign(uintb x) const; ///< Extract the sign bit from the encoding | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:45:3: error: ‘int4’ does not name a type; did you mean ‘int’? 45 | int4 exp_pos; ///< (lowest) bit position of exponent | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:719:10: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 719 | vector indentstack; ///< Space available for currently active nesting levels | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:719:14: error: template argument 1 is invalid 719 | vector indentstack; ///< Space available for currently active nesting levels | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:719:14: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:72:3: error: ‘int4’ does not name a type; did you mean ‘int’? 72 | int4 extractExponentCode(uintb x) const; ///< Extract the exponent from the encoding | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:115:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 115 | virtual uintb find(uintb addr) const; ///< Overridden aligned word find | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:116:24: error: ‘uintb’ has not been declared 116 | virtual void getPage(uintb addr,uint1 *res,int4 skip,int4 size) const; ///< Overridden getPage | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:116:35: error: ‘uint1’ has not been declared 116 | virtual void getPage(uintb addr,uint1 *res,int4 skip,int4 size) const; ///< Overridden getPage | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:185:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 185 | for(int4 i=0;i scanqueue; ///< References to current \e open and \e whitespace tokens | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:727:21: error: template argument 1 is invalid 727 | circularqueue scanqueue; ///< References to current \e open and \e whitespace tokens | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:55:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 55 | uintb setSign(uintb x,bool sign) const; ///< Set the sign bit of an encoded value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:159:11: error: ‘int4’ does not name a type; did you mean ‘int’? 159 | virtual int4 numDisjoint(void) const { return orlist.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:505:30: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 505 | extern bool signbit_negative(uintb val,int4 size); ///< Return true if the sign-bit is set | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:160:40: error: ‘int4’ has not been declared 160 | virtual DisjointPattern *getDisjoint(int4 i) const { return orlist[i]; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:164:42: error: ‘int4’ has not been declared 164 | virtual Pattern *doOr(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:165:43: error: ‘int4’ has not been declared 165 | virtual Pattern *doAnd(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:83:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 83 | uintb opMult(uintb a,uintb b) const; ///< Multiplication (*) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:166:54: error: ‘int4’ has not been declared 166 | virtual Pattern *commonSubPattern(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:56:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 56 | uintb setExponentCode(uintb x,uintb code) const; ///< Set the exponent of an encoded value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:357:5: error: ‘bytecount’ was not declared in this scope 357 | bytecount += len; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:84:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 84 | uintb opSub(uintb a,uintb b) const; ///< Subtraction (-) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:742:11: error: ‘int4’ does not name a type; did you mean ‘int’? 742 | virtual int4 beginDocument(void); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:743:28: error: ‘int4’ has not been declared 743 | virtual void endDocument(int4 id); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:57:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 57 | uintb getZeroEncoding(bool sgn) const; ///< Get an encoded zero value | ^~~~~ | uint src/decompile/cpp/pcodeparse.y:693:18: error: ‘num’ was not declared in this scope; did you mean ‘enum’? /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:132:10: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 132 | vector address; ///< The hashtable addresses | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:132:15: error: template argument 1 is invalid 132 | vector address; ///< The hashtable addresses | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:132:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:85:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 85 | uintb opNeg(uintb a) const; ///< Unary negate | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:505:40: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 505 | extern bool signbit_negative(uintb val,int4 size); ///< Return true if the sign-bit is set | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:505:49: error: expression list treated as compound expression in initializer [-fpermissive] 505 | extern bool signbit_negative(uintb val,int4 size); ///< Return true if the sign-bit is set | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:744:11: error: ‘int4’ does not name a type; did you mean ‘int’? 744 | virtual int4 beginFunction(const Funcdata *fd); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:745:28: error: ‘int4’ has not been declared 745 | virtual void endFunction(int4 id); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:58:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 58 | uintb getInfinityEncoding(bool sgn) const; ///< Get an encoded infinite value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:86:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 86 | uintb opAbs(uintb a) const; ///< Absolute value (abs) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:189:5: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 189 | uintm id; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:190:10: error: expected ‘;’ before ‘parent’ 190 | uintm parent; | ^~~~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:506:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 506 | extern uintb calc_mask(int4 size); ///< Calculate a mask for a given byte size | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:18:1: error: ‘uintm’ does not name a type; did you mean ‘uint’? 18 | uintm DisjointPattern::getMask(int4 startbit,int4 size,bool context) const | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:746:11: error: ‘int4’ does not name a type; did you mean ‘int’? 746 | virtual int4 beginBlock(const FlowBlock *bl); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:747:25: error: ‘int4’ has not been declared 747 | virtual void endBlock(int4 id); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:749:24: error: ‘int4’ has not been declared 749 | virtual void tagLine(int4 indent); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:59:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 59 | uintb getNaNEncoding(bool sgn) const; ///< Get an encoded NaN value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:87:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 87 | uintb opSqrt(uintb a) const; ///< Square root (sqrt) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:507:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 507 | extern uintb uintb_negate(uintb in,int4 size); ///< Negate the \e sized value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:63:19: error: expected ‘)’ before ‘sz’ 63 | FloatFormat(int4 sz); ///< Construct default IEEE 754 standard settings | ~ ^~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:27:1: error: ‘uintm’ does not name a type; did you mean ‘uint’? 27 | uintm DisjointPattern::getValue(int4 startbit,int4 size,bool context) const | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:508:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 508 | extern uintb sign_extend(uintb in,int4 sizein,int4 sizeout); ///< Sign-extend a value between two byte sizes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:510:13: error: variable or field ‘sign_extend’ declared void 510 | extern void sign_extend(intb &val,int4 bit); ///< Sign extend above given bit | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:750:11: error: ‘int4’ does not name a type; did you mean ‘int’? 750 | virtual int4 beginReturnType(const Varnode *vn); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:88:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 88 | uintb opTrunc(uintb a,int4 sizeout) const; ///< Convert floating-point to integer | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:751:30: error: ‘int4’ has not been declared 751 | virtual void endReturnType(int4 id); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:64:3: error: ‘int4’ does not name a type; did you mean ‘int’? 64 | int4 getSize(void) const { return size; } ///< Get the size of the encoding in bytes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:65:23: error: ‘uintb’ has not been declared 65 | double getHostFloat(uintb encoding,floatclass *type) const; ///< Convert an encoding into host's double | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:133:10: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 133 | vector value; ///< The hashtable values | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:36:1: error: ‘int4’ does not name a type; did you mean ‘int’? 36 | int4 DisjointPattern::getLength(bool context) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:133:15: error: template argument 1 is invalid 133 | vector value; ///< The hashtable values | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:133:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:135:23: error: ‘uintb’ has not been declared 135 | virtual void insert(uintb addr,uintb val); ///< Overridden aligned word insert | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:135:34: error: ‘uintb’ has not been declared 135 | virtual void insert(uintb addr,uintb val); ///< Overridden aligned word insert | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:89:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 89 | uintb opCeil(uintb a) const; ///< Ceiling (ceil) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:752:11: error: ‘int4’ does not name a type; did you mean ‘int’? 752 | virtual int4 beginVarDecl(const Symbol *sym); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:753:27: error: ‘int4’ has not been declared 753 | virtual void endVarDecl(int4 id); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:358:11: error: ‘bytecount’ was not declared in this scope 358 | } while(bytecount < delaySlotByteCnt); | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:66:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 66 | uintb getEncoding(double host) const; ///< Convert host's double into \b this encoding | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:90:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 90 | uintb opFloor(uintb a) const; ///< Floor (floor) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:754:11: error: ‘int4’ does not name a type; did you mean ‘int’? 754 | virtual int4 beginStatement(const PcodeOp *op); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:755:29: error: ‘int4’ has not been declared 755 | virtual void endStatement(int4 id); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:136:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 136 | virtual uintb find(uintb addr) const; ///< Overridden aligned word find | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:138:36: error: ‘int4’ has not been declared 138 | MemoryHashOverlay(AddrSpace *spc,int4 ws,int4 ps,int4 hashsize,MemoryBank *ul); ///< Constructor for hash overlay | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:510:25: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 510 | extern void sign_extend(intb &val,int4 bit); ///< Sign extend above given bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:138:44: error: ‘int4’ has not been declared 138 | MemoryHashOverlay(AddrSpace *spc,int4 ws,int4 ps,int4 hashsize,MemoryBank *ul); ///< Constructor for hash overlay | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:138:52: error: ‘int4’ has not been declared 138 | MemoryHashOverlay(AddrSpace *spc,int4 ws,int4 ps,int4 hashsize,MemoryBank *ul); ///< Constructor for hash overlay | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:67:3: error: ‘int4’ does not name a type; did you mean ‘int’? 67 | int4 getDecimalPrecision(void) const { return decimal_precision; } ///< Get number of digits of precision | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:91:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 91 | uintb opRound(uintb a) const; ///< Round | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:194:12: error: ‘id’ was not declared in this scope 194 | s >> id; | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:756:11: error: ‘int4’ does not name a type; did you mean ‘int’? 756 | virtual int4 beginFuncProto(void); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:757:29: error: ‘int4’ has not been declared 757 | virtual void endFuncProto(int4 id); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:764:80: error: ‘int4’ has not been declared 764 | virtual void tagField(const char *ptr,syntax_highlight hl,const Datatype *ct,int4 off); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:766:48: error: ‘uintb’ has not been declared 766 | const AddrSpace *spc,uintb off); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:68:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 68 | uintb convertEncoding(uintb encoding,const FloatFormat *formin) const; ///< Convert between two different formats | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:768:46: error: ‘uintb’ has not been declared 768 | const AddrSpace *spc,uintb off); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:92:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 92 | uintb opInt2Float(uintb a,int4 sizein) const; ///< Convert integer to floating-point | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:26:36: error: ‘int4’ has not been declared 26 | static PatternBlock *buildSingle(int4 startbit,int4 endbit,uintm byteval); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:26:50: error: ‘int4’ has not been declared 26 | static PatternBlock *buildSingle(int4 startbit,int4 endbit,uintm byteval); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:26:62: error: ‘uintm’ has not been declared 26 | static PatternBlock *buildSingle(int4 startbit,int4 endbit,uintm byteval); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:27:38: error: ‘int4’ has not been declared 27 | static PatternBlock *buildBigBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:27:48: error: ‘int4’ has not been declared 27 | static PatternBlock *buildBigBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:27:62: error: ‘int4’ has not been declared 27 | static PatternBlock *buildBigBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:27:74: error: ‘intb’ has not been declared 27 | static PatternBlock *buildBigBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:28:41: error: ‘int4’ has not been declared 28 | static PatternBlock *buildLittleBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:28:51: error: ‘int4’ has not been declared 28 | static PatternBlock *buildLittleBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:28:65: error: ‘int4’ has not been declared 28 | static PatternBlock *buildLittleBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:28:77: error: ‘intb’ has not been declared 28 | static PatternBlock *buildLittleBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:70:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 70 | uintb extractFractionalCode(uintb x) const; ///< Extract the fractional part of the encoding | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:510:31: error: ‘val’ was not declared in this scope 510 | extern void sign_extend(intb &val,int4 bit); ///< Sign extend above given bit | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:71:20: error: ‘uintb’ has not been declared 71 | bool extractSign(uintb x) const; ///< Extract the sign bit from the encoding | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:93:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 93 | uintb opFloat2Float(uintb a,const FloatFormat &outformat) const; ///< Convert between floating-point precisions | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:770:11: error: ‘int4’ does not name a type; did you mean ‘int’? 770 | virtual int4 openParen(char o,int4 id=0); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:771:34: error: ‘int4’ has not been declared 771 | virtual void closeParen(char c,int4 id); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:72:3: error: ‘int4’ does not name a type; did you mean ‘int’? 72 | int4 extractExponentCode(uintb x) const; ///< Extract the exponent from the encoding | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:29:3: error: ‘int4’ does not name a type; did you mean ‘int’? 29 | int4 resolveTokens(const TokenPattern &tokpat1,const TokenPattern &tokpat2); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:772:11: error: ‘int4’ does not name a type; did you mean ‘int’? 772 | virtual int4 openGroup(void); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:773:27: error: ‘int4’ has not been declared 773 | virtual void closeGroup(int4 id); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:35:27: error: ‘intb’ has not been declared 35 | TokenPattern(Token *tok,intb value,int4 bitstart,int4 bitend); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:35:38: error: ‘int4’ has not been declared 35 | TokenPattern(Token *tok,intb value,int4 bitstart,int4 bitend); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:35:52: error: ‘int4’ has not been declared 35 | TokenPattern(Token *tok,intb value,int4 bitstart,int4 bitend); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:777:23: error: ‘int4’ has not been declared 777 | virtual void spaces(int4 num,int4 bump=0); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:777:32: error: ‘int4’ has not been declared 777 | virtual void spaces(int4 num,int4 bump=0); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:36:20: error: expected ‘)’ before ‘value’ 36 | TokenPattern(intb value,int4 startbit,int4 endbit); | ~ ^~~~~~ | ) In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:36:3: error: ‘int4’ does not name a type; did you mean ‘int’? 36 | int4 instruction_length; ///< Number of bytes in the unimplemented instruction | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:41:31: error: ‘int4’ has not been declared 41 | UnimplError(const string &s,int4 l) : LowlevelError(s) { instruction_length = l; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:76:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 76 | uintb opEqual(uintb a,uintb b) const; ///< Equality comparison (==) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:778:11: error: ‘int4’ does not name a type; did you mean ‘int’? 778 | virtual int4 startIndent(void); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:779:27: error: ‘int4’ has not been declared 779 | virtual void stopIndent(int4 id); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:510:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 510 | extern void sign_extend(intb &val,int4 bit); ///< Sign extend above given bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:511:13: error: variable or field ‘zero_extend’ declared void 511 | extern void zero_extend(intb &val,int4 bit); ///< Clear all bits above given bit | ^~~~~~~~~~~ src/decompile/cpp/pcodeparse.y: In member function ‘virtual void PcodeSnippet::reportError(const Location*, const string&)’: src/decompile/cpp/pcodeparse.y:718:7: error: ‘errorcount’ was not declared in this scope; did you mean ‘error_t’? /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:49:3: error: ‘int4’ does not name a type; did you mean ‘int’? 49 | int4 getMinimumLength(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:77:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 77 | uintb opNotEqual(uintb a,uintb b) const; ///< Inequality comparison (!=) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:780:11: error: ‘int4’ does not name a type; did you mean ‘int’? 780 | virtual int4 startComment(void); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:781:28: error: ‘int4’ has not been declared 781 | virtual void stopComment(int4 id); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:783:31: error: ‘int4’ has not been declared 783 | virtual void setMaxLineSize(int4 val); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:78:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 78 | uintb opLess(uintb a,uintb b) const; ///< Less-than comparison (<) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:158:32: error: ‘uintb’ has not been declared 158 | void setValue(AddrSpace *spc,uintb off,int4 size,uintb cval); ///< Set a value on the memory state | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:158:42: error: ‘int4’ has not been declared 158 | void setValue(AddrSpace *spc,uintb off,int4 size,uintb cval); ///< Set a value on the memory state | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:158:52: error: ‘uintb’ has not been declared 158 | void setValue(AddrSpace *spc,uintb off,int4 size,uintb cval); ///< Set a value on the memory state | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:784:11: error: ‘int4’ does not name a type; did you mean ‘int’? 784 | virtual int4 getMaxLineSize(void) const { return maxlinesize; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:358:23: error: ‘delaySlotByteCnt’ was not declared in this scope 358 | } while(bytecount < delaySlotByteCnt); | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:79:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 79 | uintb opLessEqual(uintb a,uintb b) const; ///< Less-than-or-equal comparison (<=) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:511:25: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 511 | extern void zero_extend(intb &val,int4 bit); ///< Clear all bits above given bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:80:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 80 | uintb opNan(uintb a) const; ///< Test if Not-a-Number (NaN) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:159:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 159 | uintb getValue(AddrSpace *spc,uintb off,int4 size) const; ///< Retrieve a memory value from the memory state | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:160:34: error: ‘uintb’ has not been declared 160 | void setValue(const string &nm,uintb cval); ///< Set a value on a named register in the memory state | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:199:12: error: ‘parent’ was not declared in this scope 199 | s >> parent; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc: In member function ‘void PatternBlock::normalize()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:155:7: error: ‘nonzerosize’ was not declared in this scope 155 | if (nonzerosize<=0) { // Check if alwaystrue or alwaysfalse | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:81:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 81 | uintb opAdd(uintb a,uintb b) const; ///< Addition (+) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:161:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 161 | uintb getValue(const string &nm) const; ///< Retrieve a value from a named register in the memory state | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:57:3: error: ‘int4’ does not name a type; did you mean ‘int’? 57 | int4 refcount; // Number of objects referencing this | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:162:39: error: ‘uintb’ has not been declared 162 | void setValue(const VarnodeData *vn,uintb cval); ///< Set value on a given \b varnode | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:82:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 82 | uintb opDiv(uintb a,uintb b) const; ///< Division (/) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:511:31: error: ‘val’ was not declared in this scope 511 | extern void zero_extend(intb &val,int4 bit); ///< Clear all bits above given bit | ^~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:93:3: error: ‘int4’ does not name a type; did you mean ‘int’? 93 | int4 stage; ///< Additional elements consumed from the RPN stack when emitting this token | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:83:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 83 | uintb opMult(uintb a,uintb b) const; ///< Multiplication (*) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:63:11: error: ‘intb’ does not name a type; did you mean ‘int’? 63 | virtual intb getValue(ParserWalker &walker) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:163:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 163 | uintb getValue(const VarnodeData *vn) const; ///< Get a value from a \b varnode | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:164:17: error: ‘uint1’ has not been declared 164 | void getChunk(uint1 *res,AddrSpace *spc,uintb off,int4 size) const; ///< Get a chunk of data from memory state | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:164:43: error: ‘uintb’ has not been declared 164 | void getChunk(uint1 *res,AddrSpace *spc,uintb off,int4 size) const; ///< Get a chunk of data from memory state | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:164:53: error: ‘int4’ has not been declared 164 | void getChunk(uint1 *res,AddrSpace *spc,uintb off,int4 size) const; ///< Get a chunk of data from memory state | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:94:3: error: ‘int4’ does not name a type; did you mean ‘int’? 94 | int4 precedence; ///< Precedence level of this token (higher binds more tightly) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:84:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 84 | uintb opSub(uintb a,uintb b) const; ///< Subtraction (-) | ^~~~~ | uint src/decompile/cpp/pcodeparse.y:720:3: error: ‘errorcount’ was not declared in this scope; did you mean ‘error_t’? /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:165:23: error: ‘uint1’ does not name a type; did you mean ‘uint’? 165 | void setChunk(const uint1 *val,AddrSpace *spc,uintb off,int4 size); ///< Set a chunk of data from memory state | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:97:3: error: ‘int4’ does not name a type; did you mean ‘int’? 97 | int4 spacing; ///< Spaces to print around operator | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:165:49: error: ‘uintb’ has not been declared 165 | void setChunk(const uint1 *val,AddrSpace *spc,uintb off,int4 size); ///< Set a chunk of data from memory state | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:165:59: error: ‘int4’ has not been declared 165 | void setChunk(const uint1 *val,AddrSpace *spc,uintb off,int4 size); ///< Set a chunk of data from memory state | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh: In constructor ‘UnimplError::UnimplError(const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:41:60: error: ‘instruction_length’ was not declared in this scope 41 | UnimplError(const string &s,int4 l) : LowlevelError(s) { instruction_length = l; } | ^~~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:511:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 511 | extern void zero_extend(intb &val,int4 bit); ///< Clear all bits above given bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:512:13: error: variable or field ‘byte_swap’ declared void 512 | extern void byte_swap(intb &val,int4 size); ///< Swap bytes in the given value | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:85:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 85 | uintb opNeg(uintb a) const; ///< Unary negate | ^~~~~ | uint src/decompile/cpp/pcodeparse.y: At global scope: src/decompile/cpp/pcodeparse.y:723:1: error: ‘int4’ does not name a type; did you mean ‘int’? /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:156:5: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 156 | offset = 0; // in which case we don't need mask and value | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:157:13: error: request for member ‘clear’ in ‘((PatternBlock*)this)->PatternBlock::maskvec’, which is of non-class type ‘int’ 157 | maskvec.clear(); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:158:12: error: request for member ‘clear’ in ‘((PatternBlock*)this)->PatternBlock::valvec’, which is of non-class type ‘int’ 158 | valvec.clear(); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:98:3: error: ‘int4’ does not name a type; did you mean ‘int’? 98 | int4 bump; ///< Spaces to indent if we break here | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:86:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 86 | uintb opAbs(uintb a) const; ///< Absolute value (abs) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:360:3: error: ‘uniqueoffset’ was not declared in this scope; did you mean ‘setUniqueOffset’? 360 | uniqueoffset = olduniqueoffset; | ^~~~~~~~~~~~ | setUniqueOffset /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:66:33: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 66 | virtual void getMinMax(vector &minlist,vector &maxlist) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:66:37: error: template argument 1 is invalid 66 | virtual void getMinMax(vector &minlist,vector &maxlist) const=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:66:37: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:175:5: error: ‘int4’ does not name a type; did you mean ‘int’? 175 | int4 visited; ///< The current stage of printing for the operator | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:87:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 87 | uintb opSqrt(uintb a) const; ///< Square root (sqrt) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:65:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 65 | uint4 size; ///< Size truncated addresses into the space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:512:23: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 512 | extern void byte_swap(intb &val,int4 size); ///< Swap bytes in the given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:189:57: error: ‘uintb’ has not been declared 189 | inline void MemoryState::setValue(const VarnodeData *vn,uintb cval) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh: In member function ‘void MemoryState::setValue(const VarnodeData*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:192:26: error: ‘const struct VarnodeData’ has no member named ‘offset’ 192 | setValue(vn->space,vn->offset,vn->size,cval); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:192:37: error: ‘const struct VarnodeData’ has no member named ‘size’ 192 | setValue(vn->space,vn->offset,vn->size,cval); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:201:30: error: ‘parent’ was not declared in this scope 201 | SymbolScope *parscope = (parent==id) ? (SymbolScope *)0 : table[parent]; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:88:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 88 | uintb opTrunc(uintb a,int4 sizeout) const; ///< Convert floating-point to integer | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:178:5: error: ‘int4’ does not name a type; did you mean ‘int’? 178 | int4 id; ///< The id of the token group which \b this belongs to | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:161:10: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 161 | vector::iterator iter1,iter2; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:161:15: error: template argument 1 is invalid 161 | vector::iterator iter1,iter2; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:161:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:161:27: error: expected initializer before ‘iter1’ 161 | vector::iterator iter1,iter2; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:69:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 69 | uint4 getSize(void) const { return size; } ///< Size (of pointers) for new truncated space | ^~~~~ | uint src/decompile/cpp/pcodeparse.y: In member function ‘bool PcodeSnippet::parseStream(std::istream&)’: src/decompile/cpp/pcodeparse.y:780:3: error: ‘int4’ was not declared in this scope; did you mean ‘int’? /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:89:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 89 | uintb opCeil(uintb a) const; ///< Ceiling (ceil) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:179:13: error: ‘int4’ does not name a type; did you mean ‘int’? 179 | mutable int4 id2; ///< The id of the token group \b this surrounds (for surround operator tokens) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:92:90: error: ‘int4’ has not been declared 92 | virtual void dump(const Address &addr,OpCode opc,VarnodeData *outvar,VarnodeData *vars,int4 isize)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:199:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 199 | inline uintb MemoryState::getValue(const VarnodeData *vn) const | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:66:55: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 66 | virtual void getMinMax(vector &minlist,vector &maxlist) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:66:59: error: template argument 1 is invalid 66 | virtual void getMinMax(vector &minlist,vector &maxlist) const=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:66:59: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:90:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 90 | uintb opFloor(uintb a) const; ///< Floor (floor) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:512:29: error: ‘val’ was not declared in this scope 512 | extern void byte_swap(intb &val,int4 size); ///< Swap bytes in the given value | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:189:5: error: ‘uint4’ does not name a type; did you mean ‘uint’? 189 | uint4 vnmod; ///< Printing modifications to enforce on the expression | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:192:51: error: ‘uint4’ has not been declared 192 | NodePending(const Varnode *v,const PcodeOp *o,uint4 m) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:67:11: error: ‘intb’ does not name a type; did you mean ‘int’? 67 | virtual intb getSubValue(const vector &replace,int4 &listpos) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:107:16: error: ‘uint1’ does not name a type; did you mean ‘uint’? 107 | static const uint1 *unpackOffset(const uint1 *ptr,uintb &off); | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:41:3: error: ‘int4’ does not name a type; did you mean ‘int’? 41 | int4 size; ///< Size of float in bytes (this format) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:91:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 91 | uintb opRound(uintb a) const; ///< Round | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:70:3: error: ‘intb’ does not name a type; did you mean ‘int’? 70 | intb getSubValue(const vector &replace) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:211:5: error: ‘int4’ does not name a type; did you mean ‘int’? 211 | int4 offset; ///< The offset (within the parent structure) for a \e field token | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:109:16: error: ‘uint1’ does not name a type; did you mean ‘uint’? 109 | static const uint1 *unpackVarnodeData(const uint1 *ptr,VarnodeData &v,const AddrSpaceManager *trans); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:222:84: error: ‘int4’ has not been declared 222 | Atom(const string &nm,tagtype t,EmitXml::syntax_highlight hl,const Datatype *c,int4 off) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:42:3: error: ‘int4’ does not name a type; did you mean ‘int’? 42 | int4 signbit_pos; ///< Bit position of sign bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:92:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 92 | uintb opInt2Float(uintb a,int4 sizein) const; ///< Convert integer to floating-point | ^~~~~ | uint src/decompile/cpp/pcodeparse.y:781:7: error: ‘res’ was not declared in this scope /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:360:18: error: ‘olduniqueoffset’ was not declared in this scope; did you mean ‘setUniqueOffset’? 360 | uniqueoffset = olduniqueoffset; | ^~~~~~~~~~~~~~~ | setUniqueOffset /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:163:3: error: ‘iter1’ was not declared in this scope 163 | iter1 = maskvec.begin(); // Cut zeros from beginning of mask | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:163:19: error: request for member ‘begin’ in ‘((PatternBlock*)this)->PatternBlock::maskvec’, which is of non-class type ‘int’ 163 | iter1 = maskvec.begin(); // Cut zeros from beginning of mask | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:201:38: error: ‘id’ was not declared in this scope 201 | SymbolScope *parscope = (parent==id) ? (SymbolScope *)0 : table[parent]; | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:512:33: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 512 | extern void byte_swap(intb &val,int4 size); ///< Swap bytes in the given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:93:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 93 | uintb opFloat2Float(uintb a,const FloatFormat &outformat) const; ///< Convert between floating-point precisions | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:43:3: error: ‘int4’ does not name a type; did you mean ‘int’? 43 | int4 frac_pos; ///< (lowest) bit position of fractional part | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:111:9: error: ‘uint1’ does not name a type; did you mean ‘uint’? 111 | const uint1 *restorePackedOp(const Address &addr,const uint1 *ptr,const AddrSpaceManager *trans); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc: In member function ‘virtual void SleighBuilder::setLabel(OpTpl*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:366:46: error: ‘const class ConstTpl’ has no member named ‘getReal’ 366 | cache->addLabel( op->getIn(0)->getOffset().getReal()+getLabelBase() ); | ^~~~~~~ src/decompile/cpp/pcodeparse.y: At global scope: src/decompile/cpp/pcodeparse.y:792:50: error: ‘int4’ has not been declared /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:514:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 514 | extern uintb byte_swap(uintb val,int4 size); ///< Return the given value with bytes swapped | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:44:3: error: ‘int4’ does not name a type; did you mean ‘int’? 44 | int4 frac_size; ///< Number of bits in fractional part | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:156:27: error: ‘uintb’ has not been declared 156 | virtual Address resolve(uintb val,int4 sz,const Address &point,uintb &fullEncoding)=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:156:37: error: ‘int4’ has not been declared 156 | virtual Address resolve(uintb val,int4 sz,const Address &point,uintb &fullEncoding)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:156:66: error: ‘uintb’ has not been declared 156 | virtual Address resolve(uintb val,int4 sz,const Address &point,uintb &fullEncoding)=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:515:8: error: ‘int4’ does not name a type; did you mean ‘int’? 515 | extern int4 leastsigbit_set(uintb val); ///< Return index of least significant bit set in given value | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:36:3: error: ‘int4’ does not name a type; did you mean ‘int’? 36 | int4 instruction_length; ///< Number of bytes in the unimplemented instruction | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:177:48: error: ‘int4’ has not been declared 177 | void setBaseRegister(const VarnodeData &data,int4 origSize,bool stackGrowth); ///< Set the base register at time space is created | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:41:31: error: ‘int4’ has not been declared 41 | UnimplError(const string &s,int4 l) : LowlevelError(s) { instruction_length = l; } | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:179:74: error: ‘int4’ has not been declared 179 | SpacebaseSpace(AddrSpaceManager *m,const Translate *t,const string &nm,int4 ind,int4 sz,AddrSpace *base,int4 dl); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:179:83: error: ‘int4’ has not been declared 179 | SpacebaseSpace(AddrSpaceManager *m,const Translate *t,const string &nm,int4 ind,int4 sz,AddrSpace *base,int4 dl); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:179:107: error: ‘int4’ has not been declared 179 | SpacebaseSpace(AddrSpaceManager *m,const Translate *t,const string &nm,int4 ind,int4 sz,AddrSpace *base,int4 dl); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:45:3: error: ‘int4’ does not name a type; did you mean ‘int’? 45 | int4 exp_pos; ///< (lowest) bit position of exponent | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:516:8: error: ‘int4’ does not name a type; did you mean ‘int’? 516 | extern int4 mostsigbit_set(uintb val); ///< Return index of most significant bit set in given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:239:10: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 239 | vector modstack; ///< Printing modification stack | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:239:15: error: template argument 1 is invalid 239 | vector modstack; ///< Printing modification stack | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:239:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:517:8: error: ‘int4’ does not name a type; did you mean ‘int’? 517 | extern int4 popcount(uintb val); ///< Return the number of one bits in the given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:46:3: error: ‘int4’ does not name a type; did you mean ‘int’? 46 | int4 exp_size; ///< Number of bits in exponent | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:181:11: error: ‘int4’ does not name a type; did you mean ‘int’? 181 | virtual int4 numSpacebase(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:518:8: error: ‘int4’ does not name a type; did you mean ‘int’? 518 | extern int4 count_leading_zeros(uintb val); ///< Return the number of leading zero bits in the given value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:182:43: error: ‘int4’ has not been declared 182 | virtual const VarnodeData &getSpacebase(int4 i) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:183:47: error: ‘int4’ has not been declared 183 | virtual const VarnodeData &getSpacebaseFull(int4 i) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:164:3: error: ‘iter2’ was not declared in this scope 164 | iter2 = valvec.begin(); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:164:18: error: request for member ‘begin’ in ‘((PatternBlock*)this)->PatternBlock::valvec’, which is of non-class type ‘int’ 164 | iter2 = valvec.begin(); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:165:27: error: request for member ‘end’ in ‘((PatternBlock*)this)->PatternBlock::maskvec’, which is of non-class type ‘int’ 165 | while((iter1 != maskvec.end())&&((*iter1)==0)) { | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:47:3: error: ‘int4’ does not name a type; did you mean ‘int’? 47 | int4 bias; ///< What to add to real exponent to get encoding | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In constructor ‘PatternExpression::PatternExpression()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:62:29: error: ‘refcount’ was not declared in this scope 62 | PatternExpression(void) { refcount = 0; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:520:8: error: ‘uintb’ does not name a type; did you mean ‘uint’? 520 | extern uintb coveringmask(uintb val); ///< Return a mask that \e covers the given value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:521:8: error: ‘int4’ does not name a type; did you mean ‘int’? 521 | extern int4 bit_transitions(uintb val,int4 sz); ///< Calculate the number of bit transitions in the sized value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:13: error: variable or field ‘mult64to128’ declared void 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:48:3: error: ‘int4’ does not name a type; did you mean ‘int’? 48 | int4 maxexponent; ///< Maximum possible exponent | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:208:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 208 | for(int4 i=0;iaddLabel( op->getIn(0)->getOffset().getReal()+getLabelBase() ); | ^~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:369:49: error: ‘int4’ has not been declared 369 | void SleighBuilder::appendCrossBuild(OpTpl *bld,int4 secnum) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:168:5: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 168 | offset += sizeof(uintm); | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:170:11: error: request for member ‘erase’ in ‘((PatternBlock*)this)->PatternBlock::maskvec’, which is of non-class type ‘int’ 170 | maskvec.erase(maskvec.begin(),iter1); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:170:25: error: request for member ‘begin’ in ‘((PatternBlock*)this)->PatternBlock::maskvec’, which is of non-class type ‘int’ 170 | maskvec.erase(maskvec.begin(),iter1); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:171:10: error: request for member ‘erase’ in ‘((PatternBlock*)this)->PatternBlock::valvec’, which is of non-class type ‘int’ 171 | valvec.erase(valvec.begin(),iter2); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:171:23: error: request for member ‘begin’ in ‘((PatternBlock*)this)->PatternBlock::valvec’, which is of non-class type ‘int’ 171 | valvec.erase(valvec.begin(),iter2); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:173:16: error: request for member ‘empty’ in ‘((PatternBlock*)this)->PatternBlock::maskvec’, which is of non-class type ‘int’ 173 | if (!maskvec.empty()) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:55:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 55 | uintb setSign(uintb x,bool sign) const; ///< Set the sign bit of an encoded value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc: In member function ‘virtual void SleighBuilder::appendCrossBuild(OpTpl*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:377:39: error: ‘const class ConstTpl’ has no member named ‘getReal’ 377 | secnum = bld->getIn(1)->getOffset().getReal(); | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:56:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 56 | uintb setExponentCode(uintb x,uintb code) const; ///< Set the exponent of an encoded value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In member function ‘void PatternExpression::layClaim()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:73:25: error: ‘refcount’ was not declared in this scope 73 | void layClaim(void) { refcount += 1; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:208:16: error: ‘i’ was not declared in this scope 208 | for(int4 i=0;iwrapOffset( vn->getOffset().fix(*walker) ); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:63:19: error: expected ‘)’ before ‘sz’ 63 | FloatFormat(int4 sz); ///< Construct default IEEE 754 standard settings | ~ ^~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:383:8: error: expected ‘;’ before ‘olduniqueoffset’ 383 | uintb olduniqueoffset = uniqueoffset; | ^~~~~~~~~~~~~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:65:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 65 | uint4 size; ///< Size truncated addresses into the space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:82:33: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 82 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:36: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:82:37: error: template argument 1 is invalid 82 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:82:37: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:64:3: error: ‘int4’ does not name a type; did you mean ‘int’? 64 | int4 getSize(void) const { return size; } ///< Get the size of the encoding in bytes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:65:23: error: ‘uintb’ has not been declared 65 | double getHostFloat(uintb encoding,floatclass *type) const; ///< Convert an encoding into host's double | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:176:11: error: ‘tmp’ was not declared in this scope; did you mean ‘tm’? 176 | while(tmp != 0) { | ^~~ | tm /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:69:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 69 | uint4 getSize(void) const { return size; } ///< Size (of pointers) for new truncated space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:92:90: error: ‘int4’ has not been declared 92 | virtual void dump(const Address &addr,OpCode opc,VarnodeData *outvar,VarnodeData *vars,int4 isize)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:66:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 66 | uintb getEncoding(double host) const; ///< Convert host's double into \b this encoding | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:67:3: error: ‘int4’ does not name a type; did you mean ‘int’? 67 | int4 getDecimalPrecision(void) const { return decimal_precision; } ///< Get number of digits of precision | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:523:44: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 523 | extern void mult64to128(uint8 *res,uint8 x,uint8 y); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:13: error: variable or field ‘unsignedSubtract128’ declared void 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^~~~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:215:5: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 215 | uintm id; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:107:16: error: ‘uint1’ does not name a type; did you mean ‘uint’? 107 | static const uint1 *unpackOffset(const uint1 *ptr,uintb &off); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:82:55: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 82 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:82:59: error: template argument 1 is invalid 82 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:82:59: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:68:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 68 | uintb convertEncoding(uintb encoding,const FloatFormat *formin) const; ///< Convert between two different formats | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:385:23: error: ‘addr’ was not declared in this scope 385 | Address newaddr(spc,addr); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:388:12: error: ‘const class ParserContext’ has no member named ‘getParserState’; did you mean ‘setParserState’? 388 | if (pos->getParserState() != ParserContext::pcode) | ^~~~~~~~~~~~~~ | setParserState /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:109:16: error: ‘uint1’ does not name a type; did you mean ‘uint’? 109 | static const uint1 *unpackVarnodeData(const uint1 *ptr,VarnodeData &v,const AddrSpaceManager *trans); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:84:11: error: ‘intb’ does not name a type; did you mean ‘int’? 84 | virtual intb getSubValue(const vector &replace,int4 &listpos) const { return replace[listpos++]; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:70:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 70 | uintb extractFractionalCode(uintb x) const; ///< Extract the fractional part of the encoding | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:71:20: error: ‘uintb’ has not been declared 71 | bool extractSign(uintb x) const; ///< Extract the sign bit from the encoding | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:85:11: error: ‘intb’ does not name a type; did you mean ‘int’? 85 | virtual intb minValue(void) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:177:7: error: ‘suboff’ was not declared in this scope 177 | suboff += 1; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:111:9: error: ‘uint1’ does not name a type; did you mean ‘uint’? 111 | const uint1 *restorePackedOp(const Address &addr,const uint1 *ptr,const AddrSpaceManager *trans); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:33: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:72:3: error: ‘int4’ does not name a type; did you mean ‘int’? 72 | int4 extractExponentCode(uintb x) const; ///< Extract the exponent from the encoding | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:86:11: error: ‘intb’ does not name a type; did you mean ‘int’? 86 | virtual intb maxValue(void) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:156:27: error: ‘uintb’ has not been declared 156 | virtual Address resolve(uintb val,int4 sz,const Address &point,uintb &fullEncoding)=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:156:37: error: ‘int4’ has not been declared 156 | virtual Address resolve(uintb val,int4 sz,const Address &point,uintb &fullEncoding)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:156:66: error: ‘uintb’ has not been declared 156 | virtual Address resolve(uintb val,int4 sz,const Address &point,uintb &fullEncoding)=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:76:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 76 | uintb opEqual(uintb a,uintb b) const; ///< Equality comparison (==) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:177:48: error: ‘int4’ has not been declared 177 | void setBaseRegister(const VarnodeData &data,int4 origSize,bool stackGrowth); ///< Set the base register at time space is created | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:179:74: error: ‘int4’ has not been declared 179 | SpacebaseSpace(AddrSpaceManager *m,const Translate *t,const string &nm,int4 ind,int4 sz,AddrSpace *base,int4 dl); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:179:83: error: ‘int4’ has not been declared 179 | SpacebaseSpace(AddrSpaceManager *m,const Translate *t,const string &nm,int4 ind,int4 sz,AddrSpace *base,int4 dl); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:179:107: error: ‘int4’ has not been declared 179 | SpacebaseSpace(AddrSpaceManager *m,const Translate *t,const string &nm,int4 ind,int4 sz,AddrSpace *base,int4 dl); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:40: error: ‘a’ was not declared in this scope 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:77:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 77 | uintb opNotEqual(uintb a,uintb b) const; ///< Inequality comparison (!=) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:220:12: error: ‘id’ was not declared in this scope 220 | s >> id; | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:181:11: error: ‘int4’ does not name a type; did you mean ‘int’? 181 | virtual int4 numSpacebase(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:182:43: error: ‘int4’ has not been declared 182 | virtual const VarnodeData &getSpacebase(int4 i) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:183:47: error: ‘int4’ has not been declared 183 | virtual const VarnodeData &getSpacebaseFull(int4 i) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:78:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 78 | uintb opLess(uintb a,uintb b) const; ///< Less-than comparison (<) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:243:3: error: ‘int4’ does not name a type; did you mean ‘int’? 243 | int4 pending; ///< Number of data-flow nodes waiting to be pushed | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:180:5: error: ‘suboff’ was not declared in this scope 180 | suboff = sizeof(uintm)-suboff; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:79:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 79 | uintb opLessEqual(uintb a,uintb b) const; ///< Less-than-or-equal comparison (<=) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:244:3: error: ‘int4’ does not name a type; did you mean ‘int’? 244 | int4 line_commentindent; ///< Number of characters a comment line should be indented | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:42: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:80:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 80 | uintb opNan(uintb a) const; ///< Test if Not-a-Number (NaN) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:402:3: error: ‘uniqueoffset’ was not declared in this scope; did you mean ‘setUniqueOffset’? 402 | uniqueoffset = olduniqueoffset; | ^~~~~~~~~~~~ | setUniqueOffset /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:252:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 252 | uint4 mods; ///< Currently active printing modifications | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:81:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 81 | uintb opAdd(uintb a,uintb b) const; ///< Addition (+) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:253:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 253 | uint4 instr_comment_type; ///< Type of instruction comments to display | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In member function ‘virtual void PatternValue::getMinMax(int&, int&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:83:13: error: request for member ‘push_back’ in ‘minlist’, which is of non-class type ‘int’ 83 | minlist.push_back(minValue()); maxlist.push_back(maxValue()); } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:524:49: error: ‘b’ was not declared in this scope 524 | extern void unsignedSubtract128(uint8 *a,uint8 *b); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:222:22: error: ‘id’ was not declared in this scope 222 | sym = findSymbol(id); | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:525:8: error: ‘int4’ does not name a type; did you mean ‘int’? 525 | extern int4 unsignedCompare128(uint8 *a,uint8 *b); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:82:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 82 | uintb opDiv(uintb a,uintb b) const; ///< Division (/) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:254:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 254 | uint4 head_comment_type; ///< Type of header comments to display | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:182:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 182 | offset += suboff; // Slide up maskvec by suboff bytes | ^~~~~~ | off_t In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:261:14: error: ‘uint4’ has not been declared 261 | bool isSet(uint4 m) const { return ((mods & m)!=0); } ///< Is the given printing modification active | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:183:15: error: expected ‘;’ before ‘i’ 183 | for(int4 i=0;iPatternBlock::maskvec’, which is of non-class type ‘int’ 183 | for(int4 i=0;isetMaxLineSize(mls); } ///< Set the maximum number of characters per line | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:417:27: error: ‘int4’ has not been declared 417 | void setIndentIncrement(int4 inc) { emit->setIndentIncrement(inc); } ///< Set the number of characters to indent per level of code nesting | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:418:29: error: ‘int4’ has not been declared 418 | void setLineCommentIndent(int4 val); ///< Set the number of characters to indent comment lines | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc: In static member function ‘static double FloatFormat::createFloat(bool, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:60:3: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 60 | int4 precis = 8*sizeof(uintb) - 1; // fullword - 1 we threw away | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘void SymbolTable::restoreSymbolHeader(const Element*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:264:19: error: ‘class SleighSymbol’ has no member named ‘id’ 264 | symbollist[sym->id] = sym; // Put the basic symbol in the table | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:265:14: error: ‘class SleighSymbol’ has no member named ‘scopeid’ 265 | table[sym->scopeid]->addSymbol(sym); // to allow recursion | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:184:9: error: ‘tmp’ was not declared in this scope; did you mean ‘tm’? 184 | tmp = maskvec[i] << (suboff*8); | ^~~ | tm /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:62:7: error: expected ‘;’ before ‘expchange’ 62 | int4 expchange = exp - precis + 1; // change in exponent is precis | ^~~~~~~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:188:15: error: request for member ‘back’ in ‘((PatternBlock*)this)->PatternBlock::maskvec’, which is of non-class type ‘int’ 188 | maskvec.back() <<= suboff*8; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:189:15: error: expected ‘;’ before ‘i’ 189 | for(int4 i=0;iPatternBlock::valvec’, which is of non-class type ‘int’ 189 | for(int4 i=0;iPatternBlock::valvec’, which is of non-class type ‘int’ 194 | valvec.back() <<= suboff*8; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:197:21: error: request for member ‘end’ in ‘((PatternBlock*)this)->PatternBlock::maskvec’, which is of non-class type ‘int’ 197 | iter1 = maskvec.end(); // Cut zeros from end of mask | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:198:20: error: request for member ‘end’ in ‘((PatternBlock*)this)->PatternBlock::valvec’, which is of non-class type ‘int’ 198 | iter2 = valvec.end(); | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:199:28: error: request for member ‘begin’ in ‘((PatternBlock*)this)->PatternBlock::maskvec’, which is of non-class type ‘int’ 199 | while(iter1 != maskvec.begin()) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:545:10: error: ‘int4’ does not name a type; did you mean ‘int’? 545 | static int4 mostNaturalBase(uintb val); ///< Determine the most natural base for an integer | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:546:39: error: ‘uintb’ has not been declared 546 | static void formatBinary(ostream &s,uintb val); ///< Print a number in binary form | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:204:26: error: request for member ‘end’ in ‘((PatternBlock*)this)->PatternBlock::maskvec’, which is of non-class type ‘int’ 204 | if (iter1 != maskvec.end()) { | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:208:13: error: request for member ‘erase’ in ‘((PatternBlock*)this)->PatternBlock::maskvec’, which is of non-class type ‘int’ 208 | maskvec.erase(iter1,maskvec.end()); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:208:33: error: request for member ‘end’ in ‘((PatternBlock*)this)->PatternBlock::maskvec’, which is of non-class type ‘int’ 208 | maskvec.erase(iter1,maskvec.end()); | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:209:12: error: request for member ‘erase’ in ‘((PatternBlock*)this)->PatternBlock::valvec’, which is of non-class type ‘int’ 209 | valvec.erase(iter2,valvec.end()); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:209:31: error: request for member ‘end’ in ‘((PatternBlock*)this)->PatternBlock::valvec’, which is of non-class type ‘int’ 209 | valvec.erase(iter2,valvec.end()); | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc: In member function ‘void DisassemblyCache::free()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:431:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 431 | for(int4 i=0;iPatternBlock::maskvec’, which is of non-class type ‘int’ 212 | if (maskvec.empty()) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:222:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 222 | map shortcut2Space; ///< Map from shortcut -> space | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:36:3: error: ‘int4’ does not name a type; did you mean ‘int’? 36 | int4 instruction_length; ///< Number of bytes in the unimplemented instruction | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:222:23: error: template argument 1 is invalid 222 | map shortcut2Space; ///< Map from shortcut -> space | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:222:23: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:222:23: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:41:31: error: ‘int4’ has not been declared 41 | UnimplError(const string &s,int4 l) : LowlevelError(s) { instruction_length = l; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:95:3: error: ‘int4’ does not name a type; did you mean ‘int’? 95 | int4 shift; // Amount to shift to align value (bitstart % 8) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:98:31: error: ‘int4’ has not been declared 98 | TokenField(Token *tk,bool s,int4 bstart,int4 bend); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:98:43: error: ‘int4’ has not been declared 98 | TokenField(Token *tk,bool s,int4 bstart,int4 bend); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:64:19: error: ‘expchange’ was not declared in this scope 64 | res = ldexp(res,expchange); | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:231:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 231 | uintb joinallocate; ///< Next offset to be allocated in join space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:77:71: error: ‘uintb’ has not been declared 77 | FloatFormat::floatclass FloatFormat::extractExpSig(double x,bool *sgn,uintb *signif,int4 *exp) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:77:85: error: ‘int4’ has not been declared 77 | FloatFormat::floatclass FloatFormat::extractExpSig(double x,bool *sgn,uintb *signif,int4 *exp) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:99:11: error: ‘intb’ does not name a type; did you mean ‘int’? 99 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:101:35: error: ‘intb’ has not been declared 101 | virtual TokenPattern genPattern(intb val) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:431:16: error: ‘i’ was not declared in this scope 431 | for(int4 i=0;iscopeid != 0) { // Not in global scope | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:103:11: error: ‘intb’ does not name a type; did you mean ‘int’? 103 | virtual intb maxValue(void) const { intb res=0; res=~res; zero_extend(res,bitend-bitstart); return res; } | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh: In constructor ‘PrintLanguage::NodePending::NodePending(const Varnode*, const PcodeOp*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:193:23: error: ‘vnmod’ was not declared in this scope 193 | vn = v; op = o; vnmod = m; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:288:19: error: expected ‘;’ before ‘i’ 288 | for(int4 i=0;igetNumOperands();++i) { | ^~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:288:33: error: ‘class MacroSymbol’ has no member named ‘getNumOperands’; did you mean ‘getOperand’? 288 | for(int4 i=0;igetNumOperands();++i) { | ^~~~~~~~~~~~~~ | getOperand /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:290:28: error: ‘class SleighSymbol’ has no member named ‘scopeid’ 290 | table[opersym->scopeid]->removeSymbol(opersym); | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:291:33: error: ‘class SleighSymbol’ has no member named ‘id’ 291 | symbollist[opersym->id] = (SleighSymbol *)0; | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:300:19: error: expected ‘;’ before ‘i’ 300 | for(int4 i=0;igetNumConstructors();++i) { // Go thru each constructor | ^~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:300:34: error: ‘class SubtableSymbol’ has no member named ‘getNumConstructors’; did you mean ‘getConstructor’? 300 | for(int4 i=0;igetNumConstructors();++i) { // Go thru each constructor | ^~~~~~~~~~~~~~~~~~ | getConstructor /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:302:21: error: expected ‘;’ before ‘j’ 302 | for(int4 j=0;jgetNumOperands();++j) { // Go thru each operand | ^~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:109:3: error: ‘int4’ does not name a type; did you mean ‘int’? 109 | int4 startbit,endbit; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc: In static member function ‘static FloatFormat::floatclass FloatFormat::extractExpSig(double, bool*, int*, int*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:80:3: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 80 | int4 e; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:110:3: error: ‘int4’ does not name a type; did you mean ‘int’? 110 | int4 startbyte,endbyte; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:111:3: error: ‘int4’ does not name a type; did you mean ‘int’? 111 | int4 shift; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:115:23: error: ‘int4’ has not been declared 115 | ContextField(bool s,int4 sbit,int4 ebit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:115:33: error: ‘int4’ has not been declared 115 | ContextField(bool s,int4 sbit,int4 ebit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh: In constructor ‘UnimplError::UnimplError(const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:41:60: error: ‘instruction_length’ was not declared in this scope 41 | UnimplError(const string &s,int4 l) : LowlevelError(s) { instruction_length = l; } | ^~~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:116:3: error: ‘int4’ does not name a type; did you mean ‘int’? 116 | int4 getStartBit(void) const { return startbit; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:431:18: error: ‘minimumreuse’ was not declared in this scope 431 | for(int4 i=0;igetNumOperands();++j) { // Go thru each operand | ^ | jn /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:302:33: error: ‘class Constructor’ has no member named ‘getNumOperands’; did you mean ‘getOperand’? 302 | for(int4 j=0;jgetNumOperands();++j) { // Go thru each operand | ^~~~~~~~~~~~~~ | getOperand /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:88:26: error: ‘e’ was not declared in this scope 88 | double norm = frexp(x,&e); // norm is between 1/2 and 1 | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:119:11: error: ‘intb’ does not name a type; did you mean ‘int’? 119 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:304:27: error: ‘class OperandSymbol’ has no member named ‘scopeid’ 304 | table[oper->scopeid]->removeSymbol(oper); | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:305:32: error: ‘class OperandSymbol’ has no member named ‘id’ 305 | symbollist[oper->id] = (SleighSymbol *)0; | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:121:35: error: ‘intb’ has not been declared 121 | virtual TokenPattern genPattern(intb val) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:65:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 65 | uint4 size; ///< Size truncated addresses into the space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:315:16: error: ‘class SleighSymbol’ has no member named ‘scopeid’ 315 | table[sym->scopeid]->removeSymbol(sym); // Remove the symbol | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:122:11: error: ‘intb’ does not name a type; did you mean ‘int’? 122 | virtual intb minValue(void) const { return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:69:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 69 | uint4 getSize(void) const { return size; } ///< Size (of pointers) for new truncated space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:123:11: error: ‘intb’ does not name a type; did you mean ‘int’? 123 | virtual intb maxValue(void) const { intb res=0; res=~res; zero_extend(res,(endbit-startbit)); return res; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:92:90: error: ‘int4’ has not been declared 92 | virtual void dump(const Address &addr,OpCode opc,VarnodeData *outvar,VarnodeData *vars,int4 isize)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc: In member function ‘ParserContext* DisassemblyCache::getParserContext(const Address&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:460:3: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 460 | int4 hashindex = ((int4) addr.getOffset()) & mask; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:107:16: error: ‘uint1’ does not name a type; did you mean ‘uint’? 107 | static const uint1 *unpackOffset(const uint1 *ptr,uintb &off); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:129:3: error: ‘intb’ does not name a type; did you mean ‘int’? 129 | intb val; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:132:21: error: expected ‘)’ before ‘v’ 132 | ConstantValue(intb v) { val = v; } | ~ ^~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:237:28: error: ‘int4’ has not been declared 237 | void setDefaultCodeSpace(int4 index); ///< Set the default address space (for code) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:238:28: error: ‘int4’ has not been declared 238 | void setDefaultDataSpace(int4 index); ///< Set the default address space for data | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:89:30: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 89 | norm = ldexp(norm,8*sizeof(uintb)-1); // norm between 2^62 and 2^63 | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:241:40: error: ‘int4’ has not been declared 241 | void markNearPointers(AddrSpace *spc,int4 size); ///< Mark that given space can be accessed with near pointers | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh: In member function ‘bool PrintLanguage::isSet(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:261:40: error: ‘mods’ was not declared in this scope 261 | bool isSet(uint4 m) const { return ((mods & m)!=0); } ///< Is the given printing modification active | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:244:81: error: ‘int4’ has not been declared 244 | void addSpacebasePointer(SpacebaseSpace *basespace,const VarnodeData &ptrdata,int4 truncSize,bool stackGrowth); ///< Set the base register of a spacebase space | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:109:16: error: ‘uint1’ does not name a type; did you mean ‘uint’? 109 | static const uint1 *unpackVarnodeData(const uint1 *ptr,VarnodeData &v,const AddrSpaceManager *trans); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:217:3: error: ‘nonzerosize’ was not declared in this scope 217 | nonzerosize = maskvec.size() * sizeof(uintm); | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:247:32: error: ‘uintb’ has not been declared 247 | JoinRecord *findJoinInternal(uintb offset) const; ///< Find JoinRecord for \e offset in the join space | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:217:25: error: request for member ‘size’ in ‘((PatternBlock*)this)->PatternBlock::maskvec’, which is of non-class type ‘int’ 217 | nonzerosize = maskvec.size() * sizeof(uintm); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:133:11: error: ‘intb’ does not name a type; did you mean ‘int’? 133 | virtual intb getValue(ParserWalker &walker) const { return val; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh: In member function ‘void PrintLanguage::pushMod()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:264:33: error: request for member ‘push_back’ in ‘((PrintLanguage*)this)->PrintLanguage::modstack’, which is of non-class type ‘int’ 264 | void pushMod(void) { modstack.push_back(mods); } ///< Push current printing modifications to the stack | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:218:8: error: expected ‘;’ before ‘tmp’ 218 | uintm tmp = maskvec.back(); // tmp must be nonzero | ^~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:135:35: error: ‘intb’ has not been declared 135 | virtual TokenPattern genPattern(intb v) const { return TokenPattern(val==v); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:319:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 319 | for(int4 i=1;i shortcut2Space; ///< Map from shortcut -> space | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:264:42: error: ‘uintb’ has not been declared 264 | Address resolveConstant(AddrSpace *spc,uintb val,int4 sz,const Address &point,uintb &fullEncoding) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:264:52: error: ‘int4’ has not been declared 264 | Address resolveConstant(AddrSpace *spc,uintb val,int4 sz,const Address &point,uintb &fullEncoding) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:222:23: error: template argument 1 is invalid 222 | map shortcut2Space; ///< Map from shortcut -> space | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:264:81: error: ‘uintb’ has not been declared 264 | Address resolveConstant(AddrSpace *spc,uintb val,int4 sz,const Address &point,uintb &fullEncoding) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:222:23: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:222:23: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:177:48: error: ‘int4’ has not been declared 177 | void setBaseRegister(const VarnodeData &data,int4 origSize,bool stackGrowth); ///< Set the base register at time space is created | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:179:74: error: ‘int4’ has not been declared 179 | SpacebaseSpace(AddrSpaceManager *m,const Translate *t,const string &nm,int4 ind,int4 sz,AddrSpace *base,int4 dl); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:179:83: error: ‘int4’ has not been declared 179 | SpacebaseSpace(AddrSpaceManager *m,const Translate *t,const string &nm,int4 ind,int4 sz,AddrSpace *base,int4 dl); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:179:107: error: ‘int4’ has not been declared 179 | SpacebaseSpace(AddrSpaceManager *m,const Translate *t,const string &nm,int4 ind,int4 sz,AddrSpace *base,int4 dl); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:219:11: error: ‘tmp’ was not declared in this scope; did you mean ‘tm’? 219 | while( (tmp&0xff) == 0) { | ^~~ | tm /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:225:27: error: expected constructor, destructor, or type conversion before ‘(’ token 225 | PatternBlock::PatternBlock(int4 off,uintm msk,uintm val) | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:265:3: error: ‘int4’ does not name a type; did you mean ‘int’? 265 | int4 numSpaces(void) const; ///< Get the number of address spaces for this processor | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:266:23: error: ‘int4’ has not been declared 266 | AddrSpace *getSpace(int4 i) const; ///< Get an address space via its index | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:461:35: error: ‘hashindex’ was not declared in this scope 461 | ParserContext *res = hashtable[ hashindex ]; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:268:61: error: ‘uint4’ has not been declared 268 | JoinRecord *findAddJoin(const vector &pieces,uint4 logicalsize); ///< Get (or create) JoinRecord for \e pieces | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:269:24: error: ‘uintb’ has not been declared 269 | JoinRecord *findJoin(uintb offset) const; ///< Find JoinRecord for \e offset in the join space | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:270:40: error: ‘int4’ has not been declared 270 | void setDeadcodeDelay(AddrSpace *spc,int4 delaydelta); ///< Set the deadcodedelay for a specific space | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:274:66: error: ‘int4’ has not been declared 274 | Address constructFloatExtensionAddress(const Address &realaddr,int4 realsize,int4 logicalsize); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:274:80: error: ‘int4’ has not been declared 274 | Address constructFloatExtensionAddress(const Address &realaddr,int4 realsize,int4 logicalsize); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:231:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 231 | uintb joinallocate; ///< Next offset to be allocated in join space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:277:81: error: ‘int4’ has not been declared 277 | Address constructJoinAddress(const Translate *translate,const Address &hiaddr,int4 hisz,const Address &loaddr,int4 losz); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:277:113: error: ‘int4’ has not been declared 277 | Address constructJoinAddress(const Translate *translate,const Address &hiaddr,int4 hisz,const Address &loaddr,int4 losz); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:280:45: error: ‘int4’ has not been declared 280 | void renormalizeJoinAddress(Address &addr,int4 size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:264:43: error: ‘mods’ was not declared in this scope 264 | void pushMod(void) { modstack.push_back(mods); } ///< Push current printing modifications to the stack | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:181:11: error: ‘int4’ does not name a type; did you mean ‘int’? 181 | virtual int4 numSpacebase(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:182:43: error: ‘int4’ has not been declared 182 | virtual const VarnodeData &getSpacebase(int4 i) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:183:47: error: ‘int4’ has not been declared 183 | virtual const VarnodeData &getSpacebaseFull(int4 i) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:319:16: error: ‘i’ was not declared in this scope 319 | for(int4 i=1;iPrintLanguage::modstack’, which is of non-class type ‘int’ 265 | void popMod(void) { mods = modstack.back(); modstack.pop_back(); } ///< Pop to the previous printing modifications | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:265:56: error: request for member ‘pop_back’ in ‘((PrintLanguage*)this)->PrintLanguage::modstack’, which is of non-class type ‘int’ 265 | void popMod(void) { mods = modstack.back(); modstack.pop_back(); } ///< Pop to the previous printing modifications | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:149:11: error: ‘intb’ does not name a type; did you mean ‘int’? 149 | virtual intb minValue(void) const { return (intb)0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:169:1: error: ‘uintb’ does not name a type; did you mean ‘uint’? 169 | uintb FloatFormat::getZeroEncoding(bool sgn) const | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:464:15: error: ‘nextfree’ was not declared in this scope 464 | res = list[ nextfree ]; | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:150:11: error: ‘intb’ does not name a type; did you mean ‘int’? 150 | virtual intb maxValue(void) const { return (intb)0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:181:1: error: ‘uintb’ does not name a type; did you mean ‘uint’? 181 | uintb FloatFormat::getInfinityEncoding(bool sgn) const | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:193:1: error: ‘uintb’ does not name a type; did you mean ‘uint’? 193 | uintb FloatFormat::getNaNEncoding(bool sgn) const | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘void SymbolTable::renumber()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:336:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 336 | for(int4 i=0;iid = newtable.size(); | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:309:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 309 | uintm getUniqueBase(void) const; ///< Get the base offset for new temporary registers | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:328:51: error: ‘int4’ has not been declared 328 | virtual void registerContext(const string &name,int4 sbit,int4 ebit) {} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:328:61: error: ‘int4’ has not been declared 328 | virtual void registerContext(const string &name,int4 sbit,int4 ebit) {} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:337:53: error: ‘uintm’ has not been declared 337 | virtual void setContextDefault(const string &name,uintm val) {} | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:357:61: error: ‘uintb’ has not been declared 357 | virtual void addRegister(const string &nm,AddrSpace *base,uintb offset,int4 size)=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:357:74: error: ‘int4’ has not been declared 357 | virtual void addRegister(const string &nm,AddrSpace *base,uintb offset,int4 size)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:376:50: error: ‘uintb’ has not been declared 376 | virtual string getRegisterName(AddrSpace *base,uintb off,int4 size) const=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:171:3: error: ‘int4’ does not name a type; did you mean ‘int’? 171 | int4 index; // This is the defining field of expression | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:376:60: error: ‘int4’ has not been declared 376 | virtual string getRegisterName(AddrSpace *base,uintb off,int4 size) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:175:20: error: expected ‘)’ before ‘ind’ 175 | OperandValue(int4 ind,Constructor *c) { index = ind; ct = c; } | ~ ^~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:176:20: error: ‘int4’ has not been declared 176 | void changeIndex(int4 newind) { index = newind; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:466:19: error: ‘minimumreuse’ was not declared in this scope 466 | if (nextfree >= minimumreuse) | ^~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:179:35: error: ‘intb’ has not been declared 179 | virtual TokenPattern genPattern(intb val) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh: In member function ‘void PrintLanguage::unsetMod(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:267:28: error: ‘mods’ was not declared in this scope 267 | void unsetMod(uint4 m) { mods &= ~m; } ///< Deactivate the given printing modification | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:403:11: error: ‘int4’ does not name a type; did you mean ‘int’? 403 | virtual int4 instructionLength(const Address &baseaddr) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:181:11: error: ‘intb’ does not name a type; did you mean ‘int’? 181 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:237:28: error: ‘int4’ has not been declared 237 | void setDefaultCodeSpace(int4 index); ///< Set the default address space (for code) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc: In member function ‘void FloatFormat::calcPrecision()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:208:15: error: ‘frac_size’ was not declared in this scope 208 | float val = frac_size * 0.30103; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:238:28: error: ‘int4’ has not been declared 238 | void setDefaultDataSpace(int4 index); ///< Set the default address space for data | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:241:40: error: ‘int4’ has not been declared 241 | void markNearPointers(AddrSpace *spc,int4 size); ///< Mark that given space can be accessed with near pointers | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:244:81: error: ‘int4’ has not been declared 244 | void addSpacebasePointer(SpacebaseSpace *basespace,const VarnodeData &ptrdata,int4 truncSize,bool stackGrowth); ///< Set the base register of a spacebase space | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:247:32: error: ‘uintb’ has not been declared 247 | JoinRecord *findJoinInternal(uintb offset) const; ///< Find JoinRecord for \e offset in the join space | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:418:11: error: ‘int4’ does not name a type; did you mean ‘int’? 418 | virtual int4 oneInstruction(PcodeEmit &emit,const Address &baseaddr) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:182:11: error: ‘intb’ does not name a type; did you mean ‘int’? 182 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:242:5: error: ‘nonzerosize’ was not declared in this scope 242 | nonzerosize = -1; | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:183:11: error: ‘intb’ does not name a type; did you mean ‘int’? 183 | virtual intb minValue(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:428:11: error: ‘int4’ does not name a type; did you mean ‘int’? 428 | virtual int4 printAssembly(AssemblyEmit &emit,const Address &baseaddr) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:345:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 345 | for(int4 i=0;i &pieces,uint4 logicalsize); ///< Get (or create) JoinRecord for \e pieces | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:269:24: error: ‘uintb’ has not been declared 269 | JoinRecord *findJoin(uintb offset) const; ///< Find JoinRecord for \e offset in the join space | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:270:40: error: ‘int4’ has not been declared 270 | void setDeadcodeDelay(AddrSpace *spc,int4 delaydelta); ///< Set the deadcodedelay for a specific space | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:274:66: error: ‘int4’ has not been declared 274 | Address constructFloatExtensionAddress(const Address &realaddr,int4 realsize,int4 logicalsize); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:274:80: error: ‘int4’ has not been declared 274 | Address constructFloatExtensionAddress(const Address &realaddr,int4 realsize,int4 logicalsize); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:277:81: error: ‘int4’ has not been declared 277 | Address constructJoinAddress(const Translate *translate,const Address &hiaddr,int4 hisz,const Address &loaddr,int4 losz); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:277:113: error: ‘int4’ has not been declared 277 | Address constructJoinAddress(const Translate *translate,const Address &hiaddr,int4 hisz,const Address &loaddr,int4 losz); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:280:45: error: ‘int4’ has not been declared 280 | void renormalizeJoinAddress(Address &addr,int4 size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc: In member function ‘virtual void Sleigh::initialize(DocumentStorage&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:528:3: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 528 | uint4 parser_cachesize = 2; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:529:8: error: expected ‘;’ before ‘parser_windowsize’ 529 | uint4 parser_windowsize = 32; | ^~~~~~~~~~~~~~~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc: In constructor ‘PatternBlock::PatternBlock(const PatternBlock*, const PatternBlock*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:249:3: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 249 | offset = res->offset; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:345:16: error: ‘i’ was not declared in this scope 345 | for(int4 i=0;ioffset; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:348:12: error: ‘class SleighSymbol’ has no member named ‘scopeid’ 348 | sym->scopeid = table[sym->scopeid]->id; | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:348:33: error: ‘class SleighSymbol’ has no member named ‘scopeid’ 348 | sym->scopeid = table[sym->scopeid]->id; | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:349:12: error: ‘class SleighSymbol’ has no member named ‘id’ 349 | sym->id = newsymbol.size(); | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:518:46: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 518 | inline Address AddrSpaceManager::getConstant(uintb val) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:518:57: error: expected ‘,’ or ‘;’ before ‘const’ 518 | inline Address AddrSpaceManager::getConstant(uintb val) const { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:296:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 296 | uintm unique_base; ///< Starting offset into unique space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh: In member function ‘void PrintLanguage::setInstructionComment(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:422:43: error: ‘instr_comment_type’ was not declared in this scope 422 | void setInstructionComment(uint4 val) { instr_comment_type = val; } ///< Set the type of comments suitable within the body of a function | ^~~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:298:3: error: ‘int4’ does not name a type; did you mean ‘int’? 298 | int4 alignment; ///< Byte modulo on which instructions are aligned | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:209:3: error: ‘decimal_precision’ was not declared in this scope; did you mean ‘calcPrecision’? 209 | decimal_precision = (int4)floor(val + 0.5); | ^~~~~~~~~~~~~~~~~ | calcPrecision /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In member function ‘virtual TokenPattern OperandValue::genMinPattern(const std::vector&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:180:89: error: no match for ‘operator[]’ (operand types are ‘const std::vector’ and ‘’) 180 | virtual TokenPattern genMinPattern(const vector &ops) const { return ops[index]; } | ^ In file included from /usr/include/c++/11.2.0/vector:67, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:31, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:16: /usr/include/c++/11.2.0/bits/stl_vector.h:1043:7: note: candidate: ‘std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) [with _Tp = TokenPattern; _Alloc = std::allocator; std::vector<_Tp, _Alloc>::reference = TokenPattern&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]’ 1043 | operator[](size_type __n) _GLIBCXX_NOEXCEPT | ^~~~~~~~ /usr/include/c++/11.2.0/bits/stl_vector.h:1043:28: note: no known conversion for argument 1 from ‘’ to ‘std::vector::size_type’ {aka ‘long unsigned int’} 1043 | operator[](size_type __n) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~^~~ /usr/include/c++/11.2.0/bits/stl_vector.h:1061:7: note: candidate: ‘std::vector<_Tp, _Alloc>::const_reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) const [with _Tp = TokenPattern; _Alloc = std::allocator; std::vector<_Tp, _Alloc>::const_reference = const TokenPattern&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]’ 1061 | operator[](size_type __n) const _GLIBCXX_NOEXCEPT | ^~~~~~~~ /usr/include/c++/11.2.0/bits/stl_vector.h:1061:28: note: no known conversion for argument 1 from ‘’ to ‘std::vector::size_type’ {aka ‘long unsigned int’} 1061 | operator[](size_type __n) const _GLIBCXX_NOEXCEPT | ~~~~~~~~~~^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh: In member function ‘Address AddrSpaceManager::createConstFromSpace(AddrSpace*) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:529:33: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 529 | return Address(constantspace,(uintb)(uintp)spc); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:250:3: error: ‘nonzerosize’ was not declared in this scope 250 | nonzerosize = res->nonzerosize; | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:250:22: error: ‘class PatternBlock’ has no member named ‘nonzerosize’ 250 | nonzerosize = res->nonzerosize; | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘virtual void SleighSymbol::saveXmlHeader(std::ostream&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:361:29: error: ‘id’ was not declared in this scope 361 | s << " id=\"0x" << hex << id << "\""; | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:530:8: error: ‘maxdelayslotbytes’ was not declared in this scope 530 | if ((maxdelayslotbytes > 1)||(unique_allocatemask != 0)) { | ^~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:209:24: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 209 | decimal_precision = (int4)floor(val + 0.5); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:215:8: error: ‘double FloatFormat::getHostFloat’ is not a static data member of ‘class FloatFormat’ 215 | double FloatFormat::getHostFloat(uintb encoding,floatclass *type) const | ^~~~~~~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:201:33: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 201 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:201:37: error: template argument 1 is invalid 201 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:201:37: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:529:40: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 529 | return Address(constantspace,(uintb)(uintp)spc); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:302:22: error: ‘uintm’ has not been declared 302 | void setUniqueBase(uintm val); ///< Set the base offset for new temporary registers | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:307:37: error: ‘int4’ has not been declared 307 | const FloatFormat *getFloatFormat(int4 size) const; ///< Get format for a particular floating point encoding | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:536:8: error: ‘int4’ does not name a type; did you mean ‘int’? 536 | inline int4 AddrSpaceManager::numSpaces(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:545:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 545 | inline AddrSpace *AddrSpaceManager::getSpace(int4 i) const { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:545:19: error: ‘AddrSpace* AddrSpaceManager::getSpace’ is not a static data member of ‘class AddrSpaceManager’ 545 | inline AddrSpace *AddrSpaceManager::getSpace(int4 i) const { | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:308:3: error: ‘int4’ does not name a type; did you mean ‘int’? 308 | int4 getAlignment(void) const; ///< Get the instruction alignment for the processor | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh: In member function ‘void PrintLanguage::setHeaderComment(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:425:38: error: ‘head_comment_type’ was not declared in this scope 425 | void setHeaderComment(uint4 val) { head_comment_type = val; } ///< Set the type of comments suitable for a function header | ^~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:201:55: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 201 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:201:59: error: template argument 1 is invalid 201 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:201:59: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:309:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 309 | uintm getUniqueBase(void) const; ///< Get the base offset for new temporary registers | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:328:51: error: ‘int4’ has not been declared 328 | virtual void registerContext(const string &name,int4 sbit,int4 ebit) {} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:328:61: error: ‘int4’ has not been declared 328 | virtual void registerContext(const string &name,int4 sbit,int4 ebit) {} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:337:53: error: ‘uintm’ has not been declared 337 | virtual void setContextDefault(const string &name,uintm val) {} | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:357:61: error: ‘uintb’ has not been declared 357 | virtual void addRegister(const string &nm,AddrSpace *base,uintb offset,int4 size)=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:357:74: error: ‘int4’ has not been declared 357 | virtual void addRegister(const string &nm,AddrSpace *base,uintb offset,int4 size)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:376:50: error: ‘uintb’ has not been declared 376 | virtual string getRegisterName(AddrSpace *base,uintb off,int4 size) const=0; | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:46:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 46 | uint4 opflags; ///< Cached pcode-op properties for this op-code | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:376:60: error: ‘int4’ has not been declared 376 | virtual string getRegisterName(AddrSpace *base,uintb off,int4 size) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:215:34: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 215 | double FloatFormat::getHostFloat(uintb encoding,floatclass *type) const | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:215:60: error: expected primary-expression before ‘*’ token 215 | double FloatFormat::getHostFloat(uintb encoding,floatclass *type) const | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:47:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 47 | uint4 addlflags; ///< Additional properties | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:403:11: error: ‘int4’ does not name a type; did you mean ‘int’? 403 | virtual int4 instructionLength(const Address &baseaddr) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:545:46: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 545 | inline AddrSpace *AddrSpaceManager::getSpace(int4 i) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:564:13: error: variable or field ‘setUniqueBase’ declared void 564 | inline void Translate::setUniqueBase(uintm val) { | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:58:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 58 | uint4 getFlags(void) const { return opflags; } ///< Get the properties associated with the op-code | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:60:41: error: ‘int4’ has not been declared 60 | bool markExplicitUnsigned(PcodeOp *op,int4 slot) const; ///< Check if a constant input should be explicitly labeled as \e unsigned | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:418:11: error: ‘int4’ does not name a type; did you mean ‘int’? 418 | virtual int4 oneInstruction(PcodeEmit &emit,const Address &baseaddr) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:362:25: error: ‘scopeid’ was not declared in this scope 362 | s << " scope=\"0x" << scopeid << "\""; | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:530:33: error: ‘unique_allocatemask’ was not declared in this scope 530 | if ((maxdelayslotbytes > 1)||(unique_allocatemask != 0)) { | ^~~~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:428:11: error: ‘int4’ does not name a type; did you mean ‘int’? 428 | virtual int4 printAssembly(AssemblyEmit &emit,const Address &baseaddr) const=0; | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:68:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 68 | uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:218:33: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 218 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:222:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 222 | map shortcut2Space; ///< Map from shortcut -> space | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:218:37: error: template argument 1 is invalid 218 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:218:37: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:222:23: error: template argument 1 is invalid 222 | map shortcut2Space; ///< Map from shortcut -> space | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:222:23: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:222:23: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:564:38: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 564 | inline void Translate::setUniqueBase(uintm val) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:78:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 78 | uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:215:61: error: ‘type’ was not declared in this scope; did you mean ‘wctype’? 215 | double FloatFormat::getHostFloat(uintb encoding,floatclass *type) const | ^~~~ | wctype /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc: In constructor ‘PatternBlock::PatternBlock(std::vector&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:262:5: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 262 | offset = 0; // make constructed block always true | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:215:65: error: expression list treated as compound expression in initializer [-fpermissive] 215 | double FloatFormat::getHostFloat(uintb encoding,floatclass *type) const | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:261:6: error: ‘bool FloatFormat::roundToNearestEven’ is not a static data member of ‘class FloatFormat’ 261 | bool FloatFormat::roundToNearestEven(uintb &signif, int4 lowbitpos) | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:434:8: error: ‘int4’ does not name a type; did you mean ‘int’? 434 | inline int4 AddrSpaceManager::getDefaultSize(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:231:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 231 | uintb joinallocate; ///< Next offset to be allocated in join space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:91:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 91 | uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:582:8: error: ‘int4’ does not name a type; did you mean ‘int’? 582 | inline int4 Translate::getAlignment(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:518:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 518 | inline Address AddrSpaceManager::getConstant(uintb val) const { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:518:16: error: ‘Address AddrSpaceManager::getConstant’ is not a static data member of ‘class AddrSpaceManager’ 518 | inline Address AddrSpaceManager::getConstant(uintb val) const { | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:592:8: error: ‘uintm’ does not name a type; did you mean ‘uint’? 592 | inline uintm Translate::getUniqueBase(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:101:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 101 | uintb recoverInputUnary(int4 sizeout,uintb out,int4 sizein) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:218:55: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 218 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:218:59: error: template argument 1 is invalid 218 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:218:59: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:113:53: error: ‘int4’ has not been declared 113 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:119:52: error: ‘int4’ has not been declared 119 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘void SleighSymbol::restoreXmlHeader(const Element*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:372:10: error: ‘id’ was not declared in this scope 372 | s >> id; | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:518:46: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 518 | inline Address AddrSpaceManager::getConstant(uintb val) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:229:11: error: ‘intb’ does not name a type; did you mean ‘int’? 229 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:518:57: error: expected ‘,’ or ‘;’ before ‘const’ 518 | inline Address AddrSpaceManager::getConstant(uintb val) const { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:261:38: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 261 | bool FloatFormat::roundToNearestEven(uintb &signif, int4 lowbitpos) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:230:11: error: ‘intb’ does not name a type; did you mean ‘int’? 230 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:263:5: error: ‘nonzerosize’ was not declared in this scope 263 | nonzerosize = 0; | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:531:5: error: ‘parser_cachesize’ was not declared in this scope 531 | parser_cachesize = 8; | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:238:11: error: ‘intb’ does not name a type; did you mean ‘int’? 238 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh: In member function ‘Address AddrSpaceManager::createConstFromSpace(AddrSpace*) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:529:33: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 529 | return Address(constantspace,(uintb)(uintp)spc); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:239:11: error: ‘intb’ does not name a type; did you mean ‘int’? 239 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh: In member function ‘bool TypeOp::inheritsSign() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:107:44: error: ‘addlflags’ was not declared in this scope 107 | bool inheritsSign(void) const { return ((addlflags & inherits_sign)!=0); } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:267:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 267 | for(int4 i=1;i &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:529:40: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 529 | return Address(constantspace,(uintb)(uintp)spc); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:199:53: error: ‘int4’ has not been declared 199 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:267:16: error: ‘i’ was not declared in this scope 267 | for(int4 i=1;i> scopeid; | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:536:8: error: ‘int4’ does not name a type; did you mean ‘int’? 536 | inline int4 AddrSpaceManager::numSpaces(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:545:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 545 | inline AddrSpace *AddrSpaceManager::getSpace(int4 i) const { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:545:19: error: ‘AddrSpace* AddrSpaceManager::getSpace’ is not a static data member of ‘class AddrSpaceManager’ 545 | inline AddrSpace *AddrSpaceManager::getSpace(int4 i) const { | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:209:52: error: ‘int4’ has not been declared 209 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:256:11: error: ‘intb’ does not name a type; did you mean ‘int’? 256 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:220:52: error: ‘int4’ has not been declared 220 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:231:52: error: ‘int4’ has not been declared 231 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:257:11: error: ‘intb’ does not name a type; did you mean ‘int’? 257 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:237:28: error: ‘int4’ has not been declared 237 | void setDefaultCodeSpace(int4 index); ///< Set the default address space (for code) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:238:28: error: ‘int4’ has not been declared 238 | void setDefaultDataSpace(int4 index); ///< Set the default address space for data | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:241:40: error: ‘int4’ has not been declared 241 | void markNearPointers(AddrSpace *spc,int4 size); ///< Mark that given space can be accessed with near pointers | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:248:53: error: ‘int4’ has not been declared 248 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:244:81: error: ‘int4’ has not been declared 244 | void addSpacebasePointer(SpacebaseSpace *basespace,const VarnodeData &ptrdata,int4 truncSize,bool stackGrowth); ///< Set the base register of a spacebase space | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘virtual void UserOpSymbol::saveXml(std::ostream&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:386:27: error: no match for ‘operator<<’ (operand types are ‘std::basic_ostream::__ostream_type’ {aka ‘std::basic_ostream’} and ‘’) 386 | s << " index=\"" << dec << index << "\""; | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:532:5: error: ‘parser_windowsize’ was not declared in this scope 532 | parser_windowsize = 256; | ^~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:247:32: error: ‘uintb’ has not been declared 247 | JoinRecord *findJoinInternal(uintb offset) const; ///< Find JoinRecord for \e offset in the join space | ^~~~~ In file included from /usr/include/c++/11.2.0/istream:39, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/ostream:108:7: note: candidate: ‘std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__ostream_type& (*)(std::basic_ostream<_CharT, _Traits>::__ostream_type&)) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream]’ 108 | operator<<(__ostream_type& (*__pf)(__ostream_type&)) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:108:36: note: no known conversion for argument 1 from ‘’ to ‘std::basic_ostream::__ostream_type& (*)(std::basic_ostream::__ostream_type&)’ {aka ‘std::basic_ostream& (*)(std::basic_ostream&)’} 108 | operator<<(__ostream_type& (*__pf)(__ostream_type&)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/11.2.0/ostream:117:7: note: candidate: ‘std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__ios_type& (*)(std::basic_ostream<_CharT, _Traits>::__ios_type&)) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream; std::basic_ostream<_CharT, _Traits>::__ios_type = std::basic_ios]’ 117 | operator<<(__ios_type& (*__pf)(__ios_type&)) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:117:32: note: no known conversion for argument 1 from ‘’ to ‘std::basic_ostream::__ios_type& (*)(std::basic_ostream::__ios_type&)’ {aka ‘std::basic_ios& (*)(std::basic_ios&)’} 117 | operator<<(__ios_type& (*__pf)(__ios_type&)) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/include/c++/11.2.0/ostream:127:7: note: candidate: ‘std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::ios_base& (*)(std::ios_base&)) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream]’ 127 | operator<<(ios_base& (*__pf) (ios_base&)) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:127:30: note: no known conversion for argument 1 from ‘’ to ‘std::ios_base& (*)(std::ios_base&)’ 127 | operator<<(ios_base& (*__pf) (ios_base&)) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/include/c++/11.2.0/ostream:166:7: note: candidate: ‘std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long int) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream]’ 166 | operator<<(long __n) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:166:23: note: no known conversion for argument 1 from ‘’ to ‘long int’ 166 | operator<<(long __n) | ~~~~~^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:261:53: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 261 | bool FloatFormat::roundToNearestEven(uintb &signif, int4 lowbitpos) | ^~~~ | int /usr/include/c++/11.2.0/ostream:170:7: note: candidate: ‘std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long unsigned int) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream]’ 170 | operator<<(unsigned long __n) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:170:32: note: no known conversion for argument 1 from ‘’ to ‘long unsigned int’ 170 | operator<<(unsigned long __n) | ~~~~~~~~~~~~~~^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:261:67: error: expression list treated as compound expression in initializer [-fpermissive] 261 | bool FloatFormat::roundToNearestEven(uintb &signif, int4 lowbitpos) | ^ /usr/include/c++/11.2.0/ostream:174:7: note: candidate: ‘std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(bool) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream]’ 174 | operator<<(bool __n) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:174:23: note: no known conversion for argument 1 from ‘’ to ‘bool’ 174 | operator<<(bool __n) | ~~~~~^~~ In file included from /usr/include/c++/11.2.0/ostream:826, from /usr/include/c++/11.2.0/istream:39, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/bits/ostream.tcc:91:5: note: candidate: ‘std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(short int) [with _CharT = char; _Traits = std::char_traits]’ 91 | basic_ostream<_CharT, _Traits>:: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:267:53: error: ‘int4’ has not been declared 267 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /usr/include/c++/11.2.0/bits/ostream.tcc:92:22: note: no known conversion for argument 1 from ‘’ to ‘short int’ 92 | operator<<(short __n) | ~~~~~~^~~ In file included from /usr/include/c++/11.2.0/istream:39, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/ostream:181:7: note: candidate: ‘std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(short unsigned int) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream]’ 181 | operator<<(unsigned short __n) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:181:33: note: no known conversion for argument 1 from ‘’ to ‘short unsigned int’ 181 | operator<<(unsigned short __n) | ~~~~~~~~~~~~~~~^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:265:11: error: ‘intb’ does not name a type; did you mean ‘int’? 265 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int In file included from /usr/include/c++/11.2.0/ostream:826, from /usr/include/c++/11.2.0/istream:39, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/bits/ostream.tcc:105:5: note: candidate: ‘std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits]’ 105 | basic_ostream<_CharT, _Traits>:: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/11.2.0/bits/ostream.tcc:106:20: note: no known conversion for argument 1 from ‘’ to ‘int’ 106 | operator<<(int __n) | ~~~~^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:545:46: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 545 | inline AddrSpace *AddrSpaceManager::getSpace(int4 i) const { | ^~~~ | int In file included from /usr/include/c++/11.2.0/istream:39, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/ostream:192:7: note: candidate: ‘std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(unsigned int) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream]’ 192 | operator<<(unsigned int __n) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:192:31: note: no known conversion for argument 1 from ‘’ to ‘unsigned int’ 192 | operator<<(unsigned int __n) | ~~~~~~~~~~~~~^~~ /usr/include/c++/11.2.0/ostream:201:7: note: candidate: ‘std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long int) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream]’ 201 | operator<<(long long __n) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:201:28: note: no known conversion for argument 1 from ‘’ to ‘long long int’ 201 | operator<<(long long __n) | ~~~~~~~~~~^~~ /usr/include/c++/11.2.0/ostream:205:7: note: candidate: ‘std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long unsigned int) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream]’ 205 | operator<<(unsigned long long __n) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:205:37: note: no known conversion for argument 1 from ‘’ to ‘long long unsigned int’ 205 | operator<<(unsigned long long __n) | ~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/11.2.0/ostream:220:7: note: candidate: ‘std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(double) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream]’ 220 | operator<<(double __f) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:220:25: note: no known conversion for argument 1 from ‘’ to ‘double’ 220 | operator<<(double __f) | ~~~~~~~^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:277:53: error: ‘int4’ has not been declared 277 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /usr/include/c++/11.2.0/ostream:224:7: note: candidate: ‘std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(float) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream]’ 224 | operator<<(float __f) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:224:24: note: no known conversion for argument 1 from ‘’ to ‘float’ 224 | operator<<(float __f) | ~~~~~~^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:564:13: error: variable or field ‘setUniqueBase’ declared void 564 | inline void Translate::setUniqueBase(uintm val) { | ^~~~~~~~~ /usr/include/c++/11.2.0/ostream:232:7: note: candidate: ‘std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long double) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream]’ 232 | operator<<(long double __f) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:232:30: note: no known conversion for argument 1 from ‘’ to ‘long double’ 232 | operator<<(long double __f) | ~~~~~~~~~~~~^~~ /usr/include/c++/11.2.0/ostream:245:7: note: candidate: ‘std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(const void*) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream]’ 245 | operator<<(const void* __p) | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:272:3: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 272 | offset = res->offset; | ^~~~~~ | off_t /usr/include/c++/11.2.0/ostream:245:30: note: no known conversion for argument 1 from ‘’ to ‘const void*’ 245 | operator<<(const void* __p) | ~~~~~~~~~~~~^~~ In file included from /usr/include/c++/11.2.0/ostream:826, from /usr/include/c++/11.2.0/istream:39, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/bits/ostream.tcc:119:5: note: candidate: ‘std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__streambuf_type*) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__streambuf_type = std::basic_streambuf]’ 119 | basic_ostream<_CharT, _Traits>:: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:272:17: error: ‘class PatternBlock’ has no member named ‘offset’ 272 | offset = res->offset; | ^~~~~~ /usr/include/c++/11.2.0/bits/ostream.tcc:120:34: note: no known conversion for argument 1 from ‘’ to ‘std::basic_ostream::__streambuf_type*’ {aka ‘std::basic_streambuf*’} 120 | operator<<(__streambuf_type* __sbin) | ~~~~~~~~~~~~~~~~~~^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:278:1: error: ‘uintb’ does not name a type; did you mean ‘uint’? 278 | uintb FloatFormat::getEncoding(double host) const | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:251:3: error: ‘int4’ does not name a type; did you mean ‘int’? 251 | int4 getDefaultSize(void) const; ///< Get size of addresses for the default space | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:288:53: error: ‘int4’ has not been declared 288 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:266:11: error: ‘intb’ does not name a type; did you mean ‘int’? 266 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:262:23: error: ‘uintb’ has not been declared 262 | Address getConstant(uintb val) const; ///< Get a constant encoded as an Address | ^~~~~ In file included from /usr/include/c++/11.2.0/string:55, from /usr/include/c++/11.2.0/bits/locale_classes.h:40, from /usr/include/c++/11.2.0/bits/ios_base.h:41, from /usr/include/c++/11.2.0/ios:42, from /usr/include/c++/11.2.0/istream:38, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/bits/basic_string.h:6530:5: note: candidate: ‘template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)’ 6530 | operator<<(basic_ostream<_CharT, _Traits>& __os, | ^~~~~~~~ /usr/include/c++/11.2.0/bits/basic_string.h:6530:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:264:42: error: ‘uintb’ has not been declared 264 | Address resolveConstant(AddrSpace *spc,uintb val,int4 sz,const Address &point,uintb &fullEncoding) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:298:53: error: ‘int4’ has not been declared 298 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:264:52: error: ‘int4’ has not been declared 264 | Address resolveConstant(AddrSpace *spc,uintb val,int4 sz,const Address &point,uintb &fullEncoding) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:264:81: error: ‘uintb’ has not been declared 264 | Address resolveConstant(AddrSpace *spc,uintb val,int4 sz,const Address &point,uintb &fullEncoding) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:386:30: note: mismatched types ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ and ‘const char*(const char*, int) noexcept’ {aka ‘const char*(const char*, int)’} 386 | s << " index=\"" << dec << index << "\""; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:337:1: error: ‘uintb’ does not name a type; did you mean ‘uint’? 337 | uintb FloatFormat::convertEncoding(uintb encoding, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:386:30: note: mismatched types ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ and ‘char*(char*, int) noexcept’ {aka ‘char*(char*, int)’} /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:386:30: note: couldn’t deduce template parameter ‘_Alloc’ In file included from /usr/include/c++/11.2.0/bits/ios_base.h:46, from /usr/include/c++/11.2.0/ios:42, from /usr/include/c++/11.2.0/istream:38, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/system_error:263:5: note: candidate: ‘template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::error_code&)’ 263 | operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __e) | ^~~~~~~~ /usr/include/c++/11.2.0/system_error:263:5: note: template argument deduction/substitution failed: In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:141:7: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 141 | map pcodecallback; ///< a container of addressed based breakpoints | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:141:28: error: template argument 1 is invalid 141 | map pcodecallback; ///< a container of addressed based breakpoints | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:386:30: note: cannot convert ‘index’ (type ‘’) to type ‘const std::error_code&’ 386 | s << " index=\"" << dec << index << "\""; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:141:28: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:141:28: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:306:52: error: ‘int4’ has not been declared 306 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ In file included from /usr/include/c++/11.2.0/istream:39, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/ostream:506:5: note: candidate: ‘std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, _CharT) [with _CharT = char; _Traits = std::char_traits]’ 506 | operator<<(basic_ostream<_CharT, _Traits>& __out, _CharT __c) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:506:62: note: no known conversion for argument 2 from ‘’ to ‘char’ 506 | operator<<(basic_ostream<_CharT, _Traits>& __out, _CharT __c) | ~~~~~~~^~~ /usr/include/c++/11.2.0/ostream:511:5: note: candidate: ‘template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, char)’ 511 | operator<<(basic_ostream<_CharT, _Traits>& __out, char __c) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:511:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:386:30: note: cannot convert ‘index’ (type ‘’) to type ‘char’ 386 | s << " index=\"" << dec << index << "\""; | ^~~~~ In file included from /usr/include/c++/11.2.0/istream:39, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/ostream:517:5: note: candidate: ‘template std::basic_ostream& std::operator<<(std::basic_ostream&, char)’ 517 | operator<<(basic_ostream& __out, char __c) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:517:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:386:30: note: cannot convert ‘index’ (type ‘’) to type ‘char’ 386 | s << " index=\"" << dec << index << "\""; | ^~~~~ In file included from /usr/include/c++/11.2.0/istream:39, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/ostream:523:5: note: candidate: ‘template std::basic_ostream& std::operator<<(std::basic_ostream&, signed char)’ 523 | operator<<(basic_ostream& __out, signed char __c) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:523:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:386:30: note: cannot convert ‘index’ (type ‘’) to type ‘signed char’ 386 | s << " index=\"" << dec << index << "\""; | ^~~~~ In file included from /usr/include/c++/11.2.0/istream:39, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/ostream:528:5: note: candidate: ‘template std::basic_ostream& std::operator<<(std::basic_ostream&, unsigned char)’ 528 | operator<<(basic_ostream& __out, unsigned char __c) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:528:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:386:30: note: cannot convert ‘index’ (type ‘’) to type ‘unsigned char’ 386 | s << " index=\"" << dec << index << "\""; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:414:1: error: ‘uintb’ does not name a type; did you mean ‘uint’? 414 | uintb FloatFormat::opEqual(uintb a,uintb b) const | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:314:52: error: ‘int4’ has not been declared 314 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ In file included from /usr/include/c++/11.2.0/istream:39, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/ostream:589:5: note: candidate: ‘std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const _CharT*) [with _CharT = char; _Traits = std::char_traits]’ 589 | operator<<(basic_ostream<_CharT, _Traits>& __out, const _CharT* __s) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:589:69: note: no known conversion for argument 2 from ‘’ to ‘const char*’ 589 | operator<<(basic_ostream<_CharT, _Traits>& __out, const _CharT* __s) | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/c++/11.2.0/ostream:826, from /usr/include/c++/11.2.0/istream:39, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/bits/ostream.tcc:321:5: note: candidate: ‘template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const char*)’ 321 | operator<<(basic_ostream<_CharT, _Traits>& __out, const char* __s) | ^~~~~~~~ /usr/include/c++/11.2.0/bits/ostream.tcc:321:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:386:30: note: cannot convert ‘index’ (type ‘’) to type ‘const char*’ 386 | s << " index=\"" << dec << index << "\""; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:564:38: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 564 | inline void Translate::setUniqueBase(uintm val) { | ^~~~~ | uint In file included from /usr/include/c++/11.2.0/istream:39, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/ostream:606:5: note: candidate: ‘template std::basic_ostream& std::operator<<(std::basic_ostream&, const char*)’ 606 | operator<<(basic_ostream& __out, const char* __s) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:606:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:386:30: note: cannot convert ‘index’ (type ‘’) to type ‘const char*’ 386 | s << " index=\"" << dec << index << "\""; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:274:11: error: ‘intb’ does not name a type; did you mean ‘int’? 274 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int In file included from /usr/include/c++/11.2.0/istream:39, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/ostream:619:5: note: candidate: ‘template std::basic_ostream& std::operator<<(std::basic_ostream&, const signed char*)’ 619 | operator<<(basic_ostream& __out, const signed char* __s) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:619:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:386:30: note: cannot convert ‘index’ (type ‘’) to type ‘const signed char*’ 386 | s << " index=\"" << dec << index << "\""; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:322:52: error: ‘int4’ has not been declared 322 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ In file included from /usr/include/c++/11.2.0/istream:39, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/ostream:624:5: note: candidate: ‘template std::basic_ostream& std::operator<<(std::basic_ostream&, const unsigned char*)’ 624 | operator<<(basic_ostream& __out, const unsigned char* __s) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:624:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:386:30: note: cannot convert ‘index’ (type ‘’) to type ‘const unsigned char*’ 386 | s << " index=\"" << dec << index << "\""; | ^~~~~ In file included from /usr/include/c++/11.2.0/istream:39, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/ostream:747:5: note: candidate: ‘template _Ostream&& std::operator<<(_Ostream&&, const _Tp&)’ 747 | operator<<(_Ostream&& __os, const _Tp& __x) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:747:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:265:3: error: ‘int4’ does not name a type; did you mean ‘int’? 265 | int4 numSpaces(void) const; ///< Get the number of address spaces for this processor | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:386:30: note: couldn’t deduce template parameter ‘_Tp’ 386 | s << " index=\"" << dec << index << "\""; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:266:23: error: ‘int4’ has not been declared 266 | AddrSpace *getSpace(int4 i) const; ///< Get an address space via its index | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:27, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/iomanip:79:5: note: candidate: ‘template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, std::_Resetiosflags)’ 79 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Resetiosflags __f) | ^~~~~~~~ /usr/include/c++/11.2.0/iomanip:79:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:427:1: error: ‘uintb’ does not name a type; did you mean ‘uint’? 427 | uintb FloatFormat::opNotEqual(uintb a,uintb b) const | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:386:30: note: cannot convert ‘index’ (type ‘’) to type ‘std::_Resetiosflags’ 386 | s << " index=\"" << dec << index << "\""; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:268:61: error: ‘uint4’ has not been declared 268 | JoinRecord *findAddJoin(const vector &pieces,uint4 logicalsize); ///< Get (or create) JoinRecord for \e pieces | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:27, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/iomanip:109:5: note: candidate: ‘template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, std::_Setiosflags)’ 109 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Setiosflags __f) | ^~~~~~~~ /usr/include/c++/11.2.0/iomanip:109:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:269:24: error: ‘uintb’ has not been declared 269 | JoinRecord *findJoin(uintb offset) const; ///< Find JoinRecord for \e offset in the join space | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:386:30: note: cannot convert ‘index’ (type ‘’) to type ‘std::_Setiosflags’ 386 | s << " index=\"" << dec << index << "\""; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:330:52: error: ‘int4’ has not been declared 330 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:27, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/iomanip:143:5: note: candidate: ‘template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, std::_Setbase)’ 143 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Setbase __f) | ^~~~~~~~ /usr/include/c++/11.2.0/iomanip:143:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:270:40: error: ‘int4’ has not been declared 270 | void setDeadcodeDelay(AddrSpace *spc,int4 delaydelta); ///< Set the deadcodedelay for a specific space | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:386:30: note: cannot convert ‘index’ (type ‘’) to type ‘std::_Setbase’ 386 | s << " index=\"" << dec << index << "\""; | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:27, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/iomanip:178:5: note: candidate: ‘std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, std::_Setfill<_CharT>) [with _CharT = char; _Traits = std::char_traits]’ 178 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Setfill<_CharT> __f) | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:274:66: error: ‘int4’ has not been declared 274 | Address constructFloatExtensionAddress(const Address &realaddr,int4 realsize,int4 logicalsize); | ^~~~ /usr/include/c++/11.2.0/iomanip:178:71: note: no known conversion for argument 2 from ‘’ to ‘std::_Setfill’ 178 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Setfill<_CharT> __f) | ~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/11.2.0/iomanip:208:5: note: candidate: ‘template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, std::_Setprecision)’ 208 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Setprecision __f) | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:274:80: error: ‘int4’ has not been declared 274 | Address constructFloatExtensionAddress(const Address &realaddr,int4 realsize,int4 logicalsize); | ^~~~ /usr/include/c++/11.2.0/iomanip:208:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:386:30: note: cannot convert ‘index’ (type ‘’) to type ‘std::_Setprecision’ 386 | s << " index=\"" << dec << index << "\""; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:277:81: error: ‘int4’ has not been declared 277 | Address constructJoinAddress(const Translate *translate,const Address &hiaddr,int4 hisz,const Address &loaddr,int4 losz); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:275:11: error: ‘intb’ does not name a type; did you mean ‘int’? 275 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:27, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/iomanip:238:5: note: candidate: ‘template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, std::_Setw)’ 238 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Setw __f) | ^~~~~~~~ /usr/include/c++/11.2.0/iomanip:238:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:277:113: error: ‘int4’ has not been declared 277 | Address constructJoinAddress(const Translate *translate,const Address &hiaddr,int4 hisz,const Address &loaddr,int4 losz); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:386:30: note: cannot convert ‘index’ (type ‘’) to type ‘std::_Setw’ 386 | s << " index=\"" << dec << index << "\""; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:582:8: error: ‘int4’ does not name a type; did you mean ‘int’? 582 | inline int4 Translate::getAlignment(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:280:45: error: ‘int4’ has not been declared 280 | void renormalizeJoinAddress(Address &addr,int4 size); | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:27, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/iomanip:311:5: note: candidate: ‘template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, std::_Put_money<_MoneyT>)’ 311 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Put_money<_MoneyT> __f) | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:338:52: error: ‘int4’ has not been declared 338 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /usr/include/c++/11.2.0/iomanip:311:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:386:30: note: mismatched types ‘std::_Put_money<_MoneyT>’ and ‘const char* (*)(const char*, int) noexcept’ {aka ‘const char* (*)(const char*, int)’} 386 | s << " index=\"" << dec << index << "\""; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:386:30: note: mismatched types ‘std::_Put_money<_MoneyT>’ and ‘char* (*)(char*, int) noexcept’ {aka ‘char* (*)(char*, int)’} /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:386:30: note: couldn’t deduce template parameter ‘_MoneyT’ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:27, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/iomanip:363:5: note: candidate: ‘std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, std::_Put_time<_CharT>) [with _CharT = char; _Traits = std::char_traits]’ 363 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Put_time<_CharT> __f) | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:440:1: error: ‘uintb’ does not name a type; did you mean ‘uint’? 440 | uintb FloatFormat::opLess(uintb a,uintb b) const | ^~~~~ | uint /usr/include/c++/11.2.0/iomanip:363:72: note: no known conversion for argument 2 from ‘’ to ‘std::_Put_time’ 363 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Put_time<_CharT> __f) | ~~~~~~~~~~~~~~~~~~^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:346:52: error: ‘int4’ has not been declared 346 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:592:8: error: ‘uintm’ does not name a type; did you mean ‘uint’? 592 | inline uintm Translate::getUniqueBase(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:355:52: error: ‘int4’ has not been declared 355 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:453:1: error: ‘uintb’ does not name a type; did you mean ‘uint’? 453 | uintb FloatFormat::opLessEqual(uintb a,uintb b) const | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:364:52: error: ‘int4’ has not been declared 364 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:283:11: error: ‘intb’ does not name a type; did you mean ‘int’? 283 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:296:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 296 | uintm unique_base; ///< Starting offset into unique space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:465:1: error: ‘uintb’ does not name a type; did you mean ‘uint’? 465 | uintb FloatFormat::opNan(uintb a) const | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:284:11: error: ‘intb’ does not name a type; did you mean ‘int’? 284 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘virtual void UserOpSymbol::restoreXml(const Element*, SleighBase*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:403:5: error: no match for ‘operator>>’ (operand types are ‘std::istringstream’ {aka ‘std::__cxx11::basic_istringstream’} and ‘’) 403 | s >> index; | ~~^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:477:1: error: ‘uintb’ does not name a type; did you mean ‘uint’? 477 | uintb FloatFormat::opAdd(uintb a,uintb b) const | ^~~~~ | uint In file included from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/istream:120:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(std::basic_istream<_CharT, _Traits>::__istream_type& (*)(std::basic_istream<_CharT, _Traits>::__istream_type&)) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 120 | operator>>(__istream_type& (*__pf)(__istream_type&)) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:120:36: note: no known conversion for argument 1 from ‘’ to ‘std::basic_istream::__istream_type& (*)(std::basic_istream::__istream_type&)’ {aka ‘std::basic_istream& (*)(std::basic_istream&)’} 120 | operator>>(__istream_type& (*__pf)(__istream_type&)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/11.2.0/istream:124:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(std::basic_istream<_CharT, _Traits>::__ios_type& (*)(std::basic_istream<_CharT, _Traits>::__ios_type&)) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream; std::basic_istream<_CharT, _Traits>::__ios_type = std::basic_ios]’ 124 | operator>>(__ios_type& (*__pf)(__ios_type&)) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:124:32: note: no known conversion for argument 1 from ‘’ to ‘std::basic_istream::__ios_type& (*)(std::basic_istream::__ios_type&)’ {aka ‘std::basic_ios& (*)(std::basic_ios&)’} 124 | operator>>(__ios_type& (*__pf)(__ios_type&)) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/include/c++/11.2.0/istream:131:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(std::ios_base& (*)(std::ios_base&)) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 131 | operator>>(ios_base& (*__pf)(ios_base&)) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:131:30: note: no known conversion for argument 1 from ‘’ to ‘std::ios_base& (*)(std::ios_base&)’ 131 | operator>>(ios_base& (*__pf)(ios_base&)) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/include/c++/11.2.0/istream:168:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(bool&) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 168 | operator>>(bool& __n) | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:273:3: error: ‘nonzerosize’ was not declared in this scope 273 | nonzerosize = res->nonzerosize; | ^~~~~~~~~~~ /usr/include/c++/11.2.0/istream:168:24: note: no known conversion for argument 1 from ‘’ to ‘bool&’ 168 | operator>>(bool& __n) | ~~~~~~^~~ /usr/include/c++/11.2.0/istream:172:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(short int&) [with _CharT = char; _Traits = std::char_traits]’ 172 | operator>>(short& __n); | ^~~~~~~~ /usr/include/c++/11.2.0/istream:172:25: note: no known conversion for argument 1 from ‘’ to ‘short int&’ 172 | operator>>(short& __n); | ~~~~~~~^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:298:3: error: ‘int4’ does not name a type; did you mean ‘int’? 298 | int4 alignment; ///< Byte modulo on which instructions are aligned | ^~~~ | int /usr/include/c++/11.2.0/istream:175:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(short unsigned int&) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 175 | operator>>(unsigned short& __n) | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:273:22: error: ‘class PatternBlock’ has no member named ‘nonzerosize’ 273 | nonzerosize = res->nonzerosize; | ^~~~~~~~~~~ /usr/include/c++/11.2.0/istream:175:34: note: no known conversion for argument 1 from ‘’ to ‘short unsigned int&’ 175 | operator>>(unsigned short& __n) | ~~~~~~~~~~~~~~~~^~~ /usr/include/c++/11.2.0/istream:179:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(int&) [with _CharT = char; _Traits = std::char_traits]’ 179 | operator>>(int& __n); | ^~~~~~~~ /usr/include/c++/11.2.0/istream:179:23: note: no known conversion for argument 1 from ‘’ to ‘int&’ 179 | operator>>(int& __n); | ~~~~~^~~ /usr/include/c++/11.2.0/istream:182:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(unsigned int&) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 182 | operator>>(unsigned int& __n) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:182:32: note: no known conversion for argument 1 from ‘’ to ‘unsigned int&’ 182 | operator>>(unsigned int& __n) | ~~~~~~~~~~~~~~^~~ /usr/include/c++/11.2.0/istream:186:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long int&) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 186 | operator>>(long& __n) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:186:24: note: no known conversion for argument 1 from ‘’ to ‘long int&’ 186 | operator>>(long& __n) | ~~~~~~^~~ /usr/include/c++/11.2.0/istream:190:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long unsigned int&) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 190 | operator>>(unsigned long& __n) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:190:33: note: no known conversion for argument 1 from ‘’ to ‘long unsigned int&’ 190 | operator>>(unsigned long& __n) | ~~~~~~~~~~~~~~~^~~ /usr/include/c++/11.2.0/istream:195:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long long int&) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 195 | operator>>(long long& __n) | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:489:1: error: ‘uintb’ does not name a type; did you mean ‘uint’? 489 | uintb FloatFormat::opDiv(uintb a,uintb b) const | ^~~~~ | uint /usr/include/c++/11.2.0/istream:195:29: note: no known conversion for argument 1 from ‘’ to ‘long long int&’ 195 | operator>>(long long& __n) | ~~~~~~~~~~~^~~ /usr/include/c++/11.2.0/istream:199:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long long unsigned int&) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 199 | operator>>(unsigned long long& __n) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:199:38: note: no known conversion for argument 1 from ‘’ to ‘long long unsigned int&’ 199 | operator>>(unsigned long long& __n) | ~~~~~~~~~~~~~~~~~~~~^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:534:60: error: ‘parser_cachesize’ was not declared in this scope 534 | discache = new DisassemblyCache(cache,getConstantSpace(),parser_cachesize,parser_windowsize); | ^~~~~~~~~~~~~~~~ /usr/include/c++/11.2.0/istream:214:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(float&) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 214 | operator>>(float& __f) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:214:25: note: no known conversion for argument 1 from ‘’ to ‘float&’ 214 | operator>>(float& __f) | ~~~~~~~^~~ /usr/include/c++/11.2.0/istream:218:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(double&) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 218 | operator>>(double& __f) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:218:26: note: no known conversion for argument 1 from ‘’ to ‘double&’ 218 | operator>>(double& __f) | ~~~~~~~~^~~ /usr/include/c++/11.2.0/istream:222:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long double&) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 222 | operator>>(long double& __f) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:222:31: note: no known conversion for argument 1 from ‘’ to ‘long double&’ 222 | operator>>(long double& __f) | ~~~~~~~~~~~~~^~~ /usr/include/c++/11.2.0/istream:235:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(void*&) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 235 | operator>>(void*& __p) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:235:25: note: no known conversion for argument 1 from ‘’ to ‘void*&’ 235 | operator>>(void*& __p) | ~~~~~~~^~~ /usr/include/c++/11.2.0/istream:259:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(std::basic_istream<_CharT, _Traits>::__streambuf_type*) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__streambuf_type = std::basic_streambuf]’ 259 | operator>>(__streambuf_type* __sb); | ^~~~~~~~ /usr/include/c++/11.2.0/istream:259:36: note: no known conversion for argument 1 from ‘’ to ‘std::basic_istream::__streambuf_type*’ {aka ‘std::basic_streambuf*’} 259 | operator>>(__streambuf_type* __sb); | ~~~~~~~~~~~~~~~~~~^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc: In member function ‘PatternBlock* PatternBlock::clone() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:284:8: error: ‘class PatternBlock’ has no member named ‘offset’ 284 | res->offset = offset; | ^~~~~~ In file included from /usr/include/c++/11.2.0/string:56, from /usr/include/c++/11.2.0/bits/locale_classes.h:40, from /usr/include/c++/11.2.0/bits/ios_base.h:41, from /usr/include/c++/11.2.0/ios:42, from /usr/include/c++/11.2.0/istream:38, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/bits/basic_string.tcc:1485:5: note: candidate: ‘template std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)’ 1485 | operator>>(basic_istream<_CharT, _Traits>& __in, | ^~~~~~~~ /usr/include/c++/11.2.0/bits/basic_string.tcc:1485:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:403:8: note: mismatched types ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ and ‘const char*(const char*, int) noexcept’ {aka ‘const char*(const char*, int)’} 403 | s >> index; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:403:8: note: mismatched types ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ and ‘char*(char*, int) noexcept’ {aka ‘char*(char*, int)’} /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:403:8: note: couldn’t deduce template parameter ‘_Alloc’ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:501:1: error: ‘uintb’ does not name a type; did you mean ‘uint’? 501 | uintb FloatFormat::opMult(uintb a,uintb b) const | ^~~~~ | uint In file included from /usr/include/c++/11.2.0/istream:995, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/bits/istream.tcc:958:5: note: candidate: ‘std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, _CharT&) [with _CharT = char; _Traits = std::char_traits]’ 958 | operator>>(basic_istream<_CharT, _Traits>& __in, _CharT& __c) | ^~~~~~~~ /usr/include/c++/11.2.0/bits/istream.tcc:958:62: note: no known conversion for argument 2 from ‘’ to ‘char&’ 958 | operator>>(basic_istream<_CharT, _Traits>& __in, _CharT& __c) | ~~~~~~~~^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:292:11: error: ‘intb’ does not name a type; did you mean ‘int’? 292 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int In file included from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/istream:756:5: note: candidate: ‘template std::basic_istream& std::operator>>(std::basic_istream&, unsigned char&)’ 756 | operator>>(basic_istream& __in, unsigned char& __c) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:756:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:403:8: note: cannot convert ‘index’ (type ‘’) to type ‘unsigned char&’ 403 | s >> index; | ^~~~~ In file included from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/istream:761:5: note: candidate: ‘template std::basic_istream& std::operator>>(std::basic_istream&, signed char&)’ 761 | operator>>(basic_istream& __in, signed char& __c) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:761:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:403:8: note: cannot convert ‘index’ (type ‘’) to type ‘signed char&’ 403 | s >> index; | ^~~~~ In file included from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/istream:803:5: note: candidate: ‘std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, _CharT*) [with _CharT = char; _Traits = std::char_traits]’ 803 | operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:803:62: note: no known conversion for argument 2 from ‘’ to ‘char*’ 803 | operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s) | ~~~~~~~~^~~ /usr/include/c++/11.2.0/istream:825:5: note: candidate: ‘template std::basic_istream& std::operator>>(std::basic_istream&, unsigned char*)’ 825 | operator>>(basic_istream& __in, unsigned char* __s) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:825:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:403:8: note: cannot convert ‘index’ (type ‘’) to type ‘unsigned char*’ 403 | s >> index; | ^~~~~ In file included from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/istream:831:5: note: candidate: ‘template std::basic_istream& std::operator>>(std::basic_istream&, signed char*)’ 831 | operator>>(basic_istream& __in, signed char* __s) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:831:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:403:8: note: cannot convert ‘index’ (type ‘’) to type ‘signed char*’ 403 | s >> index; | ^~~~~ In file included from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/istream:985:5: note: candidate: ‘template _Istream&& std::operator>>(_Istream&&, _Tp&&)’ 985 | operator>>(_Istream&& __is, _Tp&& __x) | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:513:1: error: ‘uintb’ does not name a type; did you mean ‘uint’? 513 | uintb FloatFormat::opSub(uintb a,uintb b) const | ^~~~~ | uint /usr/include/c++/11.2.0/istream:985:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:403:8: note: couldn’t deduce template parameter ‘_Tp’ 403 | s >> index; | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:27, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/iomanip:71:5: note: candidate: ‘template std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Resetiosflags)’ 71 | operator>>(basic_istream<_CharT, _Traits>& __is, _Resetiosflags __f) | ^~~~~~~~ /usr/include/c++/11.2.0/iomanip:71:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:403:8: note: cannot convert ‘index’ (type ‘’) to type ‘std::_Resetiosflags’ 403 | s >> index; | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:27, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/iomanip:101:5: note: candidate: ‘template std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Setiosflags)’ 101 | operator>>(basic_istream<_CharT, _Traits>& __is, _Setiosflags __f) | ^~~~~~~~ /usr/include/c++/11.2.0/iomanip:101:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:403:8: note: cannot convert ‘index’ (type ‘’) to type ‘std::_Setiosflags’ 403 | s >> index; | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:27, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/iomanip:132:5: note: candidate: ‘template std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Setbase)’ 132 | operator>>(basic_istream<_CharT, _Traits>& __is, _Setbase __f) | ^~~~~~~~ /usr/include/c++/11.2.0/iomanip:132:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:403:8: note: cannot convert ‘index’ (type ‘’) to type ‘std::_Setbase’ 403 | s >> index; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:293:11: error: ‘intb’ does not name a type; did you mean ‘int’? 293 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:27, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/iomanip:170:5: note: candidate: ‘std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Setfill<_CharT>) [with _CharT = char; _Traits = std::char_traits]’ 170 | operator>>(basic_istream<_CharT, _Traits>& __is, _Setfill<_CharT> __f) | ^~~~~~~~ /usr/include/c++/11.2.0/iomanip:170:71: note: no known conversion for argument 2 from ‘’ to ‘std::_Setfill’ 170 | operator>>(basic_istream<_CharT, _Traits>& __is, _Setfill<_CharT> __f) | ~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/11.2.0/iomanip:200:5: note: candidate: ‘template std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Setprecision)’ 200 | operator>>(basic_istream<_CharT, _Traits>& __is, _Setprecision __f) | ^~~~~~~~ /usr/include/c++/11.2.0/iomanip:200:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:403:8: note: cannot convert ‘index’ (type ‘’) to type ‘std::_Setprecision’ 403 | s >> index; | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:27, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/iomanip:230:5: note: candidate: ‘template std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Setw)’ 230 | operator>>(basic_istream<_CharT, _Traits>& __is, _Setw __f) | ^~~~~~~~ /usr/include/c++/11.2.0/iomanip:230:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:403:8: note: cannot convert ‘index’ (type ‘’) to type ‘std::_Setw’ 403 | s >> index; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:452:53: error: ‘int4’ has not been declared 452 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:27, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/iomanip:264:5: note: candidate: ‘template std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Get_money<_MoneyT>)’ 264 | operator>>(basic_istream<_CharT, _Traits>& __is, _Get_money<_MoneyT> __f) | ^~~~~~~~ /usr/include/c++/11.2.0/iomanip:264:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:524:1: error: ‘uintb’ does not name a type; did you mean ‘uint’? 524 | uintb FloatFormat::opNeg(uintb a) const | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:403:8: note: mismatched types ‘std::_Get_money<_MoneyT>’ and ‘const char* (*)(const char*, int) noexcept’ {aka ‘const char* (*)(const char*, int)’} 403 | s >> index; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:403:8: note: mismatched types ‘std::_Get_money<_MoneyT>’ and ‘char* (*)(char*, int) noexcept’ {aka ‘char* (*)(char*, int)’} /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:403:8: note: couldn’t deduce template parameter ‘_MoneyT’ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:27, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/iomanip:418:5: note: candidate: ‘std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Get_time<_CharT>) [with _CharT = char; _Traits = std::char_traits]’ 418 | operator>>(basic_istream<_CharT, _Traits>& __is, _Get_time<_CharT> __f) | ^~~~~~~~ /usr/include/c++/11.2.0/iomanip:418:72: note: no known conversion for argument 2 from ‘’ to ‘std::_Get_time’ 418 | operator>>(basic_istream<_CharT, _Traits>& __is, _Get_time<_CharT> __f) | ~~~~~~~~~~~~~~~~~~^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:461:52: error: ‘int4’ has not been declared 461 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:462:53: error: ‘int4’ has not been declared 462 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:534:1: error: ‘uintb’ does not name a type; did you mean ‘uint’? 534 | uintb FloatFormat::opAbs(uintb a) const | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:472:52: error: ‘int4’ has not been declared 472 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:473:53: error: ‘int4’ has not been declared 473 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:301:11: error: ‘intb’ does not name a type; did you mean ‘int’? 301 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:544:1: error: ‘uintb’ does not name a type; did you mean ‘uint’? 544 | uintb FloatFormat::opSqrt(uintb a) const | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:490:52: error: ‘int4’ has not been declared 490 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:284:17: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 284 | res->offset = offset; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:555:1: error: ‘uintb’ does not name a type; did you mean ‘uint’? 555 | uintb FloatFormat::opInt2Float(uintb a,int4 sizein) const | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:285:8: error: ‘class PatternBlock’ has no member named ‘nonzerosize’ 285 | res->nonzerosize = nonzerosize; | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:302:11: error: ‘intb’ does not name a type; did you mean ‘int’? 302 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:282:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 282 | uintm uniq; ///< Starting offset for defining temporaries in \e unique space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:498:52: error: ‘int4’ has not been declared 498 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:286:49: error: ‘uintb’ has not been declared 286 | const vector &in,uintb uniqReserve); ///< Constructor | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:287:90: error: ‘int4’ has not been declared 287 | virtual void dump(const Address &addr,OpCode opc,VarnodeData *outvar,VarnodeData *vars,int4 isize); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:506:52: error: ‘int4’ has not been declared 506 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:567:1: error: ‘uintb’ does not name a type; did you mean ‘uint’? 567 | uintb FloatFormat::opFloat2Float(uintb a,const FloatFormat &outformat) const | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:302:22: error: ‘uintm’ has not been declared 302 | void setUniqueBase(uintm val); ///< Set the base offset for new temporary registers | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:307:37: error: ‘int4’ has not been declared 307 | const FloatFormat *getFloatFormat(int4 size) const; ///< Get format for a particular floating point encoding | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:514:52: error: ‘int4’ has not been declared 514 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:576:1: error: ‘uintb’ does not name a type; did you mean ‘uint’? 576 | uintb FloatFormat::opTrunc(uintb a,int4 sizeout) const | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:310:11: error: ‘intb’ does not name a type; did you mean ‘int’? 310 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:589:1: error: ‘uintb’ does not name a type; did you mean ‘uint’? 589 | uintb FloatFormat::opCeil(uintb a) const | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:311:11: error: ‘intb’ does not name a type; did you mean ‘int’? 311 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:599:1: error: ‘uintb’ does not name a type; did you mean ‘uint’? 599 | uintb FloatFormat::opFloor(uintb a) const | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:308:3: error: ‘int4’ does not name a type; did you mean ‘int’? 308 | int4 getAlignment(void) const; ///< Get the instruction alignment for the processor | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:609:1: error: ‘uintb’ does not name a type; did you mean ‘uint’? 609 | uintb FloatFormat::opRound(uintb a) const | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In constructor ‘PatternlessSymbol::PatternlessSymbol()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:411:31: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 411 | patexp = new ConstantValue((intb)0); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:534:77: error: ‘parser_windowsize’ was not declared in this scope 534 | discache = new DisassemblyCache(cache,getConstantSpace(),parser_cachesize,parser_windowsize); | ^~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:546:58: error: ‘int4’ has not been declared 546 | ParserContext *Sleigh::obtainContext(const Address &addr,int4 state) const | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:309:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 309 | uintm getUniqueBase(void) const; ///< Get the base offset for new temporary registers | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:328:51: error: ‘int4’ has not been declared 328 | virtual void registerContext(const string &name,int4 sbit,int4 ebit) {} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:328:61: error: ‘int4’ has not been declared 328 | virtual void registerContext(const string &name,int4 sbit,int4 ebit) {} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:319:11: error: ‘intb’ does not name a type; did you mean ‘int’? 319 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:337:53: error: ‘uintm’ has not been declared 337 | virtual void setContextDefault(const string &name,uintm val) {} | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:357:61: error: ‘uintb’ has not been declared 357 | virtual void addRegister(const string &nm,AddrSpace *base,uintb offset,int4 size)=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:357:74: error: ‘int4’ has not been declared 357 | virtual void addRegister(const string &nm,AddrSpace *base,uintb offset,int4 size)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:376:50: error: ‘uintb’ has not been declared 376 | virtual string getRegisterName(AddrSpace *base,uintb off,int4 size) const=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:376:60: error: ‘int4’ has not been declared 376 | virtual string getRegisterName(AddrSpace *base,uintb off,int4 size) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:320:11: error: ‘intb’ does not name a type; did you mean ‘int’? 320 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:403:11: error: ‘int4’ does not name a type; did you mean ‘int’? 403 | virtual int4 instructionLength(const Address &baseaddr) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:328:3: error: ‘int4’ does not name a type; did you mean ‘int’? 328 | int4 base; // Current base operand (as we traverse the pattern equation from left to right) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:418:11: error: ‘int4’ does not name a type; did you mean ‘int’? 418 | virtual int4 oneInstruction(PcodeEmit &emit,const Address &baseaddr) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc: In member function ‘ParserContext* Sleigh::obtainContext(const Address&, int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:550:3: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 550 | int4 curstate = pos->getParserState(); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:285:22: error: ‘nonzerosize’ was not declared in this scope 285 | res->nonzerosize = nonzerosize; | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:329:3: error: ‘int4’ does not name a type; did you mean ‘int’? 329 | int4 offset; // Bytes we have traversed from the LEFT edge of the current base | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:141:7: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 141 | map pcodecallback; ///< a container of addressed based breakpoints | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:141:28: error: template argument 1 is invalid 141 | map pcodecallback; ///< a container of addressed based breakpoints | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:141:28: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:141:28: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:428:11: error: ‘int4’ does not name a type; did you mean ‘int’? 428 | virtual int4 printAssembly(AssemblyEmit &emit,const Address &baseaddr) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:683:53: error: ‘int4’ has not been declared 683 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:330:3: error: ‘int4’ does not name a type; did you mean ‘int’? 330 | int4 cur_rightmost; // (resulting) rightmost operand in our pattern | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc: In member function ‘void FloatFormat::saveXml(std::ostream&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:624:18: error: ‘size’ was not declared in this scope 624 | a_v_i(s,"size",size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In constructor ‘PatternlessSymbol::PatternlessSymbol(const string&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:418:31: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 418 | patexp = new ConstantValue((intb)0); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:331:3: error: ‘int4’ does not name a type; did you mean ‘int’? 331 | int4 size; // (resulting) bytes traversed from the LEFT edge of the rightmost | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘virtual void EpsilonSymbol::getFixedHandle(FixedHandle&, ParserWalker&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:433:8: error: ‘struct FixedHandle’ has no member named ‘offset_offset’ 433 | hand.offset_offset = 0; | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:434:8: error: ‘struct FixedHandle’ has no member named ‘size’ 434 | hand.size = 0; // Cannot provide size | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:434:8: error: ‘int4’ does not name a type; did you mean ‘int’? 434 | inline int4 AddrSpaceManager::getDefaultSize(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:722:53: error: ‘int4’ has not been declared 722 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:725:52: error: ‘int4’ has not been declared 725 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:518:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 518 | inline Address AddrSpaceManager::getConstant(uintb val) const { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:518:16: error: ‘Address AddrSpaceManager::getConstant’ is not a static data member of ‘class AddrSpaceManager’ 518 | inline Address AddrSpaceManager::getConstant(uintb val) const { | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:735:53: error: ‘int4’ has not been declared 735 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:736:52: error: ‘int4’ has not been declared 736 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:755:52: error: ‘int4’ has not been declared 755 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:766:52: error: ‘int4’ has not been declared 766 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const { return (Datatype *)0; } // Never needs casting | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:768:53: error: ‘int4’ has not been declared 768 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:551:7: error: ‘curstate’ was not declared in this scope 551 | if (curstate >= state) | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc: In member function ‘PatternBlock* PatternBlock::commonSubPattern(const PatternBlock*) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:297:3: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 297 | int4 maxlength = (getLength() > b->getLength()) ? getLength() : b->getLength(); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:777:52: error: ‘int4’ has not been declared 777 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const { return (Datatype *)0; } // Never needs casting | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:299:8: error: ‘class PatternBlock’ has no member named ‘offset’ 299 | res->offset = 0; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In constructor ‘OperandResolve::OperandResolve(std::vector&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:327:5: error: ‘base’ was not declared in this scope 327 | base=-1; offset=0; cur_rightmost = -1; size = 0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:300:7: error: expected ‘;’ before ‘offset’ 300 | int4 offset = 0; | ^~~~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘virtual void ValueSymbol::getFixedHandle(FixedHandle&, ParserWalker&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:492:8: error: ‘struct FixedHandle’ has no member named ‘offset_offset’ 492 | hand.offset_offset = (uintb) patval->getValue(walker); | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:304:3: error: ‘int4’ does not name a type; did you mean ‘int’? 304 | int4 current_op; ///< Index of current pcode op within machine instruction | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:786:53: error: ‘int4’ has not been declared 786 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:794:53: error: ‘int4’ has not been declared 794 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:518:46: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 518 | inline Address AddrSpaceManager::getConstant(uintb val) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:518:57: error: expected ‘,’ or ‘;’ before ‘const’ 518 | inline Address AddrSpaceManager::getConstant(uintb val) const { | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:34:68: error: ‘int4’ has not been declared 34 | IopSpace(AddrSpaceManager *m,const Translate *t,const string &nm,int4 ind); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:305:3: error: ‘int4’ does not name a type; did you mean ‘int’? 305 | int4 instruction_length; ///< Length of current instruction in bytes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:35:45: error: ‘uintb’ has not been declared 35 | virtual void saveXmlAttributes(ostream &s,uintb offset) const { s << " space=\"iop\""; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:36:45: error: ‘uintb’ has not been declared 36 | virtual void saveXmlAttributes(ostream &s,uintb offset,int4 size) const { s << " space=\"iop\""; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:36:58: error: ‘int4’ has not been declared 36 | virtual void saveXmlAttributes(ostream &s,uintb offset,int4 size) const { s << " space=\"iop\""; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:37:36: error: ‘uintb’ has not been declared 37 | virtual void printRaw(ostream &s,uintb offset) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:317:3: error: ‘int4’ does not name a type; did you mean ‘int’? 317 | int4 numCurrentOps(void) const; ///< Return number of pcode ops in translation of current instruction | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:301:3: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 301 | uintm mask1,val1,mask2,val2; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:302:8: error: expected ‘;’ before ‘resmask’ 302 | uintm resmask,resval; | ^~~~~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:327:14: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 327 | base=-1; offset=0; cur_rightmost = -1; size = 0; } | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:318:3: error: ‘int4’ does not name a type; did you mean ‘int’? 318 | int4 getCurrentOpIndex(void) const; ///< Get the index of current pcode op within current instruction | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:319:28: error: ‘int4’ has not been declared 319 | PcodeOpRaw *getOpByIndex(int4 i) const; ///< Get pcode op in current instruction translation by index | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:625:21: error: ‘signbit_pos’ was not declared in this scope 625 | a_v_i(s,"signpos",signbit_pos); | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:112:11: error: ‘uint4’ does not name a type; did you mean ‘uint’? 112 | mutable uint4 flags; ///< Collection of boolean attributes on this op | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh: In member function ‘Address AddrSpaceManager::createConstFromSpace(AddrSpace*) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:529:33: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 529 | return Address(constantspace,(uintb)(uintp)spc); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:553:7: error: ‘curstate’ was not declared in this scope 553 | if (curstate == ParserContext::uninitialized) { | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:282:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 282 | uintm uniq; ///< Starting offset for defining temporaries in \e unique space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:286:49: error: ‘uintb’ has not been declared 286 | const vector &in,uintb uniqReserve); ///< Constructor | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:338:8: error: ‘int4’ does not name a type; did you mean ‘int’? 338 | inline int4 EmulatePcodeCache::numCurrentOps(void) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:287:90: error: ‘int4’ has not been declared 287 | virtual void dump(const Address &addr,OpCode opc,VarnodeData *outvar,VarnodeData *vars,int4 isize); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:492:25: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 492 | hand.offset_offset = (uintb) patval->getValue(walker); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:493:8: error: ‘struct FixedHandle’ has no member named ‘size’ 493 | hand.size = 0; // Cannot provide size | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc: In member function ‘void Sleigh::resolve(ParserContext&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:568:24: error: ‘class ParserContext’ has no member named ‘getBuffer’ 568 | loader->loadFill(pos.getBuffer(),16,pos.getAddr()); | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:347:8: error: ‘int4’ does not name a type; did you mean ‘int’? 347 | inline int4 EmulatePcodeCache::getCurrentOpIndex(void) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:357:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 357 | inline PcodeOpRaw *EmulatePcodeCache::getOpByIndex(int4 i) const | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:357:20: error: ‘PcodeOpRaw* EmulatePcodeCache::getOpByIndex’ is not a static data member of ‘class EmulatePcodeCache’ 357 | inline PcodeOpRaw *EmulatePcodeCache::getOpByIndex(int4 i) const | ^~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:113:11: error: ‘uint4’ does not name a type; did you mean ‘uint’? 113 | mutable uint4 addlflags; ///< Additional boolean attributes for this op | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:125:19: error: ‘int4’ has not been declared 125 | void clearInput(int4 slot) { inrefs[slot] = (Varnode *)0; } ///< Clear a specific input Varnode to \e null | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:126:29: error: ‘int4’ has not been declared 126 | void setInput(Varnode *vn,int4 slot) { inrefs[slot] = vn; } ///< Set a specific input Varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:127:16: error: ‘uint4’ has not been declared 127 | void setFlag(uint4 fl) { flags |= fl; } ///< Set specific boolean attribute(s) on this op | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:128:18: error: ‘uint4’ has not been declared 128 | void clearFlag(uint4 fl) { flags &= ~fl; } ///< Clear specific boolean attribute(s) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:129:26: error: ‘uint4’ has not been declared 129 | void setAdditionalFlag(uint4 fl) { addlflags |= fl; } ///< Set specific boolean attribute | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:130:28: error: ‘uint4’ has not been declared 130 | void clearAdditionalFlag(uint4 fl) { addlflags &= ~fl; } ///< Clear specific boolean atribute | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:131:17: error: ‘uint4’ has not been declared 131 | void flipFlag(uint4 fl) { flags ^= fl; } ///< Flip the setting of specific boolean attribute(s) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:132:21: error: ‘int4’ has not been declared 132 | void setNumInputs(int4 num); ///< Make sure this op has \b num inputs | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:133:20: error: ‘int4’ has not been declared 133 | void removeInput(int4 slot); ///< Eliminate a specific input Varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:134:20: error: ‘int4’ has not been declared 134 | void insertInput(int4 slot); ///< Make room for a new input Varnode at a specific position | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:135:17: error: ‘uintm’ has not been declared 135 | void setOrder(uintm ord) { start.setOrder(ord); } ///< Order this op within the ops for a single instruction | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:140:15: error: expected ‘)’ before ‘s’ 140 | PcodeOp(int4 s,const SeqNum &sq); ///< Construct an unattached PcodeOp | ~ ^~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:529:40: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 529 | return Address(constantspace,(uintb)(uintp)spc); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:142:3: error: ‘int4’ does not name a type; did you mean ‘int’? 142 | int4 numInput(void) const { return inrefs.size(); } ///< Get the number of inputs to this op | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:145:18: error: ‘int4’ has not been declared 145 | Varnode *getIn(int4 slot) { return inrefs[slot]; } ///< Get a specific input Varnode to this op | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:146:24: error: ‘int4’ has not been declared 146 | const Varnode *getIn(int4 slot) const { return (const Varnode *) inrefs[slot]; } ///< Get a specific input Varnode to this op | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:536:8: error: ‘int4’ does not name a type; did you mean ‘int’? 536 | inline int4 AddrSpaceManager::numSpaces(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:357:52: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 357 | inline PcodeOpRaw *EmulatePcodeCache::getOpByIndex(int4 i) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:545:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 545 | inline AddrSpace *AddrSpaceManager::getSpace(int4 i) const { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:545:19: error: ‘AddrSpace* AddrSpaceManager::getSpace’ is not a static data member of ‘class AddrSpaceManager’ 545 | inline AddrSpace *AddrSpaceManager::getSpace(int4 i) const { | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:572:3: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 572 | uint4 off; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:303:9: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 303 | while(offset < maxlength) { | ^~~~~~ | off_t In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:150:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 150 | uintm getTime(void) const { return start.getTime(); } ///< Get the time index indicating when this op was created | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:63:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 63 | uint4 tag; ///< Descriptor of type of the object | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:155:3: error: ‘int4’ does not name a type; did you mean ‘int’? 155 | int4 getSlot(const Varnode *vn) const { int4 i,n; n=inrefs.size(); for(i=0;i::const_iterator iter) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:66:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 66 | uintb value; ///< Constant value of the object (if known) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:573:3: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 573 | int4 oper,numoper; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:68:3: error: ‘uint1’ does not name a type; did you mean ‘uint’? 68 | uint1 *byteData; ///< For string literals, the raw byte data of the string | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:158:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 158 | uint4 getEvalType(void) const { return (flags&(PcodeOp::unary|PcodeOp::binary|PcodeOp::special|PcodeOp::ternary)); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:327:24: error: ‘cur_rightmost’ was not declared in this scope 327 | base=-1; offset=0; cur_rightmost = -1; size = 0; } | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘virtual void ValueSymbol::print(std::ostream&, ParserWalker&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:499:3: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 499 | intb val = patval->getValue(walker); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:69:3: error: ‘int4’ does not name a type; did you mean ‘int’? 69 | int4 byteDataLen; ///< The number of bytes in the data for a string literal | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:564:38: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 564 | inline void Translate::setUniqueBase(uintm val) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:160:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 160 | uint4 getHaltType(void) const { return (flags&(PcodeOp::halt|PcodeOp::badinstruction|PcodeOp::unimplemented| | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:73:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 73 | uint4 getTag(void) const { return tag; } ///< Get the type of record | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:582:8: error: ‘int4’ does not name a type; did you mean ‘int’? 582 | inline int4 Translate::getAlignment(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:592:8: error: ‘uintm’ does not name a type; did you mean ‘uint’? 592 | inline uintm Translate::getUniqueBase(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:207:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 207 | uintm getCseHash(void) const; ///< Return hash indicating possibility of common subexpression elimination | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:75:9: error: ‘uint1’ does not name a type; did you mean ‘uint’? 75 | const uint1 *getByteData(void) const { return byteData; } ///< Get pointer to string literal data | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:584:5: error: ‘oper’ was not declared in this scope 584 | oper = walker.getOperand(); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:584:19: error: ‘class ParserWalkerChange’ has no member named ‘getOperand’; did you mean ‘popOperand’? 584 | oper = walker.getOperand(); | ^~~~~~~~~~ | popOperand /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:76:3: error: ‘int4’ does not name a type; did you mean ‘int’? 76 | int4 getByteDataLength(void) const { return byteDataLen; } ///< Number of bytes of string literal data | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:213:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 213 | uintb collapse(bool &markedInput) const; ///< Calculate the constant output produced by this op | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:78:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 78 | uintb getValue(void) const { return value; } ///< Get the constant value associated with \b this | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:304:3: error: ‘int4’ does not name a type; did you mean ‘int’? 304 | int4 current_op; ///< Index of current pcode op within machine instruction | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:303:18: error: ‘maxlength’ was not declared in this scope 303 | while(offset < maxlength) { | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:218:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 218 | uintb getNZMaskLocal(bool cliploop) const; ///< Calculate known zero bits for output to this op | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:327:44: error: ‘size’ was not declared in this scope 327 | base=-1; offset=0; cur_rightmost = -1; size = 0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:219:3: error: ‘int4’ does not name a type; did you mean ‘int’? 219 | int4 compareOrder(const PcodeOp *bop) const; ///< Compare the control-flow order of this and \e bop | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:305:3: error: ‘int4’ does not name a type; did you mean ‘int’? 305 | int4 instruction_length; ///< Length of current instruction in bytes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:627:22: error: ‘frac_size’ was not declared in this scope 627 | a_v_i(s,"fracsize",frac_size); | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:228:28: error: ‘int4’ has not been declared 228 | Datatype *inputTypeLocal(int4 slot) const { return opcode->getInputLocal(this,slot); } ///< Calculate the local input type | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:229:29: error: ‘int4’ has not been declared 229 | bool markExplicitUnsigned(int4 slot) { return opcode->markExplicitUnsigned(this,slot); } ///< Decide on unsignedness printing | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:317:3: error: ‘int4’ does not name a type; did you mean ‘int’? 317 | int4 numCurrentOps(void) const; ///< Return number of pcode ops in translation of current instruction | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:337:3: error: ‘int4’ does not name a type; did you mean ‘int’? 337 | int4 refcount; // Number of objects referencing this | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:500:7: error: ‘val’ was not declared in this scope 500 | if (val >= 0) | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:318:3: error: ‘int4’ does not name a type; did you mean ‘int’? 318 | int4 getCurrentOpIndex(void) const; ///< Get the index of current pcode op within current instruction | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:585:5: error: ‘numoper’ was not declared in this scope 585 | numoper = ct->getNumOperands(); | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:319:28: error: ‘int4’ has not been declared 319 | PcodeOpRaw *getOpByIndex(int4 i) const; ///< Get pcode op in current instruction translation by index | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:585:19: error: ‘class Constructor’ has no member named ‘getNumOperands’; did you mean ‘getOperand’? 585 | numoper = ct->getNumOperands(); | ^~~~~~~~~~~~~~ | getOperand /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:338:8: error: ‘int4’ does not name a type; did you mean ‘int’? 338 | inline int4 EmulatePcodeCache::numCurrentOps(void) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh: In constructor ‘CPoolRecord::CPoolRecord()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:71:45: error: ‘byteData’ was not declared in this scope 71 | CPoolRecord(void) { type = (Datatype *)0; byteData = (uint1 *)0; } ///< Construct an empty record | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:347:8: error: ‘int4’ does not name a type; did you mean ‘int’? 347 | inline int4 EmulatePcodeCache::getCurrentOpIndex(void) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:357:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 357 | inline PcodeOpRaw *EmulatePcodeCache::getOpByIndex(int4 i) const | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:357:20: error: ‘PcodeOpRaw* EmulatePcodeCache::getOpByIndex’ is not a static data member of ‘class EmulatePcodeCache’ 357 | inline PcodeOpRaw *EmulatePcodeCache::getOpByIndex(int4 i) const | ^~~~~~~~~~~~~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘void PcodeOp::setFlag(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:127:28: error: ‘flags’ was not declared in this scope 127 | void setFlag(uint4 fl) { flags |= fl; } ///< Set specific boolean attribute(s) on this op | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:304:5: error: ‘mask1’ was not declared in this scope; did you mean ‘maskvec’? 304 | mask1 = getMask(offset*8,sizeof(uintm)*8); | ^~~~~ | maskvec /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:588:7: error: ‘off’ was not declared in this scope; did you mean ‘off_t’? 588 | off = walker.getOffset(sym->getOffsetBase()) + sym->getRelativeOffset(); | ^~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:588:20: error: ‘class ParserWalkerChange’ has no member named ‘getOffset’; did you mean ‘setOffset’? 588 | off = walker.getOffset(sym->getOffsetBase()) + sym->getRelativeOffset(); | ^~~~~~~~~ | setOffset /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:588:35: error: ‘class OperandSymbol’ has no member named ‘getOffsetBase’ 588 | off = walker.getOffset(sym->getOffsetBase()) + sym->getRelativeOffset(); | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:588:59: error: ‘class OperandSymbol’ has no member named ‘getRelativeOffset’ 588 | off = walker.getOffset(sym->getOffsetBase()) + sym->getRelativeOffset(); | ^~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:628:20: error: ‘exp_pos’ was not declared in this scope 628 | a_v_i(s,"exppos",exp_pos); | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:357:52: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 357 | inline PcodeOpRaw *EmulatePcodeCache::getOpByIndex(int4 i) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:600:36: error: ‘class OperandSymbol’ has no member named ‘getMinimumLength’ 600 | walker.setCurrentLength(sym->getMinimumLength()); | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:605:36: error: ‘class Constructor’ has no member named ‘getMinimumLength’; did you mean ‘setMinimumLength’? 605 | walker.calcCurrentLength(ct->getMinimumLength(),numoper); | ^~~~~~~~~~~~~~~~ | setMinimumLength /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:71:57: error: ‘uint1’ was not declared in this scope; did you mean ‘uint’? 71 | CPoolRecord(void) { type = (Datatype *)0; byteData = (uint1 *)0; } ///< Construct an empty record | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:71:64: error: expected primary-expression before ‘)’ token 71 | CPoolRecord(void) { type = (Datatype *)0; byteData = (uint1 *)0; } ///< Construct an empty record | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:609:49: error: ‘class ConstructTpl’ has no member named ‘delaySlot’ 609 | if ((templ != (ConstructTpl *)0)&&(templ->delaySlot() > 0)) | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:610:33: error: ‘class ConstructTpl’ has no member named ‘delaySlot’ 610 | pos.setDelaySlot(templ->delaySlot()); | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:613:34: error: ‘class ParserContext’ has no member named ‘getLength’ 613 | pos.setNaddr(pos.getAddr()+pos.getLength()); // Update Naddr to pointer after instruction | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘void PcodeOp::clearFlag(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:128:30: error: ‘flags’ was not declared in this scope 128 | void clearFlag(uint4 fl) { flags &= ~fl; } ///< Clear specific boolean attribute(s) | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:63:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 63 | uint4 tag; ///< Descriptor of type of the object | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:64:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 64 | uint4 flags; ///< Additional boolean properties on the record | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:66:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 66 | uintb value; ///< Constant value of the object (if known) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In constructor ‘PatternEquation::PatternEquation()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:342:27: error: ‘refcount’ was not declared in this scope 342 | PatternEquation(void) { refcount = 0; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:68:3: error: ‘uint1’ does not name a type; did you mean ‘uint’? 68 | uint1 *byteData; ///< For string literals, the raw byte data of the string | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc: In member function ‘void Sleigh::resolveHandles(ParserContext&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:625:3: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 625 | int4 oper,numoper; | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:141:7: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 141 | map pcodecallback; ///< a container of addressed based breakpoints | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:141:28: error: template argument 1 is invalid 141 | map pcodecallback; ///< a container of addressed based breakpoints | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:141:28: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:141:28: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:69:3: error: ‘int4’ does not name a type; did you mean ‘int’? 69 | int4 byteDataLen; ///< The number of bytes in the data for a string literal | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:304:13: error: ‘getMask’ was not declared in this scope; did you mean ‘gets’? 304 | mask1 = getMask(offset*8,sizeof(uintm)*8); | ^~~~~~~ | gets /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh: In destructor ‘CPoolRecord::~CPoolRecord()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:72:28: error: ‘byteData’ was not declared in this scope 72 | ~CPoolRecord(void) { if (byteData != (uint1 *)0) delete [] byteData; } ///< Destructor | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:73:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 73 | uint4 getTag(void) const { return tag; } ///< Get the type of record | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:629:21: error: ‘exp_size’ was not declared in this scope 629 | a_v_i(s,"expsize",exp_size); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:75:9: error: ‘uint1’ does not name a type; did you mean ‘uint’? 75 | const uint1 *getByteData(void) const { return byteData; } ///< Get pointer to string literal data | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘void PcodeOp::setAdditionalFlag(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:129:38: error: ‘addlflags’ was not declared in this scope 129 | void setAdditionalFlag(uint4 fl) { addlflags |= fl; } ///< Set specific boolean attribute | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:631:5: error: ‘oper’ was not declared in this scope 631 | oper = walker.getOperand(); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:76:3: error: ‘int4’ does not name a type; did you mean ‘int’? 76 | int4 getByteDataLength(void) const { return byteDataLen; } ///< Number of bytes of string literal data | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:631:19: error: ‘class ParserWalker’ has no member named ‘getOperand’; did you mean ‘popOperand’? 631 | oper = walker.getOperand(); | ^~~~~~~~~~ | popOperand /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘void ValueMapSymbol::checkTableFill()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:537:3: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 537 | intb min = patval->minValue(); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:538:7: error: expected ‘;’ before ‘max’ 538 | intb max = patval->maxValue(); | ^~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:539:23: error: invalid operands of types ‘’ and ‘int’ to binary ‘operator>=’ 539 | tableisfilled = (min>=0)&&(maxValueMapSymbol::valuetable’, which is of non-class type ‘int’ 539 | tableisfilled = (min>=0)&&(max=0)&&(max’ argument given to ‘delete’, expected pointer 72 | ~CPoolRecord(void) { if (byteData != (uint1 *)0) delete [] byteData; } ///< Destructor | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:305:5: error: ‘val1’ was not declared in this scope 305 | val1 = getValue(offset*8,sizeof(uintm)*8); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:630:18: error: ‘bias’ was not declared in this scope 630 | a_v_i(s,"bias",bias); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:632:5: error: ‘numoper’ was not declared in this scope 632 | numoper = ct->getNumOperands(); | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In member function ‘void PatternEquation::layClaim()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:347:25: error: ‘refcount’ was not declared in this scope 347 | void layClaim(void) { refcount += 1; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:632:19: error: ‘class Constructor’ has no member named ‘getNumOperands’; did you mean ‘getOperand’? 632 | numoper = ct->getNumOperands(); | ^~~~~~~~~~~~~~ | getOperand /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘void PcodeOp::clearAdditionalFlag(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:130:40: error: ‘addlflags’ was not declared in this scope 130 | void clearAdditionalFlag(uint4 fl) { addlflags &= ~fl; } ///< Clear specific boolean atribute | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh: In member function ‘bool CPoolRecord::isConstructor() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:79:45: error: ‘flags’ was not declared in this scope 79 | bool isConstructor(void) const { return ((flags & is_constructor)!=0); } ///< Is object a constructor method | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:305:12: error: ‘getValue’ was not declared in this scope 305 | val1 = getValue(offset*8,sizeof(uintm)*8); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh: In constructor ‘CPoolRecord::CPoolRecord()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:71:45: error: ‘byteData’ was not declared in this scope 71 | CPoolRecord(void) { type = (Datatype *)0; byteData = (uint1 *)0; } ///< Construct an empty record | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:282:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 282 | uintm uniq; ///< Starting offset for defining temporaries in \e unique space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:286:49: error: ‘uintb’ has not been declared 286 | const vector &in,uintb uniqReserve); ///< Constructor | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:287:90: error: ‘int4’ has not been declared 287 | virtual void dump(const Address &addr,OpCode opc,VarnodeData *outvar,VarnodeData *vars,int4 isize); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:352:3: error: ‘int4’ does not name a type; did you mean ‘int’? 352 | int4 index; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:354:23: error: expected ‘)’ before ‘ind’ 354 | OperandEquation(int4 ind) { index = ind; } | ~ ^~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:540:7: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 540 | for(uint4 i=0;igetValue(walker); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘void PcodeOp::flipFlag(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:131:29: error: ‘flags’ was not declared in this scope 131 | void flipFlag(uint4 fl) { flags ^= fl; } ///< Flip the setting of specific boolean attribute(s) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh: In member function ‘bool CPoolRecord::isDestructor() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:80:44: error: ‘flags’ was not declared in this scope 80 | bool isDestructor(void) const { return ((flags & is_destructor)!=0); } ///< Is object a destructor method | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:649:14: error: ‘struct FixedHandle’ has no member named ‘offset_offset’ 649 | hand.offset_offset = (uintb)res; | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:71:57: error: ‘uint1’ was not declared in this scope; did you mean ‘uint’? 71 | CPoolRecord(void) { type = (Datatype *)0; byteData = (uint1 *)0; } ///< Construct an empty record | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:71:64: error: expected primary-expression before ‘)’ token 71 | CPoolRecord(void) { type = (Datatype *)0; byteData = (uint1 *)0; } ///< Construct an empty record | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:306:5: error: ‘mask2’ was not declared in this scope; did you mean ‘maskvec’? 306 | mask2 = b->getMask(offset*8,sizeof(uintm)*8); | ^~~~~ | maskvec /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:306:16: error: ‘const class PatternBlock’ has no member named ‘getMask’ 306 | mask2 = b->getMask(offset*8,sizeof(uintm)*8); | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc: In member function ‘void FloatFormat::restoreXml(const Element*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:643:10: error: ‘size’ was not declared in this scope 643 | s >> size; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:540:17: error: ‘i’ was not declared in this scope 540 | for(uint4 i=0;iValueMapSymbol::valuetable’, which is of non-class type ‘int’ 540 | for(uint4 i=0;i &refs)=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:99:55: error: template argument 1 is invalid 99 | virtual CPoolRecord *createRecord(const vector &refs)=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:99:55: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:307:5: error: ‘val2’ was not declared in this scope 307 | val2 = b->getValue(offset*8,sizeof(uintm)*8); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:307:15: error: ‘const class PatternBlock’ has no member named ‘getValue’ 307 | val2 = b->getValue(offset*8,sizeof(uintm)*8); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:671:1: error: ‘int4’ does not name a type; did you mean ‘int’? 671 | int4 Sleigh::instructionLength(const Address &baseaddr) const | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isDead() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:162:38: error: ‘flags’ was not declared in this scope 162 | bool isDead(void) const { return ((flags&PcodeOp::dead)!=0); } ///< Return \b true if this op is dead | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:41:3: error: ‘int4’ does not name a type; did you mean ‘int’? 41 | int4 size; ///< Size of float in bytes (this format) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh: In destructor ‘CPoolRecord::~CPoolRecord()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:72:28: error: ‘byteData’ was not declared in this scope 72 | ~CPoolRecord(void) { if (byteData != (uint1 *)0) delete [] byteData; } ///< Destructor | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:678:1: error: ‘int4’ does not name a type; did you mean ‘int’? 678 | int4 Sleigh::printAssembly(AssemblyEmit &emit,const Address &baseaddr) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:42:3: error: ‘int4’ does not name a type; did you mean ‘int’? 42 | int4 signbit_pos; ///< Bit position of sign bit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:697:1: error: ‘int4’ does not name a type; did you mean ‘int’? 697 | int4 Sleigh::oneInstruction(PcodeEmit &emit,const Address &baseaddr) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:751:49: error: ‘int4’ has not been declared 751 | void Sleigh::registerContext(const string &name,int4 sbit,int4 ebit) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:751:59: error: ‘int4’ has not been declared 751 | void Sleigh::registerContext(const string &name,int4 sbit,int4 ebit) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:107:53: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 107 | virtual const CPoolRecord *getRecord(const vector &refs) const=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:107:58: error: template argument 1 is invalid 107 | virtual const CPoolRecord *getRecord(const vector &refs) const=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:107:58: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘virtual Constructor* ValueMapSymbol::resolve(ParserWalker&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:550:5: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 550 | intb ind = patval->getValue(walker); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.cc:757:51: error: ‘uintm’ has not been declared 757 | void Sleigh::setContextDefault(const string &name,uintm val) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:43:3: error: ‘int4’ does not name a type; did you mean ‘int’? 43 | int4 frac_pos; ///< (lowest) bit position of fractional part | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:308:5: error: ‘resmask’ was not declared in this scope 308 | resmask = mask1 & mask2 & ~(val1^val2); | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:44:3: error: ‘int4’ does not name a type; did you mean ‘int’? 44 | int4 frac_size; ///< Number of bits in fractional part | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:72:41: error: ‘uint1’ was not declared in this scope; did you mean ‘uint’? 72 | ~CPoolRecord(void) { if (byteData != (uint1 *)0) delete [] byteData; } ///< Destructor | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:72:48: error: expected primary-expression before ‘)’ token 72 | ~CPoolRecord(void) { if (byteData != (uint1 *)0) delete [] byteData; } ///< Destructor | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:72:49: error: expected ‘)’ before numeric constant 72 | ~CPoolRecord(void) { if (byteData != (uint1 *)0) delete [] byteData; } ///< Destructor | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:72:27: note: to match this ‘(’ 72 | ~CPoolRecord(void) { if (byteData != (uint1 *)0) delete [] byteData; } ///< Destructor | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:72:62: error: type ‘’ argument given to ‘delete’, expected pointer 72 | ~CPoolRecord(void) { if (byteData != (uint1 *)0) delete [] byteData; } ///< Destructor | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:45:3: error: ‘int4’ does not name a type; did you mean ‘int’? 45 | int4 exp_pos; ///< (lowest) bit position of exponent | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isCall() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:164:38: error: ‘flags’ was not declared in this scope 164 | bool isCall(void) const { return ((flags&PcodeOp::call)!=0); } ///< Return \b true if this op indicates call semantics | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:46:3: error: ‘int4’ does not name a type; did you mean ‘int’? 46 | int4 exp_size; ///< Number of bits in exponent | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:648:10: error: ‘signbit_pos’ was not declared in this scope 648 | s >> signbit_pos; | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:117:31: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 117 | void putRecord(const vector &refs,uint4 tag,const string &tok,Datatype *ct); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:117:36: error: template argument 1 is invalid 117 | void putRecord(const vector &refs,uint4 tag,const string &tok,Datatype *ct); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:117:36: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:304:3: error: ‘int4’ does not name a type; did you mean ‘int’? 304 | int4 current_op; ///< Index of current pcode op within machine instruction | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:117:44: error: ‘uint4’ has not been declared 117 | void putRecord(const vector &refs,uint4 tag,const string &tok,Datatype *ct); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:47:3: error: ‘int4’ does not name a type; did you mean ‘int’? 47 | int4 bias; ///< What to add to real exponent to get encoding | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:48:3: error: ‘int4’ does not name a type; did you mean ‘int’? 48 | int4 maxexponent; ///< Maximum possible exponent | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:551:10: error: ‘ind’ was not declared in this scope; did you mean ‘int’? 551 | if ((ind >= valuetable.size())||(ind<0)||(valuetable[ind] == 0xBADBEEF)) { | ^~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:309:5: error: ‘resval’ was not declared in this scope 309 | resval = val1 & val2 & resmask; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:551:28: error: request for member ‘size’ in ‘((ValueMapSymbol*)this)->ValueMapSymbol::valuetable’, which is of non-class type ‘int’ 551 | if ((ind >= valuetable.size())||(ind<0)||(valuetable[ind] == 0xBADBEEF)) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:310:18: error: request for member ‘push_back’ in ‘res->PatternBlock::maskvec’, which is of non-class type ‘int’ 310 | res->maskvec.push_back(resmask); | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:311:17: error: request for member ‘push_back’ in ‘res->PatternBlock::valvec’, which is of non-class type ‘int’ 311 | res->valvec.push_back(resval); | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:305:3: error: ‘int4’ does not name a type; did you mean ‘int’? 305 | int4 instruction_length; ///< Length of current instruction in bytes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:314:8: error: ‘class PatternBlock’ has no member named ‘nonzerosize’ 314 | res->nonzerosize = maxlength; | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:49:3: error: ‘int4’ does not name a type; did you mean ‘int’? 49 | int4 decimal_precision; ///< Number of decimal digits of precision | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:51:39: error: ‘uintb’ has not been declared 51 | static double createFloat(bool sign,uintb signif,int4 exp); ///< Create a double given sign, fractional, and exponent | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:51:52: error: ‘int4’ has not been declared 51 | static double createFloat(bool sign,uintb signif,int4 exp); ///< Create a double given sign, fractional, and exponent | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:52:54: error: ‘uintb’ has not been declared 52 | static floatclass extractExpSig(double x,bool *sgn,uintb *signif,int4 *exp); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:52:68: error: ‘int4’ has not been declared 52 | static floatclass extractExpSig(double x,bool *sgn,uintb *signif,int4 *exp); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:53:34: error: ‘uintb’ has not been declared 53 | static bool roundToNearestEven(uintb &signif, int4 lowbitpos); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:53:49: error: ‘int4’ has not been declared 53 | static bool roundToNearestEven(uintb &signif, int4 lowbitpos); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh: In member function ‘bool CPoolRecord::isConstructor() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:79:45: error: ‘flags’ was not declared in this scope 79 | bool isConstructor(void) const { return ((flags & is_constructor)!=0); } ///< Is object a constructor method | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:317:3: error: ‘int4’ does not name a type; did you mean ‘int’? 317 | int4 numCurrentOps(void) const; ///< Return number of pcode ops in translation of current instruction | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isCallWithoutSpec() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:166:49: error: ‘flags’ was not declared in this scope 166 | bool isCallWithoutSpec(void) const { return ((flags&(PcodeOp::call|PcodeOp::has_callspec))==PcodeOp::call); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:54:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 54 | uintb setFractionalCode(uintb x,uintb code) const; ///< Set the fractional part of an encoded value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:127:52: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 127 | const CPoolRecord *restoreXmlRecord(const vector &refs,const Element *el,TypeFactory &typegrp); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:127:57: error: template argument 1 is invalid 127 | const CPoolRecord *restoreXmlRecord(const vector &refs,const Element *el,TypeFactory &typegrp); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:127:57: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:318:3: error: ‘int4’ does not name a type; did you mean ‘int’? 318 | int4 getCurrentOpIndex(void) const; ///< Get the index of current pcode op within current instruction | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:319:28: error: ‘int4’ has not been declared 319 | PcodeOpRaw *getOpByIndex(int4 i) const; ///< Get pcode op in current instruction translation by index | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:55:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 55 | uintb setSign(uintb x,bool sign) const; ///< Set the sign bit of an encoded value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:56:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 56 | uintb setExponentCode(uintb x,uintb code) const; ///< Set the exponent of an encoded value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:338:8: error: ‘int4’ does not name a type; did you mean ‘int’? 338 | inline int4 EmulatePcodeCache::numCurrentOps(void) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:165:5: error: ‘uintb’ does not name a type; did you mean ‘uint’? 165 | uintb a; ///< The first integer in a \e reference | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:347:8: error: ‘int4’ does not name a type; did you mean ‘int’? 347 | inline int4 EmulatePcodeCache::getCurrentOpIndex(void) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:57:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 57 | uintb getZeroEncoding(bool sgn) const; ///< Get an encoded zero value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:357:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 357 | inline PcodeOpRaw *EmulatePcodeCache::getOpByIndex(int4 i) const | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh: In member function ‘bool CPoolRecord::isDestructor() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:80:44: error: ‘flags’ was not declared in this scope 80 | bool isDestructor(void) const { return ((flags & is_destructor)!=0); } ///< Is object a destructor method | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:357:20: error: ‘PcodeOpRaw* EmulatePcodeCache::getOpByIndex’ is not a static data member of ‘class EmulatePcodeCache’ 357 | inline PcodeOpRaw *EmulatePcodeCache::getOpByIndex(int4 i) const | ^~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:314:22: error: ‘maxlength’ was not declared in this scope 314 | res->nonzerosize = maxlength; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:58:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 58 | uintb getInfinityEncoding(bool sgn) const; ///< Get an encoded infinite value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:166:5: error: ‘uintb’ does not name a type; did you mean ‘uint’? 166 | uintb b; ///< The second integer in a \e reference (or zero) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isMarker() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:167:40: error: ‘flags’ was not declared in this scope 167 | bool isMarker(void) const { return ((flags&PcodeOp::marker)!=0); } ///< Return \b true is a special SSA form op | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:653:10: error: ‘frac_pos’ was not declared in this scope 653 | s >> frac_pos; | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:59:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 59 | uintb getNaNEncoding(bool sgn) const; ///< Get an encoded NaN value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:63:19: error: expected ‘)’ before ‘sz’ 63 | FloatFormat(int4 sz); ///< Construct default IEEE 754 standard settings | ~ ^~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:64:3: error: ‘int4’ does not name a type; did you mean ‘int’? 64 | int4 getSize(void) const { return size; } ///< Get the size of the encoding in bytes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:65:23: error: ‘uintb’ has not been declared 65 | double getHostFloat(uintb encoding,floatclass *type) const; ///< Convert an encoding into host's double | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘virtual void ValueMapSymbol::getFixedHandle(FixedHandle&, ParserWalker&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:565:3: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 565 | uint4 ind = (uint4) patval->getValue(walker); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:357:52: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 357 | inline PcodeOpRaw *EmulatePcodeCache::getOpByIndex(int4 i) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:569:8: error: ‘struct FixedHandle’ has no member named ‘offset_offset’ 569 | hand.offset_offset = (uintb)valuetable[ind]; | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:99:50: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 99 | virtual CPoolRecord *createRecord(const vector &refs)=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:99:55: error: template argument 1 is invalid 99 | virtual CPoolRecord *createRecord(const vector &refs)=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:99:55: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc: In member function ‘PatternBlock* PatternBlock::intersect(const PatternBlock*) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:325:3: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 325 | int4 maxlength = (getLength() > b->getLength()) ? getLength() : b->getLength(); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:327:8: error: ‘class PatternBlock’ has no member named ‘offset’ 327 | res->offset = 0; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:328:7: error: expected ‘;’ before ‘offset’ 328 | int4 offset = 0; | ^~~~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:66:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 66 | uintb getEncoding(double host) const; ///< Convert host's double into \b this encoding | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:169:30: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 169 | CheapSorter(const vector &refs) { a = refs[0]; b = (refs.size() > 1) ? refs[1] : 0; } ///< Construct from an array of integers | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:169:35: error: template argument 1 is invalid 169 | CheapSorter(const vector &refs) { a = refs[0]; b = (refs.size() > 1) ? refs[1] : 0; } ///< Construct from an array of integers | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:169:35: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:67:3: error: ‘int4’ does not name a type; did you mean ‘int’? 67 | int4 getDecimalPrecision(void) const { return decimal_precision; } ///< Get number of digits of precision | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:63:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 63 | uint4 tag; ///< Descriptor of type of the object | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:68:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 68 | uintb convertEncoding(uintb encoding,const FloatFormat *formin) const; ///< Convert between two different formats | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isIndirectCreation() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:168:50: error: ‘flags’ was not declared in this scope 168 | bool isIndirectCreation(void) const { return ((flags&PcodeOp::indirect_creation)!=0); } ///< Return \b true if op creates a varnode indirectly | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:64:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 64 | uint4 flags; ///< Additional boolean properties on the record | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:70:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 70 | uintb extractFractionalCode(uintb x) const; ///< Extract the fractional part of the encoding | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:71:20: error: ‘uintb’ has not been declared 71 | bool extractSign(uintb x) const; ///< Extract the sign bit from the encoding | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:329:3: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 329 | uintm mask1,val1,mask2,val2,commonmask; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:107:53: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 107 | virtual const CPoolRecord *getRecord(const vector &refs) const=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:330:8: error: expected ‘;’ before ‘resmask’ 330 | uintm resmask,resval; | ^~~~~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:107:58: error: template argument 1 is invalid 107 | virtual const CPoolRecord *getRecord(const vector &refs) const=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:107:58: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:66:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 66 | uintb value; ///< Constant value of the object (if known) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:72:3: error: ‘int4’ does not name a type; did you mean ‘int’? 72 | int4 extractExponentCode(uintb x) const; ///< Extract the exponent from the encoding | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:569:25: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 569 | hand.offset_offset = (uintb)valuetable[ind]; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:76:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 76 | uintb opEqual(uintb a,uintb b) const; ///< Equality comparison (==) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:570:8: error: ‘struct FixedHandle’ has no member named ‘size’ 570 | hand.size = 0; // Cannot provide size | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:183:23: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 183 | void apply(vector &refs) const { refs.push_back(a); refs.push_back(b); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:183:28: error: template argument 1 is invalid 183 | void apply(vector &refs) const { refs.push_back(a); refs.push_back(b); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:183:28: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:68:3: error: ‘uint1’ does not name a type; did you mean ‘uint’? 68 | uint1 *byteData; ///< For string literals, the raw byte data of the string | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:77:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 77 | uintb opNotEqual(uintb a,uintb b) const; ///< Inequality comparison (!=) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:69:3: error: ‘int4’ does not name a type; did you mean ‘int’? 69 | int4 byteDataLen; ///< The number of bytes in the data for a string literal | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isIndirectStore() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:169:47: error: ‘flags’ was not declared in this scope 169 | bool isIndirectStore(void) const { return ((flags&PcodeOp::indirect_store)!=0); } ///< Return \b true if \b this INDIRECT is caused by STORE | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:658:10: error: ‘frac_size’ was not declared in this scope 658 | s >> frac_size; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:78:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 78 | uintb opLess(uintb a,uintb b) const; ///< Less-than comparison (<) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:117:31: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 117 | void putRecord(const vector &refs,uint4 tag,const string &tok,Datatype *ct); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:117:36: error: template argument 1 is invalid 117 | void putRecord(const vector &refs,uint4 tag,const string &tok,Datatype *ct); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:117:36: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:117:44: error: ‘uint4’ has not been declared 117 | void putRecord(const vector &refs,uint4 tag,const string &tok,Datatype *ct); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:331:9: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 331 | while(offset < maxlength) { | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:73:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 73 | uint4 getTag(void) const { return tag; } ///< Get the type of record | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:79:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 79 | uintb opLessEqual(uintb a,uintb b) const; ///< Less-than-or-equal comparison (<=) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:75:9: error: ‘uint1’ does not name a type; did you mean ‘uint’? 75 | const uint1 *getByteData(void) const { return byteData; } ///< Get pointer to string literal data | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:80:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 80 | uintb opNan(uintb a) const; ///< Test if Not-a-Number (NaN) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:76:3: error: ‘int4’ does not name a type; did you mean ‘int’? 76 | int4 getByteDataLength(void) const { return byteDataLen; } ///< Number of bytes of string literal data | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:81:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 81 | uintb opAdd(uintb a,uintb b) const; ///< Addition (+) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:127:52: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 127 | const CPoolRecord *restoreXmlRecord(const vector &refs,const Element *el,TypeFactory &typegrp); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:78:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 78 | uintb getValue(void) const { return value; } ///< Get the constant value associated with \b this | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:127:57: error: template argument 1 is invalid 127 | const CPoolRecord *restoreXmlRecord(const vector &refs,const Element *el,TypeFactory &typegrp); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:127:57: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:82:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 82 | uintb opDiv(uintb a,uintb b) const; ///< Division (/) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘virtual void ValueMapSymbol::print(std::ostream&, ParserWalker&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:576:3: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 576 | uint4 ind = (uint4)patval->getValue(walker); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::notPrinted() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:171:42: error: ‘flags’ was not declared in this scope 171 | bool notPrinted(void) const { return ((flags&(PcodeOp::marker|PcodeOp::nonprinting|PcodeOp::noreturn))!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:83:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 83 | uintb opMult(uintb a,uintb b) const; ///< Multiplication (*) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:331:18: error: ‘maxlength’ was not declared in this scope 331 | while(offset < maxlength) { | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:84:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 84 | uintb opSub(uintb a,uintb b) const; ///< Subtraction (-) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:165:5: error: ‘uintb’ does not name a type; did you mean ‘uint’? 165 | uintb a; ///< The first integer in a \e reference | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:85:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 85 | uintb opNeg(uintb a) const; ///< Unary negate | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:166:5: error: ‘uintb’ does not name a type; did you mean ‘uint’? 166 | uintb b; ///< The second integer in a \e reference (or zero) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:86:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 86 | uintb opAbs(uintb a) const; ///< Absolute value (abs) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:663:10: error: ‘exp_pos’ was not declared in this scope 663 | s >> exp_pos; | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:87:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 87 | uintb opSqrt(uintb a) const; ///< Square root (sqrt) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:578:3: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 578 | intb val = valuetable[ind]; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isBoolOutput() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:173:44: error: ‘flags’ was not declared in this scope 173 | bool isBoolOutput(void) const { return ((flags&PcodeOp::booloutput)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:88:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 88 | uintb opTrunc(uintb a,int4 sizeout) const; ///< Convert floating-point to integer | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:332:5: error: ‘mask1’ was not declared in this scope; did you mean ‘maskvec’? 332 | mask1 = getMask(offset*8,sizeof(uintm)*8); | ^~~~~ | maskvec /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh: In constructor ‘CPoolRecord::CPoolRecord()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:71:45: error: ‘byteData’ was not declared in this scope 71 | CPoolRecord(void) { type = (Datatype *)0; byteData = (uint1 *)0; } ///< Construct an empty record | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:169:30: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 169 | CheapSorter(const vector &refs) { a = refs[0]; b = (refs.size() > 1) ? refs[1] : 0; } ///< Construct from an array of integers | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:169:35: error: template argument 1 is invalid 169 | CheapSorter(const vector &refs) { a = refs[0]; b = (refs.size() > 1) ? refs[1] : 0; } ///< Construct from an array of integers | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:169:35: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:89:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 89 | uintb opCeil(uintb a) const; ///< Ceiling (ceil) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:90:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 90 | uintb opFloor(uintb a) const; ///< Floor (floor) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:91:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 91 | uintb opRound(uintb a) const; ///< Round | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:92:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 92 | uintb opInt2Float(uintb a,int4 sizein) const; ///< Convert integer to floating-point | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:71:57: error: ‘uint1’ was not declared in this scope; did you mean ‘uint’? 71 | CPoolRecord(void) { type = (Datatype *)0; byteData = (uint1 *)0; } ///< Construct an empty record | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:189:50: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 189 | virtual CPoolRecord *createRecord(const vector &refs); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:71:64: error: expected primary-expression before ‘)’ token 71 | CPoolRecord(void) { type = (Datatype *)0; byteData = (uint1 *)0; } ///< Construct an empty record | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:189:55: error: template argument 1 is invalid 189 | virtual CPoolRecord *createRecord(const vector &refs); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:189:55: error: template argument 2 is invalid In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:183:23: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 183 | void apply(vector &refs) const { refs.push_back(a); refs.push_back(b); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:183:28: error: template argument 1 is invalid 183 | void apply(vector &refs) const { refs.push_back(a); refs.push_back(b); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:183:28: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:332:13: error: ‘getMask’ was not declared in this scope; did you mean ‘gets’? 332 | mask1 = getMask(offset*8,sizeof(uintm)*8); | ^~~~~~~ | gets /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isBranch() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:174:40: error: ‘flags’ was not declared in this scope 174 | bool isBranch(void) const { return ((flags&PcodeOp::branch)!=0); } ///< Return \b true if this op is a branch | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.hh:93:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 93 | uintb opFloat2Float(uintb a,const FloatFormat &outformat) const; ///< Convert between floating-point precisions | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:579:7: error: ‘val’ was not declared in this scope 579 | if (val >= 0) | ^~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:36:3: error: ‘int4’ does not name a type; did you mean ‘int’? 36 | int4 instruction_length; ///< Number of bytes in the unimplemented instruction | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:41:31: error: ‘int4’ has not been declared 41 | UnimplError(const string &s,int4 l) : LowlevelError(s) { instruction_length = l; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:668:10: error: ‘exp_size’ was not declared in this scope 668 | s >> exp_size; | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:191:53: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 191 | virtual const CPoolRecord *getRecord(const vector &refs) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:191:58: error: template argument 1 is invalid 191 | virtual const CPoolRecord *getRecord(const vector &refs) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:191:58: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:333:5: error: ‘val1’ was not declared in this scope 333 | val1 = getValue(offset*8,sizeof(uintm)*8); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isCallOrBranch() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:176:46: error: ‘flags’ was not declared in this scope 176 | bool isCallOrBranch(void) const { return ((flags&(PcodeOp::branch|PcodeOp::call))!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh: In destructor ‘CPoolRecord::~CPoolRecord()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:72:28: error: ‘byteData’ was not declared in this scope 72 | ~CPoolRecord(void) { if (byteData != (uint1 *)0) delete [] byteData; } ///< Destructor | ^~~~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh: In constructor ‘ConstantPoolInternal::CheapSorter::CheapSorter()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:167:25: error: ‘a’ was not declared in this scope 167 | CheapSorter(void) { a = 0; b = 0; } ///< Construct a zero reference | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:333:12: error: ‘getValue’ was not declared in this scope 333 | val1 = getValue(offset*8,sizeof(uintm)*8); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘virtual void ValueMapSymbol::saveXml(std::ostream&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:592:7: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 592 | for(uint4 i=0;i’ argument given to ‘delete’, expected pointer 72 | ~CPoolRecord(void) { if (byteData != (uint1 *)0) delete [] byteData; } ///< Destructor | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isFlowBreak() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:178:43: error: ‘flags’ was not declared in this scope 178 | bool isFlowBreak(void) const { return ((flags&(PcodeOp::branch|PcodeOp::returns))!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:673:10: error: ‘bias’ was not declared in this scope 673 | s >> bias; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh: In constructor ‘UnimplError::UnimplError(const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:41:60: error: ‘instruction_length’ was not declared in this scope 41 | UnimplError(const string &s,int4 l) : LowlevelError(s) { instruction_length = l; } | ^~~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:167:32: error: ‘b’ was not declared in this scope 167 | CheapSorter(void) { a = 0; b = 0; } ///< Construct a zero reference | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:334:5: error: ‘mask2’ was not declared in this scope; did you mean ‘maskvec’? 334 | mask2 = b->getMask(offset*8,sizeof(uintm)*8); | ^~~~~ | maskvec /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:334:16: error: ‘const class PatternBlock’ has no member named ‘getMask’ 334 | mask2 = b->getMask(offset*8,sizeof(uintm)*8); | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:65:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 65 | uint4 size; ///< Size truncated addresses into the space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:592:17: error: ‘i’ was not declared in this scope 592 | for(uint4 i=0;iValueMapSymbol::valuetable’, which is of non-class type ‘const int’ 592 | for(uint4 i=0;i &refs); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:189:55: error: template argument 1 is invalid 189 | virtual CPoolRecord *createRecord(const vector &refs); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:189:55: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:335:5: error: ‘val2’ was not declared in this scope 335 | val2 = b->getValue(offset*8,sizeof(uintm)*8); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:335:15: error: ‘const class PatternBlock’ has no member named ‘getValue’ 335 | val2 = b->getValue(offset*8,sizeof(uintm)*8); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:107:16: error: ‘uint1’ does not name a type; did you mean ‘uint’? 107 | static const uint1 *unpackOffset(const uint1 *ptr,uintb &off); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:109:16: error: ‘uint1’ does not name a type; did you mean ‘uint’? 109 | static const uint1 *unpackVarnodeData(const uint1 *ptr,VarnodeData &v,const AddrSpaceManager *trans); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:168:54: error: ‘b’ was not declared in this scope 168 | CheapSorter(const CheapSorter &op2) { a = op2.a; b = op2.b; } ///< Copy constructor | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:168:62: error: ‘const class ConstantPoolInternal::CheapSorter’ has no member named ‘b’ 168 | CheapSorter(const CheapSorter &op2) { a = op2.a; b = op2.b; } ///< Copy constructor | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:191:53: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 191 | virtual const CPoolRecord *getRecord(const vector &refs) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:191:58: error: template argument 1 is invalid 191 | virtual const CPoolRecord *getRecord(const vector &refs) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:191:58: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh: In member function ‘bool CPoolRecord::isDestructor() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:80:44: error: ‘flags’ was not declared in this scope 80 | bool isDestructor(void) const { return ((flags & is_destructor)!=0); } ///< Is object a destructor method | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:111:9: error: ‘uint1’ does not name a type; did you mean ‘uint’? 111 | const uint1 *restorePackedOp(const Address &addr,const uint1 *ptr,const AddrSpaceManager *trans); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isFallthruTrue() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:182:46: error: ‘flags’ was not declared in this scope 182 | bool isFallthruTrue(void) const { return ((flags&PcodeOp::fallthru_true)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:156:27: error: ‘uintb’ has not been declared 156 | virtual Address resolve(uintb val,int4 sz,const Address &point,uintb &fullEncoding)=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:156:37: error: ‘int4’ has not been declared 156 | virtual Address resolve(uintb val,int4 sz,const Address &point,uintb &fullEncoding)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:156:66: error: ‘uintb’ has not been declared 156 | virtual Address resolve(uintb val,int4 sz,const Address &point,uintb &fullEncoding)=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:676:3: error: ‘maxexponent’ was not declared in this scope 676 | maxexponent = (1< &refs) { a = refs[0]; b = (refs.size() > 1) ? refs[1] : 0; } ///< Construct from an array of integers | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:169:54: error: invalid types ‘const int[int]’ for array subscript 169 | CheapSorter(const vector &refs) { a = refs[0]; b = (refs.size() > 1) ? refs[1] : 0; } ///< Construct from an array of integers | ^ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh: In constructor ‘ConstantPoolInternal::CheapSorter::CheapSorter()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:167:25: error: ‘a’ was not declared in this scope 167 | CheapSorter(void) { a = 0; b = 0; } ///< Construct a zero reference | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘virtual void ValueMapSymbol::restoreXml(const Element*, SleighBase*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:617:5: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 617 | intb val; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:99:50: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 99 | virtual CPoolRecord *createRecord(const vector &refs)=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:181:11: error: ‘int4’ does not name a type; did you mean ‘int’? 181 | virtual int4 numSpacebase(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:99:55: error: template argument 1 is invalid 99 | virtual CPoolRecord *createRecord(const vector &refs)=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:336:5: error: ‘commonmask’ was not declared in this scope 336 | commonmask = mask1 & mask2; // Bits in mask shared by both patterns | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:99:55: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:182:43: error: ‘int4’ has not been declared 182 | virtual const VarnodeData &getSpacebase(int4 i) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:183:47: error: ‘int4’ has not been declared 183 | virtual const VarnodeData &getSpacebaseFull(int4 i) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:338:12: error: ‘class PatternBlock’ has no member named ‘nonzerosize’ 338 | res->nonzerosize = -1; // Impossible pattern | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isCodeRef() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:183:41: error: ‘flags’ was not declared in this scope 183 | bool isCodeRef(void) const { return ((flags&PcodeOp::coderef)!=0); } ///< Return \b true if the first input is a code reference | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:167:32: error: ‘b’ was not declared in this scope 167 | CheapSorter(void) { a = 0; b = 0; } ///< Construct a zero reference | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:169:59: error: ‘b’ was not declared in this scope 169 | CheapSorter(const vector &refs) { a = refs[0]; b = (refs.size() > 1) ? refs[1] : 0; } ///< Construct from an array of integers | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:169:69: error: request for member ‘size’ in ‘refs’, which is of non-class type ‘const int’ 169 | CheapSorter(const vector &refs) { a = refs[0]; b = (refs.size() > 1) ? refs[1] : 0; } ///< Construct from an array of integers | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:169:87: error: invalid types ‘const int[int]’ for array subscript 169 | CheapSorter(const vector &refs) { a = refs[0]; b = (refs.size() > 1) ? refs[1] : 0; } ///< Construct from an array of integers | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:107:53: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 107 | virtual const CPoolRecord *getRecord(const vector &refs) const=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:107:58: error: template argument 1 is invalid 107 | virtual const CPoolRecord *getRecord(const vector &refs) const=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:107:58: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:342:5: error: ‘resmask’ was not declared in this scope 342 | resmask = mask1 | mask2; | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:618:10: error: ‘val’ was not declared in this scope 618 | s >> val; | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:619:16: error: request for member ‘push_back’ in ‘((ValueMapSymbol*)this)->ValueMapSymbol::valuetable’, which is of non-class type ‘int’ 619 | valuetable.push_back(val); | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh: In copy constructor ‘ConstantPoolInternal::CheapSorter::CheapSorter(const ConstantPoolInternal::CheapSorter&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:168:43: error: ‘a’ was not declared in this scope 168 | CheapSorter(const CheapSorter &op2) { a = op2.a; b = op2.b; } ///< Copy constructor | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:168:51: error: ‘const class ConstantPoolInternal::CheapSorter’ has no member named ‘a’ 168 | CheapSorter(const CheapSorter &op2) { a = op2.a; b = op2.b; } ///< Copy constructor | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/float.cc:676:21: error: ‘exp_size’ was not declared in this scope 676 | maxexponent = (1< &refs,uint4 tag,const string &tok,Datatype *ct); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:117:36: error: template argument 1 is invalid 117 | void putRecord(const vector &refs,uint4 tag,const string &tok,Datatype *ct); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:117:36: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:117:44: error: ‘uint4’ has not been declared 117 | void putRecord(const vector &refs,uint4 tag,const string &tok,Datatype *ct); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:200:3: error: ‘int4’ does not name a type; did you mean ‘int’? 200 | int4 numPieces(void) const { return pieces.size(); } ///< Get number of pieces in this record | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:168:54: error: ‘b’ was not declared in this scope 168 | CheapSorter(const CheapSorter &op2) { a = op2.a; b = op2.b; } ///< Copy constructor | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:168:62: error: ‘const class ConstantPoolInternal::CheapSorter’ has no member named ‘b’ 168 | CheapSorter(const CheapSorter &op2) { a = op2.a; b = op2.b; } ///< Copy constructor | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:202:31: error: ‘int4’ has not been declared 202 | const VarnodeData &getPiece(int4 i) const { return pieces[i]; } ///< Get the i-th piece | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:204:32: error: ‘uintb’ has not been declared 204 | Address getEquivalentAddress(uintb offset,int4 &pos) const; ///< Given offset in \e join space, get equivalent address of piece | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:204:45: error: ‘int4’ has not been declared 204 | Address getEquivalentAddress(uintb offset,int4 &pos) const; ///< Given offset in \e join space, get equivalent address of piece | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:343:5: error: ‘resval’ was not declared in this scope 343 | resval = (mask1 & val1) | (mask2 & val2); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:344:18: error: request for member ‘push_back’ in ‘res->PatternBlock::maskvec’, which is of non-class type ‘int’ 344 | res->maskvec.push_back(resmask); | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:345:17: error: request for member ‘push_back’ in ‘res->PatternBlock::valvec’, which is of non-class type ‘int’ 345 | res->valvec.push_back(resval); | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:348:8: error: ‘class PatternBlock’ has no member named ‘nonzerosize’ 348 | res->nonzerosize = maxlength; | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:177:15: error: ‘b’ was not declared in this scope 177 | return (b < op2.b); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:177:23: error: ‘const class ConstantPoolInternal::CheapSorter’ has no member named ‘b’ 177 | return (b < op2.b); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh: In member function ‘void ConstantPoolInternal::CheapSorter::apply(int&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:183:50: error: request for member ‘push_back’ in ‘refs’, which is of non-class type ‘int’ 183 | void apply(vector &refs) const { refs.push_back(a); refs.push_back(b); } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:127:52: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 127 | const CPoolRecord *restoreXmlRecord(const vector &refs,const Element *el,TypeFactory &typegrp); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:127:57: error: template argument 1 is invalid 127 | const CPoolRecord *restoreXmlRecord(const vector &refs,const Element *el,TypeFactory &typegrp); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:127:57: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘void NameSymbol::checkTableFill()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:628:3: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 628 | intb min = patval->minValue(); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:629:7: error: expected ‘;’ before ‘max’ 629 | intb max = patval->maxValue(); | ^~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:630:23: error: invalid operands of types ‘’ and ‘int’ to binary ‘operator>=’ 630 | tableisfilled = (min>=0)&&(max &refs) { a = refs[0]; b = (refs.size() > 1) ? refs[1] : 0; } ///< Construct from an array of integers | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:169:54: error: invalid types ‘const int[int]’ for array subscript 169 | CheapSorter(const vector &refs) { a = refs[0]; b = (refs.size() > 1) ? refs[1] : 0; } ///< Construct from an array of integers | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:630:48: error: call to non-‘constexpr’ function ‘std::vector<_Tp, _Alloc>::size_type std::vector<_Tp, _Alloc>::size() const [with _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >; std::vector<_Tp, _Alloc>::size_type = long unsigned int]’ 630 | tableisfilled = (min>=0)&&(max::size_type std::vector<_Tp, _Alloc>::size() const [with _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >; std::vector<_Tp, _Alloc>::size_type = long unsigned int]’ declared here 918 | size() const _GLIBCXX_NOEXCEPT | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:630:30: error: parse error in template argument list 630 | tableisfilled = (min>=0)&&(max &refs) const { refs.push_back(a); refs.push_back(b); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:166:5: error: ‘uintb’ does not name a type; did you mean ‘uint’? 166 | uintb b; ///< The second integer in a \e reference (or zero) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:183:69: error: request for member ‘push_back’ in ‘refs’, which is of non-class type ‘int’ 183 | void apply(vector &refs) const { refs.push_back(a); refs.push_back(b); } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:169:59: error: ‘b’ was not declared in this scope 169 | CheapSorter(const vector &refs) { a = refs[0]; b = (refs.size() > 1) ? refs[1] : 0; } ///< Construct from an array of integers | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:348:22: error: ‘maxlength’ was not declared in this scope 348 | res->nonzerosize = maxlength; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:169:69: error: request for member ‘size’ in ‘refs’, which is of non-class type ‘const int’ 169 | CheapSorter(const vector &refs) { a = refs[0]; b = (refs.size() > 1) ? refs[1] : 0; } ///< Construct from an array of integers | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:169:87: error: invalid types ‘const int[int]’ for array subscript 169 | CheapSorter(const vector &refs) { a = refs[0]; b = (refs.size() > 1) ? refs[1] : 0; } ///< Construct from an array of integers | ^ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh: In member function ‘bool ConstantPoolInternal::CheapSorter::operator<(const ConstantPoolInternal::CheapSorter&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:176:11: error: ‘a’ was not declared in this scope 176 | if (a != op2.a) return (a &refs) const { refs.push_back(a); refs.push_back(b); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:176:20: error: ‘const class ConstantPoolInternal::CheapSorter’ has no member named ‘a’ 176 | if (a != op2.a) return (a &refs) { a = refs[0]; b = (refs.size() > 1) ? refs[1] : 0; } ///< Construct from an array of integers | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:176:37: error: ‘const class ConstantPoolInternal::CheapSorter’ has no member named ‘a’ 176 | if (a != op2.a) return (a &refs) { a = refs[0]; b = (refs.size() > 1) ? refs[1] : 0; } ///< Construct from an array of integers | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:169:35: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc: In member function ‘bool PatternBlock::specializes(const PatternBlock*) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:357:3: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 357 | int4 length = 8*op2->getLength(); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:358:7: error: expected ‘;’ before ‘tmplength’ 358 | int4 tmplength; | ^~~~~~~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isModified() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:186:42: error: ‘addlflags’ was not declared in this scope 186 | bool isModified(void) const { return ((addlflags&PcodeOp::modified)!=0); } ///< Return \b true if this is modified by the current action | ^~~~~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cast.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cast.hh:55:3: error: ‘int4’ does not name a type; did you mean ‘int’? 55 | int4 promoteSize; ///< Size of \b int data-type, (size that integers get promoted to) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:177:15: error: ‘b’ was not declared in this scope 177 | return (b < op2.b); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:177:23: error: ‘const class ConstantPoolInternal::CheapSorter’ has no member named ‘b’ 177 | return (b < op2.b); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh: In member function ‘void ConstantPoolInternal::CheapSorter::apply(int&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:183:50: error: request for member ‘push_back’ in ‘refs’, which is of non-class type ‘int’ 183 | void apply(vector &refs) const { refs.push_back(a); refs.push_back(b); } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:359:3: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 359 | uintm mask1,mask2,value1,value2; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:360:7: error: expected ‘;’ before ‘sbit’ 360 | int4 sbit = 0; | ^~~~~ | ; In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:183:23: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 183 | void apply(vector &refs) const { refs.push_back(a); refs.push_back(b); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:183:28: error: template argument 1 is invalid 183 | void apply(vector &refs) const { refs.push_back(a); refs.push_back(b); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:183:28: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cast.hh:65:11: error: ‘int4’ does not name a type; did you mean ‘int’? 65 | virtual int4 localExtensionType(const Varnode *vn) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:631:17: error: ‘i’ was not declared in this scope 631 | for(uint4 i=0;i &refs) const { refs.push_back(a); refs.push_back(b); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:183:69: error: request for member ‘push_back’ in ‘refs’, which is of non-class type ‘int’ 183 | void apply(vector &refs) const { refs.push_back(a); refs.push_back(b); } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cast.hh:72:11: error: ‘int4’ does not name a type; did you mean ‘int’? 72 | virtual int4 intPromotionType(const Varnode *vn) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cast.hh:81:62: error: ‘int4’ has not been declared 81 | virtual bool checkIntPromotionForCompare(const PcodeOp *op,int4 slot) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isMark() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:187:38: error: ‘flags’ was not declared in this scope 187 | bool isMark(void) const { return ((flags&PcodeOp::mark)!=0); } ///< Return \b true if this op has been marked | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cast.hh:126:66: error: ‘uint4’ has not been declared 126 | virtual bool isSubpieceCast(Datatype *outtype,Datatype *intype,uint4 offset) const=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:361:9: error: ‘sbit’ was not declared in this scope 361 | while(sbit < length) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cast.hh:138:72: error: ‘uint4’ has not been declared 138 | virtual bool isSubpieceCastEndian(Datatype *outtype,Datatype *intype,uint4 offset,bool isbigend) const=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:183:79: error: ‘b’ was not declared in this scope 183 | void apply(vector &refs) const { refs.push_back(a); refs.push_back(b); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cast.hh:160:11: error: ‘int4’ does not name a type; did you mean ‘int’? 160 | virtual int4 localExtensionType(const Varnode *vn) const; | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cast.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cast.hh:55:3: error: ‘int4’ does not name a type; did you mean ‘int’? 55 | int4 promoteSize; ///< Size of \b int data-type, (size that integers get promoted to) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:361:16: error: ‘length’ was not declared in this scope 361 | while(sbit < length) { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cast.hh:161:11: error: ‘int4’ does not name a type; did you mean ‘int’? 161 | virtual int4 intPromotionType(const Varnode *vn) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cast.hh:162:62: error: ‘int4’ has not been declared 162 | virtual bool checkIntPromotionForCompare(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cast.hh:65:11: error: ‘int4’ does not name a type; did you mean ‘int’? 65 | virtual int4 localExtensionType(const Varnode *vn) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘virtual Constructor* NameSymbol::resolve(ParserWalker&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:643:5: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 643 | intb ind = patval->getValue(walker); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘void PcodeOp::setMark() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:188:30: error: ‘flags’ was not declared in this scope 188 | void setMark(void) const { flags |= PcodeOp::mark; } ///< Set the mark on this op | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cast.hh:167:66: error: ‘uint4’ has not been declared 167 | virtual bool isSubpieceCast(Datatype *outtype,Datatype *intype,uint4 offset) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cast.hh:168:72: error: ‘uint4’ has not been declared 168 | virtual bool isSubpieceCastEndian(Datatype *outtype,Datatype *intype,uint4 offset,bool isbigend) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cast.hh:72:11: error: ‘int4’ does not name a type; did you mean ‘int’? 72 | virtual int4 intPromotionType(const Varnode *vn) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cast.hh:81:62: error: ‘int4’ has not been declared 81 | virtual bool checkIntPromotionForCompare(const PcodeOp *op,int4 slot) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cast.hh:126:66: error: ‘uint4’ has not been declared 126 | virtual bool isSubpieceCast(Datatype *outtype,Datatype *intype,uint4 offset) const=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cast.hh:138:72: error: ‘uint4’ has not been declared 138 | virtual bool isSubpieceCastEndian(Datatype *outtype,Datatype *intype,uint4 offset,bool isbigend) const=0; | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:80:3: error: ‘int4’ does not name a type; did you mean ‘int’? 80 | int4 indentlevel; ///< Current indent level (in fixed width characters) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cast.hh:160:11: error: ‘int4’ does not name a type; did you mean ‘int’? 160 | virtual int4 localExtensionType(const Varnode *vn) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cast.hh:161:11: error: ‘int4’ does not name a type; did you mean ‘int’? 161 | virtual int4 intPromotionType(const Varnode *vn) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cast.hh:162:62: error: ‘int4’ has not been declared 162 | virtual bool checkIntPromotionForCompare(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cast.hh:167:66: error: ‘uint4’ has not been declared 167 | virtual bool isSubpieceCast(Datatype *outtype,Datatype *intype,uint4 offset) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:81:3: error: ‘int4’ does not name a type; did you mean ‘int’? 81 | int4 parenlevel; ///< Current depth of parentheses | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cast.hh:168:72: error: ‘uint4’ has not been declared 168 | virtual bool isSubpieceCastEndian(Datatype *outtype,Datatype *intype,uint4 offset,bool isbigend) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:362:5: error: ‘tmplength’ was not declared in this scope 362 | tmplength = length-sbit; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:644:10: error: ‘ind’ was not declared in this scope; did you mean ‘int’? 644 | if ((ind >= nametable.size())||(ind<0)||((nametable[ind].size()==1)&&(nametable[ind][0]=='\t'))) { | ^~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:82:3: error: ‘int4’ does not name a type; did you mean ‘int’? 82 | int4 indentincrement; ///< Change in indentlevel per level of nesting | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:80:3: error: ‘int4’ does not name a type; did you mean ‘int’? 80 | int4 indentlevel; ///< Current indent level (in fixed width characters) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:81:3: error: ‘int4’ does not name a type; did you mean ‘int’? 81 | int4 parenlevel; ///< Current depth of parentheses | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isWarning() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:189:41: error: ‘addlflags’ was not declared in this scope 189 | bool isWarning(void) const { return ((addlflags&PcodeOp::warning)!=0); } ///< Return \b true if a warning has been generated for this op | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:189:50: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 189 | virtual CPoolRecord *createRecord(const vector &refs); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:189:55: error: template argument 1 is invalid 189 | virtual CPoolRecord *createRecord(const vector &refs); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:189:55: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:100:11: error: ‘int4’ does not name a type; did you mean ‘int’? 100 | virtual int4 beginDocument(void); ///< Begin a whole document of output | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:82:3: error: ‘int4’ does not name a type; did you mean ‘int’? 82 | int4 indentincrement; ///< Change in indentlevel per level of nesting | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:101:28: error: ‘int4’ has not been declared 101 | virtual void endDocument(int4 id); ///< End a whole document of output | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:222:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 222 | map shortcut2Space; ///< Map from shortcut -> space | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:222:23: error: template argument 1 is invalid 222 | map shortcut2Space; ///< Map from shortcut -> space | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:222:23: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:222:23: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:365:5: error: ‘mask1’ was not declared in this scope; did you mean ‘maskvec’? 365 | mask1 = getMask(sbit,tmplength); | ^~~~~ | maskvec /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:100:11: error: ‘int4’ does not name a type; did you mean ‘int’? 100 | virtual int4 beginDocument(void); ///< Begin a whole document of output | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:101:28: error: ‘int4’ has not been declared 101 | virtual void endDocument(int4 id); ///< End a whole document of output | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:231:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 231 | uintb joinallocate; ///< Next offset to be allocated in join space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:102:11: error: ‘int4’ does not name a type; did you mean ‘int’? 102 | virtual int4 beginFunction(const Funcdata *fd); ///< Begin a whole declaration and body of a function | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:103:28: error: ‘int4’ has not been declared 103 | virtual void endFunction(int4 id); ///< End a whole declaration and body of a function | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:102:11: error: ‘int4’ does not name a type; did you mean ‘int’? 102 | virtual int4 beginFunction(const Funcdata *fd); ///< Begin a whole declaration and body of a function | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:103:28: error: ‘int4’ has not been declared 103 | virtual void endFunction(int4 id); ///< End a whole declaration and body of a function | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:104:11: error: ‘int4’ does not name a type; did you mean ‘int’? 104 | virtual int4 beginBlock(const FlowBlock *bl); ///< Begin a control-flow element | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:105:25: error: ‘int4’ has not been declared 105 | virtual void endBlock(int4 id); ///< End a control-flow element | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:107:24: error: ‘int4’ has not been declared 107 | virtual void tagLine(int4 indent); ///< Force a line break and indent level | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:191:53: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 191 | virtual const CPoolRecord *getRecord(const vector &refs) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:104:11: error: ‘int4’ does not name a type; did you mean ‘int’? 104 | virtual int4 beginBlock(const FlowBlock *bl); ///< Begin a control-flow element | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:191:58: error: template argument 1 is invalid 191 | virtual const CPoolRecord *getRecord(const vector &refs) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:191:58: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:105:25: error: ‘int4’ has not been declared 105 | virtual void endBlock(int4 id); ///< End a control-flow element | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:107:24: error: ‘int4’ has not been declared 107 | virtual void tagLine(int4 indent); ///< Force a line break and indent level | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:108:11: error: ‘int4’ does not name a type; did you mean ‘int’? 108 | virtual int4 beginReturnType(const Varnode *vn); ///< Begin a return type declaration | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘void PcodeOp::clearMark() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:190:32: error: ‘flags’ was not declared in this scope 190 | void clearMark(void) const { flags &= ~PcodeOp::mark; } ///< Clear any mark on this op | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:109:30: error: ‘int4’ has not been declared 109 | virtual void endReturnType(int4 id); ///< End a return type declaration | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘virtual void NameSymbol::print(std::ostream&, ParserWalker&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:658:3: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 658 | uint4 ind = (uint4)patval->getValue(walker); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:365:13: error: ‘getMask’ was not declared in this scope; did you mean ‘gets’? 365 | mask1 = getMask(sbit,tmplength); | ^~~~~~~ | gets /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:110:11: error: ‘int4’ does not name a type; did you mean ‘int’? 110 | virtual int4 beginVarDecl(const Symbol *sym); ///< Begin a variable declaration | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:111:27: error: ‘int4’ has not been declared 111 | virtual void endVarDecl(int4 id); ///< End a variable declaration | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:108:11: error: ‘int4’ does not name a type; did you mean ‘int’? 108 | virtual int4 beginReturnType(const Varnode *vn); ///< Begin a return type declaration | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:109:30: error: ‘int4’ has not been declared 109 | virtual void endReturnType(int4 id); ///< End a return type declaration | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:112:11: error: ‘int4’ does not name a type; did you mean ‘int’? 112 | virtual int4 beginStatement(const PcodeOp *op); ///< Begin a source code statement | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:113:29: error: ‘int4’ has not been declared 113 | virtual void endStatement(int4 id); ///< End a source code statement | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:114:11: error: ‘int4’ does not name a type; did you mean ‘int’? 114 | virtual int4 beginFuncProto(void); ///< Begin a function prototype declaration | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:115:29: error: ‘int4’ has not been declared 115 | virtual void endFuncProto(int4 id); ///< End a function prototype declaration | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh: In constructor ‘ConstantPoolInternal::CheapSorter::CheapSorter()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:167:25: error: ‘a’ was not declared in this scope 167 | CheapSorter(void) { a = 0; b = 0; } ///< Construct a zero reference | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:110:11: error: ‘int4’ does not name a type; did you mean ‘int’? 110 | virtual int4 beginVarDecl(const Symbol *sym); ///< Begin a variable declaration | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:122:80: error: ‘int4’ has not been declared 122 | virtual void tagField(const char *ptr,syntax_highlight hl,const Datatype *ct,int4 off); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:111:27: error: ‘int4’ has not been declared 111 | virtual void endVarDecl(int4 id); ///< End a variable declaration | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:123:84: error: ‘uintb’ has not been declared 123 | virtual void tagComment(const char *ptr,syntax_highlight hl,const AddrSpace *spc,uintb off); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:124:82: error: ‘uintb’ has not been declared 124 | virtual void tagLabel(const char *ptr,syntax_highlight hl,const AddrSpace *spc,uintb off); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:126:11: error: ‘int4’ does not name a type; did you mean ‘int’? 126 | virtual int4 openParen(char o,int4 id=0); ///< Emit an open parenthesis | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:366:5: error: ‘value1’ was not declared in this scope; did you mean ‘valvec’? 366 | value1 = getValue(sbit,tmplength); | ^~~~~~ | valvec /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:127:34: error: ‘int4’ has not been declared 127 | virtual void closeParen(char c,int4 id); ///< Emit a close parenthesis | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:112:11: error: ‘int4’ does not name a type; did you mean ‘int’? 112 | virtual int4 beginStatement(const PcodeOp *op); ///< Begin a source code statement | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:113:29: error: ‘int4’ has not been declared 113 | virtual void endStatement(int4 id); ///< End a source code statement | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isIndirectSource() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:191:48: error: ‘flags’ was not declared in this scope 191 | bool isIndirectSource(void) const { return ((flags&PcodeOp::indirect_source)!=0); } ///< Return \b true if this causes an INDIRECT | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:133:11: error: ‘int4’ does not name a type; did you mean ‘int’? 133 | virtual int4 openGroup(void) { return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:139:27: error: ‘int4’ has not been declared 139 | virtual void closeGroup(int4 id) {} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:143:23: error: ‘int4’ has not been declared 143 | virtual void spaces(int4 num,int4 bump=0); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:143:32: error: ‘int4’ has not been declared 143 | virtual void spaces(int4 num,int4 bump=0); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:660:18: error: ‘ind’ was not declared in this scope; did you mean ‘int’? 660 | s << nametable[ind]; | ^~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:167:32: error: ‘b’ was not declared in this scope 167 | CheapSorter(void) { a = 0; b = 0; } ///< Construct a zero reference | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:149:11: error: ‘int4’ does not name a type; did you mean ‘int’? 149 | virtual int4 startIndent(void) { indentlevel+=indentincrement; return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:156:27: error: ‘int4’ has not been declared 156 | virtual void stopIndent(int4 id) { indentlevel-=indentincrement; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:114:11: error: ‘int4’ does not name a type; did you mean ‘int’? 114 | virtual int4 beginFuncProto(void); ///< Begin a function prototype declaration | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:115:29: error: ‘int4’ has not been declared 115 | virtual void endFuncProto(int4 id); ///< End a function prototype declaration | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:122:80: error: ‘int4’ has not been declared 122 | virtual void tagField(const char *ptr,syntax_highlight hl,const Datatype *ct,int4 off); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:123:84: error: ‘uintb’ has not been declared 123 | virtual void tagComment(const char *ptr,syntax_highlight hl,const AddrSpace *spc,uintb off); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:124:82: error: ‘uintb’ has not been declared 124 | virtual void tagLabel(const char *ptr,syntax_highlight hl,const AddrSpace *spc,uintb off); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:162:11: error: ‘int4’ does not name a type; did you mean ‘int’? 162 | virtual int4 startComment(void) { return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:168:28: error: ‘int4’ has not been declared 168 | virtual void stopComment(int4 id) {} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:181:31: error: ‘int4’ has not been declared 181 | virtual void setMaxLineSize(int4 mls) {} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:187:11: error: ‘int4’ does not name a type; did you mean ‘int’? 187 | virtual int4 getMaxLineSize(void) const { return -1; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:366:14: error: ‘getValue’ was not declared in this scope 366 | value1 = getValue(sbit,tmplength); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh: In copy constructor ‘ConstantPoolInternal::CheapSorter::CheapSorter(const ConstantPoolInternal::CheapSorter&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:168:43: error: ‘a’ was not declared in this scope 168 | CheapSorter(const CheapSorter &op2) { a = op2.a; b = op2.b; } ///< Copy constructor | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:168:51: error: ‘const class ConstantPoolInternal::CheapSorter’ has no member named ‘a’ 168 | CheapSorter(const CheapSorter &op2) { a = op2.a; b = op2.b; } ///< Copy constructor | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:126:11: error: ‘int4’ does not name a type; did you mean ‘int’? 126 | virtual int4 openParen(char o,int4 id=0); ///< Emit an open parenthesis | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:127:34: error: ‘int4’ has not been declared 127 | virtual void closeParen(char c,int4 id); ///< Emit a close parenthesis | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:207:3: error: ‘int4’ does not name a type; did you mean ‘int’? 207 | int4 getParenLevel(void) const { return parenlevel; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘void PcodeOp::setIndirectSource()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:192:34: error: ‘flags’ was not declared in this scope 192 | void setIndirectSource(void) { flags |= PcodeOp::indirect_source; } ///< Mark this op as source of INDIRECT | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:212:3: error: ‘int4’ does not name a type; did you mean ‘int’? 212 | int4 getIndentIncrement(void) const { return indentincrement; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:217:27: error: ‘int4’ has not been declared 217 | void setIndentIncrement(int4 val) { indentincrement = val; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:133:11: error: ‘int4’ does not name a type; did you mean ‘int’? 133 | virtual int4 openGroup(void) { return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:139:27: error: ‘int4’ has not been declared 139 | virtual void closeGroup(int4 id) {} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:143:23: error: ‘int4’ has not been declared 143 | virtual void spaces(int4 num,int4 bump=0); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:143:32: error: ‘int4’ has not been declared 143 | virtual void spaces(int4 num,int4 bump=0); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:168:54: error: ‘b’ was not declared in this scope 168 | CheapSorter(const CheapSorter &op2) { a = op2.a; b = op2.b; } ///< Copy constructor | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:168:62: error: ‘const class ConstantPoolInternal::CheapSorter’ has no member named ‘b’ 168 | CheapSorter(const CheapSorter &op2) { a = op2.a; b = op2.b; } ///< Copy constructor | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:237:28: error: ‘int4’ has not been declared 237 | void setDefaultCodeSpace(int4 index); ///< Set the default address space (for code) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:238:28: error: ‘int4’ has not been declared 238 | void setDefaultDataSpace(int4 index); ///< Set the default address space for data | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:367:5: error: ‘mask2’ was not declared in this scope; did you mean ‘maskvec’? 367 | mask2 = op2->getMask(sbit,tmplength); | ^~~~~ | maskvec /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:149:11: error: ‘int4’ does not name a type; did you mean ‘int’? 149 | virtual int4 startIndent(void) { indentlevel+=indentincrement; return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:241:40: error: ‘int4’ has not been declared 241 | void markNearPointers(AddrSpace *spc,int4 size); ///< Mark that given space can be accessed with near pointers | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘virtual void NameSymbol::saveXml(std::ostream&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:670:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 670 | for(int4 i=0;igetMask(sbit,tmplength); | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:244:81: error: ‘int4’ has not been declared 244 | void addSpacebasePointer(SpacebaseSpace *basespace,const VarnodeData &ptrdata,int4 truncSize,bool stackGrowth); ///< Set the base register of a spacebase space | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:247:32: error: ‘uintb’ has not been declared 247 | JoinRecord *findJoinInternal(uintb offset) const; ///< Find JoinRecord for \e offset in the join space | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:162:11: error: ‘int4’ does not name a type; did you mean ‘int’? 162 | virtual int4 startComment(void) { return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:168:28: error: ‘int4’ has not been declared 168 | virtual void stopComment(int4 id) {} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:181:31: error: ‘int4’ has not been declared 181 | virtual void setMaxLineSize(int4 mls) {} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:251:3: error: ‘int4’ does not name a type; did you mean ‘int’? 251 | int4 getDefaultSize(void) const; ///< Get size of addresses for the default space | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh: In constructor ‘ConstantPoolInternal::CheapSorter::CheapSorter(const int&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:169:46: error: ‘a’ was not declared in this scope 169 | CheapSorter(const vector &refs) { a = refs[0]; b = (refs.size() > 1) ? refs[1] : 0; } ///< Construct from an array of integers | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:169:54: error: invalid types ‘const int[int]’ for array subscript 169 | CheapSorter(const vector &refs) { a = refs[0]; b = (refs.size() > 1) ? refs[1] : 0; } ///< Construct from an array of integers | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘void PcodeOp::clearIndirectSource()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:193:36: error: ‘flags’ was not declared in this scope 193 | void clearIndirectSource(void) { flags &= ~PcodeOp::indirect_source; } ///< Clear INDIRECT source flag | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:262:23: error: ‘uintb’ has not been declared 262 | Address getConstant(uintb val) const; ///< Get a constant encoded as an Address | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:264:42: error: ‘uintb’ has not been declared 264 | Address resolveConstant(AddrSpace *spc,uintb val,int4 sz,const Address &point,uintb &fullEncoding) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:264:52: error: ‘int4’ has not been declared 264 | Address resolveConstant(AddrSpace *spc,uintb val,int4 sz,const Address &point,uintb &fullEncoding) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:264:81: error: ‘uintb’ has not been declared 264 | Address resolveConstant(AddrSpace *spc,uintb val,int4 sz,const Address &point,uintb &fullEncoding) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:187:11: error: ‘int4’ does not name a type; did you mean ‘int’? 187 | virtual int4 getMaxLineSize(void) const { return -1; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:368:5: error: ‘value2’ was not declared in this scope; did you mean ‘valvec’? 368 | value2 = op2->getValue(sbit,tmplength); | ^~~~~~ | valvec /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:368:19: error: ‘const class PatternBlock’ has no member named ‘getValue’ 368 | value2 = op2->getValue(sbit,tmplength); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:265:3: error: ‘int4’ does not name a type; did you mean ‘int’? 265 | int4 numSpaces(void) const; ///< Get the number of address spaces for this processor | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:266:23: error: ‘int4’ has not been declared 266 | AddrSpace *getSpace(int4 i) const; ///< Get an address space via its index | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void EmitXml::resetDefaultsInternal()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:83:38: error: ‘indentincrement’ was not declared in this scope; did you mean ‘setIndentIncrement’? 83 | void resetDefaultsInternal(void) { indentincrement = 2; } ///< Set options to default values for EmitXml | ^~~~~~~~~~~~~~~ | setIndentIncrement /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:268:61: error: ‘uint4’ has not been declared 268 | JoinRecord *findAddJoin(const vector &pieces,uint4 logicalsize); ///< Get (or create) JoinRecord for \e pieces | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:269:24: error: ‘uintb’ has not been declared 269 | JoinRecord *findJoin(uintb offset) const; ///< Find JoinRecord for \e offset in the join space | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:270:40: error: ‘int4’ has not been declared 270 | void setDeadcodeDelay(AddrSpace *spc,int4 delaydelta); ///< Set the deadcodedelay for a specific space | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:274:66: error: ‘int4’ has not been declared 274 | Address constructFloatExtensionAddress(const Address &realaddr,int4 realsize,int4 logicalsize); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:274:80: error: ‘int4’ has not been declared 274 | Address constructFloatExtensionAddress(const Address &realaddr,int4 realsize,int4 logicalsize); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:207:3: error: ‘int4’ does not name a type; did you mean ‘int’? 207 | int4 getParenLevel(void) const { return parenlevel; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:277:81: error: ‘int4’ has not been declared 277 | Address constructJoinAddress(const Translate *translate,const Address &hiaddr,int4 hisz,const Address &loaddr,int4 losz); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:277:113: error: ‘int4’ has not been declared 277 | Address constructJoinAddress(const Translate *translate,const Address &hiaddr,int4 hisz,const Address &loaddr,int4 losz); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:280:45: error: ‘int4’ has not been declared 280 | void renormalizeJoinAddress(Address &addr,int4 size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:670:16: error: ‘i’ was not declared in this scope 670 | for(int4 i=0;i &refs) { a = refs[0]; b = (refs.size() > 1) ? refs[1] : 0; } ///< Construct from an array of integers | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:169:69: error: request for member ‘size’ in ‘refs’, which is of non-class type ‘const int’ 169 | CheapSorter(const vector &refs) { a = refs[0]; b = (refs.size() > 1) ? refs[1] : 0; } ///< Construct from an array of integers | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:169:87: error: invalid types ‘const int[int]’ for array subscript 169 | CheapSorter(const vector &refs) { a = refs[0]; b = (refs.size() > 1) ? refs[1] : 0; } ///< Construct from an array of integers | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:212:3: error: ‘int4’ does not name a type; did you mean ‘int’? 212 | int4 getIndentIncrement(void) const { return indentincrement; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:217:27: error: ‘int4’ has not been declared 217 | void setIndentIncrement(int4 val) { indentincrement = val; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:296:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 296 | uintm unique_base; ///< Starting offset into unique space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc: In member function ‘bool PatternBlock::identical(const PatternBlock*) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:379:3: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 379 | int4 tmplength; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:380:7: error: expected ‘;’ before ‘length’ 380 | int4 length = 8*op2->getLength(); | ^~~~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isPtrFlow() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:194:41: error: ‘flags’ was not declared in this scope 194 | bool isPtrFlow(void) const { return ((flags&PcodeOp::ptrflow)!=0); } ///< Return \b true if this produces/consumes ptrs | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh: In member function ‘bool ConstantPoolInternal::CheapSorter::operator<(const ConstantPoolInternal::CheapSorter&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:176:11: error: ‘a’ was not declared in this scope 176 | if (a != op2.a) return (agetNumAttributes() >= 1) | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:707:63: error: ‘uintb’ has not been declared 707 | VarnodeSymbol::VarnodeSymbol(const string &nm,AddrSpace *base,uintb offset,int4 size) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:707:76: error: ‘int4’ has not been declared 707 | VarnodeSymbol::VarnodeSymbol(const string &nm,AddrSpace *base,uintb offset,int4 size) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In constructor ‘VarnodeSymbol::VarnodeSymbol(const string&, AddrSpace*, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:711:7: error: ‘struct VarnodeData’ has no member named ‘offset’ 711 | fix.offset = offset; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:712:7: error: ‘struct VarnodeData’ has no member named ‘size’ 712 | fix.size = size; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘virtual VarnodeTpl* VarnodeSymbol::getVarnode() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:719:73: error: ‘const struct VarnodeData’ has no member named ‘offset’ 719 | return new VarnodeTpl(ConstTpl(fix.space),ConstTpl(ConstTpl::real,fix.offset),ConstTpl(ConstTpl::real,fix.size)); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:719:109: error: ‘const struct VarnodeData’ has no member named ‘size’ 719 | return new VarnodeTpl(ConstTpl(fix.space),ConstTpl(ConstTpl::real,fix.offset),ConstTpl(ConstTpl::real,fix.size)); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘virtual void VarnodeSymbol::getFixedHandle(FixedHandle&, ParserWalker&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:727:8: error: ‘struct FixedHandle’ has no member named ‘offset_offset’ 727 | hand.offset_offset = fix.offset; | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:727:28: error: ‘const struct VarnodeData’ has no member named ‘offset’ 727 | hand.offset_offset = fix.offset; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:728:8: error: ‘struct FixedHandle’ has no member named ‘size’ 728 | hand.size = fix.size; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:728:19: error: ‘const struct VarnodeData’ has no member named ‘size’ 728 | hand.size = fix.size; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:177:15: error: ‘b’ was not declared in this scope 177 | return (b < op2.b); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:177:23: error: ‘const class ConstantPoolInternal::CheapSorter’ has no member named ‘b’ 177 | return (b < op2.b); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh: In member function ‘void ConstantPoolInternal::CheapSorter::apply(int&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:183:50: error: request for member ‘push_back’ in ‘refs’, which is of non-class type ‘int’ 183 | void apply(vector &refs) const { refs.push_back(a); refs.push_back(b); } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In constructor ‘EmitXml::EmitXml()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:85:37: error: ‘indentlevel’ was not declared in this scope 85 | EmitXml(void) { s = (ostream *)0; indentlevel=0; parenlevel=0; resetDefaultsInternal(); } ///< Constructor | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:381:3: error: ‘tmplength’ was not declared in this scope 381 | tmplength = 8*getLength(); | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘void PcodeOp::setPtrFlow()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:195:27: error: ‘flags’ was not declared in this scope 195 | void setPtrFlow(void) { flags |= PcodeOp::ptrflow; } ///< Mark this op as consuming/producing ptrs | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:183:60: error: ‘a’ was not declared in this scope 183 | void apply(vector &refs) const { refs.push_back(a); refs.push_back(b); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:183:69: error: request for member ‘push_back’ in ‘refs’, which is of non-class type ‘int’ 183 | void apply(vector &refs) const { refs.push_back(a); refs.push_back(b); } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void EmitXml::resetDefaultsInternal()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:83:38: error: ‘indentincrement’ was not declared in this scope; did you mean ‘setIndentIncrement’? 83 | void resetDefaultsInternal(void) { indentincrement = 2; } ///< Set options to default values for EmitXml | ^~~~~~~~~~~~~~~ | setIndentIncrement /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cpool.hh:183:79: error: ‘b’ was not declared in this scope 183 | void apply(vector &refs) const { refs.push_back(a); refs.push_back(b); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:731:47: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 731 | void VarnodeSymbol::collectLocalValues(vector &results) const | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:731:52: error: template argument 1 is invalid 731 | void VarnodeSymbol::collectLocalValues(vector &results) const | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:731:52: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:381:17: error: ‘getLength’ was not declared in this scope 381 | tmplength = 8*getLength(); | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘virtual void VarnodeSymbol::collectLocalValues(int&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:735:13: error: request for member ‘push_back’ in ‘results’, which is of non-class type ‘int’ 735 | results.push_back(fix.offset); | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:735:27: error: ‘const struct VarnodeData’ has no member named ‘offset’ 735 | results.push_back(fix.offset); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isSplitting() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:196:43: error: ‘flags’ was not declared in this scope 196 | bool isSplitting(void) const { return ((flags&PcodeOp::splittingbranch)!=0); } ///< Return \b true if this branch splits | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:85:52: error: ‘parenlevel’ was not declared in this scope 85 | EmitXml(void) { s = (ostream *)0; indentlevel=0; parenlevel=0; resetDefaultsInternal(); } ///< Constructor | ^~~~~~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cast.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cast.hh:55:3: error: ‘int4’ does not name a type; did you mean ‘int’? 55 | int4 promoteSize; ///< Size of \b int data-type, (size that integers get promoted to) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:302:22: error: ‘uintm’ has not been declared 302 | void setUniqueBase(uintm val); ///< Set the base offset for new temporary registers | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:307:37: error: ‘int4’ has not been declared 307 | const FloatFormat *getFloatFormat(int4 size) const; ///< Get format for a particular floating point encoding | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cast.hh:65:11: error: ‘int4’ does not name a type; did you mean ‘int’? 65 | virtual int4 localExtensionType(const Varnode *vn) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘virtual void VarnodeSymbol::saveXml(std::ostream&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:744:37: error: ‘const struct VarnodeData’ has no member named ‘offset’ 744 | s << " offset=\"0x" << hex << fix.offset << "\""; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:308:3: error: ‘int4’ does not name a type; did you mean ‘int’? 308 | int4 getAlignment(void) const; ///< Get the instruction alignment for the processor | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cast.hh:72:11: error: ‘int4’ does not name a type; did you mean ‘int’? 72 | virtual int4 intPromotionType(const Varnode *vn) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:745:33: error: ‘const struct VarnodeData’ has no member named ‘size’ 745 | s << " size=\"" << dec << fix.size << "\""; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cast.hh:81:62: error: ‘int4’ has not been declared 81 | virtual bool checkIntPromotionForCompare(const PcodeOp *op,int4 slot) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cast.hh:126:66: error: ‘uint4’ has not been declared 126 | virtual bool isSubpieceCast(Datatype *outtype,Datatype *intype,uint4 offset) const=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cast.hh:138:72: error: ‘uint4’ has not been declared 138 | virtual bool isSubpieceCastEndian(Datatype *outtype,Datatype *intype,uint4 offset,bool isbigend) const=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:382:19: error: ‘length’ was not declared in this scope 382 | if (tmplength > length) | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:309:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 309 | uintm getUniqueBase(void) const; ///< Get the base offset for new temporary registers | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:328:51: error: ‘int4’ has not been declared 328 | virtual void registerContext(const string &name,int4 sbit,int4 ebit) {} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:328:61: error: ‘int4’ has not been declared 328 | virtual void registerContext(const string &name,int4 sbit,int4 ebit) {} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In constructor ‘EmitXml::EmitXml()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:85:37: error: ‘indentlevel’ was not declared in this scope 85 | EmitXml(void) { s = (ostream *)0; indentlevel=0; parenlevel=0; resetDefaultsInternal(); } ///< Constructor | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:337:53: error: ‘uintm’ has not been declared 337 | virtual void setContextDefault(const string &name,uintm val) {} | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:357:61: error: ‘uintb’ has not been declared 357 | virtual void addRegister(const string &nm,AddrSpace *base,uintb offset,int4 size)=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:357:74: error: ‘int4’ has not been declared 357 | virtual void addRegister(const string &nm,AddrSpace *base,uintb offset,int4 size)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:376:50: error: ‘uintb’ has not been declared 376 | virtual string getRegisterName(AddrSpace *base,uintb off,int4 size) const=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:376:60: error: ‘int4’ has not been declared 376 | virtual string getRegisterName(AddrSpace *base,uintb off,int4 size) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cast.hh:160:11: error: ‘int4’ does not name a type; did you mean ‘int’? 160 | virtual int4 localExtensionType(const Varnode *vn) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘virtual void VarnodeSymbol::restoreXml(const Element*, SleighBase*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:766:14: error: ‘struct VarnodeData’ has no member named ‘offset’ 766 | s >> fix.offset; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:771:14: error: ‘struct VarnodeData’ has no member named ‘size’ 771 | s >> fix.size; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:777:30: error: ‘uint4’ has not been declared 777 | uint4 l,uint4 h,bool fl) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:777:38: error: ‘uint4’ has not been declared 777 | uint4 l,uint4 h,bool fl) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cast.hh:161:11: error: ‘int4’ does not name a type; did you mean ‘int’? 161 | virtual int4 intPromotionType(const Varnode *vn) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cast.hh:162:62: error: ‘int4’ has not been declared 162 | virtual bool checkIntPromotionForCompare(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cast.hh:167:66: error: ‘uint4’ has not been declared 167 | virtual bool isSubpieceCast(Datatype *outtype,Datatype *intype,uint4 offset) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:403:11: error: ‘int4’ does not name a type; did you mean ‘int’? 403 | virtual int4 instructionLength(const Address &baseaddr) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/cast.hh:168:72: error: ‘uint4’ has not been declared 168 | virtual bool isSubpieceCastEndian(Datatype *outtype,Datatype *intype,uint4 offset,bool isbigend) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:384:3: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 384 | uintm mask1,mask2,value1,value2; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:385:7: error: expected ‘;’ before ‘sbit’ 385 | int4 sbit = 0; | ^~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::doesSpecialPropagation() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:197:54: error: ‘addlflags’ was not declared in this scope 197 | bool doesSpecialPropagation(void) const { return ((addlflags&PcodeOp::special_prop)!=0); } ///< Return \b true if this does datatype propagation | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:418:11: error: ‘int4’ does not name a type; did you mean ‘int’? 418 | virtual int4 oneInstruction(PcodeEmit &emit,const Address &baseaddr) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘virtual void EmitXml::clear()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:140:30: error: ‘parenlevel’ was not declared in this scope 140 | virtual void clear(void) { parenlevel = 0; indentlevel=0; } ///< Reset the emitter to its initial state | ^~~~~~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:80:3: error: ‘int4’ does not name a type; did you mean ‘int’? 80 | int4 indentlevel; ///< Current indent level (in fixed width characters) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:428:11: error: ‘int4’ does not name a type; did you mean ‘int’? 428 | virtual int4 printAssembly(AssemblyEmit &emit,const Address &baseaddr) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:81:3: error: ‘int4’ does not name a type; did you mean ‘int’? 81 | int4 parenlevel; ///< Current depth of parentheses | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:82:3: error: ‘int4’ does not name a type; did you mean ‘int’? 82 | int4 indentincrement; ///< Change in indentlevel per level of nesting | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:434:8: error: ‘int4’ does not name a type; did you mean ‘int’? 434 | inline int4 AddrSpaceManager::getDefaultSize(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:386:9: error: ‘sbit’ was not declared in this scope 386 | while(sbit < length) { | ^~~~ make[2]: *** [ghidra/CMakeFiles/ghidra_decompiler_sleigh.dir/build.make:160: ghidra/CMakeFiles/ghidra_decompiler_sleigh.dir/__/ghidra-native/src/decompiler/context.cc.o] Error 1 /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:518:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 518 | inline Address AddrSpaceManager::getConstant(uintb val) const { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:518:16: error: ‘Address AddrSpaceManager::getConstant’ is not a static data member of ‘class AddrSpaceManager’ 518 | inline Address AddrSpaceManager::getConstant(uintb val) const { | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:100:11: error: ‘int4’ does not name a type; did you mean ‘int’? 100 | virtual int4 beginDocument(void); ///< Begin a whole document of output | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In constructor ‘ContextSymbol::ContextSymbol(const string&, ContextField*, VarnodeSymbol*, int, int, bool)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:781:3: error: ‘low’ was not declared in this scope; did you mean ‘flow’? 781 | low = l; | ^~~ | flow /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:101:28: error: ‘int4’ has not been declared 101 | virtual void endDocument(int4 id); ///< End a whole document of output | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:85:52: error: ‘parenlevel’ was not declared in this scope 85 | EmitXml(void) { s = (ostream *)0; indentlevel=0; parenlevel=0; resetDefaultsInternal(); } ///< Constructor | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:102:11: error: ‘int4’ does not name a type; did you mean ‘int’? 102 | virtual int4 beginFunction(const Funcdata *fd); ///< Begin a whole declaration and body of a function | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:103:28: error: ‘int4’ has not been declared 103 | virtual void endFunction(int4 id); ///< End a whole declaration and body of a function | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:104:11: error: ‘int4’ does not name a type; did you mean ‘int’? 104 | virtual int4 beginBlock(const FlowBlock *bl); ///< Begin a control-flow element | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:105:25: error: ‘int4’ has not been declared 105 | virtual void endBlock(int4 id); ///< End a control-flow element | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:107:24: error: ‘int4’ has not been declared 107 | virtual void tagLine(int4 indent); ///< Force a line break and indent level | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:108:11: error: ‘int4’ does not name a type; did you mean ‘int’? 108 | virtual int4 beginReturnType(const Varnode *vn); ///< Begin a return type declaration | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:109:30: error: ‘int4’ has not been declared 109 | virtual void endReturnType(int4 id); ///< End a return type declaration | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:386:16: error: ‘length’ was not declared in this scope 386 | while(sbit < length) { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:518:46: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 518 | inline Address AddrSpaceManager::getConstant(uintb val) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::doesSpecialPrinting() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:198:51: error: ‘addlflags’ was not declared in this scope 198 | bool doesSpecialPrinting(void) const { return ((addlflags&PcodeOp::special_print)!=0); } ///< Return \b true if this needs to special printing | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:518:57: error: expected ‘,’ or ‘;’ before ‘const’ 518 | inline Address AddrSpaceManager::getConstant(uintb val) const { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:110:11: error: ‘int4’ does not name a type; did you mean ‘int’? 110 | virtual int4 beginVarDecl(const Symbol *sym); ///< Begin a variable declaration | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:111:27: error: ‘int4’ has not been declared 111 | virtual void endVarDecl(int4 id); ///< End a variable declaration | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:140:46: error: ‘indentlevel’ was not declared in this scope 140 | virtual void clear(void) { parenlevel = 0; indentlevel=0; } ///< Reset the emitter to its initial state | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:112:11: error: ‘int4’ does not name a type; did you mean ‘int’? 112 | virtual int4 beginStatement(const PcodeOp *op); ///< Begin a source code statement | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:113:29: error: ‘int4’ has not been declared 113 | virtual void endStatement(int4 id); ///< End a source code statement | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:114:11: error: ‘int4’ does not name a type; did you mean ‘int’? 114 | virtual int4 beginFuncProto(void); ///< Begin a function prototype declaration | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:115:29: error: ‘int4’ has not been declared 115 | virtual void endFuncProto(int4 id); ///< End a function prototype declaration | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:782:3: error: ‘high’ was not declared in this scope 782 | high = h; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:122:80: error: ‘int4’ has not been declared 122 | virtual void tagField(const char *ptr,syntax_highlight hl,const Datatype *ct,int4 off); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:123:84: error: ‘uintb’ has not been declared 123 | virtual void tagComment(const char *ptr,syntax_highlight hl,const AddrSpace *spc,uintb off); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:124:82: error: ‘uintb’ has not been declared 124 | virtual void tagLabel(const char *ptr,syntax_highlight hl,const AddrSpace *spc,uintb off); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:390:5: error: ‘mask1’ was not declared in this scope; did you mean ‘maskvec’? 390 | mask1 = getMask(sbit,tmplength); | ^~~~~ | maskvec /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:126:11: error: ‘int4’ does not name a type; did you mean ‘int’? 126 | virtual int4 openParen(char o,int4 id=0); ///< Emit an open parenthesis | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh: In member function ‘Address AddrSpaceManager::createConstFromSpace(AddrSpace*) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:529:33: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 529 | return Address(constantspace,(uintb)(uintp)spc); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:127:34: error: ‘int4’ has not been declared 127 | virtual void closeParen(char c,int4 id); ///< Emit a close parenthesis | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘virtual void ContextSymbol::saveXml(std::ostream&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:791:38: error: ‘class VarnodeSymbol’ has no member named ‘getId’ 791 | s << " varnode=\"0x" << hex << vn->getId() << "\""; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘virtual void EmitXml::clear()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:140:30: error: ‘parenlevel’ was not declared in this scope 140 | virtual void clear(void) { parenlevel = 0; indentlevel=0; } ///< Reset the emitter to its initial state | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:133:11: error: ‘int4’ does not name a type; did you mean ‘int’? 133 | virtual int4 openGroup(void) { return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:139:27: error: ‘int4’ has not been declared 139 | virtual void closeGroup(int4 id) {} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:143:23: error: ‘int4’ has not been declared 143 | virtual void spaces(int4 num,int4 bump=0); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:143:32: error: ‘int4’ has not been declared 143 | virtual void spaces(int4 num,int4 bump=0); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:149:11: error: ‘int4’ does not name a type; did you mean ‘int’? 149 | virtual int4 startIndent(void) { indentlevel+=indentincrement; return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:156:27: error: ‘int4’ has not been declared 156 | virtual void stopIndent(int4 id) { indentlevel-=indentincrement; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:162:11: error: ‘int4’ does not name a type; did you mean ‘int’? 162 | virtual int4 startComment(void) { return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:168:28: error: ‘int4’ has not been declared 168 | virtual void stopComment(int4 id) {} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:181:31: error: ‘int4’ has not been declared 181 | virtual void setMaxLineSize(int4 mls) {} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isIncidentalCopy() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:199:48: error: ‘addlflags’ was not declared in this scope 199 | bool isIncidentalCopy(void) const { return ((addlflags&PcodeOp::incidental_copy)!=0); } ///< Return \b true if \b this COPY is \e incidental | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:390:13: error: ‘getMask’ was not declared in this scope; did you mean ‘gets’? 390 | mask1 = getMask(sbit,tmplength); | ^~~~~~~ | gets /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:529:40: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 529 | return Address(constantspace,(uintb)(uintp)spc); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘virtual void EmitXml::stopIndent(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:156:38: error: ‘indentlevel’ was not declared in this scope 156 | virtual void stopIndent(int4 id) { indentlevel-=indentincrement; } | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:187:11: error: ‘int4’ does not name a type; did you mean ‘int’? 187 | virtual int4 getMaxLineSize(void) const { return -1; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:536:8: error: ‘int4’ does not name a type; did you mean ‘int’? 536 | inline int4 AddrSpaceManager::numSpaces(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:545:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 545 | inline AddrSpace *AddrSpaceManager::getSpace(int4 i) const { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:545:19: error: ‘AddrSpace* AddrSpaceManager::getSpace’ is not a static data member of ‘class AddrSpaceManager’ 545 | inline AddrSpace *AddrSpaceManager::getSpace(int4 i) const { | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:207:3: error: ‘int4’ does not name a type; did you mean ‘int’? 207 | int4 getParenLevel(void) const { return parenlevel; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:792:28: error: ‘low’ was not declared in this scope; did you mean ‘flow’? 792 | s << " low=\"" << dec << low << "\""; | ^~~ | flow /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:212:3: error: ‘int4’ does not name a type; did you mean ‘int’? 212 | int4 getIndentIncrement(void) const { return indentincrement; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:217:27: error: ‘int4’ has not been declared 217 | void setIndentIncrement(int4 val) { indentincrement = val; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:391:5: error: ‘value1’ was not declared in this scope; did you mean ‘valvec’? 391 | value1 = getValue(sbit,tmplength); | ^~~~~~ | valvec /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:545:46: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 545 | inline AddrSpace *AddrSpaceManager::getSpace(int4 i) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isCalculatedBool() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:201:48: error: ‘flags’ was not declared in this scope 201 | bool isCalculatedBool(void) const { return ((flags&(PcodeOp::calculated_bool|PcodeOp::booloutput))!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:564:13: error: variable or field ‘setUniqueBase’ declared void 564 | inline void Translate::setUniqueBase(uintm val) { | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:140:46: error: ‘indentlevel’ was not declared in this scope 140 | virtual void clear(void) { parenlevel = 0; indentlevel=0; } ///< Reset the emitter to its initial state | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:156:51: error: ‘indentincrement’ was not declared in this scope; did you mean ‘setIndentIncrement’? 156 | virtual void stopIndent(int4 id) { indentlevel-=indentincrement; } | ^~~~~~~~~~~~~~~ | setIndentIncrement /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:564:38: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 564 | inline void Translate::setUniqueBase(uintm val) { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:391:14: error: ‘getValue’ was not declared in this scope 391 | value1 = getValue(sbit,tmplength); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:582:8: error: ‘int4’ does not name a type; did you mean ‘int’? 582 | inline int4 Translate::getAlignment(void) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void EmitXml::resetDefaultsInternal()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:83:38: error: ‘indentincrement’ was not declared in this scope; did you mean ‘setIndentIncrement’? 83 | void resetDefaultsInternal(void) { indentincrement = 2; } ///< Set options to default values for EmitXml | ^~~~~~~~~~~~~~~ | setIndentIncrement /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:793:22: error: ‘high’ was not declared in this scope 793 | s << " high=\"" << high << "\""; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/translate.hh:592:8: error: ‘uintm’ does not name a type; did you mean ‘uint’? 592 | inline uintm Translate::getUniqueBase(void) const { | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:42:5: error: ‘int4’ does not name a type; did you mean ‘int’? 42 | int4 handle_index; // Place holder for run-time determined value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:392:5: error: ‘mask2’ was not declared in this scope; did you mean ‘maskvec’? 392 | mask2 = op2->getMask(sbit,tmplength); | ^~~~~ | maskvec /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:392:18: error: ‘const class PatternBlock’ has no member named ‘getMask’ 392 | mask2 = op2->getMask(sbit,tmplength); | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isCpoolTransformed() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:203:50: error: ‘addlflags’ was not declared in this scope 203 | bool isCpoolTransformed(void) const { return ((addlflags&PcodeOp::is_cpool_transformed)!=0); } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:44:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 44 | uintb value_real; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:52:26: error: ‘uintb’ has not been declared 52 | ConstTpl(const_type tp,uintb val); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:55:26: error: ‘int4’ has not been declared 55 | ConstTpl(const_type tp,int4 ht,v_field vf); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:56:26: error: ‘int4’ has not been declared 56 | ConstTpl(const_type tp,int4 ht,v_field vf,uintb plus); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:56:45: error: ‘uintb’ has not been declared 56 | ConstTpl(const_type tp,int4 ht,v_field vf,uintb plus); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void EmitXml::setIndentIncrement(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:217:39: error: ‘indentincrement’ was not declared in this scope; did you mean ‘setIndentIncrement’? 217 | void setIndentIncrement(int4 val) { indentincrement = val; } | ^~~~~~~~~~~~~~~ | setIndentIncrement /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘virtual void EmitXml::stopIndent(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:156:38: error: ‘indentlevel’ was not declared in this scope 156 | virtual void stopIndent(int4 id) { indentlevel-=indentincrement; } | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:61:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 61 | uintb getReal(void) const { return value_real; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:228:11: error: ‘int4’ does not name a type; did you mean ‘int’? 228 | virtual int4 beginDocument(void) { return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:229:28: error: ‘int4’ has not been declared 229 | virtual void endDocument(int4 id) {} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:393:5: error: ‘value2’ was not declared in this scope; did you mean ‘valvec’? 393 | value2 = op2->getValue(sbit,tmplength); | ^~~~~~ | valvec /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:393:19: error: ‘const class PatternBlock’ has no member named ‘getValue’ 393 | value2 = op2->getValue(sbit,tmplength); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:63:3: error: ‘int4’ does not name a type; did you mean ‘int’? 63 | int4 getHandleIndex(void) const { return value.handle_index; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:230:11: error: ‘int4’ does not name a type; did you mean ‘int’? 230 | virtual int4 beginFunction(const Funcdata *fd) { return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:231:28: error: ‘int4’ has not been declared 231 | virtual void endFunction(int4 id) {} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In constructor ‘EmitXml::EmitXml()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:85:37: error: ‘indentlevel’ was not declared in this scope 85 | EmitXml(void) { s = (ostream *)0; indentlevel=0; parenlevel=0; resetDefaultsInternal(); } ///< Constructor | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:401:1: error: ‘uintm’ does not name a type; did you mean ‘uint’? 401 | uintm PatternBlock::getMask(int4 startbit,int4 size) const | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:66:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 66 | uintb fix(const ParserWalker &walker) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:232:11: error: ‘int4’ does not name a type; did you mean ‘int’? 232 | virtual int4 beginBlock(const FlowBlock *bl) { return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:233:25: error: ‘int4’ has not been declared 233 | virtual void endBlock(int4 id) {} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:234:24: error: ‘int4’ has not been declared 234 | virtual void tagLine(int4 indent) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:433:1: error: ‘uintm’ does not name a type; did you mean ‘uint’? 433 | uintm PatternBlock::getValue(int4 startbit,int4 size) const | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::usesSpacebasePtr() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:206:48: error: ‘flags’ was not declared in this scope 206 | bool usesSpacebasePtr(void) const { return ((flags&PcodeOp::spacebase_ptr)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘virtual void ContextSymbol::restoreXml(const Element*, SleighBase*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:813:5: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 813 | uintm id; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:236:11: error: ‘int4’ does not name a type; did you mean ‘int’? 236 | virtual int4 beginReturnType(const Varnode *vn) { return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:237:30: error: ‘int4’ has not been declared 237 | virtual void endReturnType(int4 id) {} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:238:11: error: ‘int4’ does not name a type; did you mean ‘int’? 238 | virtual int4 beginVarDecl(const Symbol *sym) { return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:239:27: error: ‘int4’ has not been declared 239 | virtual void endVarDecl(int4 id) {} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:240:11: error: ‘int4’ does not name a type; did you mean ‘int’? 240 | virtual int4 beginStatement(const PcodeOp *op) { return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:241:29: error: ‘int4’ has not been declared 241 | virtual void endStatement(int4 id) {} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:70:39: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 70 | void changeHandleIndex(const vector &handmap); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:70:43: error: template argument 1 is invalid 70 | void changeHandleIndex(const vector &handmap); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:70:43: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:242:11: error: ‘int4’ does not name a type; did you mean ‘int’? 242 | virtual int4 beginFuncProto(void) { return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:243:29: error: ‘int4’ has not been declared 243 | virtual void endFuncProto(int4 id) {} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:156:51: error: ‘indentincrement’ was not declared in this scope; did you mean ‘setIndentIncrement’? 156 | virtual void stopIndent(int4 id) { indentlevel-=indentincrement; } | ^~~~~~~~~~~~~~~ | setIndentIncrement /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:255:80: error: ‘int4’ has not been declared 255 | virtual void tagField(const char *ptr,syntax_highlight hl,const Datatype *ct,int4 off) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:258:49: error: ‘uintb’ has not been declared 258 | const AddrSpace *spc,uintb off) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:261:47: error: ‘uintb’ has not been declared 261 | const AddrSpace *spc,uintb off) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isCommutative() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:212:45: error: ‘flags’ was not declared in this scope 212 | bool isCommutative(void) const { return ((flags & PcodeOp::commutative)!=0); } ///< Return \b true if inputs commute | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:265:11: error: ‘int4’ does not name a type; did you mean ‘int’? 265 | virtual int4 openParen(char o,int4 id=0) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:267:34: error: ‘int4’ has not been declared 267 | virtual void closeParen(char c,int4 id) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:85:52: error: ‘parenlevel’ was not declared in this scope 85 | EmitXml(void) { s = (ostream *)0; indentlevel=0; parenlevel=0; resetDefaultsInternal(); } ///< Constructor | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:816:10: error: ‘id’ was not declared in this scope 816 | s >> id; | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc: In member function ‘bool PatternBlock::isInstructionMatch(ParserWalker&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:463:7: error: ‘nonzerosize’ was not declared in this scope 463 | if (nonzerosize<=0) return (nonzerosize==0); | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:464:3: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 464 | int4 off = offset; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:465:11: error: expected ‘;’ before ‘i’ 465 | for(int4 i=0;i0;--i) *s << ' '; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void EmitXml::setIndentIncrement(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:217:39: error: ‘indentincrement’ was not declared in this scope; did you mean ‘setIndentIncrement’? 217 | void setIndentIncrement(int4 val) { indentincrement = val; } | ^~~~~~~~~~~~~~~ | setIndentIncrement /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:465:16: error: ‘i’ was not declared in this scope 465 | for(int4 i=0;iPatternBlock::maskvec’, which is of non-class type ‘const int’ 465 | for(int4 i=0;i> low; | ^~~ | flow /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:238:3: error: ‘int4’ does not name a type; did you mean ‘int’? 238 | int4 slot; ///< Slot indicating the input Varnode end-point of the edge | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:240:26: error: ‘int4’ has not been declared 240 | PcodeOpNode(PcodeOp *o,int4 s) { op = o; slot = s; } ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘virtual void EmitXml::clear()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:140:30: error: ‘parenlevel’ was not declared in this scope 140 | virtual void clear(void) { parenlevel = 0; indentlevel=0; } ///< Reset the emitter to its initial state | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:228:11: error: ‘int4’ does not name a type; did you mean ‘int’? 228 | virtual int4 beginDocument(void) { return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:229:28: error: ‘int4’ has not been declared 229 | virtual void endDocument(int4 id) {} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:235:35: error: ‘i’ was not declared in this scope 235 | *s << endl; for(int4 i=indent;i>0;--i) *s << ' '; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:466:5: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 466 | uintm data = walker.getInstructionBytes(off,sizeof(uintm)); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:230:11: error: ‘int4’ does not name a type; did you mean ‘int’? 230 | virtual int4 beginFunction(const Funcdata *fd) { return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:231:28: error: ‘int4’ has not been declared 231 | virtual void endFunction(int4 id) {} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:232:11: error: ‘int4’ does not name a type; did you mean ‘int’? 232 | virtual int4 beginBlock(const FlowBlock *bl) { return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:233:25: error: ‘int4’ has not been declared 233 | virtual void endBlock(int4 id) {} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:234:24: error: ‘int4’ has not been declared 234 | virtual void tagLine(int4 indent) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:467:23: error: ‘data’ was not declared in this scope 467 | if ((maskvec[i] & data)!=valvec[i]) return false; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In constructor ‘PcodeOpNode::PcodeOpNode()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:239:42: error: ‘slot’ was not declared in this scope 239 | PcodeOpNode(void) { op = (PcodeOp *)0; slot = 0; } ///< Unused constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: In copy constructor ‘ConstTpl::ConstTpl(const ConstTpl&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:51:37: error: ‘value_real’ was not declared in this scope 51 | type=op2.type; value=op2.value; value_real=op2.value_real; select=op2.select; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:827:10: error: ‘high’ was not declared in this scope 827 | s >> high; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:236:11: error: ‘int4’ does not name a type; did you mean ‘int’? 236 | virtual int4 beginReturnType(const Varnode *vn) { return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:237:30: error: ‘int4’ has not been declared 237 | virtual void endReturnType(int4 id) {} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:51:52: error: ‘const class ConstTpl’ has no member named ‘value_real’ 51 | type=op2.type; value=op2.value; value_real=op2.value_real; select=op2.select; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:238:11: error: ‘int4’ does not name a type; did you mean ‘int’? 238 | virtual int4 beginVarDecl(const Symbol *sym) { return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:239:27: error: ‘int4’ has not been declared 239 | virtual void endVarDecl(int4 id) {} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:468:5: error: ‘off’ was not declared in this scope; did you mean ‘off_t’? 468 | off += sizeof(uintm); | ^~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:140:46: error: ‘indentlevel’ was not declared in this scope 140 | virtual void clear(void) { parenlevel = 0; indentlevel=0; } ///< Reset the emitter to its initial state | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:240:11: error: ‘int4’ does not name a type; did you mean ‘int’? 240 | virtual int4 beginStatement(const PcodeOp *op) { return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:241:29: error: ‘int4’ has not been declared 241 | virtual void endStatement(int4 id) {} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In constructor ‘PcodeOpNode::PcodeOpNode(PcodeOp*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:240:44: error: ‘slot’ was not declared in this scope 240 | PcodeOpNode(PcodeOp *o,int4 s) { op = o; slot = s; } ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:242:11: error: ‘int4’ does not name a type; did you mean ‘int’? 242 | virtual int4 beginFuncProto(void) { return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:243:29: error: ‘int4’ has not been declared 243 | virtual void endFuncProto(int4 id) {} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:255:80: error: ‘int4’ has not been declared 255 | virtual void tagField(const char *ptr,syntax_highlight hl,const Datatype *ct,int4 off) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:258:49: error: ‘uintb’ has not been declared 258 | const AddrSpace *spc,uintb off) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:261:47: error: ‘uintb’ has not been declared 261 | const AddrSpace *spc,uintb off) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:830:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 830 | for(int4 i=el->getNumAttributes()-1;i>=0;--i) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘virtual void EmitNoXml::closeParen(char, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:268:14: error: ‘parenlevel’ was not declared in this scope 268 | *s << c; parenlevel -= 1; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:265:11: error: ‘int4’ does not name a type; did you mean ‘int’? 265 | virtual int4 openParen(char o,int4 id=0) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:267:34: error: ‘int4’ has not been declared 267 | virtual void closeParen(char c,int4 id) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:348:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 348 | uintb off; ///< Offset associated either with address or field markup | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: In member function ‘bool ConstTpl::isZero() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:69:52: error: ‘value_real’ was not declared in this scope 69 | bool isZero(void) const { return ((type==real)&&(value_real==0)); } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc: In member function ‘bool PatternBlock::isContextMatch(ParserWalker&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:476:7: error: ‘nonzerosize’ was not declared in this scope 476 | if (nonzerosize<=0) return (nonzerosize==0); | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:349:3: error: ‘int4’ does not name a type; did you mean ‘int’? 349 | int4 indentbump; ///< Amount to indent if a line breaks | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:83:18: error: expected ‘)’ before ‘hand’ 83 | VarnodeTpl(int4 hand,bool zerosize); | ~ ^~~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:350:3: error: ‘int4’ does not name a type; did you mean ‘int’? 350 | int4 numspaces; ///< Number of spaces in a whitespace token (\e tokenbreak) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘virtual void EmitXml::stopIndent(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:156:38: error: ‘indentlevel’ was not declared in this scope 156 | virtual void stopIndent(int4 id) { indentlevel-=indentincrement; } | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:351:3: error: ‘int4’ does not name a type; did you mean ‘int’? 351 | int4 size; ///< Number of content characters or other size information | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:91:3: error: ‘int4’ does not name a type; did you mean ‘int’? 91 | int4 transfer(const vector ¶ms); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:830:39: error: ‘i’ was not declared in this scope 830 | for(int4 i=el->getNumAttributes()-1;i>=0;--i) { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:94:18: error: ‘uintb’ has not been declared 94 | void setOffset(uintb constVal) { offset = ConstTpl(ConstTpl::real,constVal); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:95:20: error: ‘uintb’ has not been declared 95 | void setRelative(uintb constVal) { offset = ConstTpl(ConstTpl::j_relative,constVal); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:477:3: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 477 | int4 off = offset; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:478:11: error: expected ‘;’ before ‘i’ 478 | for(int4 i=0;i0;--i) *s << ' '; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:478:16: error: ‘i’ was not declared in this scope 478 | for(int4 i=0;iPatternBlock::maskvec’, which is of non-class type ‘const int’ 478 | for(int4 i=0;i &handmap); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:101:43: error: template argument 1 is invalid 101 | void changeHandleIndex(const vector &handmap); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:101:43: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:102:25: error: ‘int4’ has not been declared 102 | bool adjustTruncation(int4 sz,bool isbigendian); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:385:3: error: ‘int4’ does not name a type; did you mean ‘int’? 385 | int4 beginBlock(const FlowBlock *b) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:391:17: error: ‘int4’ has not been declared 391 | void endBlock(int4 id) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:156:51: error: ‘indentincrement’ was not declared in this scope; did you mean ‘setIndentIncrement’? 156 | virtual void stopIndent(int4 id) { indentlevel-=indentincrement; } | ^~~~~~~~~~~~~~~ | setIndentIncrement /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:398:3: error: ‘int4’ does not name a type; did you mean ‘int’? 398 | int4 beginReturnType(const Varnode *v) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:404:22: error: ‘int4’ has not been declared 404 | void endReturnType(int4 id) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:479:5: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 479 | uintm data = walker.getContextBytes(off,sizeof(uintm)); | ^~~~~ | uint [ 9%] Linking CXX static library libpugixml.a /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:235:35: error: ‘i’ was not declared in this scope 235 | *s << endl; for(int4 i=indent;i>0;--i) *s << ' '; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:119:33: error: ‘uintb’ has not been declared 119 | AddrSpace *t_space,uintb t_offset); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:411:3: error: ‘int4’ does not name a type; did you mean ‘int’? 411 | int4 beginVarDecl(const Symbol *sym) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:417:19: error: ‘int4’ has not been declared 417 | void endVarDecl(int4 id) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In constructor ‘VarnodeListSymbol::VarnodeListSymbol(const string&, PatternValue*, const std::vector&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:841:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 841 | for(int4 i=0;i &handmap); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:132:43: error: template argument 1 is invalid 132 | void changeHandleIndex(const vector &handmap); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:132:43: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:560:3: error: ‘int4’ does not name a type; did you mean ‘int’? 560 | int4 startIndent(int4 bump) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:567:19: error: ‘int4’ has not been declared 567 | void stopIndent(int4 id) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:841:16: error: ‘i’ was not declared in this scope 841 | for(int4 i=0;iminValue(); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:850:7: error: expected ‘;’ before ‘max’ 850 | intb max = patval->maxValue(); | ^~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:851:23: error: invalid operands of types ‘’ and ‘int’ to binary ‘operator>=’ 851 | tableisfilled = (min>=0)&&(max::size_type std::vector<_Tp, _Alloc>::size() const [with _Tp = VarnodeSymbol*; _Alloc = std::allocator; std::vector<_Tp, _Alloc>::size_type = long unsigned int]’ 851 | tableisfilled = (min>=0)&&(max::size_type std::vector<_Tp, _Alloc>::size() const [with _Tp = VarnodeSymbol*; _Alloc = std::allocator; std::vector<_Tp, _Alloc>::size_type = long unsigned int]’ declared here 918 | size() const _GLIBCXX_NOEXCEPT | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:851:30: error: parse error in template argument list 851 | tableisfilled = (min>=0)&&(max\n"; | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::endStatement(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:431:42: error: overloaded function with no contextual type information 431 | tagtype=stat_e; delimtype=end; count=id; } | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::endFuncProto(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:443:42: error: overloaded function with no contextual type information 443 | tagtype=prot_e; delimtype=end; count=id; } | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:351:3: error: ‘int4’ does not name a type; did you mean ‘int’? 351 | int4 size; ///< Number of content characters or other size information | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:852:7: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 852 | for(uint4 i=0;i &handmap); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:156:43: error: template argument 1 is invalid 156 | void changeHandleIndex(const vector &handmap); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:156:43: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:352:3: error: ‘int4’ does not name a type; did you mean ‘int’? 352 | int4 count; ///< Associated id (for matching begin/end pairs) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In constructor ‘PcodeOpBank::PcodeOpBank()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:268:23: error: ‘uniqid’ was not declared in this scope 268 | PcodeOpBank(void) { uniqid = 0; } ///< Constructor | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘virtual void EmitNoXml::tagLine(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:235:21: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 235 | *s << endl; for(int4 i=indent;i>0;--i) *s << ' '; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:492:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 492 | for(int4 i=0;iPatternBlock::maskvec’, which is of non-class type ‘const int’ 492 | for(int4 i=0;i0;--i) *s << ' '; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:852:17: error: ‘i’ was not declared in this scope 852 | for(uint4 i=0;i> offset; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘virtual Constructor* VarnodeListSymbol::resolve(ParserWalker&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:862:5: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 862 | intb ind = patval->getValue(walker); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::tagFuncName(const char*, EmitXml::syntax_highlight, const Funcdata*, const PcodeOp*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:472:16: error: ‘size’ was not declared in this scope 472 | tok = ptr; size = tok.size(); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:318:8: error: ‘int4’ does not name a type; did you mean ‘int’? 318 | extern int4 functionalEqualityLevel(Varnode *vn1,Varnode *vn2,Varnode **res1,Varnode **res2); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:424:3: error: ‘int4’ does not name a type; did you mean ‘int’? 424 | int4 beginStatement(const PcodeOp *o) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:430:21: error: ‘int4’ has not been declared 430 | void endStatement(int4 id) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:320:60: error: ‘int4’ has not been declared 320 | extern bool functionalDifference(Varnode *vn1,Varnode *vn2,int4 depth); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:436:3: error: ‘int4’ does not name a type; did you mean ‘int’? 436 | int4 beginFuncProto(void) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:442:21: error: ‘int4’ has not been declared 442 | void endFuncProto(int4 id) { | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:56:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 56 | virtual uintb getLoadImageValue(AddrSpace *spc,uintb offset,int4 sz) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:494:80: error: ‘int4’ has not been declared 494 | void tagField(const char *ptr,EmitXml::syntax_highlight h,const Datatype *ct,int4 o) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:505:39: error: ‘uintb’ has not been declared 505 | const AddrSpace *s,uintb o) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:169:21: error: ‘uint4’ has not been declared 169 | void setNumLabels(uint4 val) { numlabels = val; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:516:37: error: ‘uintb’ has not been declared 516 | const AddrSpace *s,uintb o) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:532:25: error: ‘int4’ has not been declared 532 | void openParen(char o,int4 id) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:540:26: error: ‘int4’ has not been declared 540 | void closeParen(char c,int4 id) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:88:44: error: ‘uintb’ has not been declared 88 | virtual void setVarnodeValue(Varnode *vn,uintb val)=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::tagType(const char*, EmitXml::syntax_highlight, const Datatype*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:485:16: error: ‘size’ was not declared in this scope 485 | tok = ptr; size = tok.size(); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘virtual void EmitNoXml::closeParen(char, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:268:14: error: ‘parenlevel’ was not declared in this scope 268 | *s << c; parenlevel -= 1; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:863:10: error: ‘ind’ was not declared in this scope; did you mean ‘int’? 863 | if ((ind<0)||(ind>=varnode_table.size())||(varnode_table[ind]==(VarnodeSymbol *)0)) { | ^~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:547:3: error: ‘int4’ does not name a type; did you mean ‘int’? 547 | int4 openGroup(void) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:173:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 173 | uint4 delaySlot(void) const { return delayslot; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:553:19: error: ‘int4’ has not been declared 553 | void closeGroup(int4 id) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:96:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 96 | virtual uintb getVarnodeValue(Varnode *vn) const=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:511:10: error: ‘nonzerosize’ was not declared in this scope 511 | s >> nonzerosize; | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:348:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 348 | uintb off; ///< Offset associated either with address or field markup | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:174:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 174 | uint4 numLabels(void) const { return numlabels; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:560:3: error: ‘int4’ does not name a type; did you mean ‘int’? 560 | int4 startIndent(int4 bump) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:567:19: error: ‘int4’ has not been declared 567 | void stopIndent(int4 id) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:349:3: error: ‘int4’ does not name a type; did you mean ‘int’? 349 | int4 indentbump; ///< Amount to indent if a line breaks | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::tagField(const char*, EmitXml::syntax_highlight, const Datatype*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:495:16: error: ‘size’ was not declared in this scope 495 | tok = ptr; size = tok.size(); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:180:3: error: ‘int4’ does not name a type; did you mean ‘int’? 180 | int4 fillinBuild(vector &check,AddrSpace *const_space); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:573:3: error: ‘int4’ does not name a type; did you mean ‘int’? 573 | int4 startComment(void) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:579:20: error: ‘int4’ has not been declared 579 | void stopComment(int4 id) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:586:15: error: ‘int4’ has not been declared 586 | void spaces(int4 num,int4 bump) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:350:3: error: ‘int4’ does not name a type; did you mean ‘int’? 350 | int4 numspaces; ///< Number of spaces in a whitespace token (\e tokenbreak) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:586:24: error: ‘int4’ has not been declared 586 | void spaces(int4 num,int4 bump) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:594:16: error: ‘int4’ has not been declared 594 | void tagLine(int4 indent) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:351:3: error: ‘int4’ does not name a type; did you mean ‘int’? 351 | int4 size; ///< Number of content characters or other size information | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:115:7: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 115 | map tempValues; ///< Values stored in temporary registers | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:598:3: error: ‘int4’ does not name a type; did you mean ‘int’? 598 | int4 getIndentBump(void) const { return indentbump; } ///< Get the extra indent after a line break | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:352:3: error: ‘int4’ does not name a type; did you mean ‘int’? 352 | int4 count; ///< Associated id (for matching begin/end pairs) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:516:3: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 516 | uintm mask,val; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:496:69: error: ‘off’ was not declared in this scope; did you mean ‘off_t’? 496 | tagtype=field_t; delimtype=tokenstring; hl=h; ptr_second.ct=ct; off=(uintb)o; } | ^~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:599:3: error: ‘int4’ does not name a type; did you mean ‘int’? 599 | int4 getNumSpaces(void) const { return numspaces; } ///< Get the number of characters of whitespace | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:353:10: error: ‘int4’ does not name a type; did you mean ‘int’? 353 | static int4 countbase; ///< Static counter for uniquely assigning begin/end pair ids. | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:182:39: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 182 | void changeHandleIndex(const vector &handmap); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:182:43: error: template argument 1 is invalid 182 | void changeHandleIndex(const vector &handmap); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:182:43: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:183:32: error: ‘int4’ has not been declared 183 | void setInput(VarnodeTpl *vn,int4 index,int4 slot); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:183:43: error: ‘int4’ has not been declared 183 | void setInput(VarnodeTpl *vn,int4 index,int4 slot); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:184:33: error: ‘int4’ has not been declared 184 | void setOutput(VarnodeTpl *vn,int4 index); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘virtual void VarnodeListSymbol::getFixedHandle(FixedHandle&, ParserWalker&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:877:3: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 877 | uint4 ind = (uint4) patval->getValue(walker); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:360:3: error: ‘int4’ does not name a type; did you mean ‘int’? 360 | int4 beginDocument(void) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:600:3: error: ‘int4’ does not name a type; did you mean ‘int’? 600 | int4 getSize(void) const { return size; } ///< Get the number of content characters | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:366:20: error: ‘int4’ has not been declared 366 | void endDocument(int4 id) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:601:16: error: ‘int4’ has not been declared 601 | void setSize(int4 sz) { size = sz; } ///< Set the number of content characters | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:372:3: error: ‘int4’ does not name a type; did you mean ‘int’? 372 | int4 beginFunction(const Funcdata *f) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:115:13: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 115 | map tempValues; ///< Values stored in temporary registers | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:378:20: error: ‘int4’ has not been declared 378 | void endFunction(int4 id) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:115:18: error: template argument 1 is invalid 115 | map tempValues; ///< Values stored in temporary registers | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:115:18: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:115:18: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:115:18: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:496:74: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 496 | tagtype=field_t; delimtype=tokenstring; hl=h; ptr_second.ct=ct; off=(uintb)o; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:385:3: error: ‘int4’ does not name a type; did you mean ‘int’? 385 | int4 beginBlock(const FlowBlock *b) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:391:17: error: ‘int4’ has not been declared 391 | void endBlock(int4 id) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:117:3: error: ‘int4’ does not name a type; did you mean ‘int’? 117 | int4 pos; ///< Index of current p-code op being executed | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:185:31: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 185 | void deleteOps(const vector &indices); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:185:35: error: template argument 1 is invalid 185 | void deleteOps(const vector &indices); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:185:35: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:522:12: error: ‘mask’ was not declared in this scope; did you mean ‘maskvec’? 522 | s >> mask; | ^~~~ | maskvec /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:186:27: error: ‘int4’ has not been declared 186 | void saveXml(ostream &s,int4 sectionid) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:398:3: error: ‘int4’ does not name a type; did you mean ‘int’? 398 | int4 beginReturnType(const Varnode *v) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:404:22: error: ‘int4’ has not been declared 404 | void endReturnType(int4 id) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:127:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 127 | uintb getLoadImageValue(AddrSpace *spc,uintb offset,int4 sz) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:411:3: error: ‘int4’ does not name a type; did you mean ‘int’? 411 | int4 beginVarDecl(const Symbol *sym) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:417:19: error: ‘int4’ has not been declared 417 | void endVarDecl(int4 id) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:187:3: error: ‘int4’ does not name a type; did you mean ‘int’? 187 | int4 restoreXml(const Element *el,const AddrSpaceManager *manage); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:156:60: error: ‘uintb’ has not been declared 156 | PcodeEmit *buildEmitter(const vector &inst,uintb uniqReserve); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:163:21: error: ‘int4’ has not been declared 163 | void setCurrentOp(int4 i) { pos = i; currentOp = opList[i]; currentBehave = currentOp->getBehavior(); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:170:24: error: ‘uintb’ has not been declared 170 | void setVarnodeValue(uintb offset,uintb val) { tempValues[offset] = val; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:170:37: error: ‘uintb’ has not been declared 170 | void setVarnodeValue(uintb offset,uintb val) { tempValues[offset] = val; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::endDocument(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:367:36: error: ‘size’ was not declared in this scope 367 | tagtype=docu_e; delimtype=end; size=0; count=id; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:879:41: error: ‘ind’ was not declared in this scope; did you mean ‘int’? 879 | const VarnodeData &fix( varnode_table[ind]->getFixedVarnode() ); | ^~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:424:3: error: ‘int4’ does not name a type; did you mean ‘int’? 424 | int4 beginStatement(const PcodeOp *o) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:430:21: error: ‘int4’ has not been declared 430 | void endStatement(int4 id) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:367:50: error: overloaded function with no contextual type information 367 | tagtype=docu_e; delimtype=end; size=0; count=id; } | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:882:8: error: ‘struct FixedHandle’ has no member named ‘offset_offset’ 882 | hand.offset_offset = fix.offset; | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::tagComment(const char*, EmitXml::syntax_highlight, const AddrSpace*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:506:16: error: ‘size’ was not declared in this scope 506 | tok = ptr; size = tok.size(); ptr_second.spc=s; off=o; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:882:28: error: ‘const struct VarnodeData’ has no member named ‘offset’ 882 | hand.offset_offset = fix.offset; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:883:8: error: ‘struct FixedHandle’ has no member named ‘size’ 883 | hand.size = fix.size; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:883:19: error: ‘const struct VarnodeData’ has no member named ‘size’ 883 | hand.size = fix.size; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:436:3: error: ‘int4’ does not name a type; did you mean ‘int’? 436 | int4 beginFuncProto(void) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:442:21: error: ‘int4’ has not been declared 442 | void endFuncProto(int4 id) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:171:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 171 | uintb getVarnodeValue(VarnodeData *vn) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:527:12: error: ‘val’ was not declared in this scope 527 | s >> val; | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:529:13: error: request for member ‘push_back’ in ‘((PatternBlock*)this)->PatternBlock::maskvec’, which is of non-class type ‘int’ 529 | maskvec.push_back(mask); | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:494:80: error: ‘int4’ has not been declared 494 | void tagField(const char *ptr,EmitXml::syntax_highlight h,const Datatype *ct,int4 o) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:505:39: error: ‘uintb’ has not been declared 505 | const AddrSpace *s,uintb o) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:516:37: error: ‘uintb’ has not been declared 516 | const AddrSpace *s,uintb o) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:886:1: error: ‘int4’ does not name a type; did you mean ‘int’? 886 | int4 VarnodeListSymbol::getSize(void) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:532:25: error: ‘int4’ has not been declared 532 | void openParen(char o,int4 id) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:540:26: error: ‘int4’ has not been declared 540 | void closeParen(char c,int4 id) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:172:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 172 | uintb getTempValue(uintb offset) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:547:3: error: ‘int4’ does not name a type; did you mean ‘int’? 547 | int4 openGroup(void) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:553:19: error: ‘int4’ has not been declared 553 | void closeGroup(int4 id) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:506:53: error: ‘off’ was not declared in this scope; did you mean ‘off_t’? 506 | tok = ptr; size = tok.size(); ptr_second.spc=s; off=o; | ^~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:560:3: error: ‘int4’ does not name a type; did you mean ‘int’? 560 | int4 startIndent(int4 bump) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:567:19: error: ‘int4’ has not been declared 567 | void stopIndent(int4 id) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::endFunction(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:379:36: error: ‘size’ was not declared in this scope 379 | tagtype=func_e; delimtype=end; size=0; count=id; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:379:50: error: overloaded function with no contextual type information 379 | tagtype=func_e; delimtype=end; size=0; count=id; } | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::endBlock(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:392:45: error: overloaded function with no contextual type information 392 | tagtype=bloc_e; delimtype=ignore; count=id; } | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:573:3: error: ‘int4’ does not name a type; did you mean ‘int’? 573 | int4 startComment(void) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:579:20: error: ‘int4’ has not been declared 579 | void stopComment(int4 id) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:529:23: error: ‘mask’ was not declared in this scope; did you mean ‘maskvec’? 529 | maskvec.push_back(mask); | ^~~~ | maskvec /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::endReturnType(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:405:42: error: overloaded function with no contextual type information 405 | tagtype=rtyp_e; delimtype=end; count=id; } | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:586:15: error: ‘int4’ has not been declared 586 | void spaces(int4 num,int4 bump) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:530:12: error: request for member ‘push_back’ in ‘((PatternBlock*)this)->PatternBlock::valvec’, which is of non-class type ‘int’ 530 | valvec.push_back(val); | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:586:24: error: ‘int4’ has not been declared 586 | void spaces(int4 num,int4 bump) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::endVarDecl(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:418:42: error: overloaded function with no contextual type information 418 | tagtype=vard_e; delimtype=end; count=id; } | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:594:16: error: ‘int4’ has not been declared 594 | void tagLine(int4 indent) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::endStatement(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:431:42: error: overloaded function with no contextual type information 431 | tagtype=stat_e; delimtype=end; count=id; } | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::endFuncProto(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:443:42: error: overloaded function with no contextual type information 443 | tagtype=prot_e; delimtype=end; count=id; } | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: In member function ‘void ConstructTpl::setNumLabels(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:169:34: error: ‘numlabels’ was not declared in this scope; did you mean ‘setNumLabels’? 169 | void setNumLabels(uint4 val) { numlabels = val; } | ^~~~~~~~~ | setNumLabels /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:598:3: error: ‘int4’ does not name a type; did you mean ‘int’? 598 | int4 getIndentBump(void) const { return indentbump; } ///< Get the extra indent after a line break | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:599:3: error: ‘int4’ does not name a type; did you mean ‘int’? 599 | int4 getNumSpaces(void) const { return numspaces; } ///< Get the number of characters of whitespace | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::tagLabel(const char*, EmitXml::syntax_highlight, const AddrSpace*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:517:16: error: ‘size’ was not declared in this scope 517 | tok = ptr; size = tok.size(); ptr_second.spc=s; off=o; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘virtual void VarnodeListSymbol::print(std::ostream&, ParserWalker&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:900:3: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 900 | uint4 ind = (uint4)patval->getValue(walker); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:600:3: error: ‘int4’ does not name a type; did you mean ‘int’? 600 | int4 getSize(void) const { return size; } ///< Get the number of content characters | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:530:22: error: ‘val’ was not declared in this scope 530 | valvec.push_back(val); | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:601:16: error: ‘int4’ has not been declared 601 | void setSize(int4 sz) { size = sz; } ///< Set the number of content characters | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:536:53: error: ‘int4’ has not been declared 536 | Pattern *InstructionPattern::doAnd(const Pattern *b,int4 sa) const | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc: In member function ‘virtual Pattern* InstructionPattern::doAnd(const Pattern*, int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:539:10: error: ‘const class Pattern’ has no member named ‘numDisjoint’; did you mean ‘getDisjoint’? 539 | if (b->numDisjoint()>0) | ^~~~~~~~~~~ | getDisjoint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::tagVariable(const char*, EmitXml::syntax_highlight, const Varnode*, const PcodeOp*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:453:16: error: ‘size’ was not declared in this scope 453 | tok = ptr; size = tok.size(); | ^~~~ cd /build/r2ghidra/src/r2ghidra/build/third-party && /usr/bin/cmake -E cmake_link_script CMakeFiles/pugixml.dir/link.txt --verbose=1 /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:517:53: error: ‘off’ was not declared in this scope; did you mean ‘off_t’? 517 | tok = ptr; size = tok.size(); ptr_second.spc=s; off=o; | ^~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:571:64: error: ‘int4’ has not been declared 571 | Pattern *InstructionPattern::commonSubPattern(const Pattern *b,int4 sa) const | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc: In member function ‘virtual Pattern* InstructionPattern::commonSubPattern(const Pattern*, int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:574:10: error: ‘const class Pattern’ has no member named ‘numDisjoint’; did you mean ‘getDisjoint’? 574 | if (b->numDisjoint()>0) | ^~~~~~~~~~~ | getDisjoint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh: In constructor ‘EmulateSnippet::EmulateSnippet(Architecture*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:145:46: error: ‘pos’ was not declared in this scope 145 | EmulateSnippet(Architecture *g) { glb = g; pos = 0; currentOp = (PcodeOpRaw *)0; } ///< Constructor | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:604:52: error: ‘int4’ has not been declared 604 | Pattern *InstructionPattern::doOr(const Pattern *b,int4 sa) const | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh: In member function ‘void EmulateSnippet::resetMemory()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:154:39: error: request for member ‘clear’ in ‘((EmulateSnippet*)this)->EmulateSnippet::tempValues’, which is of non-class type ‘int’ 154 | void resetMemory(void) { tempValues.clear(); setCurrentOp(0); emu_halted = false; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:901:7: error: ‘ind’ was not declared in this scope; did you mean ‘int’? 901 | if (ind >= varnode_table.size()) | ^~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc: In member function ‘virtual Pattern* InstructionPattern::doOr(const Pattern*, int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:607:10: error: ‘const class Pattern’ has no member named ‘numDisjoint’; did you mean ‘getDisjoint’? 607 | if (b->numDisjoint()>0) | ^~~~~~~~~~~ | getDisjoint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::endDocument(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:367:36: error: ‘size’ was not declared in this scope 367 | tagtype=docu_e; delimtype=end; size=0; count=id; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:367:50: error: overloaded function with no contextual type information 367 | tagtype=docu_e; delimtype=end; size=0; count=id; } | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: In constructor ‘ConstructTpl::ConstructTpl()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:171:24: error: ‘delayslot’ was not declared in this scope 171 | ConstructTpl(void) { delayslot=0; numlabels=0; result = (HandleTpl *)0; } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::tagOp(const char*, EmitXml::syntax_highlight, const PcodeOp*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:462:16: error: ‘size’ was not declared in this scope 462 | tok = ptr; size = tok.size(); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:642:48: error: ‘int4’ has not been declared 642 | Pattern *ContextPattern::doOr(const Pattern *b,int4 sa) const | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::print(const char*, EmitXml::syntax_highlight)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:525:16: error: ‘size’ was not declared in this scope 525 | tok = str; size=tok.size(); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:652:49: error: ‘int4’ has not been declared 652 | Pattern *ContextPattern::doAnd(const Pattern *b,int4 sa) const | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:663:60: error: ‘int4’ has not been declared 663 | Pattern *ContextPattern::commonSubPattern(const Pattern *b,int4 sa) const | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh: In member function ‘void EmulateSnippet::setCurrentOp(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:163:31: error: ‘pos’ was not declared in this scope 163 | void setCurrentOp(int4 i) { pos = i; currentOp = opList[i]; currentBehave = currentOp->getBehavior(); } | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh: In member function ‘void EmulateSnippet::setVarnodeValue(int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:170:60: error: invalid types ‘int[int]’ for array subscript 170 | void setVarnodeValue(uintb offset,uintb val) { tempValues[offset] = val; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::endFunction(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:379:36: error: ‘size’ was not declared in this scope 379 | tagtype=func_e; delimtype=end; size=0; count=id; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:379:50: error: overloaded function with no contextual type information 379 | tagtype=func_e; delimtype=end; size=0; count=id; } | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::endBlock(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:392:45: error: overloaded function with no contextual type information 392 | tagtype=bloc_e; delimtype=ignore; count=id; } | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::endReturnType(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:405:42: error: overloaded function with no contextual type information 405 | tagtype=rtyp_e; delimtype=end; count=id; } | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::endVarDecl(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:418:42: error: overloaded function with no contextual type information 418 | tagtype=vard_e; delimtype=end; count=id; } | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::endStatement(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:431:42: error: overloaded function with no contextual type information 431 | tagtype=stat_e; delimtype=end; count=id; } | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:903:22: error: ‘ind’ was not declared in this scope; did you mean ‘int’? 903 | s << varnode_table[ind]->getName(); | ^~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::endFuncProto(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:443:42: error: overloaded function with no contextual type information 443 | tagtype=prot_e; delimtype=end; count=id; } | ^~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:36:3: error: ‘int4’ does not name a type; did you mean ‘int’? 36 | int4 index; ///< Unique index assigned (for cross referencing associated Varnode in the InjectContext) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:721:49: error: ‘int4’ has not been declared 721 | Pattern *CombinePattern::doAnd(const Pattern *b,int4 sa) const | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::openParen(char, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:533:14: error: ‘size’ was not declared in this scope 533 | tok = o; size = 1; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc: In member function ‘virtual Pattern* CombinePattern::doAnd(const Pattern*, int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:726:10: error: ‘const class Pattern’ has no member named ‘numDisjoint’; did you mean ‘getDisjoint’? 726 | if (b->numDisjoint() != 0) | ^~~~~~~~~~~ | getDisjoint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:534:50: error: overloaded function with no contextual type information 534 | tagtype=opar_t; delimtype=tokenstring; count=id; } | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::tagFuncName(const char*, EmitXml::syntax_highlight, const Funcdata*, const PcodeOp*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:472:16: error: ‘size’ was not declared in this scope 472 | tok = ptr; size = tok.size(); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:37:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 37 | uint4 size; ///< Size of the parameter Varnode in bytes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:39:36: error: ‘uint4’ has not been declared 39 | InjectParameter(const string &nm,uint4 sz) :name(nm) { index = 0; size = sz; } ///< Constructor | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:171:37: error: ‘numlabels’ was not declared in this scope; did you mean ‘setNumLabels’? 171 | ConstructTpl(void) { delayslot=0; numlabels=0; result = (HandleTpl *)0; } | ^~~~~~~~~ | setNumLabels /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:752:60: error: ‘int4’ has not been declared 752 | Pattern *CombinePattern::commonSubPattern(const Pattern *b,int4 sa) const | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc: In member function ‘virtual Pattern* CombinePattern::commonSubPattern(const Pattern*, int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:757:10: error: ‘const class Pattern’ has no member named ‘numDisjoint’; did you mean ‘getDisjoint’? 757 | if (b->numDisjoint() != 0) | ^~~~~~~~~~~ | getDisjoint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:41:3: error: ‘int4’ does not name a type; did you mean ‘int’? 41 | int4 getIndex(void) const { return index; } ///< Get the assigned index | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::tagVariable(const char*, EmitXml::syntax_highlight, const Varnode*, const PcodeOp*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:453:16: error: ‘size’ was not declared in this scope 453 | tok = ptr; size = tok.size(); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:776:48: error: ‘int4’ has not been declared 776 | Pattern *CombinePattern::doOr(const Pattern *b,int4 sa) const | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc: In member function ‘virtual Pattern* CombinePattern::doOr(const Pattern*, int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:779:10: error: ‘const class Pattern’ has no member named ‘numDisjoint’; did you mean ‘getDisjoint’? 779 | if (b->numDisjoint() != 0) | ^~~~~~~~~~~ | getDisjoint make[2]: *** [ghidra/CMakeFiles/ghidra_decompiler_base.dir/build.make:90: ghidra/CMakeFiles/ghidra_decompiler_base.dir/__/ghidra-native/src/decompiler/float.cc.o] Error 1 /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:193:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 193 | uint4 labelbase; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:42:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 42 | uint4 getSize(void) const { return size; } ///< Get the size of the parameter in bytes | ^~~~~ | uint make[2]: Leaving directory '/build/r2ghidra/src/r2ghidra/build' /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::closeParen(char, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:541:14: error: ‘size’ was not declared in this scope 541 | tok = c; size = 1; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh: In constructor ‘InjectParameter::InjectParameter(const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:39:66: error: overloaded function with no contextual type information 39 | InjectParameter(const string &nm,uint4 sz) :name(nm) { index = 0; size = sz; } ///< Constructor | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:542:50: error: overloaded function with no contextual type information 542 | tagtype=cpar_t; delimtype=tokenstring; count=id; } | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::closeGroup(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:554:42: error: overloaded function with no contextual type information 554 | tagtype=cinv_t; delimtype=end; count=id; } | ^~ make[1]: *** [CMakeFiles/Makefile2:219: ghidra/CMakeFiles/ghidra_decompiler_base.dir/all] Error 2 /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::tagType(const char*, EmitXml::syntax_highlight, const Datatype*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:485:16: error: ‘size’ was not declared in this scope 485 | tok = ptr; size = tok.size(); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:194:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 194 | uint4 labelcount; | ^~~~~ | uint make[1]: *** Waiting for unfinished jobs.... /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:199:21: error: expected ‘)’ before ‘lbcnt’ 199 | PcodeBuilder(uint4 lbcnt) { labelbase=labelcount=lbcnt; } | ~ ^~~~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘virtual void VarnodeListSymbol::saveXml(std::ostream&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:913:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 913 | for(int4 i=0;i> id; | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:506:53: error: ‘off’ was not declared in this scope; did you mean ‘off_t’? 506 | tok = ptr; size = tok.size(); ptr_second.spc=s; off=o; | ^~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::tagLine()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:591:43: error: ‘numspaces’ was not declared in this scope; did you mean ‘spaces’? 591 | tagtype=bump_t; delimtype=tokenbreak; numspaces=999999; indentbump=0; } | ^~~~~~~~~ | spaces /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:955:47: error: ‘int4’ has not been declared 955 | OperandSymbol::OperandSymbol(const string &nm,int4 index,Constructor *ct) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:58:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 58 | uintm id; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::tagComment(const char*, EmitXml::syntax_highlight, const AddrSpace*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:506:16: error: ‘size’ was not declared in this scope 506 | tok = ptr; size = tok.size(); ptr_second.spc=s; off=o; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:60:30: error: ‘uintm’ has not been declared 60 | SymbolScope(SymbolScope *p,uintm i) { parent = p; id = i; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc: In member function ‘virtual Pattern* OrPattern::doOr(const Pattern*, int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.cc:968:9: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 968 | for(int4 i=0;i inputList; ///< Temporary ids of input varnodes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:595:61: error: ‘indentbump’ was not declared in this scope; did you mean ‘indent’? 595 | tagtype=line_t; delimtype=tokenbreak; numspaces=999999; indentbump=indent; } | ^~~~~~~~~~ | indent /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:139:15: error: template argument 1 is invalid 139 | vector inputList; ///< Temporary ids of input varnodes | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:139:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘virtual VarnodeTpl* OperandSymbol::getVarnode() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:996:26: error: ‘hand’ was not declared in this scope; did you mean ‘rand’? 996 | res = new VarnodeTpl(hand,true); // Definite constant handle | ^~~~ | rand /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::openParen(char, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:533:14: error: ‘size’ was not declared in this scope 533 | tok = o; size = 1; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::closeParen(char, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:541:14: error: ‘size’ was not declared in this scope 541 | tok = c; size = 1; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:534:50: error: overloaded function with no contextual type information 534 | tagtype=opar_t; delimtype=tokenstring; count=id; } | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:542:50: error: overloaded function with no contextual type information 542 | tagtype=cpar_t; delimtype=tokenstring; count=id; } | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::closeGroup(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:554:42: error: overloaded function with no contextual type information 554 | tagtype=cinv_t; delimtype=end; count=id; } | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:140:10: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 140 | vector outputList; ///< Temporary ids of output varnodes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:140:15: error: template argument 1 is invalid 140 | vector outputList; ///< Temporary ids of output varnodes | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:140:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::setSize(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:601:27: error: ‘size’ was not declared in this scope 601 | void setSize(int4 sz) { size = sz; } ///< Set the number of content characters | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:619:3: error: ‘int4’ does not name a type; did you mean ‘int’? 619 | int4 left; ///< Index within the array of the leftmost object in the queue | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:147:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 147 | uintb evaluate(const vector &input); ///< Evaluate the snippet on the given inputs | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::closeParen(char, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:541:14: error: ‘size’ was not declared in this scope 541 | tok = c; size = 1; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:542:50: error: overloaded function with no contextual type information 542 | tagtype=cpar_t; delimtype=tokenstring; count=id; } | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:620:3: error: ‘int4’ does not name a type; did you mean ‘int’? 620 | int4 right; ///< Index within the array of the rightmost object in the queue | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::closeGroup(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:554:42: error: overloaded function with no contextual type information 554 | tagtype=cinv_t; delimtype=end; count=id; } | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::stopIndent(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:568:43: error: ‘size’ was not declared in this scope 568 | tagtype=bump_t; delimtype=end_indent; size=0; count=id; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:568:57: error: overloaded function with no contextual type information 568 | tagtype=bump_t; delimtype=end_indent; size=0; count=id; } | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:74:26: error: ‘int4’ has not been declared 74 | SymbolScope *skipScope(int4 i) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::stopComment(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:580:50: error: overloaded function with no contextual type information 580 | tagtype=cinv_t; delimtype=end_comment; count=id; } | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:621:3: error: ‘int4’ does not name a type; did you mean ‘int’? 621 | int4 max; ///< Size of the array | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:623:21: error: expected ‘)’ before ‘sz’ 623 | circularqueue(int4 sz); ///< Construct queue of a given size | ~ ^~~ | ) /usr/bin/ranlib libpugixml.a /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:89:45: error: ‘int4’ has not been declared 89 | SleighSymbol *findSymbol(const string &nm,int4 skip) const { return findSymbolInternal(skipScope(skip),nm); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:625:15: error: ‘int4’ has not been declared 625 | void setMax(int4 sz); ///< Establish a new maximum queue size | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:91:28: error: ‘uintm’ has not been declared 91 | SleighSymbol *findSymbol(uintm id) const { return symbollist[id]; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:165:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 165 | uintb tempbase; ///< Offset within \e unique space for allocating temporaries within a payload | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1003:28: error: ‘hand’ was not declared in this scope; did you mean ‘rand’? 1003 | res = new VarnodeTpl(hand,true); // Zero-size symbols | ^~~~ | rand /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:626:3: error: ‘int4’ does not name a type; did you mean ‘int’? 626 | int4 getMax(void) const { return max; } ///< Get the maximum queue size | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:627:15: error: ‘int4’ has not been declared 627 | void expand(int4 amount); ///< Expand the (maximum) size of the queue | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:630:3: error: ‘int4’ does not name a type; did you mean ‘int’? 630 | int4 topref(void) const { return right; } ///< Get a reference to the last object on the queue/stack | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::stopIndent(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:568:43: error: ‘size’ was not declared in this scope 568 | tagtype=bump_t; delimtype=end_indent; size=0; count=id; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:568:57: error: overloaded function with no contextual type information 568 | tagtype=bump_t; delimtype=end_indent; size=0; count=id; } | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::stopComment(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:580:50: error: overloaded function with no contextual type information 580 | tagtype=cinv_t; delimtype=end_comment; count=id; } | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:631:3: error: ‘int4’ does not name a type; did you mean ‘int’? 631 | int4 bottomref(void) const { return left; } ///< Get a reference to the first object on the queue/stack | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:632:14: error: ‘int4’ has not been declared 632 | _type &ref(int4 r) { return cache[r]; } ///< Retrieve an object by its reference | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘bool circularqueue<_type>::empty() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:629:53: error: invalid operands of types ‘std::ios_base& (*)(std::ios_base&)’ and ‘’ to binary ‘operator%’ 629 | bool empty(void) const { return (left == (right+1)%max); } ///< Is the queue empty | ~~~~~~~~~^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘_type& circularqueue<_type>::push()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:635:38: error: invalid operands of types ‘std::ios_base& (*)(std::ios_base&)’ and ‘’ to binary ‘operator%’ 635 | _type &push(void) { right=(right+1)%max; return cache[right]; } ///< Push a new object onto the queue/stack | ~~~~~~~~~^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::spaces(int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:587:43: error: ‘numspaces’ was not declared in this scope; did you mean ‘spaces’? 587 | tagtype=spac_t; delimtype=tokenbreak; numspaces=num; indentbump=bump; } | ^~~~~~~~~ | spaces /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1005:28: error: ‘hand’ was not declared in this scope; did you mean ‘rand’? 1005 | res = new VarnodeTpl(hand,false); // Possible dynamic handle | ^~~~ | rand /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘_type& circularqueue<_type>::pop()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:636:22: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 636 | _type &pop(void) { int4 tmp=right; right=(right+max-1)%max; return cache[tmp]; } ///< Pop the (last) object on the stack | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:636:50: error: invalid operands of types ‘std::ios_base&(std::ios_base&)’ and ‘’ to binary ‘operator+’ 636 | _type &pop(void) { int4 tmp=right; right=(right+max-1)%max; return cache[tmp]; } ///< Pop the (last) object on the stack | ~~~~~^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::spaces(int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:587:43: error: ‘numspaces’ was not declared in this scope; did you mean ‘spaces’? 587 | tagtype=spac_t; delimtype=tokenbreak; numspaces=num; indentbump=bump; } | ^~~~~~~~~ | spaces /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:117:3: error: ‘int4’ does not name a type; did you mean ‘int’? 117 | int4 templateid; // Index into the ConstructTpl array | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:167:14: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 167 | map callFixupMap; ///< Map of registered call-fixup names to injection id | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:636:76: error: ‘tmp’ was not declared in this scope; did you mean ‘top’? 636 | _type &pop(void) { int4 tmp=right; right=(right+max-1)%max; return cache[tmp]; } ///< Pop the (last) object on the stack | ^~~ | top /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:167:18: error: template argument 2 is invalid 167 | map callFixupMap; ///< Map of registered call-fixup names to injection id | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:167:18: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:118:3: error: ‘int4’ does not name a type; did you mean ‘int’? 118 | int4 define_count; // Number of definitions of this named section | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:119:3: error: ‘int4’ does not name a type; did you mean ‘int’? 119 | int4 ref_count; // Number of references to this named section | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:121:34: error: ‘int4’ has not been declared 121 | SectionSymbol(const string &nm,int4 id) : SleighSymbol(nm) { templateid=id; define_count=0; ref_count=0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘virtual void OperandSymbol::getFixedHandle(FixedHandle&, ParserWalker&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1013:31: error: ‘hand’ was not declared in this scope; did you mean ‘rand’? 1013 | hnd = walker.getFixedHandle(hand); | ^~~~ | rand /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:587:58: error: ‘indentbump’ was not declared in this scope 587 | tagtype=spac_t; delimtype=tokenbreak; numspaces=num; indentbump=bump; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:122:3: error: ‘int4’ does not name a type; did you mean ‘int’? 122 | int4 getTemplateId(void) const { return templateid; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1016:1: error: ‘int4’ does not name a type; did you mean ‘int’? 1016 | int4 OperandSymbol::getSize(void) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘_type& circularqueue<_type>::popbottom()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:637:28: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 637 | _type &popbottom(void) { int4 tmp=left; left=(left+1)%max; return cache[tmp]; } ///< Get the (next) object in the queue | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:125:3: error: ‘int4’ does not name a type; did you mean ‘int’? 125 | int4 getDefineCount(void) const { return define_count; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:637:56: error: invalid operands of types ‘std::ios_base& (*)(std::ios_base&)’ and ‘’ to binary ‘operator%’ 637 | _type &popbottom(void) { int4 tmp=left; left=(left+1)%max; return cache[tmp]; } ///< Get the (next) object in the queue | ~~~~~~~~^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:168:14: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 168 | map callOtherFixupMap; ///< Map of registered callother-fixup names to injection id | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:168:18: error: template argument 2 is invalid 168 | map callOtherFixupMap; ///< Map of registered callother-fixup names to injection id | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:168:18: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:126:3: error: ‘int4’ does not name a type; did you mean ‘int’? 126 | int4 getRefCount(void) const { return ref_count; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:587:58: error: ‘indentbump’ was not declared in this scope 587 | tagtype=spac_t; delimtype=tokenbreak; numspaces=num; indentbump=bump; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:637:75: error: ‘tmp’ was not declared in this scope; did you mean ‘top’? 637 | _type &popbottom(void) { int4 tmp=left; left=(left+1)%max; return cache[tmp]; } ///< Get the (next) object in the queue | ^~~ | top /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:642:36: error: expected constructor, destructor, or type conversion before ‘(’ token 642 | circularqueue<_type>::circularqueue(int4 sz) | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:661:6: error: variable or field ‘setMax’ declared void 661 | void circularqueue<_type>::setMax(int4 sz) | ^~~~~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:169:14: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 169 | map callMechFixupMap; ///< Map of registered mechanism names to injection id | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:169:18: error: template argument 2 is invalid 169 | map callMechFixupMap; ///< Map of registered mechanism names to injection id | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:169:18: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::tagLine()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:591:43: error: ‘numspaces’ was not declared in this scope; did you mean ‘spaces’? 591 | tagtype=bump_t; delimtype=tokenbreak; numspaces=999999; indentbump=0; } | ^~~~~~~~~ | spaces /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:661:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 661 | void circularqueue<_type>::setMax(int4 sz) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:679:6: error: variable or field ‘expand’ declared void 679 | void circularqueue<_type>::expand(int4 amount) | ^~~~~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:170:14: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 170 | map scriptMap; ///< Map of registered script names to ExecutablePcode id | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:170:18: error: template argument 2 is invalid 170 | map scriptMap; ///< Map of registered script names to ExecutablePcode id | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:170:18: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:175:50: error: ‘int4’ has not been declared 175 | void registerCallFixup(const string &fixupName,int4 injectid/* , vector targets */); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:176:55: error: ‘int4’ has not been declared 176 | void registerCallOtherFixup(const string &fixupName,int4 injectid); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:177:54: error: ‘int4’ has not been declared 177 | void registerCallMechanism(const string &fixupName,int4 injectid); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:679:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 679 | void circularqueue<_type>::expand(int4 amount) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:178:51: error: ‘int4’ has not been declared 178 | void registerExeScript(const string &scriptName,int4 injectid); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘SectionSymbol::SectionSymbol(const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:121:64: error: ‘templateid’ was not declared in this scope 121 | SectionSymbol(const string &nm,int4 id) : SleighSymbol(nm) { templateid=id; define_count=0; ref_count=0; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::tagLine()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:591:43: error: ‘numspaces’ was not declared in this scope; did you mean ‘spaces’? 591 | tagtype=bump_t; delimtype=tokenbreak; numspaces=999999; indentbump=0; } | ^~~~~~~~~ | spaces /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘virtual void OperandSymbol::print(std::ostream&, ParserWalker&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1027:22: error: ‘getIndex’ was not declared in this scope 1027 | walker.pushOperand(getIndex()); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:188:11: error: ‘int4’ does not name a type; did you mean ‘int’? 188 | virtual int4 allocateInject(const string &sourceName,const string &name,int4 type)=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:196:31: error: ‘int4’ has not been declared 196 | virtual void registerInject(int4 injectid)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:198:38: error: ‘uintb’ has not been declared 198 | PcodeInjectLibrary(Architecture *g,uintb tmpbase) { glb = g; tempbase = tmpbase; } ///< Constructor | ^~~~~ make[2]: Leaving directory '/build/r2ghidra/src/r2ghidra/build' /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:200:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 200 | uintb getUniqueBase(void) const { return tempbase; } ///< Get the (current) offset for building temporary registers | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:719:10: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 719 | vector indentstack; ///< Space available for currently active nesting levels | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:719:14: error: template argument 1 is invalid 719 | vector indentstack; ///< Space available for currently active nesting levels | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:719:14: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:201:3: error: ‘int4’ does not name a type; did you mean ‘int’? 201 | int4 getPayloadId(int4 type,const string &nm) const; ///< Map name and type to the payload id | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:202:29: error: ‘int4’ has not been declared 202 | InjectPayload *getPayload(int4 id) const { return injection[id]; } ///< Get the InjectPayload by id | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:203:27: error: ‘int4’ has not been declared 203 | string getCallFixupName(int4 injectid) const; ///< Get the call-fixup name associated with an id | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:204:29: error: ‘int4’ has not been declared 204 | string getCallOtherTarget(int4 injectid) const; ///< Get the callother-fixup name associated with an id | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:205:31: error: ‘int4’ has not been declared 205 | string getCallMechanismName(int4 injectid) const; ///< Get the call mechanism name associated with an id | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:720:3: error: ‘int4’ does not name a type; did you mean ‘int’? 720 | int4 spaceremain; ///< Space remaining in current line | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:591:61: error: ‘indentbump’ was not declared in this scope 591 | tagtype=bump_t; delimtype=tokenbreak; numspaces=999999; indentbump=0; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:206:3: error: ‘int4’ does not name a type; did you mean ‘int’? 206 | int4 restoreXmlInject(const string &src,const string &nm,int4 tp,const Element *el); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:721:3: error: ‘int4’ does not name a type; did you mean ‘int’? 721 | int4 maxlinesize; ///< Maximum number of characters allowed in a line | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:222:11: error: ‘int4’ does not name a type; did you mean ‘int’? 222 | virtual int4 manualCallFixup(const string &name,const string &snippetstring)=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:722:3: error: ‘int4’ does not name a type; did you mean ‘int’? 722 | int4 leftotal; ///< # of characters committed from the current line | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:233:11: error: ‘int4’ does not name a type; did you mean ‘int’? 233 | virtual int4 manualCallOtherFixup(const string &name,const string &outname,const vector &inname, | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1035:5: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 1035 | intb val = defexp->getValue(walker); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:723:3: error: ‘int4’ does not name a type; did you mean ‘int’? 723 | int4 rightotal; ///< # of characters yet to be committed from the current line | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:591:61: error: ‘indentbump’ was not declared in this scope 591 | tagtype=bump_t; delimtype=tokenbreak; numspaces=999999; indentbump=0; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:121:79: error: ‘define_count’ was not declared in this scope 121 | SectionSymbol(const string &nm,int4 id) : SleighSymbol(nm) { templateid=id; define_count=0; ref_count=0; } | ^~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:727:17: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 727 | circularqueue scanqueue; ///< References to current \e open and \e whitespace tokens | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:727:21: error: template argument 1 is invalid 727 | circularqueue scanqueue; ///< References to current \e open and \e whitespace tokens | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::tagLine(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:595:43: error: ‘numspaces’ was not declared in this scope; did you mean ‘spaces’? 595 | tagtype=line_t; delimtype=tokenbreak; numspaces=999999; indentbump=indent; } | ^~~~~~~~~ | spaces /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1036:9: error: ‘val’ was not declared in this scope 1036 | if (val >= 0) | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:742:11: error: ‘int4’ does not name a type; did you mean ‘int’? 742 | virtual int4 beginDocument(void); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:743:28: error: ‘int4’ has not been declared 743 | virtual void endDocument(int4 id); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:744:11: error: ‘int4’ does not name a type; did you mean ‘int’? 744 | virtual int4 beginFunction(const Funcdata *fd); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:745:28: error: ‘int4’ has not been declared 745 | virtual void endFunction(int4 id); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::tagLine(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:595:43: error: ‘numspaces’ was not declared in this scope; did you mean ‘spaces’? 595 | tagtype=line_t; delimtype=tokenbreak; numspaces=999999; indentbump=indent; } | ^~~~~~~~~ | spaces /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:121:95: error: ‘ref_count’ was not declared in this scope 121 | SectionSymbol(const string &nm,int4 id) : SleighSymbol(nm) { templateid=id; define_count=0; ref_count=0; } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:746:11: error: ‘int4’ does not name a type; did you mean ‘int’? 746 | virtual int4 beginBlock(const FlowBlock *bl); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:747:25: error: ‘int4’ has not been declared 747 | virtual void endBlock(int4 id); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:749:24: error: ‘int4’ has not been declared 749 | virtual void tagLine(int4 indent); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh: In constructor ‘PcodeInjectLibrary::PcodeInjectLibrary(Architecture*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:198:64: error: ‘tempbase’ was not declared in this scope; did you mean ‘tmpbase’? 198 | PcodeInjectLibrary(Architecture *g,uintb tmpbase) { glb = g; tempbase = tmpbase; } ///< Constructor | ^~~~~~~~ | tmpbase /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:750:11: error: ‘int4’ does not name a type; did you mean ‘int’? 750 | virtual int4 beginReturnType(const Varnode *vn); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:751:30: error: ‘int4’ has not been declared 751 | virtual void endReturnType(int4 id); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:752:11: error: ‘int4’ does not name a type; did you mean ‘int’? 752 | virtual int4 beginVarDecl(const Symbol *sym); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:753:27: error: ‘int4’ has not been declared 753 | virtual void endVarDecl(int4 id); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:754:11: error: ‘int4’ does not name a type; did you mean ‘int’? 754 | virtual int4 beginStatement(const PcodeOp *op); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:755:29: error: ‘int4’ has not been declared 755 | virtual void endStatement(int4 id); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:595:61: error: ‘indentbump’ was not declared in this scope; did you mean ‘indent’? 595 | tagtype=line_t; delimtype=tokenbreak; numspaces=999999; indentbump=indent; } | ^~~~~~~~~~ | indent /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:756:11: error: ‘int4’ does not name a type; did you mean ‘int’? 756 | virtual int4 beginFuncProto(void); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:757:29: error: ‘int4’ has not been declared 757 | virtual void endFuncProto(int4 id); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1044:47: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 1044 | void OperandSymbol::collectLocalValues(vector &results) const | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1044:52: error: template argument 1 is invalid 1044 | void OperandSymbol::collectLocalValues(vector &results) const | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1044:52: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:764:80: error: ‘int4’ has not been declared 764 | virtual void tagField(const char *ptr,syntax_highlight hl,const Datatype *ct,int4 off); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:766:48: error: ‘uintb’ has not been declared 766 | const AddrSpace *spc,uintb off); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:768:46: error: ‘uintb’ has not been declared 768 | const AddrSpace *spc,uintb off); | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:20, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:31:3: error: ‘int4’ does not name a type; did you mean ‘int’? 31 | int4 word; ///< Index of word containing this context value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:770:11: error: ‘int4’ does not name a type; did you mean ‘int’? 770 | virtual int4 openParen(char o,int4 id=0); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:595:61: error: ‘indentbump’ was not declared in this scope; did you mean ‘indent’? 595 | tagtype=line_t; delimtype=tokenbreak; numspaces=999999; indentbump=indent; } | ^~~~~~~~~~ | indent /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:771:34: error: ‘int4’ has not been declared 771 | virtual void closeParen(char c,int4 id); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘virtual void OperandSymbol::saveXml(std::ostream&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1057:43: error: ‘class TripleSymbol’ has no member named ‘getId’ 1057 | s << " subsym=\"0x" << hex << triple->getId() << "\""; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:32:3: error: ‘int4’ does not name a type; did you mean ‘int’? 32 | int4 startbit; ///< Starting bit of the value within its word (0=most significant bit 1=least significant) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:772:11: error: ‘int4’ does not name a type; did you mean ‘int’? 772 | virtual int4 openGroup(void); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:773:27: error: ‘int4’ has not been declared 773 | virtual void closeGroup(int4 id); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:777:23: error: ‘int4’ has not been declared 777 | virtual void spaces(int4 num,int4 bump=0); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:777:32: error: ‘int4’ has not been declared 777 | virtual void spaces(int4 num,int4 bump=0); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::setSize(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:601:27: error: ‘size’ was not declared in this scope 601 | void setSize(int4 sz) { size = sz; } ///< Set the number of content characters | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void SectionSymbol::incrementDefineCount()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:123:37: error: ‘define_count’ was not declared in this scope 123 | void incrementDefineCount(void) { define_count += 1; } | ^~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:33:3: error: ‘int4’ does not name a type; did you mean ‘int’? 33 | int4 endbit; ///< Ending bit of the value within its word | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:778:11: error: ‘int4’ does not name a type; did you mean ‘int’? 778 | virtual int4 startIndent(void); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:779:27: error: ‘int4’ has not been declared 779 | virtual void stopIndent(int4 id); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:34:3: error: ‘int4’ does not name a type; did you mean ‘int’? 34 | int4 shift; ///< Right-shift amount to apply when unpacking this value from its word | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:619:3: error: ‘int4’ does not name a type; did you mean ‘int’? 619 | int4 left; ///< Index within the array of the leftmost object in the queue | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:780:11: error: ‘int4’ does not name a type; did you mean ‘int’? 780 | virtual int4 startComment(void); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:781:28: error: ‘int4’ has not been declared 781 | virtual void stopComment(int4 id); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:783:31: error: ‘int4’ has not been declared 783 | virtual void setMaxLineSize(int4 val); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:35:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 35 | uintm mask; ///< Mask to apply (after shifting) when unpacking this value from its word | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘void TokenSplit::setSize(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:601:27: error: ‘size’ was not declared in this scope 601 | void setSize(int4 sz) { size = sz; } ///< Set the number of content characters | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:38:23: error: expected ‘)’ before ‘sbit’ 38 | ContextBitRange(int4 sbit,int4 ebit); ///< Construct a context value given an absolute bit range | ~ ^~~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:620:3: error: ‘int4’ does not name a type; did you mean ‘int’? 620 | int4 right; ///< Index within the array of the rightmost object in the queue | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:784:11: error: ‘int4’ does not name a type; did you mean ‘int’? 784 | virtual int4 getMaxLineSize(void) const { return maxlinesize; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:39:3: error: ‘int4’ does not name a type; did you mean ‘int’? 39 | int4 getShift(void) const { return shift; } ///< Return the shift-amount for \b this value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:621:3: error: ‘int4’ does not name a type; did you mean ‘int’? 621 | int4 max; ///< Size of the array | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:619:3: error: ‘int4’ does not name a type; did you mean ‘int’? 619 | int4 left; ///< Index within the array of the leftmost object in the queue | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:623:21: error: expected ‘)’ before ‘sz’ 623 | circularqueue(int4 sz); ///< Construct queue of a given size | ~ ^~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:625:15: error: ‘int4’ has not been declared 625 | void setMax(int4 sz); ///< Establish a new maximum queue size | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:40:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 40 | uintm getMask(void) const { return mask; } ///< Return the mask for \b this value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:620:3: error: ‘int4’ does not name a type; did you mean ‘int’? 620 | int4 right; ///< Index within the array of the rightmost object in the queue | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:626:3: error: ‘int4’ does not name a type; did you mean ‘int’? 626 | int4 getMax(void) const { return max; } ///< Get the maximum queue size | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:627:15: error: ‘int4’ has not been declared 627 | void expand(int4 amount); ///< Expand the (maximum) size of the queue | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:41:3: error: ‘int4’ does not name a type; did you mean ‘int’? 41 | int4 getWord(void) const { return word; } ///< Return the word index for \b this value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:47:17: error: ‘uintm’ has not been declared 47 | void setValue(uintm *vec,uintm val) const { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:47:28: error: ‘uintm’ has not been declared 47 | void setValue(uintm *vec,uintm val) const { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:621:3: error: ‘int4’ does not name a type; did you mean ‘int’? 621 | int4 max; ///< Size of the array | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:623:21: error: expected ‘)’ before ‘sz’ 623 | circularqueue(int4 sz); ///< Construct queue of a given size | ~ ^~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:630:3: error: ‘int4’ does not name a type; did you mean ‘int’? 630 | int4 topref(void) const { return right; } ///< Get a reference to the last object on the queue/stack | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void SectionSymbol::incrementRefCount()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:124:34: error: ‘ref_count’ was not declared in this scope 124 | void incrementRefCount(void) { ref_count += 1; } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:625:15: error: ‘int4’ has not been declared 625 | void setMax(int4 sz); ///< Establish a new maximum queue size | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:93:3: error: ‘int4’ does not name a type; did you mean ‘int’? 93 | int4 stage; ///< Additional elements consumed from the RPN stack when emitting this token | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:58:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 58 | uintm getValue(const uintm *vec) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:631:3: error: ‘int4’ does not name a type; did you mean ‘int’? 631 | int4 bottomref(void) const { return left; } ///< Get a reference to the first object on the queue/stack | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:632:14: error: ‘int4’ has not been declared 632 | _type &ref(int4 r) { return cache[r]; } ///< Retrieve an object by its reference | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:626:3: error: ‘int4’ does not name a type; did you mean ‘int’? 626 | int4 getMax(void) const { return max; } ///< Get the maximum queue size | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:627:15: error: ‘int4’ has not been declared 627 | void expand(int4 amount); ///< Expand the (maximum) size of the queue | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:94:3: error: ‘int4’ does not name a type; did you mean ‘int’? 94 | int4 precedence; ///< Precedence level of this token (higher binds more tightly) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:132:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 132 | uint4 index; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:136:17: error: ‘uint4’ has not been declared 136 | void setIndex(uint4 ind) { index = ind; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘bool circularqueue<_type>::empty() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:629:53: error: invalid operands of types ‘std::ios_base& (*)(std::ios_base&)’ and ‘’ to binary ‘operator%’ 629 | bool empty(void) const { return (left == (right+1)%max); } ///< Is the queue empty | ~~~~~~~~~^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘_type& circularqueue<_type>::push()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:635:38: error: invalid operands of types ‘std::ios_base& (*)(std::ios_base&)’ and ‘’ to binary ‘operator%’ 635 | _type &push(void) { right=(right+1)%max; return cache[right]; } ///< Push a new object onto the queue/stack | ~~~~~~~~~^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1058:28: error: ‘reloffset’ was not declared in this scope 1058 | s << " off=\"" << dec << reloffset << "\""; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:97:3: error: ‘int4’ does not name a type; did you mean ‘int’? 97 | int4 spacing; ///< Spaces to print around operator | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:630:3: error: ‘int4’ does not name a type; did you mean ‘int’? 630 | int4 topref(void) const { return right; } ///< Get a reference to the last object on the queue/stack | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:137:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 137 | uint4 getIndex(void) const { return index; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:98:3: error: ‘int4’ does not name a type; did you mean ‘int’? 98 | int4 bump; ///< Spaces to indent if we break here | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:631:3: error: ‘int4’ does not name a type; did you mean ‘int’? 631 | int4 bottomref(void) const { return left; } ///< Get a reference to the first object on the queue/stack | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:632:14: error: ‘int4’ has not been declared 632 | _type &ref(int4 r) { return cache[r]; } ///< Retrieve an object by its reference | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘UserOpSymbol::UserOpSymbol(const string&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:135:63: error: overloaded function with no contextual type information 135 | UserOpSymbol(const string &nm) : SleighSymbol(nm) { index = 0; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void UserOpSymbol::setIndex(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:136:38: error: overloaded function with no contextual type information 136 | void setIndex(uint4 ind) { index = ind; } | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘bool circularqueue<_type>::empty() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:629:53: error: invalid operands of types ‘std::ios_base& (*)(std::ios_base&)’ and ‘’ to binary ‘operator%’ 629 | bool empty(void) const { return (left == (right+1)%max); } ///< Is the queue empty | ~~~~~~~~~^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: In member function ‘void ContextBitRange::setValue(int*, int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:48:5: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 48 | uintm newval = vec[word]; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘_type& circularqueue<_type>::push()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:635:38: error: invalid operands of types ‘std::ios_base& (*)(std::ios_base&)’ and ‘’ to binary ‘operator%’ 635 | _type &push(void) { right=(right+1)%max; return cache[right]; } ///< Push a new object onto the queue/stack | ~~~~~~~~~^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:175:5: error: ‘int4’ does not name a type; did you mean ‘int’? 175 | int4 visited; ///< The current stage of printing for the operator | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:153:11: error: ‘int4’ does not name a type; did you mean ‘int’? 153 | virtual int4 getSize(void) const { return 0; } // Size out of context | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘_type& circularqueue<_type>::pop()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:636:22: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 636 | _type &pop(void) { int4 tmp=right; right=(right+max-1)%max; return cache[tmp]; } ///< Pop the (last) object on the stack | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:178:5: error: ‘int4’ does not name a type; did you mean ‘int’? 178 | int4 id; ///< The id of the token group which \b this belongs to | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:636:50: error: invalid operands of types ‘std::ios_base&(std::ios_base&)’ and ‘’ to binary ‘operator+’ 636 | _type &pop(void) { int4 tmp=right; right=(right+max-1)%max; return cache[tmp]; } ///< Pop the (last) object on the stack | ~~~~~^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:179:13: error: ‘int4’ does not name a type; did you mean ‘int’? 179 | mutable int4 id2; ///< The id of the token group \b this surrounds (for surround operator tokens) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:189:5: error: ‘uint4’ does not name a type; did you mean ‘uint’? 189 | uint4 vnmod; ///< Printing modifications to enforce on the expression | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: In member function ‘_type& circularqueue<_type>::pop()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:636:22: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 636 | _type &pop(void) { int4 tmp=right; right=(right+max-1)%max; return cache[tmp]; } ///< Pop the (last) object on the stack | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:192:51: error: ‘uint4’ has not been declared 192 | NodePending(const Varnode *v,const PcodeOp *o,uint4 m) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:636:50: error: invalid operands of types ‘std::ios_base&(std::ios_base&)’ and ‘’ to binary ‘operator+’ 636 | _type &pop(void) { int4 tmp=right; right=(right+max-1)%max; return cache[tmp]; } ///< Pop the (last) object on the stack | ~~~~~^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:636:76: error: ‘tmp’ was not declared in this scope; did you mean ‘top’? 636 | _type &pop(void) { int4 tmp=right; right=(right+max-1)%max; return cache[tmp]; } ///< Pop the (last) object on the stack | ^~~ | top /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:155:42: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 155 | virtual void collectLocalValues(vector &results) const {} | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:155:47: error: template argument 1 is invalid 155 | virtual void collectLocalValues(vector &results) const {} | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:155:47: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:211:5: error: ‘int4’ does not name a type; did you mean ‘int’? 211 | int4 offset; ///< The offset (within the parent structure) for a \e field token | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:49:5: error: ‘newval’ was not declared in this scope 49 | newval &= ~(mask<::popbottom()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:637:28: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 637 | _type &popbottom(void) { int4 tmp=left; left=(left+1)%max; return cache[tmp]; } ///< Get the (next) object in the queue | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:637:56: error: invalid operands of types ‘std::ios_base& (*)(std::ios_base&)’ and ‘’ to binary ‘operator%’ 637 | _type &popbottom(void) { int4 tmp=left; left=(left+1)%max; return cache[tmp]; } ///< Get the (next) object in the queue | ~~~~~~~~^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:239:10: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 239 | vector modstack; ///< Printing modification stack | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:239:15: error: template argument 1 is invalid 239 | vector modstack; ///< Printing modification stack | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:239:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1059:22: error: ‘offsetbase’ was not declared in this scope; did you mean ‘offsetof’? 1059 | s << " base=\"" << offsetbase << "\""; | ^~~~~~~~~~ | offsetof /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:49:17: error: ‘mask’ was not declared in this scope 49 | newval &= ~(mask<::popbottom()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:637:28: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 637 | _type &popbottom(void) { int4 tmp=left; left=(left+1)%max; return cache[tmp]; } ///< Get the (next) object in the queue | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:637:56: error: invalid operands of types ‘std::ios_base& (*)(std::ios_base&)’ and ‘’ to binary ‘operator%’ 637 | _type &popbottom(void) { int4 tmp=left; left=(left+1)%max; return cache[tmp]; } ///< Get the (next) object in the queue | ~~~~~~~~^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:637:75: error: ‘tmp’ was not declared in this scope; did you mean ‘top’? 637 | _type &popbottom(void) { int4 tmp=left; left=(left+1)%max; return cache[tmp]; } ///< Get the (next) object in the queue | ^~~ | top /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:642:36: error: expected constructor, destructor, or type conversion before ‘(’ token 642 | circularqueue<_type>::circularqueue(int4 sz) | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:661:6: error: variable or field ‘setMax’ declared void 661 | void circularqueue<_type>::setMax(int4 sz) | ^~~~~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:637:75: error: ‘tmp’ was not declared in this scope; did you mean ‘top’? 637 | _type &popbottom(void) { int4 tmp=left; left=(left+1)%max; return cache[tmp]; } ///< Get the (next) object in the queue | ^~~ | top /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:642:36: error: expected constructor, destructor, or type conversion before ‘(’ token 642 | circularqueue<_type>::circularqueue(int4 sz) | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:661:6: error: variable or field ‘setMax’ declared void 661 | void circularqueue<_type>::setMax(int4 sz) | ^~~~~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:49:23: error: ‘shift’ was not declared in this scope 49 | newval &= ~(mask<::setMax(int4 sz) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:679:6: error: variable or field ‘expand’ declared void 679 | void circularqueue<_type>::expand(int4 amount) | ^~~~~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:215:10: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 215 | vector valuetable; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:215:14: error: template argument 1 is invalid 215 | vector valuetable; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:215:14: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:661:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 661 | void circularqueue<_type>::setMax(int4 sz) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:679:6: error: variable or field ‘expand’ declared void 679 | void circularqueue<_type>::expand(int4 amount) | ^~~~~~~~~~~~~~~~~~~~ [ 9%] Built target pugixml /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:679:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 679 | void circularqueue<_type>::expand(int4 amount) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:679:35: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 679 | void circularqueue<_type>::expand(int4 amount) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:51:9: error: ‘word’ was not declared in this scope 51 | vec[word] = newval; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:220:65: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 220 | ValueMapSymbol(const string &nm,PatternValue *pv,const vector &vt) : ValueSymbol(nm,pv) { valuetable=vt; checkTableFill(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:220:69: error: template argument 1 is invalid 220 | ValueMapSymbol(const string &nm,PatternValue *pv,const vector &vt) : ValueSymbol(nm,pv) { valuetable=vt; checkTableFill(); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:220:69: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:70:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 70 | uintb val; ///< The value of the register | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:719:10: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 719 | vector indentstack; ///< Space available for currently active nesting levels | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:719:14: error: template argument 1 is invalid 719 | vector indentstack; ///< Space available for currently active nesting levels | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:719:14: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:719:10: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 719 | vector indentstack; ///< Space available for currently active nesting levels | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:719:14: error: template argument 1 is invalid 719 | vector indentstack; ///< Space available for currently active nesting levels | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:719:14: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:720:3: error: ‘int4’ does not name a type; did you mean ‘int’? 720 | int4 spaceremain; ///< Space remaining in current line | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:250:50: error: ‘uintb’ has not been declared 250 | VarnodeSymbol(const string &nm,AddrSpace *base,uintb offset,int4 size); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:250:63: error: ‘int4’ has not been declared 250 | VarnodeSymbol(const string &nm,AddrSpace *base,uintb offset,int4 size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1060:24: error: ‘minimumlength’ was not declared in this scope 1060 | s << " minlen=\"" << minimumlength << "\""; | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:720:3: error: ‘int4’ does not name a type; did you mean ‘int’? 720 | int4 spaceremain; ///< Space remaining in current line | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:721:3: error: ‘int4’ does not name a type; did you mean ‘int’? 721 | int4 maxlinesize; ///< Maximum number of characters allowed in a line | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:721:3: error: ‘int4’ does not name a type; did you mean ‘int’? 721 | int4 maxlinesize; ///< Maximum number of characters allowed in a line | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:255:11: error: ‘int4’ does not name a type; did you mean ‘int’? 255 | virtual int4 getSize(void) const { return fix.size; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:722:3: error: ‘int4’ does not name a type; did you mean ‘int’? 722 | int4 leftotal; ///< # of characters committed from the current line | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 1 is invalid 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:722:3: error: ‘int4’ does not name a type; did you mean ‘int’? 722 | int4 leftotal; ///< # of characters committed from the current line | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:723:3: error: ‘int4’ does not name a type; did you mean ‘int’? 723 | int4 rightotal; ///< # of characters yet to be committed from the current line | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:723:3: error: ‘int4’ does not name a type; did you mean ‘int’? 723 | int4 rightotal; ///< # of characters yet to be committed from the current line | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:258:42: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 258 | virtual void collectLocalValues(vector &results) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:258:47: error: template argument 1 is invalid 258 | virtual void collectLocalValues(vector &results) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:258:47: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 1 is invalid 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:727:17: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 727 | circularqueue scanqueue; ///< References to current \e open and \e whitespace tokens | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:727:21: error: template argument 1 is invalid 727 | circularqueue scanqueue; ///< References to current \e open and \e whitespace tokens | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:727:17: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 727 | circularqueue scanqueue; ///< References to current \e open and \e whitespace tokens | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:727:21: error: template argument 1 is invalid 727 | circularqueue scanqueue; ///< References to current \e open and \e whitespace tokens | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1063:30: error: ‘hand’ was not declared in this scope; did you mean ‘rand’? 1063 | s << " index=\"" << dec << hand << "\">\n"; | ^~~~ | rand /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:267:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 267 | uint4 bitoffset; // least significant bit of range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:742:11: error: ‘int4’ does not name a type; did you mean ‘int’? 742 | virtual int4 beginDocument(void); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:743:28: error: ‘int4’ has not been declared 743 | virtual void endDocument(int4 id); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 1 is invalid 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:32: error: ‘vector’ is not a type 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:38: error: expected ‘,’ or ‘...’ before ‘<’ token 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:742:11: error: ‘int4’ does not name a type; did you mean ‘int’? 742 | virtual int4 beginDocument(void); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:743:28: error: ‘int4’ has not been declared 743 | virtual void endDocument(int4 id); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:268:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 268 | uint4 numbits; // number of bits in the range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:271:54: error: ‘uint4’ has not been declared 271 | BitrangeSymbol(const string &nm,VarnodeSymbol *sym,uint4 bitoff,uint4 num) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:271:67: error: ‘uint4’ has not been declared 271 | BitrangeSymbol(const string &nm,VarnodeSymbol *sym,uint4 bitoff,uint4 num) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:744:11: error: ‘int4’ does not name a type; did you mean ‘int’? 744 | virtual int4 beginFunction(const Funcdata *fd); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:745:28: error: ‘int4’ has not been declared 745 | virtual void endFunction(int4 id); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:243:3: error: ‘int4’ does not name a type; did you mean ‘int’? 243 | int4 pending; ///< Number of data-flow nodes waiting to be pushed | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:746:11: error: ‘int4’ does not name a type; did you mean ‘int’? 746 | virtual int4 beginBlock(const FlowBlock *bl); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:274:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 274 | uint4 getBitOffset(void) const { return bitoffset; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:747:25: error: ‘int4’ has not been declared 747 | virtual void endBlock(int4 id); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:749:24: error: ‘int4’ has not been declared 749 | virtual void tagLine(int4 indent); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:744:11: error: ‘int4’ does not name a type; did you mean ‘int’? 744 | virtual int4 beginFunction(const Funcdata *fd); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:745:28: error: ‘int4’ has not been declared 745 | virtual void endFunction(int4 id); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:244:3: error: ‘int4’ does not name a type; did you mean ‘int’? 244 | int4 line_commentindent; ///< Number of characters a comment line should be indented | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:750:11: error: ‘int4’ does not name a type; did you mean ‘int’? 750 | virtual int4 beginReturnType(const Varnode *vn); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:275:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 275 | uint4 numBits(void) const { return numbits; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:751:30: error: ‘int4’ has not been declared 751 | virtual void endReturnType(int4 id); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:752:11: error: ‘int4’ does not name a type; did you mean ‘int’? 752 | virtual int4 beginVarDecl(const Symbol *sym); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:753:27: error: ‘int4’ has not been declared 753 | virtual void endVarDecl(int4 id); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 1 is invalid 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:252:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 252 | uint4 mods; ///< Currently active printing modifications | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:746:11: error: ‘int4’ does not name a type; did you mean ‘int’? 746 | virtual int4 beginBlock(const FlowBlock *bl); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:747:25: error: ‘int4’ has not been declared 747 | virtual void endBlock(int4 id); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:754:11: error: ‘int4’ does not name a type; did you mean ‘int’? 754 | virtual int4 beginStatement(const PcodeOp *op); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:755:29: error: ‘int4’ has not been declared 755 | virtual void endStatement(int4 id); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:749:24: error: ‘int4’ has not been declared 749 | virtual void tagLine(int4 indent); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:253:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 253 | uint4 instr_comment_type; ///< Type of instruction comments to display | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:756:11: error: ‘int4’ does not name a type; did you mean ‘int’? 756 | virtual int4 beginFuncProto(void); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:757:29: error: ‘int4’ has not been declared 757 | virtual void endFuncProto(int4 id); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:254:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 254 | uint4 head_comment_type; ///< Type of header comments to display | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:261:14: error: ‘uint4’ has not been declared 261 | bool isSet(uint4 m) const { return ((mods & m)!=0); } ///< Is the given printing modification active | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:764:80: error: ‘int4’ has not been declared 764 | virtual void tagField(const char *ptr,syntax_highlight hl,const Datatype *ct,int4 off); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:750:11: error: ‘int4’ does not name a type; did you mean ‘int’? 750 | virtual int4 beginReturnType(const Varnode *vn); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:751:30: error: ‘int4’ has not been declared 751 | virtual void endReturnType(int4 id); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:766:48: error: ‘uintb’ has not been declared 766 | const AddrSpace *spc,uintb off); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:768:46: error: ‘uintb’ has not been declared 768 | const AddrSpace *spc,uintb off); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:266:15: error: ‘uint4’ has not been declared 266 | void setMod(uint4 m) { mods |= m; } ///< Activate the given printing modification | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:267:17: error: ‘uint4’ has not been declared 267 | void unsetMod(uint4 m) { mods &= ~m; } ///< Deactivate the given printing modification | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:270:58: error: ‘uint4’ has not been declared 270 | void pushVnImplied(const Varnode *vn,const PcodeOp *op,uint4 m); ///< Push an implied variable onto the RPN stack | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘virtual void OperandSymbol::restoreXml(const Element*, SleighBase*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1083:3: error: ‘flags’ was not declared in this scope 1083 | flags = 0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:277:34: error: ‘int4’ has not been declared 277 | static bool unicodeNeedsEscape(int4 codepoint); ///< Determine if the given codepoint needs to be escaped | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:770:11: error: ‘int4’ does not name a type; did you mean ‘int’? 770 | virtual int4 openParen(char o,int4 id=0); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:771:34: error: ‘int4’ has not been declared 771 | virtual void closeParen(char c,int4 id); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:752:11: error: ‘int4’ does not name a type; did you mean ‘int’? 752 | virtual int4 beginVarDecl(const Symbol *sym); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 1 is invalid 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:753:27: error: ‘int4’ has not been declared 753 | virtual void endVarDecl(int4 id); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:278:45: error: ‘uint1’ does not name a type; did you mean ‘uint’? 278 | bool escapeCharacterData(ostream &s,const uint1 *buf,int4 count,int4 charsize,bool bigend) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:278:56: error: ‘int4’ has not been declared 278 | bool escapeCharacterData(ostream &s,const uint1 *buf,int4 count,int4 charsize,bool bigend) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:278:67: error: ‘int4’ has not been declared 278 | bool escapeCharacterData(ostream &s,const uint1 *buf,int4 count,int4 charsize,bool bigend) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:772:11: error: ‘int4’ does not name a type; did you mean ‘int’? 772 | virtual int4 openGroup(void); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:773:27: error: ‘int4’ has not been declared 773 | virtual void closeGroup(int4 id); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:777:23: error: ‘int4’ has not been declared 777 | virtual void spaces(int4 num,int4 bump=0); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:777:32: error: ‘int4’ has not been declared 777 | virtual void spaces(int4 num,int4 bump=0); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:754:11: error: ‘int4’ does not name a type; did you mean ‘int’? 754 | virtual int4 beginStatement(const PcodeOp *op); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:755:29: error: ‘int4’ has not been declared 755 | virtual void endStatement(int4 id); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:282:3: error: ‘int4’ does not name a type; did you mean ‘int’? 282 | int4 getPending(void) const { return pending; } ///< Get the number of pending nodes yet to be put on the RPN stack | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘BitrangeSymbol::BitrangeSymbol(const string&, VarnodeSymbol*, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:272:38: error: ‘bitoffset’ was not declared in this scope; did you mean ‘bitoff’? 272 | : SleighSymbol(nm) { varsym=sym; bitoffset=bitoff; numbits=num; } | ^~~~~~~~~ | bitoff /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:291:40: error: ‘int4’ has not been declared 291 | virtual void printUnicode(ostream &s,int4 onechar) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:306:29: error: ‘uintb’ has not been declared 306 | virtual void pushConstant(uintb val,const Datatype *ct, | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:778:11: error: ‘int4’ does not name a type; did you mean ‘int’? 778 | virtual int4 startIndent(void); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:317:27: error: ‘uintb’ has not been declared 317 | virtual bool pushEquate(uintb val,int4 sz,const EquateSymbol *sym,const Varnode *vn,const PcodeOp *op)=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:779:27: error: ‘int4’ has not been declared 779 | virtual void stopIndent(int4 id); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:317:37: error: ‘int4’ has not been declared 317 | virtual bool pushEquate(uintb val,int4 sz,const EquateSymbol *sym,const Varnode *vn,const PcodeOp *op)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:756:11: error: ‘int4’ does not name a type; did you mean ‘int’? 756 | virtual int4 beginFuncProto(void); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:757:29: error: ‘int4’ has not been declared 757 | virtual void endFuncProto(int4 id); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:353:52: error: ‘int4’ has not been declared 353 | virtual void pushPartialSymbol(const Symbol *sym,int4 off,int4 sz, | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:353:61: error: ‘int4’ has not been declared 353 | virtual void pushPartialSymbol(const Symbol *sym,int4 off,int4 sz, | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:365:53: error: ‘int4’ has not been declared 365 | virtual void pushMismatchSymbol(const Symbol *sym,int4 off,int4 sz, | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:365:62: error: ‘int4’ has not been declared 365 | virtual void pushMismatchSymbol(const Symbol *sym,int4 off,int4 sz, | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:764:80: error: ‘int4’ has not been declared 764 | virtual void tagField(const char *ptr,syntax_highlight hl,const Datatype *ct,int4 off); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:368:32: error: ‘int4’ has not been declared 368 | virtual void emitLineComment(int4 indent,const Comment *comm); ///< Emit a comment line | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:766:48: error: ‘uintb’ has not been declared 766 | const AddrSpace *spc,uintb off); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:768:46: error: ‘uintb’ has not been declared 768 | const AddrSpace *spc,uintb off); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:387:53: error: ‘int4’ has not been declared 387 | virtual bool emitScopeVarDecls(const Scope *scope,int4 cat)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:780:11: error: ‘int4’ does not name a type; did you mean ‘int’? 780 | virtual int4 startComment(void); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:781:28: error: ‘int4’ has not been declared 781 | virtual void stopComment(int4 id); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:783:31: error: ‘int4’ has not been declared 783 | virtual void setMaxLineSize(int4 val); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:416:23: error: ‘int4’ has not been declared 416 | void setMaxLineSize(int4 mls) { emit->setMaxLineSize(mls); } ///< Set the maximum number of characters per line | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:417:27: error: ‘int4’ has not been declared 417 | void setIndentIncrement(int4 inc) { emit->setIndentIncrement(inc); } ///< Set the number of characters to indent per level of code nesting | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:418:29: error: ‘int4’ has not been declared 418 | void setLineCommentIndent(int4 val); ///< Set the number of characters to indent comment lines | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 1 is invalid 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:39: error: ‘vector’ is not a type 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:45: error: expected ‘,’ or ‘...’ before ‘<’ token 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:770:11: error: ‘int4’ does not name a type; did you mean ‘int’? 770 | virtual int4 openParen(char o,int4 id=0); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:771:34: error: ‘int4’ has not been declared 771 | virtual void closeParen(char c,int4 id); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:784:11: error: ‘int4’ does not name a type; did you mean ‘int’? 784 | virtual int4 getMaxLineSize(void) const { return maxlinesize; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:421:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 421 | uint4 getInstructionComment(void) const { return instr_comment_type; } ///< Get the type of comments suitable within the body of a function | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:422:30: error: ‘uint4’ has not been declared 422 | void setInstructionComment(uint4 val) { instr_comment_type = val; } ///< Set the type of comments suitable within the body of a function | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:772:11: error: ‘int4’ does not name a type; did you mean ‘int’? 772 | virtual int4 openGroup(void); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:773:27: error: ‘int4’ has not been declared 773 | virtual void closeGroup(int4 id); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1087:10: error: ‘hand’ was not declared in this scope; did you mean ‘rand’? 1087 | s >> hand; | ^~~~ | rand /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:158:11: error: ‘uintm’ does not name a type; did you mean ‘uint’? 158 | virtual uintm *getDefaultValue(void)=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:777:23: error: ‘int4’ has not been declared 777 | virtual void spaces(int4 num,int4 bump=0); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:777:32: error: ‘int4’ has not been declared 777 | virtual void spaces(int4 num,int4 bump=0); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:424:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 424 | uint4 getHeaderComment(void) const { return head_comment_type; } ///< Get the type of comments suitable for a function header | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:425:25: error: ‘uint4’ has not been declared 425 | void setHeaderComment(uint4 val) { head_comment_type = val; } ///< Set the type of comments suitable for a function header | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:778:11: error: ‘int4’ does not name a type; did you mean ‘int’? 778 | virtual int4 startIndent(void); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:165:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 165 | virtual const uintm *getDefaultValue(void) const=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:779:27: error: ‘int4’ has not been declared 779 | virtual void stopIndent(int4 id); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:272:56: error: ‘numbits’ was not declared in this scope 272 | : SleighSymbol(nm) { varsym=sym; bitoffset=bitoff; numbits=num; } | ^~~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:93:3: error: ‘int4’ does not name a type; did you mean ‘int’? 93 | int4 stage; ///< Additional elements consumed from the RPN stack when emitting this token | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:780:11: error: ‘int4’ does not name a type; did you mean ‘int’? 780 | virtual int4 startComment(void); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:781:28: error: ‘int4’ has not been declared 781 | virtual void stopComment(int4 id); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:783:31: error: ‘int4’ has not been declared 783 | virtual void setMaxLineSize(int4 val); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:172:11: error: ‘int4’ does not name a type; did you mean ‘int’? 172 | virtual int4 getContextSize(void) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:183:50: error: ‘int4’ has not been declared 183 | virtual void registerVariable(const string &nm,int4 sbit,int4 ebit)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:183:60: error: ‘int4’ has not been declared 183 | virtual void registerVariable(const string &nm,int4 sbit,int4 ebit)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:94:3: error: ‘int4’ does not name a type; did you mean ‘int’? 94 | int4 precedence; ///< Precedence level of this token (higher binds more tightly) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prettyprint.hh:784:11: error: ‘int4’ does not name a type; did you mean ‘int’? 784 | virtual int4 getMaxLineSize(void) const { return maxlinesize; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:281:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 281 | uint4 low,high; // into a varnode | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:189:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 189 | virtual const uintm *getContext(const Address &addr) const=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:285:70: error: ‘uint4’ has not been declared 285 | ContextSymbol(const string &nm,ContextField *pate,VarnodeSymbol *v,uint4 l,uint4 h,bool flow); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:285:78: error: ‘uint4’ has not been declared 285 | ContextSymbol(const string &nm,ContextField *pate,VarnodeSymbol *v,uint4 l,uint4 h,bool flow); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:97:3: error: ‘int4’ does not name a type; did you mean ‘int’? 97 | int4 spacing; ///< Spaces to print around operator | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:199:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 199 | virtual const uintm *getContext(const Address &addr,uintb &first,uintb &last) const=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:545:10: error: ‘int4’ does not name a type; did you mean ‘int’? 545 | static int4 mostNaturalBase(uintb val); ///< Determine the most natural base for an integer | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:98:3: error: ‘int4’ does not name a type; did you mean ‘int’? 98 | int4 bump; ///< Spaces to indent if we break here | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:546:39: error: ‘uintb’ has not been declared 546 | static void formatBinary(ostream &s,uintb val); ///< Print a number in binary form | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:287:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 287 | uint4 getLow(void) const { return low; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:240:44: error: ‘uintm’ has not been declared 240 | void setVariableDefault(const string &nm,uintm val); ///< Provide a default value for a context variable | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:175:5: error: ‘int4’ does not name a type; did you mean ‘int’? 175 | int4 visited; ///< The current stage of printing for the operator | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:288:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 288 | uint4 getHigh(void) const { return high; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:241:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 241 | uintm getDefaultValue(const string &nm) const; ///< Retrieve the default value for a context variable | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:242:57: error: ‘uintm’ has not been declared 242 | void setVariable(const string &nm,const Address &addr,uintm value); ///< Set a context value at the given address | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:93:3: error: ‘int4’ does not name a type; did you mean ‘int’? 93 | int4 stage; ///< Additional elements consumed from the RPN stack when emitting this token | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:178:5: error: ‘int4’ does not name a type; did you mean ‘int’? 178 | int4 id; ///< The id of the token group which \b this belongs to | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:243:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 243 | uintm getVariable(const string &nm,const Address &addr) const; ///< Retrieve a context value at the given address | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:244:50: error: ‘int4’ has not been declared 244 | void setContextChangePoint(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:244:59: error: ‘uintm’ has not been declared 244 | void setContextChangePoint(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:244:70: error: ‘uintm’ has not been declared 244 | void setContextChangePoint(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:245:67: error: ‘int4’ has not been declared 245 | void setContextRegion(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:245:76: error: ‘uintm’ has not been declared 245 | void setContextRegion(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:245:87: error: ‘uintm’ has not been declared 245 | void setContextRegion(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:179:13: error: ‘int4’ does not name a type; did you mean ‘int’? 179 | mutable int4 id2; ///< The id of the token group \b this surrounds (for surround operator tokens) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:247:47: error: ‘uintm’ has not been declared 247 | const Address &endad,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:94:3: error: ‘int4’ does not name a type; did you mean ‘int’? 94 | int4 precedence; ///< Precedence level of this token (higher binds more tightly) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:189:5: error: ‘uint4’ does not name a type; did you mean ‘uint’? 189 | uint4 vnmod; ///< Printing modifications to enforce on the expression | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:192:51: error: ‘uint4’ has not been declared 192 | NodePending(const Varnode *v,const PcodeOp *o,uint4 m) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:248:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 248 | uintb getTrackedValue(const VarnodeData &mem,const Address &point) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:97:3: error: ‘int4’ does not name a type; did you mean ‘int’? 97 | int4 spacing; ///< Spaces to print around operator | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1092:10: error: ‘reloffset’ was not declared in this scope 1092 | s >> reloffset; | ^~~~~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh: In constructor ‘PrintLanguage::NodePending::NodePending(const Varnode*, const PcodeOp*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:193:23: error: ‘vnmod’ was not declared in this scope 193 | vn = v; op = o; vnmod = m; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:211:5: error: ‘int4’ does not name a type; did you mean ‘int’? 211 | int4 offset; ///< The offset (within the parent structure) for a \e field token | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:222:84: error: ‘int4’ has not been declared 222 | Atom(const string &nm,tagtype t,EmitXml::syntax_highlight hl,const Datatype *c,int4 off) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:98:3: error: ‘int4’ does not name a type; did you mean ‘int’? 98 | int4 bump; ///< Spaces to indent if we break here | ^~~~ | int make[2]: *** [ghidra/CMakeFiles/ghidra_decompiler_sleigh.dir/build.make:174: ghidra/CMakeFiles/ghidra_decompiler_sleigh.dir/__/ghidra-native/src/decompiler/sleighbase.cc.o] Error 1 /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:264:5: error: ‘uintm’ does not name a type; did you mean ‘uint’? 264 | uintm *array; ///< The "array of words" holding context variable values | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:175:5: error: ‘int4’ does not name a type; did you mean ‘int’? 175 | int4 visited; ///< The current stage of printing for the operator | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:265:5: error: ‘uintm’ does not name a type; did you mean ‘uint’? 265 | uintm *mask; ///< The mask array indicating which variables are explicitly set | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:178:5: error: ‘int4’ does not name a type; did you mean ‘int’? 178 | int4 id; ///< The id of the token group which \b this belongs to | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:266:5: error: ‘int4’ does not name a type; did you mean ‘int’? 266 | int4 size; ///< The number of words in the array | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:269:16: error: ‘int4’ has not been declared 269 | void reset(int4 sz); ///< Resize the context blob, preserving old values | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:239:10: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 239 | vector modstack; ///< Printing modification stack | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:239:15: error: template argument 1 is invalid 239 | vector modstack; ///< Printing modification stack | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:239:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:179:13: error: ‘int4’ does not name a type; did you mean ‘int’? 179 | mutable int4 id2; ///< The id of the token group \b this surrounds (for surround operator tokens) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:273:3: error: ‘int4’ does not name a type; did you mean ‘int’? 273 | int4 size; ///< Number of words in a context blob (for this architecture) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:305:11: error: ‘int4’ does not name a type; did you mean ‘int’? 305 | virtual int4 getSize(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh: In constructor ‘PrintLanguage::Atom::Atom(const string&, PrintLanguage::tagtype, EmitXml::syntax_highlight, const Datatype*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:223:65: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 223 | : name(nm) { type = t; highlight = hl; ptr_second.ct = c; offset = off; } | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:189:5: error: ‘uint4’ does not name a type; did you mean ‘uint’? 189 | uint4 vnmod; ///< Printing modifications to enforce on the expression | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:192:51: error: ‘uint4’ has not been declared 192 | NodePending(const Varnode *v,const PcodeOp *o,uint4 m) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:211:5: error: ‘int4’ does not name a type; did you mean ‘int’? 211 | int4 offset; ///< The offset (within the parent structure) for a \e field token | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:222:84: error: ‘int4’ has not been declared 222 | Atom(const string &nm,tagtype t,EmitXml::syntax_highlight hl,const Datatype *c,int4 off) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:319:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 319 | uint4 reloffset; // Relative offset | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1097:10: error: ‘offsetbase’ was not declared in this scope; did you mean ‘offsetof’? 1097 | s >> offsetbase; | ^~~~~~~~~~ | offsetof In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh: In member function ‘bool PrintLanguage::isSet(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:261:40: error: ‘mods’ was not declared in this scope 261 | bool isSet(uint4 m) const { return ((mods & m)!=0); } ///< Is the given printing modification active | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:320:3: error: ‘int4’ does not name a type; did you mean ‘int’? 320 | int4 offsetbase; // Base operand to which offset is relative (-1=constructor start) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh: In member function ‘void PrintLanguage::pushMod()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:264:33: error: request for member ‘push_back’ in ‘((PrintLanguage*)this)->PrintLanguage::modstack’, which is of non-class type ‘int’ 264 | void pushMod(void) { modstack.push_back(mods); } ///< Push current printing modifications to the stack | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:239:10: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 239 | vector modstack; ///< Printing modification stack | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:239:15: error: template argument 1 is invalid 239 | vector modstack; ///< Printing modification stack | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:239:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:321:3: error: ‘int4’ does not name a type; did you mean ‘int’? 321 | int4 minimumlength; // Minimum size of operand (within instruction tokens) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:322:3: error: ‘int4’ does not name a type; did you mean ‘int’? 322 | int4 hand; // Handle index | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:326:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 326 | uint4 flags; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:331:34: error: ‘int4’ has not been declared 331 | OperandSymbol(const string &nm,int4 index,Constructor *ct); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:264:43: error: ‘mods’ was not declared in this scope 264 | void pushMod(void) { modstack.push_back(mods); } ///< Push current printing modifications to the stack | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:332:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 332 | uint4 getRelativeOffset(void) const { return reloffset; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:333:3: error: ‘int4’ does not name a type; did you mean ‘int’? 333 | int4 getOffsetBase(void) const { return offsetbase; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:334:3: error: ‘int4’ does not name a type; did you mean ‘int’? 334 | int4 getMinimumLength(void) const { return minimumlength; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:337:3: error: ‘int4’ does not name a type; did you mean ‘int’? 337 | int4 getIndex(void) const { return hand; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:351:11: error: ‘int4’ does not name a type; did you mean ‘int’? 351 | virtual int4 getSize(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh: In member function ‘void PrintLanguage::popMod()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:265:23: error: ‘mods’ was not declared in this scope 265 | void popMod(void) { mods = modstack.back(); modstack.pop_back(); } ///< Pop to the previous printing modifications | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:265:39: error: request for member ‘back’ in ‘((PrintLanguage*)this)->PrintLanguage::modstack’, which is of non-class type ‘int’ 265 | void popMod(void) { mods = modstack.back(); modstack.pop_back(); } ///< Pop to the previous printing modifications | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:265:56: error: request for member ‘pop_back’ in ‘((PrintLanguage*)this)->PrintLanguage::modstack’, which is of non-class type ‘int’ 265 | void popMod(void) { mods = modstack.back(); modstack.pop_back(); } ///< Pop to the previous printing modifications | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1102:10: error: ‘minimumlength’ was not declared in this scope 1102 | s >> minimumlength; | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:353:42: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 353 | virtual void collectLocalValues(vector &results) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:353:47: error: template argument 1 is invalid 353 | virtual void collectLocalValues(vector &results) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:353:47: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh: In member function ‘void PrintLanguage::setMod(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:266:26: error: ‘mods’ was not declared in this scope 266 | void setMod(uint4 m) { mods |= m; } ///< Activate the given printing modification | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:243:3: error: ‘int4’ does not name a type; did you mean ‘int’? 243 | int4 pending; ///< Number of data-flow nodes waiting to be pushed | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:244:3: error: ‘int4’ does not name a type; did you mean ‘int’? 244 | int4 line_commentindent; ///< Number of characters a comment line should be indented | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void OperandSymbol::setVariableLength()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:327:34: error: ‘flags’ was not declared in this scope 327 | void setVariableLength(void) { flags |= variable_len; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1104:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 1104 | for(int4 i=0;igetNumAttributes();++i) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:252:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 252 | uint4 mods; ///< Currently active printing modifications | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh: In member function ‘void PrintLanguage::unsetMod(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:267:28: error: ‘mods’ was not declared in this scope 267 | void unsetMod(uint4 m) { mods &= ~m; } ///< Deactivate the given printing modification | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:253:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 253 | uint4 instr_comment_type; ///< Type of instruction comments to display | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:254:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 254 | uint4 head_comment_type; ///< Type of header comments to display | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:261:14: error: ‘uint4’ has not been declared 261 | bool isSet(uint4 m) const { return ((mods & m)!=0); } ///< Is the given printing modification active | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:266:15: error: ‘uint4’ has not been declared 266 | void setMod(uint4 m) { mods |= m; } ///< Activate the given printing modification | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:267:17: error: ‘uint4’ has not been declared 267 | void unsetMod(uint4 m) { mods &= ~m; } ///< Deactivate the given printing modification | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:270:58: error: ‘uint4’ has not been declared 270 | void pushVnImplied(const Varnode *vn,const PcodeOp *op,uint4 m); ///< Push an implied variable onto the RPN stack | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:277:34: error: ‘int4’ has not been declared 277 | static bool unicodeNeedsEscape(int4 codepoint); ///< Determine if the given codepoint needs to be escaped | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘bool OperandSymbol::isVariableLength() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:328:48: error: ‘flags’ was not declared in this scope 328 | bool isVariableLength(void) const { return ((flags&variable_len)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:278:45: error: ‘uint1’ does not name a type; did you mean ‘uint’? 278 | bool escapeCharacterData(ostream &s,const uint1 *buf,int4 count,int4 charsize,bool bigend) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:278:56: error: ‘int4’ has not been declared 278 | bool escapeCharacterData(ostream &s,const uint1 *buf,int4 count,int4 charsize,bool bigend) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:278:67: error: ‘int4’ has not been declared 278 | bool escapeCharacterData(ostream &s,const uint1 *buf,int4 count,int4 charsize,bool bigend) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1104:16: error: ‘i’ was not declared in this scope 1104 | for(int4 i=0;igetNumAttributes();++i) { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1104:22: error: ‘const class Element’ has no member named ‘getNumAttributes’ 1104 | for(int4 i=0;igetNumAttributes();++i) { | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:243:3: error: ‘int4’ does not name a type; did you mean ‘int’? 243 | int4 pending; ///< Number of data-flow nodes waiting to be pushed | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:282:3: error: ‘int4’ does not name a type; did you mean ‘int’? 282 | int4 getPending(void) const { return pending; } ///< Get the number of pending nodes yet to be put on the RPN stack | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:291:40: error: ‘int4’ has not been declared 291 | virtual void printUnicode(ostream &s,int4 onechar) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:306:29: error: ‘uintb’ has not been declared 306 | virtual void pushConstant(uintb val,const Datatype *ct, | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:317:27: error: ‘uintb’ has not been declared 317 | virtual bool pushEquate(uintb val,int4 sz,const EquateSymbol *sym,const Varnode *vn,const PcodeOp *op)=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:317:37: error: ‘int4’ has not been declared 317 | virtual bool pushEquate(uintb val,int4 sz,const EquateSymbol *sym,const Varnode *vn,const PcodeOp *op)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:244:3: error: ‘int4’ does not name a type; did you mean ‘int’? 244 | int4 line_commentindent; ///< Number of characters a comment line should be indented | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:353:52: error: ‘int4’ has not been declared 353 | virtual void pushPartialSymbol(const Symbol *sym,int4 off,int4 sz, | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:353:61: error: ‘int4’ has not been declared 353 | virtual void pushPartialSymbol(const Symbol *sym,int4 off,int4 sz, | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:365:53: error: ‘int4’ has not been declared 365 | virtual void pushMismatchSymbol(const Symbol *sym,int4 off,int4 sz, | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:365:62: error: ‘int4’ has not been declared 365 | virtual void pushMismatchSymbol(const Symbol *sym,int4 off,int4 sz, | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:368:32: error: ‘int4’ has not been declared 368 | virtual void emitLineComment(int4 indent,const Comment *comm); ///< Emit a comment line | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:387:53: error: ‘int4’ has not been declared 387 | virtual bool emitScopeVarDecls(const Scope *scope,int4 cat)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:416:23: error: ‘int4’ has not been declared 416 | void setMaxLineSize(int4 mls) { emit->setMaxLineSize(mls); } ///< Set the maximum number of characters per line | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:417:27: error: ‘int4’ has not been declared 417 | void setIndentIncrement(int4 inc) { emit->setIndentIncrement(inc); } ///< Set the number of characters to indent per level of code nesting | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:252:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 252 | uint4 mods; ///< Currently active printing modifications | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:418:29: error: ‘int4’ has not been declared 418 | void setLineCommentIndent(int4 val); ///< Set the number of characters to indent comment lines | ^~~~ make[2]: *** [ghidra/CMakeFiles/ghidra_decompiler_sleigh.dir/build.make:230: ghidra/CMakeFiles/ghidra_decompiler_sleigh.dir/__/ghidra-native/src/decompiler/pcodeparse.cc.o] Error 1 /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:253:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 253 | uint4 instr_comment_type; ///< Type of instruction comments to display | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:421:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 421 | uint4 getInstructionComment(void) const { return instr_comment_type; } ///< Get the type of comments suitable within the body of a function | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void OperandSymbol::setCodeAddress()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:340:31: error: ‘flags’ was not declared in this scope 340 | void setCodeAddress(void) { flags |= code_address; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:422:30: error: ‘uint4’ has not been declared 422 | void setInstructionComment(uint4 val) { instr_comment_type = val; } ///< Set the type of comments suitable within the body of a function | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:254:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 254 | uint4 head_comment_type; ///< Type of header comments to display | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:261:14: error: ‘uint4’ has not been declared 261 | bool isSet(uint4 m) const { return ((mods & m)!=0); } ///< Is the given printing modification active | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:424:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 424 | uint4 getHeaderComment(void) const { return head_comment_type; } ///< Get the type of comments suitable for a function header | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:266:15: error: ‘uint4’ has not been declared 266 | void setMod(uint4 m) { mods |= m; } ///< Activate the given printing modification | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:425:25: error: ‘uint4’ has not been declared 425 | void setHeaderComment(uint4 val) { head_comment_type = val; } ///< Set the type of comments suitable for a function header | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:267:17: error: ‘uint4’ has not been declared 267 | void unsetMod(uint4 m) { mods &= ~m; } ///< Deactivate the given printing modification | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:270:58: error: ‘uint4’ has not been declared 270 | void pushVnImplied(const Varnode *vn,const PcodeOp *op,uint4 m); ///< Push an implied variable onto the RPN stack | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:277:34: error: ‘int4’ has not been declared 277 | static bool unicodeNeedsEscape(int4 codepoint); ///< Determine if the given codepoint needs to be escaped | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1106:7: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 1106 | uintm id; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh: In member function ‘void PrintLanguage::setInstructionComment(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:422:43: error: ‘instr_comment_type’ was not declared in this scope 422 | void setInstructionComment(uint4 val) { instr_comment_type = val; } ///< Set the type of comments suitable within the body of a function | ^~~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:278:45: error: ‘uint1’ does not name a type; did you mean ‘uint’? 278 | bool escapeCharacterData(ostream &s,const uint1 *buf,int4 count,int4 charsize,bool bigend) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:278:56: error: ‘int4’ has not been declared 278 | bool escapeCharacterData(ostream &s,const uint1 *buf,int4 count,int4 charsize,bool bigend) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:278:67: error: ‘int4’ has not been declared 278 | bool escapeCharacterData(ostream &s,const uint1 *buf,int4 count,int4 charsize,bool bigend) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘bool OperandSymbol::isCodeAddress() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:341:45: error: ‘flags’ was not declared in this scope 341 | bool isCodeAddress(void) const { return ((flags&code_address)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:282:3: error: ‘int4’ does not name a type; did you mean ‘int’? 282 | int4 getPending(void) const { return pending; } ///< Get the number of pending nodes yet to be put on the RPN stack | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:291:40: error: ‘int4’ has not been declared 291 | virtual void printUnicode(ostream &s,int4 onechar) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:306:29: error: ‘uintb’ has not been declared 306 | virtual void pushConstant(uintb val,const Datatype *ct, | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:317:27: error: ‘uintb’ has not been declared 317 | virtual bool pushEquate(uintb val,int4 sz,const EquateSymbol *sym,const Varnode *vn,const PcodeOp *op)=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:317:37: error: ‘int4’ has not been declared 317 | virtual bool pushEquate(uintb val,int4 sz,const EquateSymbol *sym,const Varnode *vn,const PcodeOp *op)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:353:52: error: ‘int4’ has not been declared 353 | virtual void pushPartialSymbol(const Symbol *sym,int4 off,int4 sz, | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:353:61: error: ‘int4’ has not been declared 353 | virtual void pushPartialSymbol(const Symbol *sym,int4 off,int4 sz, | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:365:53: error: ‘int4’ has not been declared 365 | virtual void pushMismatchSymbol(const Symbol *sym,int4 off,int4 sz, | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:365:62: error: ‘int4’ has not been declared 365 | virtual void pushMismatchSymbol(const Symbol *sym,int4 off,int4 sz, | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:368:32: error: ‘int4’ has not been declared 368 | virtual void emitLineComment(int4 indent,const Comment *comm); ///< Emit a comment line | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:545:10: error: ‘int4’ does not name a type; did you mean ‘int’? 545 | static int4 mostNaturalBase(uintb val); ///< Determine the most natural base for an integer | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:546:39: error: ‘uintb’ has not been declared 546 | static void formatBinary(ostream &s,uintb val); ///< Print a number in binary form | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:387:53: error: ‘int4’ has not been declared 387 | virtual bool emitScopeVarDecls(const Scope *scope,int4 cat)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:416:23: error: ‘int4’ has not been declared 416 | void setMaxLineSize(int4 mls) { emit->setMaxLineSize(mls); } ///< Set the maximum number of characters per line | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:417:27: error: ‘int4’ has not been declared 417 | void setIndentIncrement(int4 inc) { emit->setIndentIncrement(inc); } ///< Set the number of characters to indent per level of code nesting | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:418:29: error: ‘int4’ has not been declared 418 | void setLineCommentIndent(int4 val); ///< Set the number of characters to indent comment lines | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1109:12: error: ‘id’ was not declared in this scope 1109 | s >> id; | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:421:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 421 | uint4 getInstructionComment(void) const { return instr_comment_type; } ///< Get the type of comments suitable within the body of a function | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:422:30: error: ‘uint4’ has not been declared 422 | void setInstructionComment(uint4 val) { instr_comment_type = val; } ///< Set the type of comments suitable within the body of a function | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void OperandSymbol::setOffsetIrrelevant()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:342:36: error: ‘flags’ was not declared in this scope 342 | void setOffsetIrrelevant(void) { flags |= offset_irrel; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:424:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 424 | uint4 getHeaderComment(void) const { return head_comment_type; } ///< Get the type of comments suitable for a function header | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:425:25: error: ‘uint4’ has not been declared 425 | void setHeaderComment(uint4 val) { head_comment_type = val; } ///< Set the type of comments suitable for a function header | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:277:57: error: ‘uintm’ does not name a type; did you mean ‘uint’? 277 | void saveContext(ostream &s,const Address &addr,const uintm *vec) const; | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh: In constructor ‘PrintLanguage::NodePending::NodePending(const Varnode*, const PcodeOp*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:193:23: error: ‘vnmod’ was not declared in this scope 193 | vn = v; op = o; vnmod = m; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘virtual void StartSymbol::getFixedHandle(FixedHandle&, ParserWalker&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1158:8: error: ‘struct FixedHandle’ has no member named ‘offset_offset’ 1158 | hand.offset_offset = walker.getAddr().getOffset(); // Get starting address of instruction | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1158:41: error: ‘const class Address’ has no member named ‘getOffset’ 1158 | hand.offset_offset = walker.getAddr().getOffset(); // Get starting address of instruction | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1159:8: error: ‘struct FixedHandle’ has no member named ‘size’ 1159 | hand.size = hand.space->getAddrSize(); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1159:27: error: ‘class AddrSpace’ has no member named ‘getAddrSize’ 1159 | hand.size = hand.space->getAddrSize(); | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh: In member function ‘void PrintLanguage::setHeaderComment(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:425:38: error: ‘head_comment_type’ was not declared in this scope 425 | void setHeaderComment(uint4 val) { head_comment_type = val; } ///< Set the type of comments suitable for a function header | ^~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘bool OperandSymbol::isOffsetIrrelevant() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:343:50: error: ‘flags’ was not declared in this scope 343 | bool isOffsetIrrelevant(void) const { return ((flags&offset_irrel)!=0); } | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:46:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 46 | uint4 opflags; ///< Cached pcode-op properties for this op-code | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:545:10: error: ‘int4’ does not name a type; did you mean ‘int’? 545 | static int4 mostNaturalBase(uintb val); ///< Determine the most natural base for an integer | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:546:39: error: ‘uintb’ has not been declared 546 | static void formatBinary(ostream &s,uintb val); ///< Print a number in binary form | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:47:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 47 | uint4 addlflags; ///< Additional properties | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 1 is invalid 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:58:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 58 | uint4 getFlags(void) const { return opflags; } ///< Get the properties associated with the op-code | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:60:41: error: ‘int4’ has not been declared 60 | bool markExplicitUnsigned(PcodeOp *op,int4 slot) const; ///< Check if a constant input should be explicitly labeled as \e unsigned | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh: In constructor ‘PrintLanguage::Atom::Atom(const string&, PrintLanguage::tagtype, EmitXml::syntax_highlight, const Datatype*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:223:65: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 223 | : name(nm) { type = t; highlight = hl; ptr_second.ct = c; offset = off; } | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void OperandSymbol::setMark()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:344:24: error: ‘flags’ was not declared in this scope 344 | void setMark(void) { flags |= marked; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘virtual void StartSymbol::print(std::ostream&, ParserWalker&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1165:3: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 1165 | intb val = (intb) walker.getAddr().getOffset(); | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:68:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 68 | uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 1 is invalid 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:78:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 78 | uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 2 is invalid In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh: In constructor ‘PrintLanguage::NodePending::NodePending(const Varnode*, const PcodeOp*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:193:23: error: ‘vnmod’ was not declared in this scope 193 | vn = v; op = o; vnmod = m; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:91:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 91 | uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:101:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 101 | uintb recoverInputUnary(int4 sizeout,uintb out,int4 sizein) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:113:53: error: ‘int4’ has not been declared 113 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:119:52: error: ‘int4’ has not been declared 119 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void OperandSymbol::clearMark()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:345:26: error: ‘flags’ was not declared in this scope 345 | void clearMark(void) { flags &= ~((uint4)marked); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 1 is invalid 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:32: error: ‘vector’ is not a type 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh: In member function ‘bool PrintLanguage::isSet(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:261:40: error: ‘mods’ was not declared in this scope 261 | bool isSet(uint4 m) const { return ((mods & m)!=0); } ///< Is the given printing modification active | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:38: error: expected ‘,’ or ‘...’ before ‘<’ token 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh: In member function ‘void PrintLanguage::pushMod()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:264:33: error: request for member ‘push_back’ in ‘((PrintLanguage*)this)->PrintLanguage::modstack’, which is of non-class type ‘int’ 264 | void pushMod(void) { modstack.push_back(mods); } ///< Push current printing modifications to the stack | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1166:23: error: ‘val’ was not declared in this scope 1166 | s << "0x" << hex << val; | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:345:38: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 345 | void clearMark(void) { flags &= ~((uint4)marked); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:345:44: error: expected ‘)’ before ‘marked’ 345 | void clearMark(void) { flags &= ~((uint4)marked); } | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:345:36: note: to match this ‘(’ 345 | void clearMark(void) { flags &= ~((uint4)marked); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh: In constructor ‘PrintLanguage::Atom::Atom(const string&, PrintLanguage::tagtype, EmitXml::syntax_highlight, const Datatype*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:223:65: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 223 | : name(nm) { type = t; highlight = hl; ptr_second.ct = c; offset = off; } | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 1 is invalid 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:264:43: error: ‘mods’ was not declared in this scope 264 | void pushMod(void) { modstack.push_back(mods); } ///< Push current printing modifications to the stack | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘virtual void EndSymbol::getFixedHandle(FixedHandle&, ParserWalker&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1222:8: error: ‘struct FixedHandle’ has no member named ‘offset_offset’ 1222 | hand.offset_offset = walker.getNaddr().getOffset(); // Get starting address of next instruction | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1222:42: error: ‘const class Address’ has no member named ‘getOffset’ 1222 | hand.offset_offset = walker.getNaddr().getOffset(); // Get starting address of next instruction | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1223:8: error: ‘struct FixedHandle’ has no member named ‘size’ 1223 | hand.size = hand.space->getAddrSize(); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1223:27: error: ‘class AddrSpace’ has no member named ‘getAddrSize’ 1223 | hand.size = hand.space->getAddrSize(); | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh: In member function ‘bool TypeOp::inheritsSign() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:107:44: error: ‘addlflags’ was not declared in this scope 107 | bool inheritsSign(void) const { return ((addlflags & inherits_sign)!=0); } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘bool OperandSymbol::isMarked() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:346:40: error: ‘flags’ was not declared in this scope 346 | bool isMarked(void) const { return ((flags&marked)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:165:53: error: ‘int4’ has not been declared 165 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 1 is invalid 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:182:53: error: ‘int4’ has not been declared 182 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh: In member function ‘void PrintLanguage::popMod()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:265:23: error: ‘mods’ was not declared in this scope 265 | void popMod(void) { mods = modstack.back(); modstack.pop_back(); } ///< Pop to the previous printing modifications | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:265:39: error: request for member ‘back’ in ‘((PrintLanguage*)this)->PrintLanguage::modstack’, which is of non-class type ‘int’ 265 | void popMod(void) { mods = modstack.back(); modstack.pop_back(); } ///< Pop to the previous printing modifications | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:265:56: error: request for member ‘pop_back’ in ‘((PrintLanguage*)this)->PrintLanguage::modstack’, which is of non-class type ‘int’ 265 | void popMod(void) { mods = modstack.back(); modstack.pop_back(); } ///< Pop to the previous printing modifications | ^~~~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh: In member function ‘bool PrintLanguage::isSet(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:261:40: error: ‘mods’ was not declared in this scope 261 | bool isSet(uint4 m) const { return ((mods & m)!=0); } ///< Is the given printing modification active | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh: In member function ‘void PrintLanguage::pushMod()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:264:33: error: request for member ‘push_back’ in ‘((PrintLanguage*)this)->PrintLanguage::modstack’, which is of non-class type ‘int’ 264 | void pushMod(void) { modstack.push_back(mods); } ///< Push current printing modifications to the stack | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:199:53: error: ‘int4’ has not been declared 199 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:209:52: error: ‘int4’ has not been declared 209 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 1 is invalid 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:39: error: ‘vector’ is not a type 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:45: error: expected ‘,’ or ‘...’ before ‘<’ token 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:220:52: error: ‘int4’ has not been declared 220 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘virtual void EndSymbol::print(std::ostream&, ParserWalker&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1229:3: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 1229 | intb val = (intb) walker.getNaddr().getOffset(); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:231:52: error: ‘int4’ has not been declared 231 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:284:11: error: ‘uintm’ does not name a type; did you mean ‘uint’? 284 | virtual uintm *getDefaultValue(void) { return database.defaultValue().array; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:248:53: error: ‘int4’ has not been declared 248 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh: In member function ‘void PrintLanguage::setMod(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:266:26: error: ‘mods’ was not declared in this scope 266 | void setMod(uint4 m) { mods |= m; } ///< Activate the given printing modification | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:285:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 285 | virtual const uintm *getDefaultValue(void) const { return database.defaultValue().array; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:264:43: error: ‘mods’ was not declared in this scope 264 | void pushMod(void) { modstack.push_back(mods); } ///< Push current printing modifications to the stack | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:267:53: error: ‘int4’ has not been declared 267 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:277:53: error: ‘int4’ has not been declared 277 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:289:11: error: ‘int4’ does not name a type; did you mean ‘int’? 289 | virtual int4 getContextSize(void) const { return size; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:290:50: error: ‘int4’ has not been declared 290 | virtual void registerVariable(const string &nm,int4 sbit,int4 ebit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:290:60: error: ‘int4’ has not been declared 290 | virtual void registerVariable(const string &nm,int4 sbit,int4 ebit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:288:53: error: ‘int4’ has not been declared 288 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:436:3: error: ‘int4’ does not name a type; did you mean ‘int’? 436 | int4 num; // index of word containing context variable to set | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:298:53: error: ‘int4’ has not been declared 298 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:306:52: error: ‘int4’ has not been declared 306 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:292:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 292 | virtual const uintm *getContext(const Address &addr) const { return database.getValue(addr).array; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:314:52: error: ‘int4’ has not been declared 314 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:437:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 437 | uintm mask; // Mask off size of variable | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh: In member function ‘void PrintLanguage::unsetMod(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:267:28: error: ‘mods’ was not declared in this scope 267 | void unsetMod(uint4 m) { mods &= ~m; } ///< Deactivate the given printing modification | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:322:52: error: ‘int4’ has not been declared 322 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1230:23: error: ‘val’ was not declared in this scope 1230 | s << "0x" << hex << val; | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:293:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 293 | virtual const uintm *getContext(const Address &addr,uintb &first,uintb &last) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:330:52: error: ‘int4’ has not been declared 330 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:438:3: error: ‘int4’ does not name a type; did you mean ‘int’? 438 | int4 shift; // Number of bits to shift value into place | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:440:17: error: expected ‘)’ before ‘startbit’ 440 | ContextOp(int4 startbit,int4 endbit,PatternExpression *pe); | ~ ^~~~~~~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:338:52: error: ‘int4’ has not been declared 338 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh: In member function ‘void PrintLanguage::popMod()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:265:23: error: ‘mods’ was not declared in this scope 265 | void popMod(void) { mods = modstack.back(); modstack.pop_back(); } ///< Pop to the previous printing modifications | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:265:39: error: request for member ‘back’ in ‘((PrintLanguage*)this)->PrintLanguage::modstack’, which is of non-class type ‘int’ 265 | void popMod(void) { mods = modstack.back(); modstack.pop_back(); } ///< Pop to the previous printing modifications | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:265:56: error: request for member ‘pop_back’ in ‘((PrintLanguage*)this)->PrintLanguage::modstack’, which is of non-class type ‘int’ 265 | void popMod(void) { mods = modstack.back(); modstack.pop_back(); } ///< Pop to the previous printing modifications | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:346:52: error: ‘int4’ has not been declared 346 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:355:52: error: ‘int4’ has not been declared 355 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:364:52: error: ‘int4’ has not been declared 364 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:452:3: error: ‘int4’ does not name a type; did you mean ‘int’? 452 | int4 num; // Index of word containing context commit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘virtual void FlowDestSymbol::getFixedHandle(FixedHandle&, ParserWalker&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1278:8: error: ‘struct FixedHandle’ has no member named ‘offset_offset’ 1278 | hand.offset_offset = refAddr.getOffset(); | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1278:32: error: ‘class Address’ has no member named ‘getOffset’ 1278 | hand.offset_offset = refAddr.getOffset(); | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1279:8: error: ‘struct FixedHandle’ has no member named ‘size’ 1279 | hand.size = refAddr.getAddrSize(); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1279:23: error: ‘class Address’ has no member named ‘getAddrSize’ 1279 | hand.size = refAddr.getAddrSize(); | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:453:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 453 | uintm mask; // mask of bits in word being committed | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:457:33: error: ‘int4’ has not been declared 457 | ContextCommit(TripleSymbol *s,int4 sbit,int4 ebit,bool fl); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:457:43: error: ‘int4’ has not been declared 457 | ContextCommit(TripleSymbol *s,int4 sbit,int4 ebit,bool fl); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: In constructor ‘ContextInternal::FreeArray::FreeArray()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:23: error: ‘size’ was not declared in this scope 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:37: error: missing template arguments before ‘=’ token 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh: In member function ‘void PrintLanguage::setMod(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:266:26: error: ‘mods’ was not declared in this scope 266 | void setMod(uint4 m) { mods |= m; } ///< Activate the given printing modification | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:452:53: error: ‘int4’ has not been declared 452 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:461:52: error: ‘int4’ has not been declared 461 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:462:53: error: ‘int4’ has not been declared 462 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:40: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:47: error: expected primary-expression before ‘)’ token 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh: In member function ‘void PrintLanguage::setInstructionComment(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:422:43: error: ‘instr_comment_type’ was not declared in this scope 422 | void setInstructionComment(uint4 val) { instr_comment_type = val; } ///< Set the type of comments suitable within the body of a function | ^~~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:472:52: error: ‘int4’ has not been declared 472 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:473:53: error: ‘int4’ has not been declared 473 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘virtual void FlowDestSymbol::print(std::ostream&, ParserWalker&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1285:3: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 1285 | intb val = (intb) walker.getDestAddr().getOffset(); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:490:52: error: ‘int4’ has not been declared 490 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh: In member function ‘void PrintLanguage::unsetMod(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:267:28: error: ‘mods’ was not declared in this scope 267 | void unsetMod(uint4 m) { mods &= ~m; } ///< Deactivate the given printing modification | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:498:52: error: ‘int4’ has not been declared 498 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:506:52: error: ‘int4’ has not been declared 506 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:514:52: error: ‘int4’ has not been declared 514 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:51: error: ‘mask’ was not declared in this scope 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:66: error: expected primary-expression before ‘)’ token 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1286:23: error: ‘val’ was not declared in this scope 1286 | s << "0x" << hex << val; | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh: In member function ‘void PrintLanguage::setHeaderComment(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:425:38: error: ‘head_comment_type’ was not declared in this scope 425 | void setHeaderComment(uint4 val) { head_comment_type = val; } ///< Set the type of comments suitable for a function header | ^~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: In destructor ‘ContextInternal::FreeArray::~FreeArray()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:268:28: error: ‘size’ was not declared in this scope 268 | ~FreeArray(void) { if (size!=0) { delete [] array; delete [] mask; } } ///< Destructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:268:54: error: missing template arguments before ‘;’ token 268 | ~FreeArray(void) { if (size!=0) { delete [] array; delete [] mask; } } ///< Destructor | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘virtual void FlowRefSymbol::getFixedHandle(FixedHandle&, ParserWalker&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1332:8: error: ‘struct FixedHandle’ has no member named ‘offset_offset’ 1332 | hand.offset_offset = refAddr.getOffset(); | ^~~~~~~~~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:46:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 46 | uint4 opflags; ///< Cached pcode-op properties for this op-code | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1332:32: error: ‘class Address’ has no member named ‘getOffset’ 1332 | hand.offset_offset = refAddr.getOffset(); | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1333:8: error: ‘struct FixedHandle’ has no member named ‘size’ 1333 | hand.size = refAddr.getAddrSize(); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1333:23: error: ‘class Address’ has no member named ‘getAddrSize’ 1333 | hand.size = refAddr.getAddrSize(); | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:47:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 47 | uint4 addlflags; ///< Additional properties | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh: In member function ‘void PrintLanguage::setInstructionComment(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:422:43: error: ‘instr_comment_type’ was not declared in this scope 422 | void setInstructionComment(uint4 val) { instr_comment_type = val; } ///< Set the type of comments suitable within the body of a function | ^~~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:58:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 58 | uint4 getFlags(void) const { return opflags; } ///< Get the properties associated with the op-code | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:683:53: error: ‘int4’ has not been declared 683 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:60:41: error: ‘int4’ has not been declared 60 | bool markExplicitUnsigned(PcodeOp *op,int4 slot) const; ///< Check if a constant input should be explicitly labeled as \e unsigned | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:268:66: error: ‘mask’ was not declared in this scope 268 | ~FreeArray(void) { if (size!=0) { delete [] array; delete [] mask; } } ///< Destructor | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:68:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 68 | uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:722:53: error: ‘int4’ has not been declared 722 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:78:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 78 | uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:725:52: error: ‘int4’ has not been declared 725 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:735:53: error: ‘int4’ has not been declared 735 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:736:52: error: ‘int4’ has not been declared 736 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:91:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 91 | uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘virtual void FlowRefSymbol::print(std::ostream&, ParserWalker&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1339:3: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 1339 | intb val = (intb) walker.getRefAddr().getOffset(); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:755:52: error: ‘int4’ has not been declared 755 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:766:52: error: ‘int4’ has not been declared 766 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const { return (Datatype *)0; } // Never needs casting | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:101:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 101 | uintb recoverInputUnary(int4 sizeout,uintb out,int4 sizein) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:768:53: error: ‘int4’ has not been declared 768 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:113:53: error: ‘int4’ has not been declared 113 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:119:52: error: ‘int4’ has not been declared 119 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:777:52: error: ‘int4’ has not been declared 777 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const { return (Datatype *)0; } // Never needs casting | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:475:3: error: ‘int4’ does not name a type; did you mean ‘int’? 475 | int4 minimumlength; // Minimum length taken up by this constructor in bytes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:786:53: error: ‘int4’ has not been declared 786 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:794:53: error: ‘int4’ has not been declared 794 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:476:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 476 | uintm id; // Unique id of constructor within subtable | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:34:68: error: ‘int4’ has not been declared 34 | IopSpace(AddrSpaceManager *m,const Translate *t,const string &nm,int4 ind); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:35:45: error: ‘uintb’ has not been declared 35 | virtual void saveXmlAttributes(ostream &s,uintb offset) const { s << " space=\"iop\""; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:36:45: error: ‘uintb’ has not been declared 36 | virtual void saveXmlAttributes(ostream &s,uintb offset,int4 size) const { s << " space=\"iop\""; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:36:58: error: ‘int4’ has not been declared 36 | virtual void saveXmlAttributes(ostream &s,uintb offset,int4 size) const { s << " space=\"iop\""; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:37:36: error: ‘uintb’ has not been declared 37 | virtual void printRaw(ostream &s,uintb offset) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:477:3: error: ‘int4’ does not name a type; did you mean ‘int’? 477 | int4 firstwhitespace; // Index of first whitespace piece in -printpiece- | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh: In member function ‘void PrintLanguage::setHeaderComment(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/printlanguage.hh:425:38: error: ‘head_comment_type’ was not declared in this scope 425 | void setHeaderComment(uint4 val) { head_comment_type = val; } ///< Set the type of comments suitable for a function header | ^~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:478:3: error: ‘int4’ does not name a type; did you mean ‘int’? 478 | int4 flowthruindex; // if >=0 then print only a single operand no markup | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1340:23: error: ‘val’ was not declared in this scope 1340 | s << "0x" << hex << val; | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:479:3: error: ‘int4’ does not name a type; did you mean ‘int’? 479 | int4 lineno; | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:46:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 46 | uint4 opflags; ///< Cached pcode-op properties for this op-code | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:112:11: error: ‘uint4’ does not name a type; did you mean ‘uint’? 112 | mutable uint4 flags; ///< Collection of boolean attributes on this op | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:480:3: error: ‘int4’ does not name a type; did you mean ‘int’? 480 | int4 src_index; //source file index | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:489:25: error: ‘int4’ has not been declared 489 | void setMinimumLength(int4 l) { minimumlength = l; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh: In member function ‘bool TypeOp::inheritsSign() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:107:44: error: ‘addlflags’ was not declared in this scope 107 | bool inheritsSign(void) const { return ((addlflags & inherits_sign)!=0); } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:47:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 47 | uint4 addlflags; ///< Additional properties | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:165:53: error: ‘int4’ has not been declared 165 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:113:11: error: ‘uint4’ does not name a type; did you mean ‘uint’? 113 | mutable uint4 addlflags; ///< Additional boolean attributes for this op | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:490:3: error: ‘int4’ does not name a type; did you mean ‘int’? 490 | int4 getMinimumLength(void) const { return minimumlength; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:491:14: error: ‘uintm’ has not been declared 491 | void setId(uintm i) { id = i; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:125:19: error: ‘int4’ has not been declared 125 | void clearInput(int4 slot) { inrefs[slot] = (Varnode *)0; } ///< Clear a specific input Varnode to \e null | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:126:29: error: ‘int4’ has not been declared 126 | void setInput(Varnode *vn,int4 slot) { inrefs[slot] = vn; } ///< Set a specific input Varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:127:16: error: ‘uint4’ has not been declared 127 | void setFlag(uint4 fl) { flags |= fl; } ///< Set specific boolean attribute(s) on this op | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:128:18: error: ‘uint4’ has not been declared 128 | void clearFlag(uint4 fl) { flags &= ~fl; } ///< Clear specific boolean attribute(s) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:129:26: error: ‘uint4’ has not been declared 129 | void setAdditionalFlag(uint4 fl) { addlflags |= fl; } ///< Set specific boolean attribute | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:130:28: error: ‘uint4’ has not been declared 130 | void clearAdditionalFlag(uint4 fl) { addlflags &= ~fl; } ///< Clear specific boolean atribute | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:131:17: error: ‘uint4’ has not been declared 131 | void flipFlag(uint4 fl) { flags ^= fl; } ///< Flip the setting of specific boolean attribute(s) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:132:21: error: ‘int4’ has not been declared 132 | void setNumInputs(int4 num); ///< Make sure this op has \b num inputs | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:133:20: error: ‘int4’ has not been declared 133 | void removeInput(int4 slot); ///< Eliminate a specific input Varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:134:20: error: ‘int4’ has not been declared 134 | void insertInput(int4 slot); ///< Make room for a new input Varnode at a specific position | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:182:53: error: ‘int4’ has not been declared 182 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:135:17: error: ‘uintm’ has not been declared 135 | void setOrder(uintm ord) { start.setOrder(ord); } ///< Order this op within the ops for a single instruction | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:140:15: error: expected ‘)’ before ‘s’ 140 | PcodeOp(int4 s,const SeqNum &sq); ///< Construct an unattached PcodeOp | ~ ^~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:58:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 58 | uint4 getFlags(void) const { return opflags; } ///< Get the properties associated with the op-code | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:492:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 492 | uintm getId(void) const { return id; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:60:41: error: ‘int4’ has not been declared 60 | bool markExplicitUnsigned(PcodeOp *op,int4 slot) const; ///< Check if a constant input should be explicitly labeled as \e unsigned | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:493:18: error: ‘int4’ has not been declared 493 | void setLineno(int4 ln) { lineno = ln; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:199:53: error: ‘int4’ has not been declared 199 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:142:3: error: ‘int4’ does not name a type; did you mean ‘int’? 142 | int4 numInput(void) const { return inrefs.size(); } ///< Get the number of inputs to this op | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:494:3: error: ‘int4’ does not name a type; did you mean ‘int’? 494 | int4 getLineno(void) const { return lineno; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:495:20: error: ‘int4’ has not been declared 495 | void setSrcIndex(int4 index) {src_index = index;} | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:145:18: error: ‘int4’ has not been declared 145 | Varnode *getIn(int4 slot) { return inrefs[slot]; } ///< Get a specific input Varnode to this op | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:146:24: error: ‘int4’ has not been declared 146 | const Varnode *getIn(int4 slot) const { return (const Varnode *) inrefs[slot]; } ///< Get a specific input Varnode to this op | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:68:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 68 | uintb evaluateUnary(int4 sizeout,int4 sizein,uintb in1) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:209:52: error: ‘int4’ has not been declared 209 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:220:52: error: ‘int4’ has not been declared 220 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:496:3: error: ‘int4’ does not name a type; did you mean ‘int’? 496 | int4 getSrcIndex(void) {return src_index;} | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:503:42: error: ‘int4’ has not been declared 503 | void setNamedSection(ConstructTpl *tpl,int4 id); | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:150:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 150 | uintm getTime(void) const { return start.getTime(); } ///< Get the time index indicating when this op was created | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:78:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 78 | uintb evaluateBinary(int4 sizeout,int4 sizein,uintb in1,uintb in2) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:231:52: error: ‘int4’ has not been declared 231 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:505:3: error: ‘int4’ does not name a type; did you mean ‘int’? 505 | int4 getNumOperands(void) const { return operands.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:506:29: error: ‘int4’ has not been declared 506 | OperandSymbol *getOperand(int4 i) const { return operands[i]; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:248:53: error: ‘int4’ has not been declared 248 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:91:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 91 | uintb recoverInputBinary(int4 slot,int4 sizeout,uintb out,int4 sizein,uintb in) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:509:31: error: ‘int4’ has not been declared 509 | ConstructTpl *getNamedTempl(int4 secnum) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:155:3: error: ‘int4’ does not name a type; did you mean ‘int’? 155 | int4 getSlot(const Varnode *vn) const { int4 i,n; n=inrefs.size(); for(i=0;i::const_iterator iter) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:113:53: error: ‘int4’ has not been declared 113 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:119:52: error: ‘int4’ has not been declared 119 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:277:53: error: ‘int4’ has not been declared 277 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:288:53: error: ‘int4’ has not been declared 288 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:158:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 158 | uint4 getEvalType(void) const { return (flags&(PcodeOp::unary|PcodeOp::binary|PcodeOp::special|PcodeOp::ternary)); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:298:53: error: ‘int4’ has not been declared 298 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: In constructor ‘ContextInternal::ContextInternal()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:287:27: error: ‘size’ was not declared in this scope 287 | ContextInternal(void) { size = 0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:306:52: error: ‘int4’ has not been declared 306 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:160:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 160 | uint4 getHaltType(void) const { return (flags&(PcodeOp::halt|PcodeOp::badinstruction|PcodeOp::unimplemented| | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:314:52: error: ‘int4’ has not been declared 314 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:322:52: error: ‘int4’ has not been declared 322 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:521:36: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 521 | void markSubtableOperands(vector &check) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:521:40: error: template argument 1 is invalid 521 | void markSubtableOperands(vector &check) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:521:40: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:330:52: error: ‘int4’ has not been declared 330 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:338:52: error: ‘int4’ has not been declared 338 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:313:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 313 | mutable uintb first; ///< Starting offset of the current valid range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:207:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 207 | uintm getCseHash(void) const; ///< Return hash indicating possibility of common subexpression elimination | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:346:52: error: ‘int4’ has not been declared 346 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:355:52: error: ‘int4’ has not been declared 355 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:314:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 314 | mutable uintb last; ///< Ending offset of the current valid range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:213:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 213 | uintb collapse(bool &markedInput) const; ///< Calculate the constant output produced by this op | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:364:52: error: ‘int4’ has not been declared 364 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:522:35: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 522 | void collectLocalExports(vector &results) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:315:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 315 | mutable const uintm *context; ///< The current cached context blob | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:522:40: error: template argument 1 is invalid 522 | void collectLocalExports(vector &results) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:522:40: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:218:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 218 | uintb getNZMaskLocal(bool cliploop) const; ///< Calculate known zero bits for output to this op | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:320:39: error: ‘uintm’ has not been declared 320 | void getContext(const Address &addr,uintm *buf) const; ///< Retrieve the context blob for the given address | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:321:39: error: ‘int4’ has not been declared 321 | void setContext(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:321:48: error: ‘uintm’ has not been declared 321 | void setContext(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:321:59: error: ‘uintm’ has not been declared 321 | void setContext(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:322:61: error: ‘int4’ has not been declared 322 | void setContext(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:322:70: error: ‘uintm’ has not been declared 322 | void setContext(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:322:81: error: ‘uintm’ has not been declared 322 | void setContext(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh: In member function ‘bool TypeOp::inheritsSign() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:107:44: error: ‘addlflags’ was not declared in this scope 107 | bool inheritsSign(void) const { return ((addlflags & inherits_sign)!=0); } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:219:3: error: ‘int4’ does not name a type; did you mean ‘int’? 219 | int4 compareOrder(const PcodeOp *bop) const; ///< Compare the control-flow order of this and \e bop | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:228:28: error: ‘int4’ has not been declared 228 | Datatype *inputTypeLocal(int4 slot) const { return opcode->getInputLocal(this,slot); } ///< Calculate the local input type | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:229:29: error: ‘int4’ has not been declared 229 | bool markExplicitUnsigned(int4 slot) { return opcode->markExplicitUnsigned(this,slot); } ///< Decide on unsignedness printing | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:165:53: error: ‘int4’ has not been declared 165 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:20, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:24:3: error: ‘int4’ does not name a type; did you mean ‘int’? 24 | int4 size; // Number of bytes in token; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:182:53: error: ‘int4’ has not been declared 182 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:25:3: error: ‘int4’ does not name a type; did you mean ‘int’? 25 | int4 index; // Index of this token, for resolving offsets | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In constructor ‘Constructor::Constructor()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1372:3: error: ‘firstwhitespace’ was not declared in this scope 1372 | firstwhitespace = -1; | ^~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:28:26: error: ‘int4’ has not been declared 28 | Token(const string &nm,int4 sz,bool be,int4 ind) : name(nm) { size = sz; bigendian=be; index = ind; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:28:42: error: ‘int4’ has not been declared 28 | Token(const string &nm,int4 sz,bool be,int4 ind) : name(nm) { size = sz; bigendian=be; index = ind; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:452:53: error: ‘int4’ has not been declared 452 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:199:53: error: ‘int4’ has not been declared 199 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:461:52: error: ‘int4’ has not been declared 461 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:462:53: error: ‘int4’ has not been declared 462 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:29:3: error: ‘int4’ does not name a type; did you mean ‘int’? 29 | int4 getSize(void) const { return size; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:472:52: error: ‘int4’ has not been declared 472 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:209:52: error: ‘int4’ has not been declared 209 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:473:53: error: ‘int4’ has not been declared 473 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:220:52: error: ‘int4’ has not been declared 220 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:31:3: error: ‘int4’ does not name a type; did you mean ‘int’? 31 | int4 getIndex(void) const { return index; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:490:52: error: ‘int4’ has not been declared 490 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:231:52: error: ‘int4’ has not been declared 231 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘void PcodeOp::setFlag(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:127:28: error: ‘flags’ was not declared in this scope 127 | void setFlag(uint4 fl) { flags |= fl; } ///< Set specific boolean attribute(s) on this op | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:498:52: error: ‘int4’ has not been declared 498 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void Constructor::setMinimumLength(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:489:35: error: ‘minimumlength’ was not declared in this scope; did you mean ‘setMinimumLength’? 489 | void setMinimumLength(int4 l) { minimumlength = l; } | ^~~~~~~~~~~~~ | setMinimumLength /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:506:52: error: ‘int4’ has not been declared 506 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:248:53: error: ‘int4’ has not been declared 248 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:514:52: error: ‘int4’ has not been declared 514 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:267:53: error: ‘int4’ has not been declared 267 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:277:53: error: ‘int4’ has not been declared 277 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:288:53: error: ‘int4’ has not been declared 288 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In constructor ‘Token::Token(const string&, int, bool, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:28:65: error: ‘size’ was not declared in this scope 28 | Token(const string &nm,int4 sz,bool be,int4 ind) : name(nm) { size = sz; bigendian=be; index = ind; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:28:98: error: overloaded function with no contextual type information 28 | Token(const string &nm,int4 sz,bool be,int4 ind) : name(nm) { size = sz; bigendian=be; index = ind; } | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:298:53: error: ‘int4’ has not been declared 298 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void Constructor::setId(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:491:25: error: ‘id’ was not declared in this scope; did you mean ‘i’? 491 | void setId(uintm i) { id = i; } | ^~ | i /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:306:52: error: ‘int4’ has not been declared 306 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘void PcodeOp::clearFlag(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:128:30: error: ‘flags’ was not declared in this scope 128 | void clearFlag(uint4 fl) { flags &= ~fl; } ///< Clear specific boolean attribute(s) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:314:52: error: ‘int4’ has not been declared 314 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:322:52: error: ‘int4’ has not been declared 322 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:37:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 37 | uint4 size; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:330:52: error: ‘int4’ has not been declared 330 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:338:52: error: ‘int4’ has not been declared 338 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:39:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 39 | uintb offset_offset; // Either static offset or ptr offset | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:346:52: error: ‘int4’ has not been declared 346 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:355:52: error: ‘int4’ has not been declared 355 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:40:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 40 | uint4 offset_size; // Size of pointer | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:364:52: error: ‘int4’ has not been declared 364 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void Constructor::setLineno(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:493:29: error: ‘lineno’ was not declared in this scope; did you mean ‘fileno’? 493 | void setLineno(int4 ln) { lineno = ln; } | ^~~~~~ | fileno /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1373:3: error: ‘flowthruindex’ was not declared in this scope 1373 | flowthruindex = -1; | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:42:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 42 | uintb temp_offset; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:683:53: error: ‘int4’ has not been declared 683 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘void PcodeOp::setAdditionalFlag(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:129:38: error: ‘addlflags’ was not declared in this scope 129 | void setAdditionalFlag(uint4 fl) { addlflags |= fl; } ///< Set specific boolean attribute | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:722:53: error: ‘int4’ has not been declared 722 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:452:53: error: ‘int4’ has not been declared 452 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:725:52: error: ‘int4’ has not been declared 725 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:461:52: error: ‘int4’ has not been declared 461 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:735:53: error: ‘int4’ has not been declared 735 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:462:53: error: ‘int4’ has not been declared 462 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:736:52: error: ‘int4’ has not been declared 736 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void Constructor::setSrcIndex(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:495:33: error: ‘src_index’ was not declared in this scope; did you mean ‘rindex’? 495 | void setSrcIndex(int4 index) {src_index = index;} | ^~~~~~~~~ | rindex /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:755:52: error: ‘int4’ has not been declared 755 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:472:52: error: ‘int4’ has not been declared 472 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:473:53: error: ‘int4’ has not been declared 473 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:766:52: error: ‘int4’ has not been declared 766 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const { return (Datatype *)0; } // Never needs casting | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:768:53: error: ‘int4’ has not been declared 768 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:490:52: error: ‘int4’ has not been declared 490 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:777:52: error: ‘int4’ has not been declared 777 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const { return (Datatype *)0; } // Never needs casting | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:498:52: error: ‘int4’ has not been declared 498 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:786:53: error: ‘int4’ has not been declared 786 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:506:52: error: ‘int4’ has not been declared 506 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:794:53: error: ‘int4’ has not been declared 794 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:514:52: error: ‘int4’ has not been declared 514 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:34:68: error: ‘int4’ has not been declared 34 | IopSpace(AddrSpaceManager *m,const Translate *t,const string &nm,int4 ind); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘void PcodeOp::clearAdditionalFlag(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:130:40: error: ‘addlflags’ was not declared in this scope 130 | void clearAdditionalFlag(uint4 fl) { addlflags &= ~fl; } ///< Clear specific boolean atribute | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:35:45: error: ‘uintb’ has not been declared 35 | virtual void saveXmlAttributes(ostream &s,uintb offset) const { s << " space=\"iop\""; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:36:45: error: ‘uintb’ has not been declared 36 | virtual void saveXmlAttributes(ostream &s,uintb offset,int4 size) const { s << " space=\"iop\""; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:51:3: error: ‘int4’ does not name a type; did you mean ‘int’? 51 | int4 length; // Length of this instantiation of the constructor | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:36:58: error: ‘int4’ has not been declared 36 | virtual void saveXmlAttributes(ostream &s,uintb offset,int4 size) const { s << " space=\"iop\""; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:37:36: error: ‘uintb’ has not been declared 37 | virtual void printRaw(ostream &s,uintb offset) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:52:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 52 | uint4 offset; // Absolute offset (from start of instruction) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:59:3: error: ‘int4’ does not name a type; did you mean ‘int’? 59 | int4 num; // Number of context word affected | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In constructor ‘Constructor::Constructor(SubtableSymbol*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1384:3: error: ‘firstwhitespace’ was not declared in this scope 1384 | firstwhitespace = -1; | ^~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:112:11: error: ‘uint4’ does not name a type; did you mean ‘uint’? 112 | mutable uint4 flags; ///< Collection of boolean attributes on this op | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘void PcodeOp::flipFlag(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:131:29: error: ‘flags’ was not declared in this scope 131 | void flipFlag(uint4 fl) { flags ^= fl; } ///< Flip the setting of specific boolean attribute(s) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:60:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 60 | uintm mask; // Bits within word affected | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:61:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 61 | uintm value; // New setting for bits | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:113:11: error: ‘uint4’ does not name a type; did you mean ‘uint’? 113 | mutable uint4 addlflags; ///< Additional boolean attributes for this op | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:125:19: error: ‘int4’ has not been declared 125 | void clearInput(int4 slot) { inrefs[slot] = (Varnode *)0; } ///< Clear a specific input Varnode to \e null | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:126:29: error: ‘int4’ has not been declared 126 | void setInput(Varnode *vn,int4 slot) { inrefs[slot] = vn; } ///< Set a specific input Varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:127:16: error: ‘uint4’ has not been declared 127 | void setFlag(uint4 fl) { flags |= fl; } ///< Set specific boolean attribute(s) on this op | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:128:18: error: ‘uint4’ has not been declared 128 | void clearFlag(uint4 fl) { flags &= ~fl; } ///< Clear specific boolean attribute(s) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:129:26: error: ‘uint4’ has not been declared 129 | void setAdditionalFlag(uint4 fl) { addlflags |= fl; } ///< Set specific boolean attribute | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:130:28: error: ‘uint4’ has not been declared 130 | void clearAdditionalFlag(uint4 fl) { addlflags &= ~fl; } ///< Clear specific boolean atribute | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:131:17: error: ‘uint4’ has not been declared 131 | void flipFlag(uint4 fl) { flags ^= fl; } ///< Flip the setting of specific boolean attribute(s) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:132:21: error: ‘int4’ has not been declared 132 | void setNumInputs(int4 num); ///< Make sure this op has \b num inputs | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:133:20: error: ‘int4’ has not been declared 133 | void removeInput(int4 slot); ///< Eliminate a specific input Varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:134:20: error: ‘int4’ has not been declared 134 | void insertInput(int4 slot); ///< Make room for a new input Varnode at a specific position | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:135:17: error: ‘uintm’ has not been declared 135 | void setOrder(uintm ord) { start.setOrder(ord); } ///< Order this op within the ops for a single instruction | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:78:3: error: ‘int4’ does not name a type; did you mean ‘int’? 78 | int4 parsestate; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:140:15: error: expected ‘)’ before ‘s’ 140 | PcodeOp(int4 s,const SeqNum &sq); ///< Construct an unattached PcodeOp | ~ ^~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:80:3: error: ‘uint1’ does not name a type; did you mean ‘uint’? 80 | uint1 buf[16]; // Buffer of bytes in the instruction stream | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:142:3: error: ‘int4’ does not name a type; did you mean ‘int’? 142 | int4 numInput(void) const { return inrefs.size(); } ///< Get the number of inputs to this op | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:145:18: error: ‘int4’ has not been declared 145 | Varnode *getIn(int4 slot) { return inrefs[slot]; } ///< Get a specific input Varnode to this op | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:146:24: error: ‘int4’ has not been declared 146 | const Varnode *getIn(int4 slot) const { return (const Varnode *) inrefs[slot]; } ///< Get a specific input Varnode to this op | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:683:53: error: ‘int4’ has not been declared 683 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:81:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 81 | uintm *context; // Pointer to local context | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:150:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 150 | uintm getTime(void) const { return start.getTime(); } ///< Get the time index indicating when this op was created | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In destructor ‘Constructor::~Constructor()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1397:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 1397 | for(int4 i=0;i::const_iterator iter) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:755:52: error: ‘int4’ has not been declared 755 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:766:52: error: ‘int4’ has not been declared 766 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const { return (Datatype *)0; } // Never needs casting | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:768:53: error: ‘int4’ has not been declared 768 | virtual Datatype *getInputLocal(const PcodeOp *op,int4 slot) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:158:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 158 | uint4 getEvalType(void) const { return (flags&(PcodeOp::unary|PcodeOp::binary|PcodeOp::special|PcodeOp::ternary)); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/typeop.hh:777:52: error: ‘int4’ has not been declared 777 | virtual Datatype *getInputCast(const PcodeOp *op,int4 slot,const CastStrategy *castStrategy) const { return (Datatype *)0; } // Never needs casting | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:160:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 160 | uint4 getHaltType(void) const { return (flags&(PcodeOp::halt|PcodeOp::badinstruction|PcodeOp::unimplemented| | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1397:16: error: ‘i’ was not declared in this scope 1397 | for(int4 i=0;igetInputLocal(this,slot); } ///< Calculate the local input type | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:229:29: error: ‘int4’ has not been declared 229 | bool markExplicitUnsigned(int4 slot) { return opcode->markExplicitUnsigned(this,slot); } ///< Decide on unsignedness printing | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:112:11: error: ‘uint4’ does not name a type; did you mean ‘uint’? 112 | mutable uint4 flags; ///< Collection of boolean attributes on this op | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:113:11: error: ‘uint4’ does not name a type; did you mean ‘uint’? 113 | mutable uint4 addlflags; ///< Additional boolean attributes for this op | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:125:19: error: ‘int4’ has not been declared 125 | void clearInput(int4 slot) { inrefs[slot] = (Varnode *)0; } ///< Clear a specific input Varnode to \e null | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:126:29: error: ‘int4’ has not been declared 126 | void setInput(Varnode *vn,int4 slot) { inrefs[slot] = vn; } ///< Set a specific input Varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:127:16: error: ‘uint4’ has not been declared 127 | void setFlag(uint4 fl) { flags |= fl; } ///< Set specific boolean attribute(s) on this op | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:128:18: error: ‘uint4’ has not been declared 128 | void clearFlag(uint4 fl) { flags &= ~fl; } ///< Clear specific boolean attribute(s) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:129:26: error: ‘uint4’ has not been declared 129 | void setAdditionalFlag(uint4 fl) { addlflags |= fl; } ///< Set specific boolean attribute | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:130:28: error: ‘uint4’ has not been declared 130 | void clearAdditionalFlag(uint4 fl) { addlflags &= ~fl; } ///< Clear specific boolean atribute | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:131:17: error: ‘uint4’ has not been declared 131 | void flipFlag(uint4 fl) { flags ^= fl; } ///< Flip the setting of specific boolean attribute(s) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:132:21: error: ‘int4’ has not been declared 132 | void setNumInputs(int4 num); ///< Make sure this op has \b num inputs | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:133:20: error: ‘int4’ has not been declared 133 | void removeInput(int4 slot); ///< Eliminate a specific input Varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:134:20: error: ‘int4’ has not been declared 134 | void insertInput(int4 slot); ///< Make room for a new input Varnode at a specific position | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:135:17: error: ‘uintm’ has not been declared 135 | void setOrder(uintm ord) { start.setOrder(ord); } ///< Order this op within the ops for a single instruction | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:140:15: error: expected ‘)’ before ‘s’ 140 | PcodeOp(int4 s,const SeqNum &sq); ///< Construct an unattached PcodeOp | ~ ^~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isMarker() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:167:40: error: ‘flags’ was not declared in this scope 167 | bool isMarker(void) const { return ((flags&PcodeOp::marker)!=0); } ///< Return \b true is a special SSA form op | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:543:3: error: ‘int4’ does not name a type; did you mean ‘int’? 543 | int4 num; // Total number of patterns we distinguish | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:142:3: error: ‘int4’ does not name a type; did you mean ‘int’? 142 | int4 numInput(void) const { return inrefs.size(); } ///< Get the number of inputs to this op | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:145:18: error: ‘int4’ has not been declared 145 | Varnode *getIn(int4 slot) { return inrefs[slot]; } ///< Get a specific input Varnode to this op | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:146:24: error: ‘int4’ has not been declared 146 | const Varnode *getIn(int4 slot) const { return (const Varnode *) inrefs[slot]; } ///< Get a specific input Varnode to this op | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘void Constructor::addSyntax(const string&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1429:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 1429 | for(int4 i=0;i::const_iterator iter) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:91:3: error: ‘int4’ does not name a type; did you mean ‘int’? 91 | int4 delayslot; // delayslot depth | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1429:16: error: ‘i’ was not declared in this scope 1429 | for(int4 i=0;i &bins,DisjointPattern *pat); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:551:37: error: template argument 1 is invalid 551 | void consistentValues(vector &bins,DisjointPattern *pat); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:551:37: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:99:3: error: ‘int4’ does not name a type; did you mean ‘int’? 99 | int4 getParserState(void) const { return parsestate; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:100:23: error: ‘int4’ has not been declared 100 | void setParserState(int4 st) { parsestate = st; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:102:24: error: ‘int4’ has not been declared 102 | void allocateOperand(int4 i,ParserWalkerChange &walker); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:106:36: error: ‘int4’ has not been declared 106 | void addCommit(TripleSymbol *sym,int4 num,uintm mask,bool flow,ConstructState *point); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:106:45: error: ‘uintm’ has not been declared 106 | void addCommit(TripleSymbol *sym,int4 num,uintm mask,bool flow,ConstructState *point); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isIndirectStore() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:169:47: error: ‘flags’ was not declared in this scope 169 | bool isIndirectStore(void) const { return ((flags&PcodeOp::indirect_store)!=0); } ///< Return \b true if \b this INDIRECT is caused by STORE | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:207:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 207 | uintm getCseHash(void) const; ///< Return hash indicating possibility of common subexpression elimination | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:115:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 115 | uintm getInstructionBytes(int4 byteoff,int4 numbytes,uint4 off) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:213:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 213 | uintb collapse(bool &markedInput) const; ///< Calculate the constant output produced by this op | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:116:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 116 | uintm getContextBytes(int4 byteoff,int4 numbytes) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:218:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 218 | uintb getNZMaskLocal(bool cliploop) const; ///< Calculate known zero bits for output to this op | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:117:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 117 | uintm getInstructionBits(int4 startbit,int4 size,uint4 off) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::notPrinted() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:171:42: error: ‘flags’ was not declared in this scope 171 | bool notPrinted(void) const { return ((flags&(PcodeOp::marker|PcodeOp::nonprinting|PcodeOp::noreturn))!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘void PcodeOp::setAdditionalFlag(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:129:38: error: ‘addlflags’ was not declared in this scope 129 | void setAdditionalFlag(uint4 fl) { addlflags |= fl; } ///< Set specific boolean attribute | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:219:3: error: ‘int4’ does not name a type; did you mean ‘int’? 219 | int4 compareOrder(const PcodeOp *bop) const; ///< Compare the control-flow order of this and \e bop | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:228:28: error: ‘int4’ has not been declared 228 | Datatype *inputTypeLocal(int4 slot) const { return opcode->getInputLocal(this,slot); } ///< Calculate the local input type | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:118:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 118 | uintm getContextBits(int4 startbit,int4 size) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:229:29: error: ‘int4’ has not been declared 229 | bool markExplicitUnsigned(int4 slot) { return opcode->markExplicitUnsigned(this,slot); } ///< Decide on unsignedness printing | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:119:23: error: ‘int4’ has not been declared 119 | void setContextWord(int4 i,uintm val,uintm mask) { context[i] = (context[i]&(~mask))|(mask&val); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:119:30: error: ‘uintm’ has not been declared 119 | void setContextWord(int4 i,uintm val,uintm mask) { context[i] = (context[i]&(~mask))|(mask&val); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:119:40: error: ‘uintm’ has not been declared 119 | void setContextWord(int4 i,uintm val,uintm mask) { context[i] = (context[i]&(~mask))|(mask&val); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:121:3: error: ‘int4’ does not name a type; did you mean ‘int’? 121 | int4 getLength(void) const { return base_state->length; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:122:21: error: ‘int4’ has not been declared 122 | void setDelaySlot(int4 val) { delayslot = val; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:123:3: error: ‘int4’ does not name a type; did you mean ‘int’? 123 | int4 getDelaySlot(void) const { return delayslot; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isBoolOutput() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:173:44: error: ‘flags’ was not declared in this scope 173 | bool isBoolOutput(void) const { return ((flags&PcodeOp::booloutput)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1439:8: error: ‘firstwhitespace’ was not declared in this scope 1439 | if ((firstwhitespace==-1)&&(syntrim == " ")) | ^~~~~~~~~~~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘void PcodeOp::setFlag(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:127:28: error: ‘flags’ was not declared in this scope 127 | void setFlag(uint4 fl) { flags |= fl; } ///< Set specific boolean attribute(s) on this op | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘void PcodeOp::clearAdditionalFlag(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:130:40: error: ‘addlflags’ was not declared in this scope 130 | void clearAdditionalFlag(uint4 fl) { addlflags &= ~fl; } ///< Clear specific boolean atribute | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isBranch() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:174:40: error: ‘flags’ was not declared in this scope 174 | bool isBranch(void) const { return ((flags&PcodeOp::branch)!=0); } ///< Return \b true if this op is a branch | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1459:53: error: ‘int4’ has not been declared 1459 | void Constructor::setNamedSection(ConstructTpl *tpl,int4 id) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1467:15: error: ‘ConstructTpl* Constructor::getNamedTempl’ is not a static data member of ‘class Constructor’ 1467 | ConstructTpl *Constructor::getNamedTempl(int4 secnum) const | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In destructor ‘ParserContext::~ParserContext()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:30: error: ‘context’ was not declared in this scope 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:579:3: error: ‘int4’ does not name a type; did you mean ‘int’? 579 | int4 getNumConstructors(void) const { return construct.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘void PcodeOp::clearFlag(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:128:30: error: ‘flags’ was not declared in this scope 128 | void clearFlag(uint4 fl) { flags &= ~fl; } ///< Clear specific boolean attribute(s) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:580:31: error: ‘uintm’ has not been declared 580 | Constructor *getConstructor(uintm id) const { return construct[id]; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘void PcodeOp::flipFlag(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:131:29: error: ‘flags’ was not declared in this scope 131 | void flipFlag(uint4 fl) { flags ^= fl; } ///< Flip the setting of specific boolean attribute(s) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:585:11: error: ‘int4’ does not name a type; did you mean ‘int’? 585 | virtual int4 getSize(void) const { return -1; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:42: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:49: error: expected primary-expression before ‘)’ token 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isCallOrBranch() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:176:46: error: ‘flags’ was not declared in this scope 176 | bool isCallOrBranch(void) const { return ((flags&(PcodeOp::branch|PcodeOp::call))!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:50: error: expected ‘)’ before numeric constant 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:29: note: to match this ‘(’ 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:63: error: type ‘’ argument given to ‘delete’, expected pointer 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1467:42: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 1467 | ConstructTpl *Constructor::getNamedTempl(int4 secnum) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:588:42: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 588 | virtual void collectLocalValues(vector &results) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:588:47: error: template argument 1 is invalid 588 | virtual void collectLocalValues(vector &results) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:588:47: error: template argument 2 is invalid In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isDead() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:162:38: error: ‘flags’ was not declared in this scope 162 | bool isDead(void) const { return ((flags&PcodeOp::dead)!=0); } ///< Return \b true if this op is dead | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isFlowBreak() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:178:43: error: ‘flags’ was not declared in this scope 178 | bool isFlowBreak(void) const { return ((flags&(PcodeOp::branch|PcodeOp::returns))!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘void PcodeOp::setAdditionalFlag(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:129:38: error: ‘addlflags’ was not declared in this scope 129 | void setAdditionalFlag(uint4 fl) { addlflags |= fl; } ///< Set specific boolean attribute | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserContext::setParserState(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:100:34: error: ‘parsestate’ was not declared in this scope; did you mean ‘base_state’? 100 | void setParserState(int4 st) { parsestate = st; } | ^~~~~~~~~~ | base_state /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isCall() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:164:38: error: ‘flags’ was not declared in this scope 164 | bool isCall(void) const { return ((flags&PcodeOp::call)!=0); } ///< Return \b true if this op indicates call semantics | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isBooleanFlip() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:180:45: error: ‘flags’ was not declared in this scope 180 | bool isBooleanFlip(void) const { return ((flags&PcodeOp::boolean_flip)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:596:3: error: ‘int4’ does not name a type; did you mean ‘int’? 596 | int4 index; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:600:32: error: ‘int4’ has not been declared 600 | MacroSymbol(const string &nm,int4 i) : SleighSymbol(nm) { index = i; construct = (ConstructTpl *)0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘void Constructor::print(std::ostream&, ParserWalker&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1482:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 1482 | int4 index = (*piter)[1]-'A'; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1483:15: error: no match for ‘operator[]’ (operand types are ‘const std::vector’ and ‘’) 1483 | operands[index]->print(s,walker); | ^ In file included from /usr/include/c++/11.2.0/vector:67, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:31, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/bits/stl_vector.h:1043:7: note: candidate: ‘std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) [with _Tp = OperandSymbol*; _Alloc = std::allocator; std::vector<_Tp, _Alloc>::reference = OperandSymbol*&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]’ 1043 | operator[](size_type __n) _GLIBCXX_NOEXCEPT | ^~~~~~~~ /usr/include/c++/11.2.0/bits/stl_vector.h:1043:28: note: no known conversion for argument 1 from ‘’ to ‘std::vector::size_type’ {aka ‘long unsigned int’} 1043 | operator[](size_type __n) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~^~~ /usr/include/c++/11.2.0/bits/stl_vector.h:1061:7: note: candidate: ‘std::vector<_Tp, _Alloc>::const_reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) const [with _Tp = OperandSymbol*; _Alloc = std::allocator; std::vector<_Tp, _Alloc>::const_reference = OperandSymbol* const&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]’ 1061 | operator[](size_type __n) const _GLIBCXX_NOEXCEPT | ^~~~~~~~ /usr/include/c++/11.2.0/bits/stl_vector.h:1061:28: note: no known conversion for argument 1 from ‘’ to ‘std::vector::size_type’ {aka ‘long unsigned int’} 1061 | operator[](size_type __n) const _GLIBCXX_NOEXCEPT | ~~~~~~~~~~^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:601:3: error: ‘int4’ does not name a type; did you mean ‘int’? 601 | int4 getIndex(void) const { return index; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘void PcodeOp::clearAdditionalFlag(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:130:40: error: ‘addlflags’ was not declared in this scope 130 | void clearAdditionalFlag(uint4 fl) { addlflags &= ~fl; } ///< Clear specific boolean atribute | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isCallWithoutSpec() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:166:49: error: ‘flags’ was not declared in this scope 166 | bool isCallWithoutSpec(void) const { return ((flags&(PcodeOp::call|PcodeOp::has_callspec))==PcodeOp::call); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:605:3: error: ‘int4’ does not name a type; did you mean ‘int’? 605 | int4 getNumOperands(void) const { return operands.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:606:29: error: ‘int4’ has not been declared 606 | OperandSymbol *getOperand(int4 i) const { return operands[i]; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isFallthruTrue() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:182:46: error: ‘flags’ was not declared in this scope 182 | bool isFallthruTrue(void) const { return ((flags&PcodeOp::fallthru_true)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserContext::setContextWord(int, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:119:54: error: ‘context’ was not declared in this scope 119 | void setContextWord(int4 i,uintm val,uintm mask) { context[i] = (context[i]&(~mask))|(mask&val); } | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘MacroSymbol::MacroSymbol(const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:600:69: error: overloaded function with no contextual type information 600 | MacroSymbol(const string &nm,int4 i) : SleighSymbol(nm) { index = i; construct = (ConstructTpl *)0; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘void PcodeOp::flipFlag(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:131:29: error: ‘flags’ was not declared in this scope 131 | void flipFlag(uint4 fl) { flags ^= fl; } ///< Flip the setting of specific boolean attribute(s) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isMarker() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:167:40: error: ‘flags’ was not declared in this scope 167 | bool isMarker(void) const { return ((flags&PcodeOp::marker)!=0); } ///< Return \b true is a special SSA form op | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isCodeRef() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:183:41: error: ‘flags’ was not declared in this scope 183 | bool isCodeRef(void) const { return ((flags&PcodeOp::coderef)!=0); } ///< Return \b true if the first input is a code reference | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:612:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 612 | uint4 index; // Local 1 up index of label | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserContext::loadContext()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:120:55: error: ‘context’ was not declared in this scope 120 | void loadContext(void) { contcache->getContext(addr,context); } | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:614:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 614 | uint4 refcount; // Number of references to this label | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:616:32: error: ‘uint4’ has not been declared 616 | LabelSymbol(const string &nm,uint4 i) : SleighSymbol(nm) { index = i; refcount = 0; isplaced=false; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isIndirectCreation() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:168:50: error: ‘flags’ was not declared in this scope 168 | bool isIndirectCreation(void) const { return ((flags&PcodeOp::indirect_creation)!=0); } ///< Return \b true if op creates a varnode indirectly | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isInstructionStart() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:184:50: error: ‘flags’ was not declared in this scope 184 | bool isInstructionStart(void) const { return ((flags&PcodeOp::startmark)!=0); } ///< Return \b true if this starts an instruction | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:617:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 617 | uint4 getIndex(void) const { return index; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:619:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 619 | uint4 getRefCount(void) const { return refcount; } | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isDead() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:162:38: error: ‘flags’ was not declared in this scope 162 | bool isDead(void) const { return ((flags&PcodeOp::dead)!=0); } ///< Return \b true if this op is dead | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘LabelSymbol::LabelSymbol(const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:616:70: error: overloaded function with no contextual type information 616 | LabelSymbol(const string &nm,uint4 i) : SleighSymbol(nm) { index = i; refcount = 0; isplaced=false; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘void Constructor::printMnemonic(std::ostream&, ParserWalker&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1493:7: error: ‘flowthruindex’ was not declared in this scope 1493 | if (flowthruindex != -1) { | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isIndirectStore() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:169:47: error: ‘flags’ was not declared in this scope 169 | bool isIndirectStore(void) const { return ((flags&PcodeOp::indirect_store)!=0); } ///< Return \b true if \b this INDIRECT is caused by STORE | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isBlockStart() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:185:44: error: ‘flags’ was not declared in this scope 185 | bool isBlockStart(void) const { return ((flags&PcodeOp::startbasic)!=0); } ///< Return \b true if this starts a basic block | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserContext::setDelaySlot(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:122:33: error: ‘delayslot’ was not declared in this scope; did you mean ‘setDelaySlot’? 122 | void setDelaySlot(int4 val) { delayslot = val; } | ^~~~~~~~~ | setDelaySlot /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isCall() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:164:38: error: ‘flags’ was not declared in this scope 164 | bool isCall(void) const { return ((flags&PcodeOp::call)!=0); } ///< Return \b true if this op indicates call semantics | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:131:3: error: ‘int4’ does not name a type; did you mean ‘int’? 131 | int4 depth; // Depth of the current node | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1502:3: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 1502 | int4 endind = (firstwhitespace==-1) ? printpiece.size() : firstwhitespace; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1503:11: error: expected ‘;’ before ‘i’ 1503 | for(int4 i=0;iresolve[i]; breadcrumb[depth] = 0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:142:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 142 | uint4 getOffset(int4 i) const { if (i<0) return point->offset; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isCallWithoutSpec() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:166:49: error: ‘flags’ was not declared in this scope 166 | bool isCallWithoutSpec(void) const { return ((flags&(PcodeOp::call|PcodeOp::has_callspec))==PcodeOp::call); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:145:3: error: ‘int4’ does not name a type; did you mean ‘int’? 145 | int4 getOperand(void) const { return breadcrumb[depth]; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:147:37: error: ‘int4’ has not been declared 147 | const FixedHandle &getFixedHandle(int4 i) const { return point->resolve[i]->hand; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isModified() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:186:42: error: ‘addlflags’ was not declared in this scope 186 | bool isModified(void) const { return ((addlflags&PcodeOp::modified)!=0); } ///< Return \b true if this is modified by the current action | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1503:16: error: ‘i’ was not declared in this scope 1503 | for(int4 i=0;igetLength(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isBoolOutput() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:173:44: error: ‘flags’ was not declared in this scope 173 | bool isBoolOutput(void) const { return ((flags&PcodeOp::booloutput)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:155:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 155 | uintm getInstructionBytes(int4 byteoff,int4 numbytes) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:157:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 157 | uintm getContextBytes(int4 byteoff,int4 numbytes) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void LabelSymbol::incrementRefCount()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:618:34: error: ‘refcount’ was not declared in this scope 618 | void incrementRefCount(void) { refcount += 1; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isMarker() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:167:40: error: ‘flags’ was not declared in this scope 167 | bool isMarker(void) const { return ((flags&PcodeOp::marker)!=0); } ///< Return \b true is a special SSA form op | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isMark() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:187:38: error: ‘flags’ was not declared in this scope 187 | bool isMark(void) const { return ((flags&PcodeOp::mark)!=0); } ///< Return \b true if this op has been marked | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:159:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 159 | uintm getInstructionBits(int4 startbit,int4 size) const { | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:39:5: error: ‘int4’ does not name a type; did you mean ‘int’? 39 | int4 index(const string filename); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isBranch() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:174:40: error: ‘flags’ was not declared in this scope 174 | bool isBranch(void) const { return ((flags&PcodeOp::branch)!=0); } ///< Return \b true if this op is a branch | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:161:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 161 | uintm getContextBits(int4 startbit,int4 size) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:40:9: error: ‘int4’ does not name a type; did you mean ‘int’? 40 | int4 getIndex(const string); ///< get the index of a file. Error if the file is not in the index. | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:41:28: error: ‘int4’ has not been declared 41 | string getFilename(int4); ///< get the filename corresponding to an index | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:46:9: error: ‘int4’ does not name a type; did you mean ‘int’? 46 | int4 leastUnusedIndex; ///< one-up count for assigning indices to files | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isIndirectCreation() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:168:50: error: ‘flags’ was not declared in this scope 168 | bool isIndirectCreation(void) const { return ((flags&PcodeOp::indirect_creation)!=0); } ///< Return \b true if op creates a varnode indirectly | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘void PcodeOp::setMark() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:188:30: error: ‘flags’ was not declared in this scope 188 | void setMark(void) const { flags |= PcodeOp::mark; } ///< Set the mark on this op | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1503:18: error: ‘endind’ was not declared in this scope 1503 | for(int4 i=0;i’ and ‘’) 1506 | operands[index]->print(s,walker); | ^ In file included from /usr/include/c++/11.2.0/vector:67, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:31, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/bits/stl_vector.h:1043:7: note: candidate: ‘std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) [with _Tp = OperandSymbol*; _Alloc = std::allocator; std::vector<_Tp, _Alloc>::reference = OperandSymbol*&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]’ 1043 | operator[](size_type __n) _GLIBCXX_NOEXCEPT | ^~~~~~~~ /usr/include/c++/11.2.0/bits/stl_vector.h:1043:28: note: no known conversion for argument 1 from ‘’ to ‘std::vector::size_type’ {aka ‘long unsigned int’} 1043 | operator[](size_type __n) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isCallOrBranch() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:176:46: error: ‘flags’ was not declared in this scope 176 | bool isCallOrBranch(void) const { return ((flags&(PcodeOp::branch|PcodeOp::call))!=0); } | ^~~~~ /usr/include/c++/11.2.0/bits/stl_vector.h:1061:7: note: candidate: ‘std::vector<_Tp, _Alloc>::const_reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) const [with _Tp = OperandSymbol*; _Alloc = std::allocator; std::vector<_Tp, _Alloc>::const_reference = OperandSymbol* const&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]’ 1061 | operator[](size_type __n) const _GLIBCXX_NOEXCEPT | ^~~~~~~~ /usr/include/c++/11.2.0/bits/stl_vector.h:1061:28: note: no known conversion for argument 1 from ‘’ to ‘std::vector::size_type’ {aka ‘long unsigned int’} 1061 | operator[](size_type __n) const _GLIBCXX_NOEXCEPT | ~~~~~~~~~~^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:47:13: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 47 | map indexToFile; ///< map from indices to files | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:47:25: error: template argument 1 is invalid 47 | map indexToFile; ///< map from indices to files | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:47:25: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:47:25: error: template argument 4 is invalid In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:20, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserWalker::baseState()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:137:61: error: ‘depth’ was not declared in this scope 137 | void baseState(void) { point = const_context->base_state; depth=0; breadcrumb[0] = 0; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isIndirectStore() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:169:47: error: ‘flags’ was not declared in this scope 169 | bool isIndirectStore(void) const { return ((flags&PcodeOp::indirect_store)!=0); } ///< Return \b true if \b this INDIRECT is caused by STORE | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isFlowBreak() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:178:43: error: ‘flags’ was not declared in this scope 178 | bool isFlowBreak(void) const { return ((flags&(PcodeOp::branch|PcodeOp::returns))!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:48:21: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 48 | map fileToIndex; ///< map from files to indices | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:48:25: error: template argument 2 is invalid 48 | map fileToIndex; ///< map from files to indices | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:48:25: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isWarning() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:189:41: error: ‘addlflags’ was not declared in this scope 189 | bool isWarning(void) const { return ((addlflags&PcodeOp::warning)!=0); } ///< Return \b true if a warning has been generated for this op | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::notPrinted() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:171:42: error: ‘flags’ was not declared in this scope 171 | bool notPrinted(void) const { return ((flags&(PcodeOp::marker|PcodeOp::nonprinting|PcodeOp::noreturn))!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isBooleanFlip() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:180:45: error: ‘flags’ was not declared in this scope 180 | bool isBooleanFlip(void) const { return ((flags&PcodeOp::boolean_flip)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:137:70: error: ‘breadcrumb’ was not declared in this scope 137 | void baseState(void) { point = const_context->base_state; depth=0; breadcrumb[0] = 0; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘void PcodeOp::clearMark() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:190:32: error: ‘flags’ was not declared in this scope 190 | void clearMark(void) const { flags &= ~PcodeOp::mark; } ///< Clear any mark on this op | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘void Constructor::printBody(std::ostream&, ParserWalker&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1516:7: error: ‘flowthruindex’ was not declared in this scope 1516 | if (flowthruindex != -1) { | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isBoolOutput() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:173:44: error: ‘flags’ was not declared in this scope 173 | bool isBoolOutput(void) const { return ((flags&PcodeOp::booloutput)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isFallthruTrue() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:182:46: error: ‘flags’ was not declared in this scope 182 | bool isFallthruTrue(void) const { return ((flags&PcodeOp::fallthru_true)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh: In constructor ‘SourceFileIndexer::SourceFileIndexer()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:36:26: error: ‘leastUnusedIndex’ was not declared in this scope 36 | SourceFileIndexer() {leastUnusedIndex = 0;} | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isIndirectSource() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:191:48: error: ‘flags’ was not declared in this scope 191 | bool isIndirectSource(void) const { return ((flags&PcodeOp::indirect_source)!=0); } ///< Return \b true if this causes an INDIRECT | ^~~~~ make[2]: *** [ghidra/CMakeFiles/ghidra_decompiler_sleigh.dir/build.make:90: ghidra/CMakeFiles/ghidra_decompiler_sleigh.dir/__/ghidra-native/src/decompiler/sleigh.cc.o] Error 1 /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:58:16: error: ‘int4’ does not name a type; did you mean ‘int’? 58 | static const int4 SLA_FORMAT_VERSION; ///< Current version of the .sla file read/written by SleighBash | ^~~~ | int make[2]: *** [ghidra/CMakeFiles/ghidra_decompiler_sleigh.dir/build.make:202: ghidra/CMakeFiles/ghidra_decompiler_sleigh.dir/__/ghidra-native/src/decompiler/slghpattern.cc.o] Error 1 /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isBranch() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:174:40: error: ‘flags’ was not declared in this scope 174 | bool isBranch(void) const { return ((flags&PcodeOp::branch)!=0); } ///< Return \b true if this op is a branch | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isCodeRef() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:183:41: error: ‘flags’ was not declared in this scope 183 | bool isCodeRef(void) const { return ((flags&PcodeOp::coderef)!=0); } ///< Return \b true if the first input is a code reference | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserWalker::pushOperand(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:140:30: error: ‘breadcrumb’ was not declared in this scope 140 | void pushOperand(int4 i) { breadcrumb[depth++] = i+1; point = point->resolve[i]; breadcrumb[depth] = 0; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘void PcodeOp::setIndirectSource()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:192:34: error: ‘flags’ was not declared in this scope 192 | void setIndirectSource(void) { flags |= PcodeOp::indirect_source; } ///< Mark this op as source of INDIRECT | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isInstructionStart() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:184:50: error: ‘flags’ was not declared in this scope 184 | bool isInstructionStart(void) const { return ((flags&PcodeOp::startmark)!=0); } ///< Return \b true if this starts an instruction | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isCallOrBranch() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:176:46: error: ‘flags’ was not declared in this scope 176 | bool isCallOrBranch(void) const { return ((flags&(PcodeOp::branch|PcodeOp::call))!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:140:41: error: ‘depth’ was not declared in this scope 140 | void pushOperand(int4 i) { breadcrumb[depth++] = i+1; point = point->resolve[i]; breadcrumb[depth] = 0; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘void PcodeOp::clearIndirectSource()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:193:36: error: ‘flags’ was not declared in this scope 193 | void clearIndirectSource(void) { flags &= ~PcodeOp::indirect_source; } ///< Clear INDIRECT source flag | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1525:7: error: ‘firstwhitespace’ was not declared in this scope 1525 | if (firstwhitespace == -1) return; // Nothing to print after firstwhitespace | ^~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isBlockStart() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:185:44: error: ‘flags’ was not declared in this scope 185 | bool isBlockStart(void) const { return ((flags&PcodeOp::startbasic)!=0); } ///< Return \b true if this starts a basic block | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isFlowBreak() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:178:43: error: ‘flags’ was not declared in this scope 178 | bool isFlowBreak(void) const { return ((flags&(PcodeOp::branch|PcodeOp::returns))!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isPtrFlow() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:194:41: error: ‘flags’ was not declared in this scope 194 | bool isPtrFlow(void) const { return ((flags&PcodeOp::ptrflow)!=0); } ///< Return \b true if this produces/consumes ptrs | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserWalker::popOperand()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:141:50: error: ‘depth’ was not declared in this scope 141 | void popOperand(void) { point = point->parent; depth-= 1; } | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:20, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:172:18: error: ‘uint4’ has not been declared 172 | void setOffset(uint4 off) { point->offset = off; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:64:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 64 | uint4 maxdelayslotbytes; ///< Maximum number of bytes in a delay-slot directive | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:174:25: error: ‘int4’ has not been declared 174 | void setCurrentLength(int4 len) { point->length = len; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:175:26: error: ‘int4’ has not been declared 175 | void calcCurrentLength(int4 length,int4 numopers); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:175:38: error: ‘int4’ has not been declared 175 | void calcCurrentLength(int4 length,int4 numopers); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isBooleanFlip() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:180:45: error: ‘flags’ was not declared in this scope 180 | bool isBooleanFlip(void) const { return ((flags&PcodeOp::boolean_flip)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1526:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 1526 | for(int4 i=firstwhitespace+1;ioffset = off; } | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserWalkerChange::setCurrentLength(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:174:44: error: ‘struct ConstructState’ has no member named ‘length’ 174 | void setCurrentLength(int4 len) { point->length = len; } | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:65:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 65 | uint4 unique_allocatemask; ///< Bits that are guaranteed to be zero in the unique allocation scheme | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘void PcodeOp::setPtrFlow()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:195:27: error: ‘flags’ was not declared in this scope 195 | void setPtrFlow(void) { flags |= PcodeOp::ptrflow; } ///< Mark this op as consuming/producing ptrs | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isModified() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:186:42: error: ‘addlflags’ was not declared in this scope 186 | bool isModified(void) const { return ((addlflags&PcodeOp::modified)!=0); } ///< Return \b true if this is modified by the current action | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:66:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 66 | uint4 numSections; ///< Number of \e named sections | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:72:16: error: ‘uintb’ does not name a type; did you mean ‘uint’? 72 | static const uintb MAX_UNIQUE_SIZE; ///< Maximum size of a varnode in the unique space (should match value in SleighBase.java) | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:76:61: error: ‘uintb’ has not been declared 76 | virtual void addRegister(const string &nm,AddrSpace *base,uintb offset,int4 size); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:76:74: error: ‘int4’ has not been declared 76 | virtual void addRegister(const string &nm,AddrSpace *base,uintb offset,int4 size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:78:50: error: ‘uintb’ has not been declared 78 | virtual string getRegisterName(AddrSpace *base,uintb off,int4 size) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:78:60: error: ‘int4’ has not been declared 78 | virtual string getRegisterName(AddrSpace *base,uintb off,int4 size) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:83:28: error: ‘uintm’ has not been declared 83 | SleighSymbol *findSymbol(uintm id) const { return symtab.findSymbol(id); } ///< Find a specific SLEIGH symbol by id | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isFallthruTrue() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:182:46: error: ‘flags’ was not declared in this scope 182 | bool isFallthruTrue(void) const { return ((flags&PcodeOp::fallthru_true)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1526:32: error: ‘i’ was not declared in this scope 1526 | for(int4 i=firstwhitespace+1;i’ and ‘’) 1529 | operands[index]->print(s,walker); | ^ In file included from /usr/include/c++/11.2.0/vector:67, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:31, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/bits/stl_vector.h:1043:7: note: candidate: ‘std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) [with _Tp = OperandSymbol*; _Alloc = std::allocator; std::vector<_Tp, _Alloc>::reference = OperandSymbol*&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]’ 1043 | operator[](size_type __n) _GLIBCXX_NOEXCEPT | ^~~~~~~~ /usr/include/c++/11.2.0/bits/stl_vector.h:1043:28: note: no known conversion for argument 1 from ‘’ to ‘std::vector::size_type’ {aka ‘long unsigned int’} 1043 | operator[](size_type __n) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~^~~ /usr/include/c++/11.2.0/bits/stl_vector.h:1061:7: note: candidate: ‘std::vector<_Tp, _Alloc>::const_reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) const [with _Tp = OperandSymbol*; _Alloc = std::allocator; std::vector<_Tp, _Alloc>::const_reference = OperandSymbol* const&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]’ 1061 | operator[](size_type __n) const _GLIBCXX_NOEXCEPT | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserContext::deallocateState(ParserWalkerChange&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:183:3: error: ‘alloc’ was not declared in this scope; did you mean ‘valloc’? 183 | alloc = 1; | ^~~~~ | valloc /usr/include/c++/11.2.0/bits/stl_vector.h:1061:28: note: no known conversion for argument 1 from ‘’ to ‘std::vector::size_type’ {aka ‘long unsigned int’} 1061 | operator[](size_type __n) const _GLIBCXX_NOEXCEPT | ~~~~~~~~~~^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:188:13: error: variable or field ‘allocateOperand’ declared void 188 | inline void ParserContext::allocateOperand(int4 i,ParserWalkerChange &walker) { | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isMark() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:187:38: error: ‘flags’ was not declared in this scope 187 | bool isMark(void) const { return ((flags&PcodeOp::mark)!=0); } ///< Return \b true if this op has been marked | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isSplitting() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:196:43: error: ‘flags’ was not declared in this scope 196 | bool isSplitting(void) const { return ((flags&PcodeOp::splittingbranch)!=0); } ///< Return \b true if this branch splits | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:19:1: error: ‘int4’ does not name a type; did you mean ‘int’? 19 | int4 TokenPattern::resolveTokens(const TokenPattern &tok1,const TokenPattern &tok2) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:153:15: error: ‘PatternBlock* TokenPattern::buildSingle’ is not a static data member of ‘class TokenPattern’ 153 | PatternBlock *TokenPattern::buildSingle(int4 startbit,int4 endbit,uintm byteval) | ^~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:188:44: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 188 | inline void ParserContext::allocateOperand(int4 i,ParserWalkerChange &walker) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:188:70: error: expected primary-expression before ‘&’ token 188 | inline void ParserContext::allocateOperand(int4 i,ParserWalkerChange &walker) { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isCodeRef() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:183:41: error: ‘flags’ was not declared in this scope 183 | bool isCodeRef(void) const { return ((flags&PcodeOp::coderef)!=0); } ///< Return \b true if the first input is a code reference | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘void PcodeOp::setMark() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:188:30: error: ‘flags’ was not declared in this scope 188 | void setMark(void) const { flags |= PcodeOp::mark; } ///< Set the mark on this op | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:153:41: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 153 | PatternBlock *TokenPattern::buildSingle(int4 startbit,int4 endbit,uintm byteval) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:188:71: error: ‘walker’ was not declared in this scope 188 | inline void ParserContext::allocateOperand(int4 i,ParserWalkerChange &walker) { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1546:47: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 1546 | void Constructor::markSubtableOperands(vector &check) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1546:51: error: template argument 1 is invalid 1546 | void Constructor::markSubtableOperands(vector &check) const | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1546:51: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘void Constructor::markSubtableOperands(int&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1549:9: error: request for member ‘resize’ in ‘check’, which is of non-class type ‘int’ 1549 | check.resize(operands.size()); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::doesSpecialPropagation() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:197:54: error: ‘addlflags’ was not declared in this scope 197 | bool doesSpecialPropagation(void) const { return ((addlflags&PcodeOp::special_prop)!=0); } ///< Return \b true if this does datatype propagation | ^~~~~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:20, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:42:5: error: ‘int4’ does not name a type; did you mean ‘int’? 42 | int4 handle_index; // Place holder for run-time determined value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isInstructionStart() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:184:50: error: ‘flags’ was not declared in this scope 184 | bool isInstructionStart(void) const { return ((flags&PcodeOp::startmark)!=0); } ///< Return \b true if this starts an instruction | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:153:55: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 153 | PatternBlock *TokenPattern::buildSingle(int4 startbit,int4 endbit,uintm byteval) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:44:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 44 | uintb value_real; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:52:26: error: ‘uintb’ has not been declared 52 | ConstTpl(const_type tp,uintb val); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:55:26: error: ‘int4’ has not been declared 55 | ConstTpl(const_type tp,int4 ht,v_field vf); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:56:26: error: ‘int4’ has not been declared 56 | ConstTpl(const_type tp,int4 ht,v_field vf,uintb plus); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:56:45: error: ‘uintb’ has not been declared 56 | ConstTpl(const_type tp,int4 ht,v_field vf,uintb plus); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:61:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 61 | uintb getReal(void) const { return value_real; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isWarning() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:189:41: error: ‘addlflags’ was not declared in this scope 189 | bool isWarning(void) const { return ((addlflags&PcodeOp::warning)!=0); } ///< Return \b true if a warning has been generated for this op | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1550:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 1550 | for(int4 i=0;i &handmap); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:70:43: error: template argument 1 is invalid 70 | void changeHandleIndex(const vector &handmap); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:70:43: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:175:53: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 175 | PatternBlock *TokenPattern::buildBigBlock(int4 size,int4 bitstart,int4 bitend,intb value) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isModified() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:186:42: error: ‘addlflags’ was not declared in this scope 186 | bool isModified(void) const { return ((addlflags&PcodeOp::modified)!=0); } ///< Return \b true if this is modified by the current action | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isIndirectSource() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:191:48: error: ‘flags’ was not declared in this scope 191 | bool isIndirectSource(void) const { return ((flags&PcodeOp::indirect_source)!=0); } ///< Return \b true if this causes an INDIRECT | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isIncidentalCopy() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:199:48: error: ‘addlflags’ was not declared in this scope 199 | bool isIncidentalCopy(void) const { return ((addlflags&PcodeOp::incidental_copy)!=0); } ///< Return \b true if \b this COPY is \e incidental | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:175:67: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 175 | PatternBlock *TokenPattern::buildBigBlock(int4 size,int4 bitstart,int4 bitend,intb value) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1559:46: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 1559 | void Constructor::collectLocalExports(vector &results) const | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1559:51: error: template argument 1 is invalid 1559 | void Constructor::collectLocalExports(vector &results) const | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1559:51: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘void Constructor::collectLocalExports(int&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1568:15: error: request for member ‘push_back’ in ‘results’, which is of non-class type ‘int’ 1568 | results.push_back(handle->getTempOffset().getReal()); | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1568:49: error: ‘const class ConstTpl’ has no member named ‘getReal’ 1568 | results.push_back(handle->getTempOffset().getReal()); | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1572:13: error: request for member ‘push_back’ in ‘results’, which is of non-class type ‘int’ 1572 | results.push_back(handle->getPtrOffset().getReal()); | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1572:46: error: ‘const class ConstTpl’ has no member named ‘getReal’ 1572 | results.push_back(handle->getPtrOffset().getReal()); | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isMark() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:187:38: error: ‘flags’ was not declared in this scope 187 | bool isMark(void) const { return ((flags&PcodeOp::mark)!=0); } ///< Return \b true if this op has been marked | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘void PcodeOp::setIndirectSource()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:192:34: error: ‘flags’ was not declared in this scope 192 | void setIndirectSource(void) { flags |= PcodeOp::indirect_source; } ///< Mark this op as source of INDIRECT | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:175:79: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 175 | PatternBlock *TokenPattern::buildBigBlock(int4 size,int4 bitstart,int4 bitend,intb value) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: In constructor ‘ConstTpl::ConstTpl()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:49:33: error: ‘value_real’ was not declared in this scope 49 | ConstTpl(void) { type = real; value_real = 0; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:175:89: error: expression list treated as compound expression in initializer [-fpermissive] 175 | PatternBlock *TokenPattern::buildBigBlock(int4 size,int4 bitstart,int4 bitend,intb value) | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:205:15: error: ‘PatternBlock* TokenPattern::buildLittleBlock’ is not a static data member of ‘class TokenPattern’ 205 | PatternBlock *TokenPattern::buildLittleBlock(int4 size,int4 bitstart,int4 bitend,intb value) | ^~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isCalculatedBool() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:201:48: error: ‘flags’ was not declared in this scope 201 | bool isCalculatedBool(void) const { return ((flags&(PcodeOp::calculated_bool|PcodeOp::booloutput))!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:205:46: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 205 | PatternBlock *TokenPattern::buildLittleBlock(int4 size,int4 bitstart,int4 bitend,intb value) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘void PcodeOp::setMark() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:188:30: error: ‘flags’ was not declared in this scope 188 | void setMark(void) const { flags |= PcodeOp::mark; } ///< Set the mark on this op | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘void PcodeOp::clearIndirectSource()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:193:36: error: ‘flags’ was not declared in this scope 193 | void clearIndirectSource(void) { flags &= ~PcodeOp::indirect_source; } ///< Clear INDIRECT source flag | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1576:5: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 1576 | int4 handleIndex = handle->getSpace().getHandleIndex(); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:205:56: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 205 | PatternBlock *TokenPattern::buildLittleBlock(int4 size,int4 bitstart,int4 bitend,intb value) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isPtrFlow() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:194:41: error: ‘flags’ was not declared in this scope 194 | bool isPtrFlow(void) const { return ((flags&PcodeOp::ptrflow)!=0); } ///< Return \b true if this produces/consumes ptrs | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: In copy constructor ‘ConstTpl::ConstTpl(const ConstTpl&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:51:37: error: ‘value_real’ was not declared in this scope 51 | type=op2.type; value=op2.value; value_real=op2.value_real; select=op2.select; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isCpoolTransformed() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:203:50: error: ‘addlflags’ was not declared in this scope 203 | bool isCpoolTransformed(void) const { return ((addlflags&PcodeOp::is_cpool_transformed)!=0); } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:51:52: error: ‘const class ConstTpl’ has no member named ‘value_real’ 51 | type=op2.type; value=op2.value; value_real=op2.value_real; select=op2.select; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:205:70: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 205 | PatternBlock *TokenPattern::buildLittleBlock(int4 size,int4 bitstart,int4 bitend,intb value) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isWarning() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:189:41: error: ‘addlflags’ was not declared in this scope 189 | bool isWarning(void) const { return ((addlflags&PcodeOp::warning)!=0); } ///< Return \b true if a warning has been generated for this op | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘void PcodeOp::setPtrFlow()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:195:27: error: ‘flags’ was not declared in this scope 195 | void setPtrFlow(void) { flags |= PcodeOp::ptrflow; } ///< Mark this op as consuming/producing ptrs | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::usesSpacebasePtr() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:206:48: error: ‘flags’ was not declared in this scope 206 | bool usesSpacebasePtr(void) const { return ((flags&PcodeOp::spacebase_ptr)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:205:82: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 205 | PatternBlock *TokenPattern::buildLittleBlock(int4 size,int4 bitstart,int4 bitend,intb value) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:205:92: error: expression list treated as compound expression in initializer [-fpermissive] 205 | PatternBlock *TokenPattern::buildLittleBlock(int4 size,int4 bitstart,int4 bitend,intb value) | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1577:39: error: ‘handleIndex’ was not declared in this scope 1577 | OperandSymbol *opSym = getOperand(handleIndex); | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:286:39: error: ‘intb’ has not been declared 286 | TokenPattern::TokenPattern(Token *tok,intb value,int4 bitstart,int4 bitend) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:286:50: error: ‘int4’ has not been declared 286 | TokenPattern::TokenPattern(Token *tok,intb value,int4 bitstart,int4 bitend) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:286:64: error: ‘int4’ has not been declared 286 | TokenPattern::TokenPattern(Token *tok,intb value,int4 bitstart,int4 bitend) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘void PcodeOp::clearMark() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:190:32: error: ‘flags’ was not declared in this scope 190 | void clearMark(void) const { flags &= ~PcodeOp::mark; } ///< Clear any mark on this op | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc: In constructor ‘TokenPattern::TokenPattern(Token*, int, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:296:32: error: ‘class Token’ has no member named ‘getSize’ 296 | block = buildBigBlock(tok->getSize(),bitstart,bitend,value); | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:298:35: error: ‘class Token’ has no member named ‘getSize’ 298 | block = buildLittleBlock(tok->getSize(),bitstart,bitend,value); | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:302:27: error: expected constructor, destructor, or type conversion before ‘(’ token 302 | TokenPattern::TokenPattern(intb value,int4 startbit,int4 endbit) | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isSplitting() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:196:43: error: ‘flags’ was not declared in this scope 196 | bool isSplitting(void) const { return ((flags&PcodeOp::splittingbranch)!=0); } ///< Return \b true if this branch splits | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: In member function ‘bool ConstTpl::isZero() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:69:52: error: ‘value_real’ was not declared in this scope 69 | bool isZero(void) const { return ((type==real)&&(value_real==0)); } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:83:18: error: expected ‘)’ before ‘hand’ 83 | VarnodeTpl(int4 hand,bool zerosize); | ~ ^~~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isCommutative() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:212:45: error: ‘flags’ was not declared in this scope 212 | bool isCommutative(void) const { return ((flags & PcodeOp::commutative)!=0); } ///< Return \b true if inputs commute | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:91:3: error: ‘int4’ does not name a type; did you mean ‘int’? 91 | int4 transfer(const vector ¶ms); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:94:18: error: ‘uintb’ has not been declared 94 | void setOffset(uintb constVal) { offset = ConstTpl(ConstTpl::real,constVal); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:95:20: error: ‘uintb’ has not been declared 95 | void setRelative(uintb constVal) { offset = ConstTpl(ConstTpl::j_relative,constVal); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isIndirectSource() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:191:48: error: ‘flags’ was not declared in this scope 191 | bool isIndirectSource(void) const { return ((flags&PcodeOp::indirect_source)!=0); } ///< Return \b true if this causes an INDIRECT | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘bool Constructor::isRecursive() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1585:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 1585 | for(int4 i=0;i &handmap); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:101:43: error: template argument 1 is invalid 101 | void changeHandleIndex(const vector &handmap); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:101:43: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:102:25: error: ‘int4’ has not been declared 102 | bool adjustTruncation(int4 sz,bool isbigendian); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:238:3: error: ‘int4’ does not name a type; did you mean ‘int’? 238 | int4 slot; ///< Slot indicating the input Varnode end-point of the edge | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:240:26: error: ‘int4’ has not been declared 240 | PcodeOpNode(PcodeOp *o,int4 s) { op = o; slot = s; } ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::doesSpecialPropagation() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:197:54: error: ‘addlflags’ was not declared in this scope 197 | bool doesSpecialPropagation(void) const { return ((addlflags&PcodeOp::special_prop)!=0); } ///< Return \b true if this does datatype propagation | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘void PcodeOp::setIndirectSource()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:192:34: error: ‘flags’ was not declared in this scope 192 | void setIndirectSource(void) { flags |= PcodeOp::indirect_source; } ///< Mark this op as source of INDIRECT | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:341:47: error: ‘sa’ was not declared in this scope 341 | res.pattern = pattern->doAnd(tokpat.pattern,sa); | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1585:16: error: ‘i’ was not declared in this scope 1585 | for(int4 i=0;igetId() << "\""; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In constructor ‘PcodeOpNode::PcodeOpNode()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:239:42: error: ‘slot’ was not declared in this scope 239 | PcodeOpNode(void) { op = (PcodeOp *)0; slot = 0; } ///< Unused constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc: In member function ‘TokenPattern TokenPattern::doOr(const TokenPattern&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:349:3: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 349 | int4 sa = res.resolveTokens(*this,tokpat); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘void PcodeOp::clearIndirectSource()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:193:36: error: ‘flags’ was not declared in this scope 193 | void clearIndirectSource(void) { flags &= ~PcodeOp::indirect_source; } ///< Clear INDIRECT source flag | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:132:39: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 132 | void changeHandleIndex(const vector &handmap); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:132:43: error: template argument 1 is invalid 132 | void changeHandleIndex(const vector &handmap); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:132:43: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::doesSpecialPrinting() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:198:51: error: ‘addlflags’ was not declared in this scope 198 | bool doesSpecialPrinting(void) const { return ((addlflags&PcodeOp::special_print)!=0); } ///< Return \b true if this needs to special printing | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In constructor ‘PcodeOpNode::PcodeOpNode(PcodeOp*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:240:44: error: ‘slot’ was not declared in this scope 240 | PcodeOpNode(PcodeOp *o,int4 s) { op = o; slot = s; } ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:351:46: error: ‘sa’ was not declared in this scope 351 | res.pattern = pattern->doOr(tokpat.pattern,sa); | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isPtrFlow() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:194:41: error: ‘flags’ was not declared in this scope 194 | bool isPtrFlow(void) const { return ((flags&PcodeOp::ptrflow)!=0); } ///< Return \b true if this produces/consumes ptrs | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc: In member function ‘TokenPattern TokenPattern::doCat(const TokenPattern&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:359:3: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 359 | int4 sa; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isIncidentalCopy() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:199:48: error: ‘addlflags’ was not declared in this scope 199 | bool isIncidentalCopy(void) const { return ((addlflags&PcodeOp::incidental_copy)!=0); } ///< Return \b true if \b this COPY is \e incidental | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘void PcodeOp::setPtrFlow()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:195:27: error: ‘flags’ was not declared in this scope 195 | void setPtrFlow(void) { flags |= PcodeOp::ptrflow; } ///< Mark this op as consuming/producing ptrs | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:374:5: error: ‘sa’ was not declared in this scope 374 | sa = -1; | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1597:30: error: ‘firstwhitespace’ was not declared in this scope 1597 | s << " first=\"" << dec << firstwhitespace << "\""; | ^~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:146:3: error: ‘int4’ does not name a type; did you mean ‘int’? 146 | int4 numInput(void) const { return input.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:147:21: error: ‘int4’ has not been declared 147 | VarnodeTpl *getIn(int4 i) const { return input[i]; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isCalculatedBool() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:201:48: error: ‘flags’ was not declared in this scope 201 | bool isCalculatedBool(void) const { return ((flags&(PcodeOp::calculated_bool|PcodeOp::booloutput))!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:154:32: error: ‘int4’ has not been declared 154 | void setInput(VarnodeTpl *vt,int4 slot) { input[slot] = vt; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:155:20: error: ‘int4’ has not been declared 155 | void removeInput(int4 index); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isSplitting() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:196:43: error: ‘flags’ was not declared in this scope 196 | bool isSplitting(void) const { return ((flags&PcodeOp::splittingbranch)!=0); } ///< Return \b true if this branch splits | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:377:5: error: ‘sa’ was not declared in this scope 377 | sa = 0; | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:381:22: error: ‘class Token’ has no member named ‘getSize’ 381 | sa += (*iter)->getSize(); | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:156:39: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 156 | void changeHandleIndex(const vector &handmap); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:156:43: error: template argument 1 is invalid 156 | void changeHandleIndex(const vector &handmap); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:156:43: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:262:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 262 | uintm uniqid; ///< Counter for producing unique id's for each op | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:270:18: error: ‘uintm’ has not been declared 270 | void setUniqId(uintm val) { uniqid = val; } ///< Set the unique id counter | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:271:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 271 | uintm getUniqId(void) const { return uniqid; } ///< Get the next unique id | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:272:19: error: ‘int4’ has not been declared 272 | PcodeOp *create(int4 inputs,const Address &pc); ///< Create a PcodeOp with at a given Address | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:273:19: error: ‘int4’ has not been declared 273 | PcodeOp *create(int4 inputs,const SeqNum &sq); ///< Create a PcodeOp with a given sequence number | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isCpoolTransformed() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:203:50: error: ‘addlflags’ was not declared in this scope 203 | bool isCpoolTransformed(void) const { return ((addlflags&PcodeOp::is_cpool_transformed)!=0); } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:388:7: error: ‘sa’ was not declared in this scope 388 | if (sa < 0) | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::doesSpecialPropagation() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:197:54: error: ‘addlflags’ was not declared in this scope 197 | bool doesSpecialPropagation(void) const { return ((addlflags&PcodeOp::special_prop)!=0); } ///< Return \b true if this does datatype propagation | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:164:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 164 | uint4 delayslot; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1598:24: error: ‘minimumlength’ was not declared in this scope; did you mean ‘setMinimumLength’? 1598 | s << " length=\"" << minimumlength << "\""; | ^~~~~~~~~~~~~ | setMinimumLength /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::usesSpacebasePtr() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:206:48: error: ‘flags’ was not declared in this scope 206 | bool usesSpacebasePtr(void) const { return ((flags&PcodeOp::spacebase_ptr)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:165:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 165 | uint4 numlabels; // Number of label templates | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc: In member function ‘TokenPattern TokenPattern::commonSubPattern(const TokenPattern&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:400:3: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 400 | int4 i; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:412:7: error: expected ‘;’ before ‘minnum’ 412 | int4 minnum = toklist.size(); | ^~~~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:413:7: error: expected ‘;’ before ‘maxnum’ 413 | int4 maxnum = tokpat.toklist.size(); | ^~~~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isCommutative() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:212:45: error: ‘flags’ was not declared in this scope 212 | bool isCommutative(void) const { return ((flags & PcodeOp::commutative)!=0); } ///< Return \b true if inputs commute | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::doesSpecialPrinting() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:198:51: error: ‘addlflags’ was not declared in this scope 198 | bool doesSpecialPrinting(void) const { return ((addlflags&PcodeOp::special_print)!=0); } ///< Return \b true if this needs to special printing | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:414:7: error: ‘maxnum’ was not declared in this scope 414 | if (maxnum < minnum) { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:169:21: error: ‘uint4’ has not been declared 169 | void setNumLabels(uint4 val) { numlabels = val; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In static member function ‘static PcodeOp* PcodeOp::getOpFromConst(const Address&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:225:76: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 225 | static PcodeOp *getOpFromConst(const Address &addr) { return (PcodeOp *)(uintp)addr.getOffset(); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:225:82: error: expected ‘;’ before ‘addr’ 225 | static PcodeOp *getOpFromConst(const Address &addr) { return (PcodeOp *)(uintp)addr.getOffset(); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:225:87: error: ‘const class Address’ has no member named ‘getOffset’ 225 | static PcodeOp *getOpFromConst(const Address &addr) { return (PcodeOp *)(uintp)addr.getOffset(); } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1599:22: error: ‘src_index’ was not declared in this scope; did you mean ‘rindex’? 1599 | s << " line=\"" << src_index << ":" << lineno << "\">\n"; | ^~~~~~~~~ | rindex /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:173:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 173 | uint4 delaySlot(void) const { return delayslot; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:238:3: error: ‘int4’ does not name a type; did you mean ‘int’? 238 | int4 slot; ///< Slot indicating the input Varnode end-point of the edge | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:240:26: error: ‘int4’ has not been declared 240 | PcodeOpNode(PcodeOp *o,int4 s) { op = o; slot = s; } ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:174:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 174 | uint4 numLabels(void) const { return numlabels; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In constructor ‘PcodeOpBank::PcodeOpBank()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:268:23: error: ‘uniqid’ was not declared in this scope 268 | PcodeOpBank(void) { uniqid = 0; } ///< Constructor | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:414:16: error: ‘minnum’ was not declared in this scope 414 | if (maxnum < minnum) { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isIncidentalCopy() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:199:48: error: ‘addlflags’ was not declared in this scope 199 | bool isIncidentalCopy(void) const { return ((addlflags&PcodeOp::incidental_copy)!=0); } ///< Return \b true if \b this COPY is \e incidental | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:415:9: error: expected ‘;’ before ‘tmp’ 415 | int4 tmp = minnum; | ^~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:180:3: error: ‘int4’ does not name a type; did you mean ‘int’? 180 | int4 fillinBuild(vector &check,AddrSpace *const_space); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In constructor ‘PcodeOpNode::PcodeOpNode()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:239:42: error: ‘slot’ was not declared in this scope 239 | PcodeOpNode(void) { op = (PcodeOp *)0; slot = 0; } ///< Unused constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:417:14: error: ‘tmp’ was not declared in this scope; did you mean ‘tm’? 417 | maxnum = tmp; | ^~~ | tm /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:182:39: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 182 | void changeHandleIndex(const vector &handmap); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:182:43: error: template argument 1 is invalid 182 | void changeHandleIndex(const vector &handmap); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:182:43: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:183:32: error: ‘int4’ has not been declared 183 | void setInput(VarnodeTpl *vn,int4 index,int4 slot); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:183:43: error: ‘int4’ has not been declared 183 | void setInput(VarnodeTpl *vn,int4 index,int4 slot); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:184:33: error: ‘int4’ has not been declared 184 | void setOutput(VarnodeTpl *vn,int4 index); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::isCalculatedBool() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:201:48: error: ‘flags’ was not declared in this scope 201 | bool isCalculatedBool(void) const { return ((flags&(PcodeOp::calculated_bool|PcodeOp::booloutput))!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1599:42: error: ‘lineno’ was not declared in this scope; did you mean ‘fileno’? 1599 | s << " line=\"" << src_index << ":" << lineno << "\">\n"; | ^~~~~~ | fileno /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘void PcodeOpBank::setUniqId(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:270:31: error: ‘uniqid’ was not declared in this scope 270 | void setUniqId(uintm val) { uniqid = val; } ///< Set the unique id counter | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:420:9: error: ‘i’ was not declared in this scope 420 | for(i=0;i &indices); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:185:35: error: template argument 1 is invalid 185 | void deleteOps(const vector &indices); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:185:35: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:186:27: error: ‘int4’ has not been declared 186 | void saveXml(ostream &s,int4 sectionid) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:318:8: error: ‘int4’ does not name a type; did you mean ‘int’? 318 | extern int4 functionalEqualityLevel(Varnode *vn1,Varnode *vn2,Varnode **res1,Varnode **res2); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:320:60: error: ‘int4’ has not been declared 320 | extern bool functionalDifference(Varnode *vn1,Varnode *vn2,int4 depth); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:187:3: error: ‘int4’ does not name a type; did you mean ‘int’? 187 | int4 restoreXml(const Element *el,const AddrSpaceManager *manage); | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:56:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 56 | virtual uintb getLoadImageValue(AddrSpace *spc,uintb offset,int4 sz) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1600:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 1600 | for(int4 i=0;i tempValues; ///< Values stored in temporary registers | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: In member function ‘void ConstructTpl::setNumLabels(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:169:34: error: ‘numlabels’ was not declared in this scope; did you mean ‘setNumLabels’? 169 | void setNumLabels(uint4 val) { numlabels = val; } | ^~~~~~~~~ | setNumLabels /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘bool PcodeOp::usesSpacebasePtr() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:206:48: error: ‘flags’ was not declared in this scope 206 | bool usesSpacebasePtr(void) const { return ((flags&PcodeOp::spacebase_ptr)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:115:13: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 115 | map tempValues; ///< Values stored in temporary registers | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:115:18: error: template argument 1 is invalid 115 | map tempValues; ///< Values stored in temporary registers | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:115:18: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:115:18: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:115:18: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1602:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 1602 | for(int4 i=0;i &inst,uintb uniqReserve); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:272:19: error: ‘int4’ has not been declared 272 | PcodeOp *create(int4 inputs,const Address &pc); ///< Create a PcodeOp with at a given Address | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:163:21: error: ‘int4’ has not been declared 163 | void setCurrentOp(int4 i) { pos = i; currentOp = opList[i]; currentBehave = currentOp->getBehavior(); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:273:19: error: ‘int4’ has not been declared 273 | PcodeOp *create(int4 inputs,const SeqNum &sq); ///< Create a PcodeOp with a given sequence number | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:170:24: error: ‘uintb’ has not been declared 170 | void setVarnodeValue(uintb offset,uintb val) { tempValues[offset] = val; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:170:37: error: ‘uintb’ has not been declared 170 | void setVarnodeValue(uintb offset,uintb val) { tempValues[offset] = val; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:431:9: error: ‘i’ was not declared in this scope 431 | for(i=0;i::__ostream_type’ {aka ‘std::basic_ostream’} and ‘’) 1605 | s << "\n"; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: In constructor ‘ConstructTpl::ConstructTpl()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:171:24: error: ‘delayslot’ was not declared in this scope 171 | ConstructTpl(void) { delayslot=0; numlabels=0; result = (HandleTpl *)0; } | ^~~~~~~~~ In file included from /usr/include/c++/11.2.0/istream:39, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/ostream:108:7: note: candidate: ‘std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__ostream_type& (*)(std::basic_ostream<_CharT, _Traits>::__ostream_type&)) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream]’ 108 | operator<<(__ostream_type& (*__pf)(__ostream_type&)) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:108:36: note: no known conversion for argument 1 from ‘’ to ‘std::basic_ostream::__ostream_type& (*)(std::basic_ostream::__ostream_type&)’ {aka ‘std::basic_ostream& (*)(std::basic_ostream&)’} 108 | operator<<(__ostream_type& (*__pf)(__ostream_type&)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/11.2.0/ostream:117:7: note: candidate: ‘std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__ios_type& (*)(std::basic_ostream<_CharT, _Traits>::__ios_type&)) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream; std::basic_ostream<_CharT, _Traits>::__ios_type = std::basic_ios]’ 117 | operator<<(__ios_type& (*__pf)(__ios_type&)) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:117:32: note: no known conversion for argument 1 from ‘’ to ‘std::basic_ostream::__ios_type& (*)(std::basic_ostream::__ios_type&)’ {aka ‘std::basic_ios& (*)(std::basic_ios&)’} 117 | operator<<(__ios_type& (*__pf)(__ios_type&)) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/include/c++/11.2.0/ostream:127:7: note: candidate: ‘std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::ios_base& (*)(std::ios_base&)) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream]’ 127 | operator<<(ios_base& (*__pf) (ios_base&)) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:127:30: note: no known conversion for argument 1 from ‘’ to ‘std::ios_base& (*)(std::ios_base&)’ 127 | operator<<(ios_base& (*__pf) (ios_base&)) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/include/c++/11.2.0/ostream:166:7: note: candidate: ‘std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long int) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream]’ 166 | operator<<(long __n) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:166:23: note: no known conversion for argument 1 from ‘’ to ‘long int’ 166 | operator<<(long __n) | ~~~~~^~~ /usr/include/c++/11.2.0/ostream:170:7: note: candidate: ‘std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long unsigned int) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream]’ 170 | operator<<(unsigned long __n) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:170:32: note: no known conversion for argument 1 from ‘’ to ‘long unsigned int’ 170 | operator<<(unsigned long __n) | ~~~~~~~~~~~~~~^~~ /usr/include/c++/11.2.0/ostream:174:7: note: candidate: ‘std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(bool) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream]’ 174 | operator<<(bool __n) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:174:23: note: no known conversion for argument 1 from ‘’ to ‘bool’ 174 | operator<<(bool __n) | ~~~~~^~~ In file included from /usr/include/c++/11.2.0/ostream:826, from /usr/include/c++/11.2.0/istream:39, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/bits/ostream.tcc:91:5: note: candidate: ‘std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(short int) [with _CharT = char; _Traits = std::char_traits]’ 91 | basic_ostream<_CharT, _Traits>:: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/11.2.0/bits/ostream.tcc:92:22: note: no known conversion for argument 1 from ‘’ to ‘short int’ 92 | operator<<(short __n) | ~~~~~~^~~ In file included from /usr/include/c++/11.2.0/istream:39, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/ostream:181:7: note: candidate: ‘std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(short unsigned int) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream]’ 181 | operator<<(unsigned short __n) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:181:33: note: no known conversion for argument 1 from ‘’ to ‘short unsigned int’ 181 | operator<<(unsigned short __n) | ~~~~~~~~~~~~~~~^~~ In file included from /usr/include/c++/11.2.0/ostream:826, from /usr/include/c++/11.2.0/istream:39, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/bits/ostream.tcc:105:5: note: candidate: ‘std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits]’ 105 | basic_ostream<_CharT, _Traits>:: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/11.2.0/bits/ostream.tcc:106:20: note: no known conversion for argument 1 from ‘’ to ‘int’ 106 | operator<<(int __n) | ~~~~^~~ In file included from /usr/include/c++/11.2.0/istream:39, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/ostream:192:7: note: candidate: ‘std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(unsigned int) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream]’ 192 | operator<<(unsigned int __n) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:192:31: note: no known conversion for argument 1 from ‘’ to ‘unsigned int’ 192 | operator<<(unsigned int __n) | ~~~~~~~~~~~~~^~~ /usr/include/c++/11.2.0/ostream:201:7: note: candidate: ‘std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long int) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream]’ 201 | operator<<(long long __n) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:201:28: note: no known conversion for argument 1 from ‘’ to ‘long long int’ 201 | operator<<(long long __n) | ~~~~~~~~~~^~~ /usr/include/c++/11.2.0/ostream:205:7: note: candidate: ‘std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long unsigned int) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream]’ 205 | operator<<(unsigned long long __n) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:205:37: note: no known conversion for argument 1 from ‘’ to ‘long long unsigned int’ 205 | operator<<(unsigned long long __n) | ~~~~~~~~~~~~~~~~~~~^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:238:3: error: ‘int4’ does not name a type; did you mean ‘int’? 238 | int4 slot; ///< Slot indicating the input Varnode end-point of the edge | ^~~~ | int /usr/include/c++/11.2.0/ostream:220:7: note: candidate: ‘std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(double) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream]’ 220 | operator<<(double __f) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:220:25: note: no known conversion for argument 1 from ‘’ to ‘double’ 220 | operator<<(double __f) | ~~~~~~~^~~ /usr/include/c++/11.2.0/ostream:224:7: note: candidate: ‘std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(float) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream]’ 224 | operator<<(float __f) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:224:24: note: no known conversion for argument 1 from ‘’ to ‘float’ 224 | operator<<(float __f) | ~~~~~~^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:240:26: error: ‘int4’ has not been declared 240 | PcodeOpNode(PcodeOp *o,int4 s) { op = o; slot = s; } ///< Constructor | ^~~~ /usr/include/c++/11.2.0/ostream:232:7: note: candidate: ‘std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long double) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream]’ 232 | operator<<(long double __f) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:232:30: note: no known conversion for argument 1 from ‘’ to ‘long double’ 232 | operator<<(long double __f) | ~~~~~~~~~~~~^~~ /usr/include/c++/11.2.0/ostream:245:7: note: candidate: ‘std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(const void*) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream]’ 245 | operator<<(const void* __p) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:245:30: note: no known conversion for argument 1 from ‘’ to ‘const void*’ 245 | operator<<(const void* __p) | ~~~~~~~~~~~~^~~ In file included from /usr/include/c++/11.2.0/ostream:826, from /usr/include/c++/11.2.0/istream:39, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/bits/ostream.tcc:119:5: note: candidate: ‘std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__streambuf_type*) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__streambuf_type = std::basic_streambuf]’ 119 | basic_ostream<_CharT, _Traits>:: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/11.2.0/bits/ostream.tcc:120:34: note: no known conversion for argument 1 from ‘’ to ‘std::basic_ostream::__streambuf_type*’ {aka ‘std::basic_streambuf*’} 120 | operator<<(__streambuf_type* __sbin) | ~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/c++/11.2.0/string:55, from /usr/include/c++/11.2.0/bits/locale_classes.h:40, from /usr/include/c++/11.2.0/bits/ios_base.h:41, from /usr/include/c++/11.2.0/ios:42, from /usr/include/c++/11.2.0/istream:38, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/bits/basic_string.h:6530:5: note: candidate: ‘template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)’ 6530 | operator<<(basic_ostream<_CharT, _Traits>& __os, | ^~~~~~~~ /usr/include/c++/11.2.0/bits/basic_string.h:6530:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1605:39: note: mismatched types ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ and ‘const char*(const char*, int) noexcept’ {aka ‘const char*(const char*, int)’} 1605 | s << "\n"; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1605:39: note: mismatched types ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ and ‘char*(char*, int) noexcept’ {aka ‘char*(char*, int)’} /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1605:39: note: couldn’t deduce template parameter ‘_Alloc’ In file included from /usr/include/c++/11.2.0/bits/ios_base.h:46, from /usr/include/c++/11.2.0/ios:42, from /usr/include/c++/11.2.0/istream:38, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/system_error:263:5: note: candidate: ‘template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::error_code&)’ 263 | operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __e) | ^~~~~~~~ /usr/include/c++/11.2.0/system_error:263:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1605:39: note: cannot convert ‘index’ (type ‘’) to type ‘const std::error_code&’ 1605 | s << "\n"; | ^~~~~ In file included from /usr/include/c++/11.2.0/istream:39, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/ostream:506:5: note: candidate: ‘std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, _CharT) [with _CharT = char; _Traits = std::char_traits]’ 506 | operator<<(basic_ostream<_CharT, _Traits>& __out, _CharT __c) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:506:62: note: no known conversion for argument 2 from ‘’ to ‘char’ 506 | operator<<(basic_ostream<_CharT, _Traits>& __out, _CharT __c) | ~~~~~~~^~~ /usr/include/c++/11.2.0/ostream:511:5: note: candidate: ‘template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, char)’ 511 | operator<<(basic_ostream<_CharT, _Traits>& __out, char __c) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:511:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1605:39: note: cannot convert ‘index’ (type ‘’) to type ‘char’ 1605 | s << "\n"; | ^~~~~ In file included from /usr/include/c++/11.2.0/istream:39, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/ostream:517:5: note: candidate: ‘template std::basic_ostream& std::operator<<(std::basic_ostream&, char)’ 517 | operator<<(basic_ostream& __out, char __c) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:517:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1605:39: note: cannot convert ‘index’ (type ‘’) to type ‘char’ 1605 | s << "\n"; | ^~~~~ In file included from /usr/include/c++/11.2.0/istream:39, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/ostream:523:5: note: candidate: ‘template std::basic_ostream& std::operator<<(std::basic_ostream&, signed char)’ 523 | operator<<(basic_ostream& __out, signed char __c) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:523:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:431:15: error: ‘minnum’ was not declared in this scope 431 | for(i=0;i’) to type ‘signed char’ 1605 | s << "\n"; | ^~~~~ In file included from /usr/include/c++/11.2.0/istream:39, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/ostream:528:5: note: candidate: ‘template std::basic_ostream& std::operator<<(std::basic_ostream&, unsigned char)’ 528 | operator<<(basic_ostream& __out, unsigned char __c) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:528:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1605:39: note: cannot convert ‘index’ (type ‘’) to type ‘unsigned char’ 1605 | s << "\n"; | ^~~~~ In file included from /usr/include/c++/11.2.0/istream:39, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/ostream:589:5: note: candidate: ‘std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const _CharT*) [with _CharT = char; _Traits = std::char_traits]’ 589 | operator<<(basic_ostream<_CharT, _Traits>& __out, const _CharT* __s) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:589:69: note: no known conversion for argument 2 from ‘’ to ‘const char*’ 589 | operator<<(basic_ostream<_CharT, _Traits>& __out, const _CharT* __s) | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/c++/11.2.0/ostream:826, from /usr/include/c++/11.2.0/istream:39, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/bits/ostream.tcc:321:5: note: candidate: ‘template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const char*)’ 321 | operator<<(basic_ostream<_CharT, _Traits>& __out, const char* __s) | ^~~~~~~~ /usr/include/c++/11.2.0/bits/ostream.tcc:321:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1605:39: note: cannot convert ‘index’ (type ‘’) to type ‘const char*’ 1605 | s << "\n"; | ^~~~~ In file included from /usr/include/c++/11.2.0/istream:39, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/ostream:606:5: note: candidate: ‘template std::basic_ostream& std::operator<<(std::basic_ostream&, const char*)’ 606 | operator<<(basic_ostream& __out, const char* __s) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:606:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1605:39: note: cannot convert ‘index’ (type ‘’) to type ‘const char*’ 1605 | s << "\n"; | ^~~~~ In file included from /usr/include/c++/11.2.0/istream:39, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/ostream:619:5: note: candidate: ‘template std::basic_ostream& std::operator<<(std::basic_ostream&, const signed char*)’ 619 | operator<<(basic_ostream& __out, const signed char* __s) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:619:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1605:39: note: cannot convert ‘index’ (type ‘’) to type ‘const signed char*’ 1605 | s << "\n"; | ^~~~~ In file included from /usr/include/c++/11.2.0/istream:39, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/ostream:624:5: note: candidate: ‘template std::basic_ostream& std::operator<<(std::basic_ostream&, const unsigned char*)’ 624 | operator<<(basic_ostream& __out, const unsigned char* __s) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:624:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1605:39: note: cannot convert ‘index’ (type ‘’) to type ‘const unsigned char*’ 1605 | s << "\n"; | ^~~~~ In file included from /usr/include/c++/11.2.0/istream:39, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/ostream:747:5: note: candidate: ‘template _Ostream&& std::operator<<(_Ostream&&, const _Tp&)’ 747 | operator<<(_Ostream&& __os, const _Tp& __x) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:747:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1605:39: note: couldn’t deduce template parameter ‘_Tp’ 1605 | s << "\n"; | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:27, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/iomanip:79:5: note: candidate: ‘template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, std::_Resetiosflags)’ 79 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Resetiosflags __f) | ^~~~~~~~ /usr/include/c++/11.2.0/iomanip:79:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1605:39: note: cannot convert ‘index’ (type ‘’) to type ‘std::_Resetiosflags’ 1605 | s << "\n"; | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:27, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/iomanip:109:5: note: candidate: ‘template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, std::_Setiosflags)’ 109 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Setiosflags __f) | ^~~~~~~~ /usr/include/c++/11.2.0/iomanip:109:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1605:39: note: cannot convert ‘index’ (type ‘’) to type ‘std::_Setiosflags’ 1605 | s << "\n"; | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:27, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/iomanip:143:5: note: candidate: ‘template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, std::_Setbase)’ 143 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Setbase __f) | ^~~~~~~~ /usr/include/c++/11.2.0/iomanip:143:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1605:39: note: cannot convert ‘index’ (type ‘’) to type ‘std::_Setbase’ 1605 | s << "\n"; | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:27, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/iomanip:178:5: note: candidate: ‘std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, std::_Setfill<_CharT>) [with _CharT = char; _Traits = std::char_traits]’ 178 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Setfill<_CharT> __f) | ^~~~~~~~ /usr/include/c++/11.2.0/iomanip:178:71: note: no known conversion for argument 2 from ‘’ to ‘std::_Setfill’ 178 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Setfill<_CharT> __f) | ~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/11.2.0/iomanip:208:5: note: candidate: ‘template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, std::_Setprecision)’ 208 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Setprecision __f) | ^~~~~~~~ /usr/include/c++/11.2.0/iomanip:208:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1605:39: note: cannot convert ‘index’ (type ‘’) to type ‘std::_Setprecision’ 1605 | s << "\n"; | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:27, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/iomanip:238:5: note: candidate: ‘template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, std::_Setw)’ 238 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Setw __f) | ^~~~~~~~ /usr/include/c++/11.2.0/iomanip:238:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1605:39: note: cannot convert ‘index’ (type ‘’) to type ‘std::_Setw’ 1605 | s << "\n"; | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:27, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/iomanip:311:5: note: candidate: ‘template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, std::_Put_money<_MoneyT>)’ 311 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Put_money<_MoneyT> __f) | ^~~~~~~~ /usr/include/c++/11.2.0/iomanip:311:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1605:39: note: mismatched types ‘std::_Put_money<_MoneyT>’ and ‘const char* (*)(const char*, int) noexcept’ {aka ‘const char* (*)(const char*, int)’} 1605 | s << "\n"; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1605:39: note: mismatched types ‘std::_Put_money<_MoneyT>’ and ‘char* (*)(char*, int) noexcept’ {aka ‘char* (*)(char*, int)’} /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1605:39: note: couldn’t deduce template parameter ‘_MoneyT’ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:27, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/iomanip:363:5: note: candidate: ‘std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, std::_Put_time<_CharT>) [with _CharT = char; _Traits = std::char_traits]’ 363 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Put_time<_CharT> __f) | ^~~~~~~~ /usr/include/c++/11.2.0/iomanip:363:72: note: no known conversion for argument 2 from ‘’ to ‘std::_Put_time’ 363 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Put_time<_CharT> __f) | ~~~~~~~~~~~~~~~~~~^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In constructor ‘PcodeOpNode::PcodeOpNode()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:239:42: error: ‘slot’ was not declared in this scope 239 | PcodeOpNode(void) { op = (PcodeOp *)0; slot = 0; } ///< Unused constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:438:9: error: ‘i’ was not declared in this scope 438 | if (iEmulateSnippet::tempValues’, which is of non-class type ‘int’ 154 | void resetMemory(void) { tempValues.clear(); setCurrentOp(0); emu_halted = false; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:194:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 194 | uint4 labelcount; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:199:21: error: expected ‘)’ before ‘lbcnt’ 199 | PcodeBuilder(uint4 lbcnt) { labelbase=labelcount=lbcnt; } | ~ ^~~~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:438:11: error: ‘maxnum’ was not declared in this scope 438 | if (irefcount -= 1; | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:459:10: error: ‘class PatternExpression’ has no member named ‘refcount’ 459 | if (p->refcount <= 0) | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In constructor ‘PcodeOpBank::PcodeOpBank()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:268:23: error: ‘uniqid’ was not declared in this scope 268 | PcodeOpBank(void) { uniqid = 0; } ///< Constructor | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh: In member function ‘void EmulateSnippet::setCurrentOp(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:163:31: error: ‘pos’ was not declared in this scope 163 | void setCurrentOp(int4 i) { pos = i; currentOp = opList[i]; currentBehave = currentOp->getBehavior(); } | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh: In member function ‘void EmulateSnippet::setVarnodeValue(int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:170:60: error: invalid types ‘int[int]’ for array subscript 170 | void setVarnodeValue(uintb offset,uintb val) { tempValues[offset] = val; } | ^ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:20, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:20, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:23:3: error: ‘int4’ does not name a type; did you mean ‘int’? 23 | int4 offset; // Offset to non-zero byte of mask | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:24:3: error: ‘int4’ does not name a type; did you mean ‘int’? 24 | int4 nonzerosize; // Last byte(+1) containing nonzero mask | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:49:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 49 | uintb left; ///< Left boundary of the open range [left,right) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1613:16: error: ‘i’ was not declared in this scope 1613 | for(int4 i=0;i maskvec; // Mask | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:25:15: error: template argument 1 is invalid 25 | vector maskvec; // Mask | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:25:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:53:3: error: ‘int4’ does not name a type; did you mean ‘int’? 53 | int4 step; ///< Explicit step size | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:58:25: error: ‘uintb’ has not been declared 58 | static bool newStride(uintb mask,int4 step,int4 oldStep,uint4 rem,uintb &myleft,uintb &myright); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘void PcodeOpBank::setUniqId(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:270:31: error: ‘uniqid’ was not declared in this scope 270 | void setUniqId(uintm val) { uniqid = val; } ///< Set the unique id counter | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:58:36: error: ‘int4’ has not been declared 58 | static bool newStride(uintb mask,int4 step,int4 oldStep,uint4 rem,uintb &myleft,uintb &myright); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:58:46: error: ‘int4’ has not been declared 58 | static bool newStride(uintb mask,int4 step,int4 oldStep,uint4 rem,uintb &myleft,uintb &myright); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:58:59: error: ‘uint4’ has not been declared 58 | static bool newStride(uintb mask,int4 step,int4 oldStep,uint4 rem,uintb &myleft,uintb &myright); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:58:69: error: ‘uintb’ has not been declared 58 | static bool newStride(uintb mask,int4 step,int4 oldStep,uint4 rem,uintb &myleft,uintb &myright); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:58:83: error: ‘uintb’ has not been declared 58 | static bool newStride(uintb mask,int4 step,int4 oldStep,uint4 rem,uintb &myleft,uintb &myright); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:59:25: error: ‘uintb’ has not been declared 59 | static bool newDomain(uintb newMask,int4 newStep,uintb &myleft,uintb &myright); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:59:39: error: ‘int4’ has not been declared 59 | static bool newDomain(uintb newMask,int4 newStep,uintb &myleft,uintb &myright); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:59:52: error: ‘uintb’ has not been declared 59 | static bool newDomain(uintb newMask,int4 newStep,uintb &myleft,uintb &myright); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:59:66: error: ‘uintb’ has not been declared 59 | static bool newDomain(uintb newMask,int4 newStep,uintb &myleft,uintb &myright); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:60:35: error: ‘uintb’ has not been declared 60 | static char encodeRangeOverlaps(uintb op1left,uintb op1right,uintb op2left,uintb op2right); ///< Calculate overlap code | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:60:49: error: ‘uintb’ has not been declared 60 | static char encodeRangeOverlaps(uintb op1left,uintb op1right,uintb op2left,uintb op2right); ///< Calculate overlap code | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:60:64: error: ‘uintb’ has not been declared 60 | static char encodeRangeOverlaps(uintb op1left,uintb op1right,uintb op2left,uintb op2right); ///< Calculate overlap code | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:60:78: error: ‘uintb’ has not been declared 60 | static char encodeRangeOverlaps(uintb op1left,uintb op1right,uintb op2left,uintb op2right); ///< Calculate overlap code | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:63:20: error: expected ‘)’ before ‘lft’ 63 | CircleRange(uintb lft,uintb rgt,int4 size,int4 stp); ///< Construct given specific boundaries. | ~ ^~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:65:20: error: expected ‘)’ before ‘val’ 65 | CircleRange(uintb val,int4 size); ///< Construct range with single value | ~ ^~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:66:17: error: ‘uintb’ has not been declared 66 | void setRange(uintb lft,uintb rgt,int4 size,int4 step); ///< Set directly to a specific range | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:66:27: error: ‘uintb’ has not been declared 66 | void setRange(uintb lft,uintb rgt,int4 size,int4 step); ///< Set directly to a specific range | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:66:37: error: ‘int4’ has not been declared 66 | void setRange(uintb lft,uintb rgt,int4 size,int4 step); ///< Set directly to a specific range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:66:47: error: ‘int4’ has not been declared 66 | void setRange(uintb lft,uintb rgt,int4 size,int4 step); ///< Set directly to a specific range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:67:17: error: ‘uintb’ has not been declared 67 | void setRange(uintb val,int4 size); ///< Set range with a single value | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:67:27: error: ‘int4’ has not been declared 67 | void setRange(uintb val,int4 size); ///< Set range with a single value | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:68:16: error: ‘int4’ has not been declared 68 | void setFull(int4 size); ///< Set a completely full range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1617:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 1617 | for(int4 i=0;i valvec; // Value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:320:60: error: ‘int4’ has not been declared 320 | extern bool functionalDifference(Varnode *vn1,Varnode *vn2,int4 depth); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:26:15: error: template argument 1 is invalid 26 | vector valvec; // Value | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:26:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:29:20: error: expected ‘)’ before ‘off’ 29 | PatternBlock(int4 off,uintm msk,uintm val); | ~ ^~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:38:14: error: ‘int4’ has not been declared 38 | void shift(int4 sa) { offset += sa; normalize(); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:536:8: error: ‘intb’ does not name a type; did you mean ‘int’? 536 | static intb getContextBytes(ParserWalker &walker,int4 bytestart,int4 byteend) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:559:41: error: ‘int4’ has not been declared 559 | TokenField::TokenField(Token *tk,bool s,int4 bstart,int4 bend) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:559:53: error: ‘int4’ has not been declared 559 | TokenField::TokenField(Token *tk,bool s,int4 bstart,int4 bend) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:73:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 73 | uintb getMax(void) const { return (right-step)&mask; } ///< Get the right-most integer contained in the range | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:56:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 56 | virtual uintb getLoadImageValue(AddrSpace *spc,uintb offset,int4 sz) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:88:44: error: ‘uintb’ has not been declared 88 | virtual void setVarnodeValue(Varnode *vn,uintb val)=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:39:3: error: ‘int4’ does not name a type; did you mean ‘int’? 39 | int4 getLength(void) const { return offset+nonzerosize; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:74:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 74 | uintb getEnd(void) const { return right; } ///< Get the right boundary of the range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:262:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 262 | uintm uniqid; ///< Counter for producing unique id's for each op | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1617:16: error: ‘i’ was not declared in this scope 1617 | for(int4 i=0;i tempValues; ///< Values stored in temporary registers | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:82:17: error: ‘uintb’ has not been declared 82 | bool contains(uintb val) const; ///< Check containment of a specific integer. | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:83:3: error: ‘int4’ does not name a type; did you mean ‘int’? 83 | int4 intersect(const CircleRange &op2); ///< Intersect \b this with another range | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:84:18: error: ‘uintb’ has not been declared 84 | bool setNZMask(uintb nzmask,int4 size); ///< Set the range based on a putative mask. | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:84:31: error: ‘int4’ has not been declared 84 | bool setNZMask(uintb nzmask,int4 size); ///< Set the range based on a putative mask. | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘void Constructor::restoreXml(const Element*, SleighBase*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1628:3: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 1628 | uintm id; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh: In member function ‘void PatternBlock::shift(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:38:25: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 38 | void shift(int4 sa) { offset += sa; normalize(); } | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:85:3: error: ‘int4’ does not name a type; did you mean ‘int’? 85 | int4 circleUnion(const CircleRange &op2); ///< Union two ranges. | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:86:48: error: ‘int4’ has not been declared 86 | bool minimalContainer(const CircleRange &op2,int4 maxStep); ///< Construct minimal range that contains both \b this and another range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:115:13: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 115 | map tempValues; ///< Values stored in temporary registers | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:115:18: error: template argument 1 is invalid 115 | map tempValues; ///< Values stored in temporary registers | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:115:18: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:115:18: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:115:18: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:87:3: error: ‘int4’ does not name a type; did you mean ‘int’? 87 | int4 invert(void); ///< Convert to complementary range | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:88:18: error: ‘int4’ has not been declared 88 | void setStride(int4 newStep,uintb rem); ///< Set a new step on \b this range. | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:88:31: error: ‘uintb’ has not been declared 88 | void setStride(int4 newStep,uintb rem); ///< Set a new step on \b this range. | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:89:33: error: ‘int4’ has not been declared 89 | bool pullBackUnary(OpCode opc,int4 inSize,int4 outSize); ///< Pull-back \b this through the given unary operator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:89:45: error: ‘int4’ has not been declared 89 | bool pullBackUnary(OpCode opc,int4 inSize,int4 outSize); ///< Pull-back \b this through the given unary operator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:566:3: error: ‘bitend’ was not declared in this scope; did you mean ‘bend’? 566 | bitend = bend; | ^~~~~~ | bend /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:90:34: error: ‘uintb’ has not been declared 90 | bool pullBackBinary(OpCode opc,uintb val,int4 slot,int4 inSize,int4 outSize); ///< Pull-back \b this thru binary operator | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:90:44: error: ‘int4’ has not been declared 90 | bool pullBackBinary(OpCode opc,uintb val,int4 slot,int4 inSize,int4 outSize); ///< Pull-back \b this thru binary operator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:90:54: error: ‘int4’ has not been declared 90 | bool pullBackBinary(OpCode opc,uintb val,int4 slot,int4 inSize,int4 outSize); ///< Pull-back \b this thru binary operator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:90:66: error: ‘int4’ has not been declared 90 | bool pullBackBinary(OpCode opc,uintb val,int4 slot,int4 inSize,int4 outSize); ///< Pull-back \b this thru binary operator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:92:59: error: ‘int4’ has not been declared 92 | bool pushForwardUnary(OpCode opc,const CircleRange &in1,int4 inSize,int4 outSize); ///< Push-forward thru given unary operator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:117:3: error: ‘int4’ does not name a type; did you mean ‘int’? 117 | int4 pos; ///< Index of current p-code op being executed | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:92:71: error: ‘int4’ has not been declared 92 | bool pushForwardUnary(OpCode opc,const CircleRange &in1,int4 inSize,int4 outSize); ///< Push-forward thru given unary operator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:93:83: error: ‘int4’ has not been declared 93 | bool pushForwardBinary(OpCode opc,const CircleRange &in1,const CircleRange &in2,int4 inSize,int4 outSize,int4 maxStep); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:93:95: error: ‘int4’ has not been declared 93 | bool pushForwardBinary(OpCode opc,const CircleRange &in1,const CircleRange &in2,int4 inSize,int4 outSize,int4 maxStep); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:93:108: error: ‘int4’ has not been declared 93 | bool pushForwardBinary(OpCode opc,const CircleRange &in1,const CircleRange &in2,int4 inSize,int4 outSize,int4 maxStep); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:95:27: error: ‘int4’ has not been declared 95 | int4 inSize,int4 outSize,int4 maxStep); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:95:39: error: ‘int4’ has not been declared 95 | int4 inSize,int4 outSize,int4 maxStep); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:95:52: error: ‘int4’ has not been declared 95 | int4 inSize,int4 outSize,int4 maxStep); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:127:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 127 | uintb getLoadImageValue(AddrSpace *spc,uintb offset,int4 sz) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:97:3: error: ‘int4’ does not name a type; did you mean ‘int’? 97 | int4 translate2Op(OpCode &opc,uintb &c,int4 &cslot) const; ///< Translate range to a comparison op | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:156:60: error: ‘uintb’ has not been declared 156 | PcodeEmit *buildEmitter(const vector &inst,uintb uniqReserve); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:163:21: error: ‘int4’ has not been declared 163 | void setCurrentOp(int4 i) { pos = i; currentOp = opList[i]; currentBehave = currentOp->getBehavior(); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:170:24: error: ‘uintb’ has not been declared 170 | void setVarnodeValue(uintb offset,uintb val) { tempValues[offset] = val; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:170:37: error: ‘uintb’ has not been declared 170 | void setVarnodeValue(uintb offset,uintb val) { tempValues[offset] = val; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1632:10: error: ‘id’ was not declared in this scope 1632 | s >> id; | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:171:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 171 | uintb getVarnodeValue(VarnodeData *vn) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:172:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 172 | uintb getTempValue(uintb offset) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:568:5: error: ‘byteend’ was not declared in this scope; did you mean ‘bend’? 568 | byteend = (tk->getSize()*8 - bitstart - 1)/8; | ^~~~~~~ | bend /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:568:20: error: ‘class Token’ has no member named ‘getSize’ 568 | byteend = (tk->getSize()*8 - bitstart - 1)/8; | ^~~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh: In member function ‘bool CircleRange::isFull() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:70:52: error: ‘step’ was not declared in this scope; did you mean ‘strsep’? 70 | bool isFull(void) const { return ((!isempty) && (step == 1) && (left == right)); } ///< Return \b true if \b this contains all possible values | ^~~~ | strsep /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh: In member function ‘bool PatternBlock::alwaysTrue() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:42:41: error: ‘nonzerosize’ was not declared in this scope 42 | bool alwaysTrue(void) const { return (nonzerosize==0); } | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In constructor ‘PcodeOpBank::PcodeOpBank()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:268:23: error: ‘uniqid’ was not declared in this scope 268 | PcodeOpBank(void) { uniqid = 0; } ///< Constructor | ^~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh: In member function ‘bool CircleRange::isSingle() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:71:71: error: ‘step’ was not declared in this scope; did you mean ‘strsep’? 71 | bool isSingle(void) const { return (!isempty) && (right == ((left + step)& mask)); } ///< Return \b true if \b this contains single value | ^~~~ | strsep /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:569:5: error: ‘bytestart’ was not declared in this scope; did you mean ‘bstart’? 569 | bytestart = (tk->getSize()*8 - bitend - 1)/8; | ^~~~~~~~~ | bstart /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:569:22: error: ‘class Token’ has no member named ‘getSize’ 569 | bytestart = (tk->getSize()*8 - bitend - 1)/8; | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh: In constructor ‘EmulateSnippet::EmulateSnippet(Architecture*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:145:46: error: ‘pos’ was not declared in this scope 145 | EmulateSnippet(Architecture *g) { glb = g; pos = 0; currentOp = (PcodeOpRaw *)0; } ///< Constructor | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh: In member function ‘void EmulateSnippet::resetMemory()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:154:39: error: request for member ‘clear’ in ‘((EmulateSnippet*)this)->EmulateSnippet::tempValues’, which is of non-class type ‘int’ 154 | void resetMemory(void) { tempValues.clear(); setCurrentOp(0); emu_halted = false; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh: In member function ‘bool PatternBlock::alwaysFalse() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:43:42: error: ‘nonzerosize’ was not declared in this scope 43 | bool alwaysFalse(void) const { return (nonzerosize==-1); } | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:55:33: error: ‘int4’ has not been declared 55 | virtual void shiftInstruction(int4 sa)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:56:42: error: ‘int4’ has not been declared 56 | virtual Pattern *doOr(const Pattern *b,int4 sa) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:71:78: error: ‘mask’ was not declared in this scope 71 | bool isSingle(void) const { return (!isempty) && (right == ((left + step)& mask)); } ///< Return \b true if \b this contains single value | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:57:43: error: ‘int4’ has not been declared 57 | virtual Pattern *doAnd(const Pattern *b,int4 sa) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:58:54: error: ‘int4’ has not been declared 58 | virtual Pattern *commonSubPattern(const Pattern *b,int4 sa) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: In member function ‘void PcodeOpBank::setUniqId(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:270:31: error: ‘uniqid’ was not declared in this scope 270 | void setUniqId(uintm val) { uniqid = val; } ///< Set the unique id counter | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1638:10: error: ‘firstwhitespace’ was not declared in this scope 1638 | s >> firstwhitespace; | ^~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:60:11: error: ‘int4’ does not name a type; did you mean ‘int’? 60 | virtual int4 numDisjoint(void) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:61:40: error: ‘int4’ has not been declared 61 | virtual DisjointPattern *getDisjoint(int4 i) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:572:5: error: ‘bytestart’ was not declared in this scope; did you mean ‘bstart’? 572 | bytestart = bitstart/8; | ^~~~~~~~~ | bstart /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh: In member function ‘void EmulateSnippet::setCurrentOp(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:163:31: error: ‘pos’ was not declared in this scope 163 | void setCurrentOp(int4 i) { pos = i; currentOp = opList[i]; currentBehave = currentOp->getBehavior(); } | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh: In member function ‘void EmulateSnippet::setVarnodeValue(int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:170:60: error: invalid types ‘int[int]’ for array subscript 170 | void setVarnodeValue(uintb offset,uintb val) { tempValues[offset] = val; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:72:11: error: ‘int4’ does not name a type; did you mean ‘int’? 72 | virtual int4 numDisjoint(void) const { return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:318:8: error: ‘int4’ does not name a type; did you mean ‘int’? 318 | extern int4 functionalEqualityLevel(Varnode *vn1,Varnode *vn2,Varnode **res1,Varnode **res2); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:73:40: error: ‘int4’ has not been declared 73 | virtual DisjointPattern *getDisjoint(int4 i) const { return (DisjointPattern *)0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/op.hh:320:60: error: ‘int4’ has not been declared 320 | extern bool functionalDifference(Varnode *vn1,Varnode *vn2,int4 depth); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh: In member function ‘bool CircleRange::getNext(int&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:80:47: error: ‘step’ was not declared in this scope; did you mean ‘strsep’? 80 | bool getNext(uintb &val) const { val = (val+step)&mask; return (val!=right); } ///< Advance an integer within the range | ^~~~ | strsep In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:49:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 49 | uintb left; ///< Left boundary of the open range [left,right) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:74:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 74 | uintm getMask(int4 startbit,int4 size,bool context) const; | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:56:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 56 | virtual uintb getLoadImageValue(AddrSpace *spc,uintb offset,int4 sz) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:50:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 50 | uintb right; ///< Right boundary of the open range [left,right) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:88:44: error: ‘uintb’ has not been declared 88 | virtual void setVarnodeValue(Varnode *vn,uintb val)=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:75:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 75 | uintm getValue(int4 startbit,int4 size,bool context) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:51:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 51 | uintb mask; ///< Bit mask defining the size (modulus) and stop of the range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:96:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 96 | virtual uintb getVarnodeValue(Varnode *vn) const=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:76:3: error: ‘int4’ does not name a type; did you mean ‘int’? 76 | int4 getLength(bool context) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:573:5: error: ‘byteend’ was not declared in this scope; did you mean ‘bend’? 573 | byteend = bitend/8; | ^~~~~~~ | bend /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:53:3: error: ‘int4’ does not name a type; did you mean ‘int’? 53 | int4 step; ///< Explicit step size | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:58:25: error: ‘uintb’ has not been declared 58 | static bool newStride(uintb mask,int4 step,int4 oldStep,uint4 rem,uintb &myleft,uintb &myright); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:58:36: error: ‘int4’ has not been declared 58 | static bool newStride(uintb mask,int4 step,int4 oldStep,uint4 rem,uintb &myleft,uintb &myright); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:58:46: error: ‘int4’ has not been declared 58 | static bool newStride(uintb mask,int4 step,int4 oldStep,uint4 rem,uintb &myleft,uintb &myright); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:58:59: error: ‘uint4’ has not been declared 58 | static bool newStride(uintb mask,int4 step,int4 oldStep,uint4 rem,uintb &myleft,uintb &myright); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:58:69: error: ‘uintb’ has not been declared 58 | static bool newStride(uintb mask,int4 step,int4 oldStep,uint4 rem,uintb &myleft,uintb &myright); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:58:83: error: ‘uintb’ has not been declared 58 | static bool newStride(uintb mask,int4 step,int4 oldStep,uint4 rem,uintb &myleft,uintb &myright); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:93:33: error: ‘int4’ has not been declared 93 | virtual void shiftInstruction(int4 sa) { maskvalue->shift(sa); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:59:25: error: ‘uintb’ has not been declared 59 | static bool newDomain(uintb newMask,int4 newStep,uintb &myleft,uintb &myright); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:59:39: error: ‘int4’ has not been declared 59 | static bool newDomain(uintb newMask,int4 newStep,uintb &myleft,uintb &myright); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:94:42: error: ‘int4’ has not been declared 94 | virtual Pattern *doOr(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:59:52: error: ‘uintb’ has not been declared 59 | static bool newDomain(uintb newMask,int4 newStep,uintb &myleft,uintb &myright); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:59:66: error: ‘uintb’ has not been declared 59 | static bool newDomain(uintb newMask,int4 newStep,uintb &myleft,uintb &myright); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:80:53: error: ‘mask’ was not declared in this scope 80 | bool getNext(uintb &val) const { val = (val+step)&mask; return (val!=right); } ///< Advance an integer within the range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:95:43: error: ‘int4’ has not been declared 95 | virtual Pattern *doAnd(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:60:35: error: ‘uintb’ has not been declared 60 | static char encodeRangeOverlaps(uintb op1left,uintb op1right,uintb op2left,uintb op2right); ///< Calculate overlap code | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:60:49: error: ‘uintb’ has not been declared 60 | static char encodeRangeOverlaps(uintb op1left,uintb op1right,uintb op2left,uintb op2right); ///< Calculate overlap code | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:96:54: error: ‘int4’ has not been declared 96 | virtual Pattern *commonSubPattern(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:80:70: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] 80 | bool getNext(uintb &val) const { val = (val+step)&mask; return (val!=right); } ///< Advance an integer within the range | ~~~^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:60:64: error: ‘uintb’ has not been declared 60 | static char encodeRangeOverlaps(uintb op1left,uintb op1right,uintb op2left,uintb op2right); ///< Calculate overlap code | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:60:78: error: ‘uintb’ has not been declared 60 | static char encodeRangeOverlaps(uintb op1left,uintb op1right,uintb op2left,uintb op2right); ///< Calculate overlap code | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:63:20: error: expected ‘)’ before ‘lft’ 63 | CircleRange(uintb lft,uintb rgt,int4 size,int4 stp); ///< Construct given specific boundaries. | ~ ^~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:65:20: error: expected ‘)’ before ‘val’ 65 | CircleRange(uintb val,int4 size); ///< Construct range with single value | ~ ^~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:66:17: error: ‘uintb’ has not been declared 66 | void setRange(uintb lft,uintb rgt,int4 size,int4 step); ///< Set directly to a specific range | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:66:27: error: ‘uintb’ has not been declared 66 | void setRange(uintb lft,uintb rgt,int4 size,int4 step); ///< Set directly to a specific range | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:66:37: error: ‘int4’ has not been declared 66 | void setRange(uintb lft,uintb rgt,int4 size,int4 step); ///< Set directly to a specific range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:66:47: error: ‘int4’ has not been declared 66 | void setRange(uintb lft,uintb rgt,int4 size,int4 step); ///< Set directly to a specific range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:67:17: error: ‘uintb’ has not been declared 67 | void setRange(uintb val,int4 size); ///< Set range with a single value | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:67:27: error: ‘int4’ has not been declared 67 | void setRange(uintb val,int4 size); ///< Set range with a single value | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:68:16: error: ‘int4’ has not been declared 68 | void setFull(int4 size); ///< Set a completely full range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:113:16: error: ‘int4’ does not name a type; did you mean ‘int’? 113 | static const int4 MAX_STEP; ///< Maximum step inferred for a value set | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:72:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 72 | uintb getMin(void) const { return left; } ///< Get the left boundary of the range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:121:5: error: ‘int4’ does not name a type; did you mean ‘int’? 121 | int4 slot; ///< The input parameter slot to which the constraint is attached | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:115:7: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 115 | map tempValues; ///< Values stored in temporary registers | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1643:10: error: ‘minimumlength’ was not declared in this scope; did you mean ‘setMinimumLength’? 1643 | s >> minimumlength; | ^~~~~~~~~~~~~ | setMinimumLength /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:575:3: error: ‘shift’ was not declared in this scope 575 | shift = bitstart % 8; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:73:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 73 | uintb getMax(void) const { return (right-step)&mask; } ///< Get the right-most integer contained in the range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:122:5: error: ‘int4’ does not name a type; did you mean ‘int’? 122 | int4 typeCode; ///< The constraint characteristic 0=absolute 1=relative to a spacebase register | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:114:33: error: ‘int4’ has not been declared 114 | virtual void shiftInstruction(int4 sa) { } // do nothing | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:125:18: error: expected ‘)’ before ‘s’ 125 | Equation(int4 s,int4 tc,const CircleRange &rng) { slot=s; typeCode = tc; range = rng; } ///< Constructor | ~ ^~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:115:42: error: ‘int4’ has not been declared 115 | virtual Pattern *doOr(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:578:1: error: ‘intb’ does not name a type; did you mean ‘int’? 578 | intb TokenField::getValue(ParserWalker &walker) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:116:43: error: ‘int4’ has not been declared 116 | virtual Pattern *doAnd(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:591:14: error: ‘TokenPattern TokenField::genPattern’ is not a static data member of ‘class TokenField’ 591 | TokenPattern TokenField::genPattern(intb val) const | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:117:54: error: ‘int4’ has not been declared 117 | virtual Pattern *commonSubPattern(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:74:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 74 | uintb getEnd(void) const { return right; } ///< Get the right boundary of the range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:129:3: error: ‘int4’ does not name a type; did you mean ‘int’? 129 | int4 typeCode; ///< 0=pure constant 1=stack relative | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:75:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 75 | uintb getMask(void) const { return mask; } ///< Get the mask | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:115:13: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 115 | map tempValues; ///< Values stored in temporary registers | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:115:18: error: template argument 1 is invalid 115 | map tempValues; ///< Values stored in temporary registers | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:115:18: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:115:18: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:115:18: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:130:3: error: ‘int4’ does not name a type; did you mean ‘int’? 130 | int4 numParams; ///< Number of input parameters to defining operation | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:137:33: error: ‘int4’ has not been declared 137 | virtual void shiftInstruction(int4 sa) { instr->shiftInstruction(sa); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:142:42: error: ‘int4’ has not been declared 142 | virtual Pattern *doOr(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:76:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 76 | uintb getSize(void) const; ///< Get the size of this range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:143:43: error: ‘int4’ has not been declared 143 | virtual Pattern *doAnd(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:144:54: error: ‘int4’ has not been declared 144 | virtual Pattern *commonSubPattern(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:591:37: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 591 | TokenPattern TokenField::genPattern(intb val) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:117:3: error: ‘int4’ does not name a type; did you mean ‘int’? 117 | int4 pos; ///< Index of current p-code op being executed | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:131:3: error: ‘int4’ does not name a type; did you mean ‘int’? 131 | int4 count; ///< Depth first numbering / widening count | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:591:47: error: expected ‘,’ or ‘;’ before ‘const’ 591 | TokenPattern TokenField::genPattern(intb val) const | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:77:3: error: ‘int4’ does not name a type; did you mean ‘int’? 77 | int4 getStep(void) const { return step; } ///< Get the step for \b this range | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:127:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 127 | uintb getLoadImageValue(AddrSpace *spc,uintb offset,int4 sz) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:78:3: error: ‘int4’ does not name a type; did you mean ‘int’? 78 | int4 getMaxInfo(void) const; ///< Get maximum information content of range | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:80:16: error: ‘uintb’ has not been declared 80 | bool getNext(uintb &val) const { val = (val+step)&mask; return (val!=right); } ///< Advance an integer within the range | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:156:60: error: ‘uintb’ has not been declared 156 | PcodeEmit *buildEmitter(const vector &inst,uintb uniqReserve); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:82:17: error: ‘uintb’ has not been declared 82 | bool contains(uintb val) const; ///< Check containment of a specific integer. | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:163:21: error: ‘int4’ has not been declared 163 | void setCurrentOp(int4 i) { pos = i; currentOp = opList[i]; currentBehave = currentOp->getBehavior(); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:170:24: error: ‘uintb’ has not been declared 170 | void setVarnodeValue(uintb offset,uintb val) { tempValues[offset] = val; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:170:37: error: ‘uintb’ has not been declared 170 | void setVarnodeValue(uintb offset,uintb val) { tempValues[offset] = val; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:83:3: error: ‘int4’ does not name a type; did you mean ‘int’? 83 | int4 intersect(const CircleRange &op2); ///< Intersect \b this with another range | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:84:18: error: ‘uintb’ has not been declared 84 | bool setNZMask(uintb nzmask,int4 size); ///< Set the range based on a putative mask. | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:84:31: error: ‘int4’ has not been declared 84 | bool setNZMask(uintb nzmask,int4 size); ///< Set the range based on a putative mask. | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:171:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 171 | uintb getVarnodeValue(VarnodeData *vn) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:85:3: error: ‘int4’ does not name a type; did you mean ‘int’? 85 | int4 circleUnion(const CircleRange &op2); ///< Union two ranges. | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:86:48: error: ‘int4’ has not been declared 86 | bool minimalContainer(const CircleRange &op2,int4 maxStep); ///< Construct minimal range that contains both \b this and another range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:172:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 172 | uintb getTempValue(uintb offset) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1648:5: error: ‘src_index’ was not declared in this scope; did you mean ‘rindex’? 1648 | src_index = stoi(src_and_line.substr(0, pos),NULL,10); | ^~~~~~~~~ | rindex /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:87:3: error: ‘int4’ does not name a type; did you mean ‘int’? 87 | int4 invert(void); ///< Convert to complementary range | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:88:18: error: ‘int4’ has not been declared 88 | void setStride(int4 newStep,uintb rem); ///< Set a new step on \b this range. | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:88:31: error: ‘uintb’ has not been declared 88 | void setStride(int4 newStep,uintb rem); ///< Set a new step on \b this range. | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:89:33: error: ‘int4’ has not been declared 89 | bool pullBackUnary(OpCode opc,int4 inSize,int4 outSize); ///< Pull-back \b this through the given unary operator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:89:45: error: ‘int4’ has not been declared 89 | bool pullBackUnary(OpCode opc,int4 inSize,int4 outSize); ///< Pull-back \b this through the given unary operator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:90:34: error: ‘uintb’ has not been declared 90 | bool pullBackBinary(OpCode opc,uintb val,int4 slot,int4 inSize,int4 outSize); ///< Pull-back \b this thru binary operator | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:90:44: error: ‘int4’ has not been declared 90 | bool pullBackBinary(OpCode opc,uintb val,int4 slot,int4 inSize,int4 outSize); ///< Pull-back \b this thru binary operator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:90:54: error: ‘int4’ has not been declared 90 | bool pullBackBinary(OpCode opc,uintb val,int4 slot,int4 inSize,int4 outSize); ///< Pull-back \b this thru binary operator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:90:66: error: ‘int4’ has not been declared 90 | bool pullBackBinary(OpCode opc,uintb val,int4 slot,int4 inSize,int4 outSize); ///< Pull-back \b this thru binary operator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:92:59: error: ‘int4’ has not been declared 92 | bool pushForwardUnary(OpCode opc,const CircleRange &in1,int4 inSize,int4 outSize); ///< Push-forward thru given unary operator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:92:71: error: ‘int4’ has not been declared 92 | bool pushForwardUnary(OpCode opc,const CircleRange &in1,int4 inSize,int4 outSize); ///< Push-forward thru given unary operator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:93:83: error: ‘int4’ has not been declared 93 | bool pushForwardBinary(OpCode opc,const CircleRange &in1,const CircleRange &in2,int4 inSize,int4 outSize,int4 maxStep); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:93:95: error: ‘int4’ has not been declared 93 | bool pushForwardBinary(OpCode opc,const CircleRange &in1,const CircleRange &in2,int4 inSize,int4 outSize,int4 maxStep); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:93:108: error: ‘int4’ has not been declared 93 | bool pushForwardBinary(OpCode opc,const CircleRange &in1,const CircleRange &in2,int4 inSize,int4 outSize,int4 maxStep); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:95:27: error: ‘int4’ has not been declared 95 | int4 inSize,int4 outSize,int4 maxStep); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:95:39: error: ‘int4’ has not been declared 95 | int4 inSize,int4 outSize,int4 maxStep); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:95:52: error: ‘int4’ has not been declared 95 | int4 inSize,int4 outSize,int4 maxStep); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:140:26: error: ‘int4’ has not been declared 140 | bool doesEquationApply(int4 num,int4 slot) const; ///< Does the indicated equation apply for the given input slot | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:140:35: error: ‘int4’ has not been declared 140 | bool doesEquationApply(int4 num,int4 slot) const; ///< Does the indicated equation apply for the given input slot | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:97:3: error: ‘int4’ does not name a type; did you mean ‘int’? 97 | int4 translate2Op(OpCode &opc,uintb &c,int4 &cslot) const; ///< Translate range to a comparison op | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:142:30: error: ‘int4’ has not been declared 142 | void setVarnode(Varnode *v,int4 tCode); ///< Attach \b this to given Varnode and set initial values | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:143:20: error: ‘int4’ has not been declared 143 | void addEquation(int4 slot,int4 type,const CircleRange &constraint); ///< Insert an equation restricting \b this value set | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:143:30: error: ‘int4’ has not been declared 143 | void addEquation(int4 slot,int4 type,const CircleRange &constraint); ///< Insert an equation restricting \b this value set | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:144:20: error: ‘int4’ has not been declared 144 | void addLandmark(int4 type,const CircleRange &constraint) { addEquation(numParams,type,constraint); } ///< Add a widening landmark | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:157:33: error: ‘int4’ has not been declared 157 | virtual void shiftInstruction(int4 sa); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc: In member function ‘virtual void TokenField::saveXml(std::ostream&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:612:33: error: ‘bitstart’ was not declared in this scope 612 | s << " bitstart=\"" << dec << bitstart << "\""; | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:148:3: error: ‘int4’ does not name a type; did you mean ‘int’? 148 | int4 getCount(void) const { return count; } ///< Get the current iteration count | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:150:3: error: ‘int4’ does not name a type; did you mean ‘int’? 150 | int4 getTypeCode(void) const { return typeCode; } ///< Return '0' for normal constant, '1' for spacebase relative | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:159:11: error: ‘int4’ does not name a type; did you mean ‘int’? 159 | virtual int4 numDisjoint(void) const { return orlist.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:160:40: error: ‘int4’ has not been declared 160 | virtual DisjointPattern *getDisjoint(int4 i) const { return orlist[i]; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:164:42: error: ‘int4’ has not been declared 164 | virtual Pattern *doOr(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:165:43: error: ‘int4’ has not been declared 165 | virtual Pattern *doAnd(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh: In member function ‘void ValueSet::setFull()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:141:42: error: ‘class Varnode’ has no member named ‘getSize’ 141 | void setFull(void) { range.setFull(vn->getSize()); typeCode = 0; } ///< Mark value set as possibly containing any value | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:166:54: error: ‘int4’ has not been declared 166 | virtual Pattern *commonSubPattern(const Pattern *b,int4 sa) const; | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh: In member function ‘bool CircleRange::isFull() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:70:52: error: ‘step’ was not declared in this scope; did you mean ‘strsep’? 70 | bool isFull(void) const { return ((!isempty) && (step == 1) && (left == right)); } ///< Return \b true if \b this contains all possible values | ^~~~ | strsep /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1649:5: error: ‘lineno’ was not declared in this scope; did you mean ‘fileno’? 1649 | lineno = stoi(src_and_line.substr(pos+1,src_and_line.length()),NULL,10); | ^~~~~~ | fileno /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh: In constructor ‘EmulateSnippet::EmulateSnippet(Architecture*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:145:46: error: ‘pos’ was not declared in this scope 145 | EmulateSnippet(Architecture *g) { glb = g; pos = 0; currentOp = (PcodeOpRaw *)0; } ///< Constructor | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1656:12: error: expected ‘;’ before ‘id’ 1656 | uintm id; | ^~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh: In member function ‘void EmulateSnippet::resetMemory()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:154:39: error: request for member ‘clear’ in ‘((EmulateSnippet*)this)->EmulateSnippet::tempValues’, which is of non-class type ‘int’ 154 | void resetMemory(void) { tempValues.clear(); setCurrentOp(0); emu_halted = false; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:613:24: error: ‘bitend’ was not declared in this scope 613 | s << " bitend=\"" << bitend << "\""; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:141:54: error: ‘typeCode’ was not declared in this scope; did you mean ‘TypeCode’? 141 | void setFull(void) { range.setFull(vn->getSize()); typeCode = 0; } ///< Mark value set as possibly containing any value | ^~~~~~~~ | TypeCode In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh: In member function ‘bool CircleRange::isSingle() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:71:71: error: ‘step’ was not declared in this scope; did you mean ‘strsep’? 71 | bool isSingle(void) const { return (!isempty) && (right == ((left + step)& mask)); } ///< Return \b true if \b this contains single value | ^~~~ | strsep /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh: In member function ‘void EmulateSnippet::setCurrentOp(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:163:31: error: ‘pos’ was not declared in this scope 163 | void setCurrentOp(int4 i) { pos = i; currentOp = opList[i]; currentBehave = currentOp->getBehavior(); } | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh: In member function ‘void EmulateSnippet::setVarnodeValue(int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:170:60: error: invalid types ‘int[int]’ for array subscript 170 | void setVarnodeValue(uintb offset,uintb val) { tempValues[offset] = val; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1660:14: error: ‘id’ was not declared in this scope 1660 | s >> id; | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:71:78: error: ‘mask’ was not declared in this scope 71 | bool isSingle(void) const { return (!isempty) && (right == ((left + step)& mask)); } ///< Return \b true if \b this contains single value | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:49:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 49 | uintb left; ///< Left boundary of the open range [left,right) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:614:27: error: ‘bytestart’ was not declared in this scope 614 | s << " bytestart=\"" << bytestart << "\""; | ^~~~~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:20, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:20, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:26:36: error: ‘int4’ has not been declared 26 | static PatternBlock *buildSingle(int4 startbit,int4 endbit,uintm byteval); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:26:50: error: ‘int4’ has not been declared 26 | static PatternBlock *buildSingle(int4 startbit,int4 endbit,uintm byteval); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:50:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 50 | uintb right; ///< Right boundary of the open range [left,right) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:26:62: error: ‘uintm’ has not been declared 26 | static PatternBlock *buildSingle(int4 startbit,int4 endbit,uintm byteval); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh: In member function ‘void ValueSet::addLandmark(int, const CircleRange&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:144:75: error: ‘numParams’ was not declared in this scope 144 | void addLandmark(int4 type,const CircleRange &constraint) { addEquation(numParams,type,constraint); } ///< Add a widening landmark | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:27:38: error: ‘int4’ has not been declared 27 | static PatternBlock *buildBigBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:27:48: error: ‘int4’ has not been declared 27 | static PatternBlock *buildBigBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:27:62: error: ‘int4’ has not been declared 27 | static PatternBlock *buildBigBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:27:74: error: ‘intb’ has not been declared 27 | static PatternBlock *buildBigBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:28:41: error: ‘int4’ has not been declared 28 | static PatternBlock *buildLittleBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:28:51: error: ‘int4’ has not been declared 28 | static PatternBlock *buildLittleBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:28:65: error: ‘int4’ has not been declared 28 | static PatternBlock *buildLittleBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:28:77: error: ‘intb’ has not been declared 28 | static PatternBlock *buildLittleBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:51:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 51 | uintb mask; ///< Bit mask defining the size (modulus) and stop of the range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh: In member function ‘bool CircleRange::getNext(int&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:80:47: error: ‘step’ was not declared in this scope; did you mean ‘strsep’? 80 | bool getNext(uintb &val) const { val = (val+step)&mask; return (val!=right); } ///< Advance an integer within the range | ^~~~ | strsep /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:178:3: error: ‘int4’ does not name a type; did you mean ‘int’? 178 | int4 typeCode; ///< 0=pure constant 1=stack relative | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:53:3: error: ‘int4’ does not name a type; did you mean ‘int’? 53 | int4 step; ///< Explicit step size | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:29:3: error: ‘int4’ does not name a type; did you mean ‘int’? 29 | int4 resolveTokens(const TokenPattern &tokpat1,const TokenPattern &tokpat2); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:58:25: error: ‘uintb’ has not been declared 58 | static bool newStride(uintb mask,int4 step,int4 oldStep,uint4 rem,uintb &myleft,uintb &myright); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:58:36: error: ‘int4’ has not been declared 58 | static bool newStride(uintb mask,int4 step,int4 oldStep,uint4 rem,uintb &myleft,uintb &myright); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:58:46: error: ‘int4’ has not been declared 58 | static bool newStride(uintb mask,int4 step,int4 oldStep,uint4 rem,uintb &myleft,uintb &myright); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:35:27: error: ‘intb’ has not been declared 35 | TokenPattern(Token *tok,intb value,int4 bitstart,int4 bitend); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:58:59: error: ‘uint4’ has not been declared 58 | static bool newStride(uintb mask,int4 step,int4 oldStep,uint4 rem,uintb &myleft,uintb &myright); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:58:69: error: ‘uintb’ has not been declared 58 | static bool newStride(uintb mask,int4 step,int4 oldStep,uint4 rem,uintb &myleft,uintb &myright); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:35:38: error: ‘int4’ has not been declared 35 | TokenPattern(Token *tok,intb value,int4 bitstart,int4 bitend); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:58:83: error: ‘uintb’ has not been declared 58 | static bool newStride(uintb mask,int4 step,int4 oldStep,uint4 rem,uintb &myleft,uintb &myright); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:35:52: error: ‘int4’ has not been declared 35 | TokenPattern(Token *tok,intb value,int4 bitstart,int4 bitend); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1662:63: error: ‘id’ was not declared in this scope 1662 | OperandSymbol *sym = (OperandSymbol *)trans->findSymbol(id); | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:59:25: error: ‘uintb’ has not been declared 59 | static bool newDomain(uintb newMask,int4 newStep,uintb &myleft,uintb &myright); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:59:39: error: ‘int4’ has not been declared 59 | static bool newDomain(uintb newMask,int4 newStep,uintb &myleft,uintb &myright); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:36:20: error: expected ‘)’ before ‘value’ 36 | TokenPattern(intb value,int4 startbit,int4 endbit); | ~ ^~~~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:59:52: error: ‘uintb’ has not been declared 59 | static bool newDomain(uintb newMask,int4 newStep,uintb &myleft,uintb &myright); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:59:66: error: ‘uintb’ has not been declared 59 | static bool newDomain(uintb newMask,int4 newStep,uintb &myleft,uintb &myright); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:60:35: error: ‘uintb’ has not been declared 60 | static char encodeRangeOverlaps(uintb op1left,uintb op1right,uintb op2left,uintb op2right); ///< Calculate overlap code | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:179:3: error: ‘int4’ does not name a type; did you mean ‘int’? 179 | int4 slot; ///< The slot being read | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:60:49: error: ‘uintb’ has not been declared 60 | static char encodeRangeOverlaps(uintb op1left,uintb op1right,uintb op2left,uintb op2right); ///< Calculate overlap code | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:60:64: error: ‘uintb’ has not been declared 60 | static char encodeRangeOverlaps(uintb op1left,uintb op1right,uintb op2left,uintb op2right); ///< Calculate overlap code | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:60:78: error: ‘uintb’ has not been declared 60 | static char encodeRangeOverlaps(uintb op1left,uintb op1right,uintb op2left,uintb op2right); ///< Calculate overlap code | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:63:20: error: expected ‘)’ before ‘lft’ 63 | CircleRange(uintb lft,uintb rgt,int4 size,int4 stp); ///< Construct given specific boundaries. | ~ ^~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:65:20: error: expected ‘)’ before ‘val’ 65 | CircleRange(uintb val,int4 size); ///< Construct range with single value | ~ ^~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:66:17: error: ‘uintb’ has not been declared 66 | void setRange(uintb lft,uintb rgt,int4 size,int4 step); ///< Set directly to a specific range | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:66:27: error: ‘uintb’ has not been declared 66 | void setRange(uintb lft,uintb rgt,int4 size,int4 step); ///< Set directly to a specific range | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:66:37: error: ‘int4’ has not been declared 66 | void setRange(uintb lft,uintb rgt,int4 size,int4 step); ///< Set directly to a specific range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:66:47: error: ‘int4’ has not been declared 66 | void setRange(uintb lft,uintb rgt,int4 size,int4 step); ///< Set directly to a specific range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:67:17: error: ‘uintb’ has not been declared 67 | void setRange(uintb val,int4 size); ///< Set range with a single value | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:67:27: error: ‘int4’ has not been declared 67 | void setRange(uintb val,int4 size); ///< Set range with a single value | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:68:16: error: ‘int4’ has not been declared 68 | void setFull(int4 size); ///< Set a completely full range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:183:3: error: ‘int4’ does not name a type; did you mean ‘int’? 183 | int4 equationTypeCode; ///< Type code of the associated equation | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:186:30: error: ‘int4’ has not been declared 186 | void setPcodeOp(PcodeOp *o,int4 slt); ///< Establish \e read this value set corresponds to | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:187:20: error: ‘int4’ has not been declared 187 | void addEquation(int4 slt,int4 type,const CircleRange &constraint); ///< Insert an equation restricting \b this value set | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:187:29: error: ‘int4’ has not been declared 187 | void addEquation(int4 slt,int4 type,const CircleRange &constraint); ///< Insert an equation restricting \b this value set | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:49:3: error: ‘int4’ does not name a type; did you mean ‘int’? 49 | int4 getMinimumLength(void) const; | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:72:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 72 | uintb getMin(void) const { return left; } ///< Get the left boundary of the range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:615:25: error: ‘byteend’ was not declared in this scope 615 | s << " byteend=\"" << byteend << "\""; | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:189:3: error: ‘int4’ does not name a type; did you mean ‘int’? 189 | int4 getTypeCode(void) const { return typeCode; } ///< Return '0' for normal constant, '1' for spacebase relative | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:80:53: error: ‘mask’ was not declared in this scope 80 | bool getNext(uintb &val) const { val = (val+step)&mask; return (val!=right); } ///< Advance an integer within the range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:80:70: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] 80 | bool getNext(uintb &val) const { val = (val+step)&mask; return (val!=right); } ///< Advance an integer within the range | ~~~^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:73:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 73 | uintb getMax(void) const { return (right-step)&mask; } ///< Get the right-most integer contained in the range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:210:11: error: ‘int4’ does not name a type; did you mean ‘int’? 210 | virtual int4 determineIterationReset(const ValueSet &valueSet)=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:113:16: error: ‘int4’ does not name a type; did you mean ‘int’? 113 | static const int4 MAX_STEP; ///< Maximum step inferred for a value set | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:74:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 74 | uintb getEnd(void) const { return right; } ///< Get the right boundary of the range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:121:5: error: ‘int4’ does not name a type; did you mean ‘int’? 121 | int4 slot; ///< The input parameter slot to which the constraint is attached | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:75:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 75 | uintb getMask(void) const { return mask; } ///< Get the mask | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:235:3: error: ‘int4’ does not name a type; did you mean ‘int’? 235 | int4 widenIteration; ///< The iteration at which widening is attempted | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1668:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 1668 | int4 index; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:122:5: error: ‘int4’ does not name a type; did you mean ‘int’? 122 | int4 typeCode; ///< The constraint characteristic 0=absolute 1=relative to a spacebase register | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1671:9: error: no match for ‘operator>>’ (operand types are ‘std::istringstream’ {aka ‘std::__cxx11::basic_istringstream’} and ‘’) 1671 | s >> index; | ~~^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:125:18: error: expected ‘)’ before ‘s’ 125 | Equation(int4 s,int4 tc,const CircleRange &rng) { slot=s; typeCode = tc; range = rng; } ///< Constructor | ~ ^~ | ) In file included from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/istream:120:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(std::basic_istream<_CharT, _Traits>::__istream_type& (*)(std::basic_istream<_CharT, _Traits>::__istream_type&)) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 120 | operator>>(__istream_type& (*__pf)(__istream_type&)) | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:236:3: error: ‘int4’ does not name a type; did you mean ‘int’? 236 | int4 fullIteration; ///< The iteration at which a full range is produced | ^~~~ | int /usr/include/c++/11.2.0/istream:120:36: note: no known conversion for argument 1 from ‘’ to ‘std::basic_istream::__istream_type& (*)(std::basic_istream::__istream_type&)’ {aka ‘std::basic_istream& (*)(std::basic_istream&)’} 120 | operator>>(__istream_type& (*__pf)(__istream_type&)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:616:23: error: ‘shift’ was not declared in this scope 616 | s << " shift=\"" << shift << "\"/>\n"; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:76:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 76 | uintb getSize(void) const; ///< Get the size of this range | ^~~~~ | uint /usr/include/c++/11.2.0/istream:124:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(std::basic_istream<_CharT, _Traits>::__ios_type& (*)(std::basic_istream<_CharT, _Traits>::__ios_type&)) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream; std::basic_istream<_CharT, _Traits>::__ios_type = std::basic_ios]’ 124 | operator>>(__ios_type& (*__pf)(__ios_type&)) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:124:32: note: no known conversion for argument 1 from ‘’ to ‘std::basic_istream::__ios_type& (*)(std::basic_istream::__ios_type&)’ {aka ‘std::basic_ios& (*)(std::basic_ios&)’} 124 | operator>>(__ios_type& (*__pf)(__ios_type&)) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:239:19: error: expected ‘)’ before ‘wide’ 239 | WidenerFull(int4 wide,int4 full) { widenIteration = wide; fullIteration = full; } ///< Constructor specifying iterations | ~ ^~~~~ | ) /usr/include/c++/11.2.0/istream:131:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(std::ios_base& (*)(std::ios_base&)) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 131 | operator>>(ios_base& (*__pf)(ios_base&)) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:131:30: note: no known conversion for argument 1 from ‘’ to ‘std::ios_base& (*)(std::ios_base&)’ 131 | operator>>(ios_base& (*__pf)(ios_base&)) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:57:3: error: ‘int4’ does not name a type; did you mean ‘int’? 57 | int4 refcount; // Number of objects referencing this | ^~~~ | int /usr/include/c++/11.2.0/istream:168:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(bool&) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 168 | operator>>(bool& __n) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:168:24: note: no known conversion for argument 1 from ‘’ to ‘bool&’ 168 | operator>>(bool& __n) | ~~~~~~^~~ /usr/include/c++/11.2.0/istream:172:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(short int&) [with _CharT = char; _Traits = std::char_traits]’ 172 | operator>>(short& __n); | ^~~~~~~~ /usr/include/c++/11.2.0/istream:172:25: note: no known conversion for argument 1 from ‘’ to ‘short int&’ 172 | operator>>(short& __n); | ~~~~~~~^~~ /usr/include/c++/11.2.0/istream:175:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(short unsigned int&) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 175 | operator>>(unsigned short& __n) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:175:34: note: no known conversion for argument 1 from ‘’ to ‘short unsigned int&’ 175 | operator>>(unsigned short& __n) | ~~~~~~~~~~~~~~~~^~~ /usr/include/c++/11.2.0/istream:179:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(int&) [with _CharT = char; _Traits = std::char_traits]’ 179 | operator>>(int& __n); | ^~~~~~~~ /usr/include/c++/11.2.0/istream:179:23: note: no known conversion for argument 1 from ‘’ to ‘int&’ 179 | operator>>(int& __n); | ~~~~~^~~ /usr/include/c++/11.2.0/istream:182:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(unsigned int&) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 182 | operator>>(unsigned int& __n) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:182:32: note: no known conversion for argument 1 from ‘’ to ‘unsigned int&’ 182 | operator>>(unsigned int& __n) | ~~~~~~~~~~~~~~^~~ /usr/include/c++/11.2.0/istream:186:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long int&) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 186 | operator>>(long& __n) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:186:24: note: no known conversion for argument 1 from ‘’ to ‘long int&’ 186 | operator>>(long& __n) | ~~~~~~^~~ /usr/include/c++/11.2.0/istream:190:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long unsigned int&) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 190 | operator>>(unsigned long& __n) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:190:33: note: no known conversion for argument 1 from ‘’ to ‘long unsigned int&’ 190 | operator>>(unsigned long& __n) | ~~~~~~~~~~~~~~~^~~ /usr/include/c++/11.2.0/istream:195:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long long int&) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 195 | operator>>(long long& __n) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:195:29: note: no known conversion for argument 1 from ‘’ to ‘long long int&’ 195 | operator>>(long long& __n) | ~~~~~~~~~~~^~~ /usr/include/c++/11.2.0/istream:199:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long long unsigned int&) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 199 | operator>>(unsigned long long& __n) | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:129:3: error: ‘int4’ does not name a type; did you mean ‘int’? 129 | int4 typeCode; ///< 0=pure constant 1=stack relative | ^~~~ | int /usr/include/c++/11.2.0/istream:199:38: note: no known conversion for argument 1 from ‘’ to ‘long long unsigned int&’ 199 | operator>>(unsigned long long& __n) | ~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/11.2.0/istream:214:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(float&) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 214 | operator>>(float& __f) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:214:25: note: no known conversion for argument 1 from ‘’ to ‘float&’ 214 | operator>>(float& __f) | ~~~~~~~^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:77:3: error: ‘int4’ does not name a type; did you mean ‘int’? 77 | int4 getStep(void) const { return step; } ///< Get the step for \b this range | ^~~~ | int /usr/include/c++/11.2.0/istream:218:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(double&) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 218 | operator>>(double& __f) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:218:26: note: no known conversion for argument 1 from ‘’ to ‘double&’ 218 | operator>>(double& __f) | ~~~~~~~~^~~ /usr/include/c++/11.2.0/istream:222:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long double&) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 222 | operator>>(long double& __f) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:222:31: note: no known conversion for argument 1 from ‘’ to ‘long double&’ 222 | operator>>(long double& __f) | ~~~~~~~~~~~~~^~~ /usr/include/c++/11.2.0/istream:235:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(void*&) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 235 | operator>>(void*& __p) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:235:25: note: no known conversion for argument 1 from ‘’ to ‘void*&’ 235 | operator>>(void*& __p) | ~~~~~~~^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:240:11: error: ‘int4’ does not name a type; did you mean ‘int’? 240 | virtual int4 determineIterationReset(const ValueSet &valueSet); | ^~~~ | int /usr/include/c++/11.2.0/istream:259:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(std::basic_istream<_CharT, _Traits>::__streambuf_type*) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__streambuf_type = std::basic_streambuf]’ 259 | operator>>(__streambuf_type* __sb); | ^~~~~~~~ /usr/include/c++/11.2.0/istream:259:36: note: no known conversion for argument 1 from ‘’ to ‘std::basic_istream::__streambuf_type*’ {aka ‘std::basic_streambuf*’} 259 | operator>>(__streambuf_type* __sb); | ~~~~~~~~~~~~~~~~~~^~~~ In file included from /usr/include/c++/11.2.0/string:56, from /usr/include/c++/11.2.0/bits/locale_classes.h:40, from /usr/include/c++/11.2.0/bits/ios_base.h:41, from /usr/include/c++/11.2.0/ios:42, from /usr/include/c++/11.2.0/istream:38, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/bits/basic_string.tcc:1485:5: note: candidate: ‘template std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)’ 1485 | operator>>(basic_istream<_CharT, _Traits>& __in, | ^~~~~~~~ /usr/include/c++/11.2.0/bits/basic_string.tcc:1485:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1671:12: note: mismatched types ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ and ‘const char*(const char*, int) noexcept’ {aka ‘const char*(const char*, int)’} 1671 | s >> index; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1671:12: note: mismatched types ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ and ‘char*(char*, int) noexcept’ {aka ‘char*(char*, int)’} /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1671:12: note: couldn’t deduce template parameter ‘_Alloc’ In file included from /usr/include/c++/11.2.0/istream:995, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/bits/istream.tcc:958:5: note: candidate: ‘std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, _CharT&) [with _CharT = char; _Traits = std::char_traits]’ 958 | operator>>(basic_istream<_CharT, _Traits>& __in, _CharT& __c) | ^~~~~~~~ /usr/include/c++/11.2.0/bits/istream.tcc:958:62: note: no known conversion for argument 2 from ‘’ to ‘char&’ 958 | operator>>(basic_istream<_CharT, _Traits>& __in, _CharT& __c) | ~~~~~~~~^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:63:11: error: ‘intb’ does not name a type; did you mean ‘int’? 63 | virtual intb getValue(ParserWalker &walker) const=0; | ^~~~ | int In file included from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/istream:756:5: note: candidate: ‘template std::basic_istream& std::operator>>(std::basic_istream&, unsigned char&)’ 756 | operator>>(basic_istream& __in, unsigned char& __c) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:756:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1671:12: note: cannot convert ‘index’ (type ‘’) to type ‘unsigned char&’ 1671 | s >> index; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:130:3: error: ‘int4’ does not name a type; did you mean ‘int’? 130 | int4 numParams; ///< Number of input parameters to defining operation | ^~~~ | int In file included from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/istream:761:5: note: candidate: ‘template std::basic_istream& std::operator>>(std::basic_istream&, signed char&)’ 761 | operator>>(basic_istream& __in, signed char& __c) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:761:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1671:12: note: cannot convert ‘index’ (type ‘’) to type ‘signed char&’ 1671 | s >> index; | ^~~~~ In file included from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/istream:803:5: note: candidate: ‘std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, _CharT*) [with _CharT = char; _Traits = std::char_traits]’ 803 | operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s) | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:78:3: error: ‘int4’ does not name a type; did you mean ‘int’? 78 | int4 getMaxInfo(void) const; ///< Get maximum information content of range | ^~~~ | int /usr/include/c++/11.2.0/istream:803:62: note: no known conversion for argument 2 from ‘’ to ‘char*’ 803 | operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s) | ~~~~~~~~^~~ /usr/include/c++/11.2.0/istream:825:5: note: candidate: ‘template std::basic_istream& std::operator>>(std::basic_istream&, unsigned char*)’ 825 | operator>>(basic_istream& __in, unsigned char* __s) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:825:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1671:12: note: cannot convert ‘index’ (type ‘’) to type ‘unsigned char*’ 1671 | s >> index; | ^~~~~ In file included from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/istream:831:5: note: candidate: ‘template std::basic_istream& std::operator>>(std::basic_istream&, signed char*)’ 831 | operator>>(basic_istream& __in, signed char* __s) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:831:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:80:16: error: ‘uintb’ has not been declared 80 | bool getNext(uintb &val) const { val = (val+step)&mask; return (val!=right); } ///< Advance an integer within the range | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1671:12: note: cannot convert ‘index’ (type ‘’) to type ‘signed char*’ 1671 | s >> index; | ^~~~~ In file included from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/istream:985:5: note: candidate: ‘template _Istream&& std::operator>>(_Istream&&, _Tp&&)’ 985 | operator>>(_Istream&& __is, _Tp&& __x) | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:82:17: error: ‘uintb’ has not been declared 82 | bool contains(uintb val) const; ///< Check containment of a specific integer. | ^~~~~ /usr/include/c++/11.2.0/istream:985:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1671:12: note: couldn’t deduce template parameter ‘_Tp’ 1671 | s >> index; | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:27, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/iomanip:71:5: note: candidate: ‘template std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Resetiosflags)’ 71 | operator>>(basic_istream<_CharT, _Traits>& __is, _Resetiosflags __f) | ^~~~~~~~ /usr/include/c++/11.2.0/iomanip:71:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1671:12: note: cannot convert ‘index’ (type ‘’) to type ‘std::_Resetiosflags’ 1671 | s >> index; | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:27, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/iomanip:101:5: note: candidate: ‘template std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Setiosflags)’ 101 | operator>>(basic_istream<_CharT, _Traits>& __is, _Setiosflags __f) | ^~~~~~~~ /usr/include/c++/11.2.0/iomanip:101:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1671:12: note: cannot convert ‘index’ (type ‘’) to type ‘std::_Setiosflags’ 1671 | s >> index; | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:27, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/iomanip:132:5: note: candidate: ‘template std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Setbase)’ 132 | operator>>(basic_istream<_CharT, _Traits>& __is, _Setbase __f) | ^~~~~~~~ /usr/include/c++/11.2.0/iomanip:132:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1671:12: note: cannot convert ‘index’ (type ‘’) to type ‘std::_Setbase’ 1671 | s >> index; | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:27, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/iomanip:170:5: note: candidate: ‘std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Setfill<_CharT>) [with _CharT = char; _Traits = std::char_traits]’ 170 | operator>>(basic_istream<_CharT, _Traits>& __is, _Setfill<_CharT> __f) | ^~~~~~~~ /usr/include/c++/11.2.0/iomanip:170:71: note: no known conversion for argument 2 from ‘’ to ‘std::_Setfill’ 170 | operator>>(basic_istream<_CharT, _Traits>& __is, _Setfill<_CharT> __f) | ~~~~~~~~~~~~~~~~~^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:131:3: error: ‘int4’ does not name a type; did you mean ‘int’? 131 | int4 count; ///< Depth first numbering / widening count | ^~~~ | int /usr/include/c++/11.2.0/iomanip:200:5: note: candidate: ‘template std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Setprecision)’ 200 | operator>>(basic_istream<_CharT, _Traits>& __is, _Setprecision __f) | ^~~~~~~~ /usr/include/c++/11.2.0/iomanip:200:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1671:12: note: cannot convert ‘index’ (type ‘’) to type ‘std::_Setprecision’ 1671 | s >> index; | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:27, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/iomanip:230:5: note: candidate: ‘template std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Setw)’ 230 | operator>>(basic_istream<_CharT, _Traits>& __is, _Setw __f) | ^~~~~~~~ /usr/include/c++/11.2.0/iomanip:230:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1671:12: note: cannot convert ‘index’ (type ‘’) to type ‘std::_Setw’ 1671 | s >> index; | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:27, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/iomanip:264:5: note: candidate: ‘template std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Get_money<_MoneyT>)’ 264 | operator>>(basic_istream<_CharT, _Traits>& __is, _Get_money<_MoneyT> __f) | ^~~~~~~~ /usr/include/c++/11.2.0/iomanip:264:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1671:12: note: mismatched types ‘std::_Get_money<_MoneyT>’ and ‘const char* (*)(const char*, int) noexcept’ {aka ‘const char* (*)(const char*, int)’} 1671 | s >> index; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1671:12: note: mismatched types ‘std::_Get_money<_MoneyT>’ and ‘char* (*)(char*, int) noexcept’ {aka ‘char* (*)(char*, int)’} /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1671:12: note: couldn’t deduce template parameter ‘_MoneyT’ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:27, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:16: /usr/include/c++/11.2.0/iomanip:418:5: note: candidate: ‘std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Get_time<_CharT>) [with _CharT = char; _Traits = std::char_traits]’ 418 | operator>>(basic_istream<_CharT, _Traits>& __is, _Get_time<_CharT> __f) | ^~~~~~~~ /usr/include/c++/11.2.0/iomanip:418:72: note: no known conversion for argument 2 from ‘’ to ‘std::_Get_time’ 418 | operator>>(basic_istream<_CharT, _Traits>& __is, _Get_time<_CharT> __f) | ~~~~~~~~~~~~~~~~~~^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:83:3: error: ‘int4’ does not name a type; did you mean ‘int’? 83 | int4 intersect(const CircleRange &op2); ///< Intersect \b this with another range | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:84:18: error: ‘uintb’ has not been declared 84 | bool setNZMask(uintb nzmask,int4 size); ///< Set the range based on a putative mask. | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:84:31: error: ‘int4’ has not been declared 84 | bool setNZMask(uintb nzmask,int4 size); ///< Set the range based on a putative mask. | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1673:28: error: invalid operands of types ‘char’ and ‘’ to binary ‘operator+’ 1673 | operstring[1] = ('A' + index); | ~~~~^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:85:3: error: ‘int4’ does not name a type; did you mean ‘int’? 85 | int4 circleUnion(const CircleRange &op2); ///< Union two ranges. | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:86:48: error: ‘int4’ has not been declared 86 | bool minimalContainer(const CircleRange &op2,int4 maxStep); ///< Construct minimal range that contains both \b this and another range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:66:33: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 66 | virtual void getMinMax(vector &minlist,vector &maxlist) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:66:37: error: template argument 1 is invalid 66 | virtual void getMinMax(vector &minlist,vector &maxlist) const=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:66:37: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:87:3: error: ‘int4’ does not name a type; did you mean ‘int’? 87 | int4 invert(void); ///< Convert to complementary range | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:88:18: error: ‘int4’ has not been declared 88 | void setStride(int4 newStep,uintb rem); ///< Set a new step on \b this range. | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:88:31: error: ‘uintb’ has not been declared 88 | void setStride(int4 newStep,uintb rem); ///< Set a new step on \b this range. | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:89:33: error: ‘int4’ has not been declared 89 | bool pullBackUnary(OpCode opc,int4 inSize,int4 outSize); ///< Pull-back \b this through the given unary operator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:89:45: error: ‘int4’ has not been declared 89 | bool pullBackUnary(OpCode opc,int4 inSize,int4 outSize); ///< Pull-back \b this through the given unary operator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:90:34: error: ‘uintb’ has not been declared 90 | bool pullBackBinary(OpCode opc,uintb val,int4 slot,int4 inSize,int4 outSize); ///< Pull-back \b this thru binary operator | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:90:44: error: ‘int4’ has not been declared 90 | bool pullBackBinary(OpCode opc,uintb val,int4 slot,int4 inSize,int4 outSize); ///< Pull-back \b this thru binary operator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:90:54: error: ‘int4’ has not been declared 90 | bool pullBackBinary(OpCode opc,uintb val,int4 slot,int4 inSize,int4 outSize); ///< Pull-back \b this thru binary operator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:90:66: error: ‘int4’ has not been declared 90 | bool pullBackBinary(OpCode opc,uintb val,int4 slot,int4 inSize,int4 outSize); ///< Pull-back \b this thru binary operator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:92:59: error: ‘int4’ has not been declared 92 | bool pushForwardUnary(OpCode opc,const CircleRange &in1,int4 inSize,int4 outSize); ///< Push-forward thru given unary operator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:92:71: error: ‘int4’ has not been declared 92 | bool pushForwardUnary(OpCode opc,const CircleRange &in1,int4 inSize,int4 outSize); ///< Push-forward thru given unary operator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:93:83: error: ‘int4’ has not been declared 93 | bool pushForwardBinary(OpCode opc,const CircleRange &in1,const CircleRange &in2,int4 inSize,int4 outSize,int4 maxStep); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:93:95: error: ‘int4’ has not been declared 93 | bool pushForwardBinary(OpCode opc,const CircleRange &in1,const CircleRange &in2,int4 inSize,int4 outSize,int4 maxStep); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:93:108: error: ‘int4’ has not been declared 93 | bool pushForwardBinary(OpCode opc,const CircleRange &in1,const CircleRange &in2,int4 inSize,int4 outSize,int4 maxStep); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:95:27: error: ‘int4’ has not been declared 95 | int4 inSize,int4 outSize,int4 maxStep); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc: In member function ‘virtual void TokenField::restoreXml(const Element*, Translate*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:628:10: error: ‘bitstart’ was not declared in this scope 628 | s >> bitstart; | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:95:39: error: ‘int4’ has not been declared 95 | int4 inSize,int4 outSize,int4 maxStep); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:95:52: error: ‘int4’ has not been declared 95 | int4 inSize,int4 outSize,int4 maxStep); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:97:3: error: ‘int4’ does not name a type; did you mean ‘int’? 97 | int4 translate2Op(OpCode &opc,uintb &c,int4 &cslot) const; ///< Translate range to a comparison op | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:66:55: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 66 | virtual void getMinMax(vector &minlist,vector &maxlist) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:66:59: error: template argument 1 is invalid 66 | virtual void getMinMax(vector &minlist,vector &maxlist) const=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:66:59: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:140:26: error: ‘int4’ has not been declared 140 | bool doesEquationApply(int4 num,int4 slot) const; ///< Does the indicated equation apply for the given input slot | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:140:35: error: ‘int4’ has not been declared 140 | bool doesEquationApply(int4 num,int4 slot) const; ///< Does the indicated equation apply for the given input slot | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:67:11: error: ‘intb’ does not name a type; did you mean ‘int’? 67 | virtual intb getSubValue(const vector &replace,int4 &listpos) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:142:30: error: ‘int4’ has not been declared 142 | void setVarnode(Varnode *v,int4 tCode); ///< Attach \b this to given Varnode and set initial values | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:143:20: error: ‘int4’ has not been declared 143 | void addEquation(int4 slot,int4 type,const CircleRange &constraint); ///< Insert an equation restricting \b this value set | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:143:30: error: ‘int4’ has not been declared 143 | void addEquation(int4 slot,int4 type,const CircleRange &constraint); ///< Insert an equation restricting \b this value set | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:144:20: error: ‘int4’ has not been declared 144 | void addLandmark(int4 type,const CircleRange &constraint) { addEquation(numParams,type,constraint); } ///< Add a widening landmark | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh: In constructor ‘WidenerFull::WidenerFull()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:238:23: error: ‘widenIteration’ was not declared in this scope 238 | WidenerFull(void) { widenIteration = 2; fullIteration = 5; } ///< Constructor with default iterations | ^~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1688:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 1688 | int4 sectionid = cur->restoreXml(*iter,trans); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:70:3: error: ‘intb’ does not name a type; did you mean ‘int’? 70 | intb getSubValue(const vector &replace) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:148:3: error: ‘int4’ does not name a type; did you mean ‘int’? 148 | int4 getCount(void) const { return count; } ///< Get the current iteration count | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:633:10: error: ‘bitend’ was not declared in this scope 633 | s >> bitend; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:150:3: error: ‘int4’ does not name a type; did you mean ‘int’? 150 | int4 getTypeCode(void) const { return typeCode; } ///< Return '0' for normal constant, '1' for spacebase relative | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh: In member function ‘bool CircleRange::isFull() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:70:52: error: ‘step’ was not declared in this scope; did you mean ‘strsep’? 70 | bool isFull(void) const { return ((!isempty) && (step == 1) && (left == right)); } ///< Return \b true if \b this contains all possible values | ^~~~ | strsep /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh: In member function ‘void ValueSet::setFull()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:141:42: error: ‘class Varnode’ has no member named ‘getSize’ 141 | void setFull(void) { range.setFull(vn->getSize()); typeCode = 0; } ///< Mark value set as possibly containing any value | ^~~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh: In member function ‘bool CircleRange::isSingle() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:71:71: error: ‘step’ was not declared in this scope; did you mean ‘strsep’? 71 | bool isSingle(void) const { return (!isempty) && (right == ((left + step)& mask)); } ///< Return \b true if \b this contains single value | ^~~~ | strsep /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:141:54: error: ‘typeCode’ was not declared in this scope; did you mean ‘TypeCode’? 141 | void setFull(void) { range.setFull(vn->getSize()); typeCode = 0; } ///< Mark value set as possibly containing any value | ^~~~~~~~ | TypeCode /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:238:43: error: ‘fullIteration’ was not declared in this scope 238 | WidenerFull(void) { widenIteration = 2; fullIteration = 5; } ///< Constructor with default iterations | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In constructor ‘PatternExpression::PatternExpression()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:62:29: error: ‘refcount’ was not declared in this scope 62 | PatternExpression(void) { refcount = 0; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:638:10: error: ‘bytestart’ was not declared in this scope 638 | s >> bytestart; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:253:3: error: ‘int4’ does not name a type; did you mean ‘int’? 253 | int4 freezeIteration; ///< The iteration at which all change ceases | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1689:11: error: ‘sectionid’ was not declared in this scope 1689 | if (sectionid < 0) { | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:256:11: error: ‘int4’ does not name a type; did you mean ‘int’? 256 | virtual int4 determineIterationReset(const ValueSet &valueSet); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:71:78: error: ‘mask’ was not declared in this scope 71 | bool isSingle(void) const { return (!isempty) && (right == ((left + step)& mask)); } ///< Return \b true if \b this contains single value | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh: In member function ‘void ValueSet::addLandmark(int, const CircleRange&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:144:75: error: ‘numParams’ was not declared in this scope 144 | void addLandmark(int4 type,const CircleRange &constraint) { addEquation(numParams,type,constraint); } ///< Add a widening landmark | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:643:10: error: ‘byteend’ was not declared in this scope 643 | s >> byteend; | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh: In member function ‘bool CircleRange::getNext(int&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:80:47: error: ‘step’ was not declared in this scope; did you mean ‘strsep’? 80 | bool getNext(uintb &val) const { val = (val+step)&mask; return (val!=right); } ///< Advance an integer within the range | ^~~~ | strsep /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In member function ‘void PatternExpression::layClaim()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:73:25: error: ‘refcount’ was not declared in this scope 73 | void layClaim(void) { refcount += 1; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:80:35: error: ‘intb’ has not been declared 80 | virtual TokenPattern genPattern(intb val) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:178:3: error: ‘int4’ does not name a type; did you mean ‘int’? 178 | int4 typeCode; ///< 0=pure constant 1=stack relative | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:179:3: error: ‘int4’ does not name a type; did you mean ‘int’? 179 | int4 slot; ///< The slot being read | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:183:3: error: ‘int4’ does not name a type; did you mean ‘int’? 183 | int4 equationTypeCode; ///< Type code of the associated equation | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:186:30: error: ‘int4’ has not been declared 186 | void setPcodeOp(PcodeOp *o,int4 slt); ///< Establish \e read this value set corresponds to | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:187:20: error: ‘int4’ has not been declared 187 | void addEquation(int4 slt,int4 type,const CircleRange &constraint); ///< Insert an equation restricting \b this value set | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:187:29: error: ‘int4’ has not been declared 187 | void addEquation(int4 slt,int4 type,const CircleRange &constraint); ///< Insert an equation restricting \b this value set | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:648:10: error: ‘shift’ was not declared in this scope 648 | s >> shift; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:82:33: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 82 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:82:37: error: template argument 1 is invalid 82 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:82:37: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:652:35: error: ‘int4’ has not been declared 652 | ContextField::ContextField(bool s,int4 sbit,int4 ebit) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:652:45: error: ‘int4’ has not been declared 652 | ContextField::ContextField(bool s,int4 sbit,int4 ebit) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:189:3: error: ‘int4’ does not name a type; did you mean ‘int’? 189 | int4 getTypeCode(void) const { return typeCode; } ///< Return '0' for normal constant, '1' for spacebase relative | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:80:53: error: ‘mask’ was not declared in this scope 80 | bool getNext(uintb &val) const { val = (val+step)&mask; return (val!=right); } ///< Advance an integer within the range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:80:70: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] 80 | bool getNext(uintb &val) const { val = (val+step)&mask; return (val!=right); } ///< Advance an integer within the range | ~~~^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh: In constructor ‘WidenerNone::WidenerNone()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:255:23: error: ‘freezeIteration’ was not declared in this scope 255 | WidenerNone(void) { freezeIteration = 3; } | ^~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:210:11: error: ‘int4’ does not name a type; did you mean ‘int’? 210 | virtual int4 determineIterationReset(const ValueSet &valueSet)=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:113:16: error: ‘int4’ does not name a type; did you mean ‘int’? 113 | static const int4 MAX_STEP; ///< Maximum step inferred for a value set | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:281:5: error: ‘int4’ does not name a type; did you mean ‘int’? 281 | int4 rootPos; ///< The iterator position for the simulated root node | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:121:5: error: ‘int4’ does not name a type; did you mean ‘int’? 121 | int4 slot; ///< The input parameter slot to which the constraint is attached | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:235:3: error: ‘int4’ does not name a type; did you mean ‘int’? 235 | int4 widenIteration; ///< The iteration at which widening is attempted | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:82:55: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 82 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:82:59: error: template argument 1 is invalid 82 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:82:59: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:122:5: error: ‘int4’ does not name a type; did you mean ‘int’? 122 | int4 typeCode; ///< The constraint characteristic 0=absolute 1=relative to a spacebase register | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1706:5: error: ‘flowthruindex’ was not declared in this scope 1706 | flowthruindex = printpiece[0][1] - 'A'; | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:125:18: error: expected ‘)’ before ‘s’ 125 | Equation(int4 s,int4 tc,const CircleRange &rng) { slot=s; typeCode = tc; range = rng; } ///< Constructor | ~ ^~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:236:3: error: ‘int4’ does not name a type; did you mean ‘int’? 236 | int4 fullIteration; ///< The iteration at which a full range is produced | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:239:19: error: expected ‘)’ before ‘wide’ 239 | WidenerFull(int4 wide,int4 full) { widenIteration = wide; fullIteration = full; } ///< Constructor specifying iterations | ~ ^~~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:84:11: error: ‘intb’ does not name a type; did you mean ‘int’? 84 | virtual intb getSubValue(const vector &replace,int4 &listpos) const { return replace[listpos++]; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:129:3: error: ‘int4’ does not name a type; did you mean ‘int’? 129 | int4 typeCode; ///< 0=pure constant 1=stack relative | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:240:11: error: ‘int4’ does not name a type; did you mean ‘int’? 240 | virtual int4 determineIterationReset(const ValueSet &valueSet); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:85:11: error: ‘intb’ does not name a type; did you mean ‘int’? 85 | virtual intb minValue(void) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc: In constructor ‘ContextField::ContextField(bool, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:656:3: error: ‘startbit’ was not declared in this scope; did you mean ‘static’? 656 | startbit = sbit; | ^~~~~~~~ | static /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:130:3: error: ‘int4’ does not name a type; did you mean ‘int’? 130 | int4 numParams; ///< Number of input parameters to defining operation | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:86:11: error: ‘intb’ does not name a type; did you mean ‘int’? 86 | virtual intb maxValue(void) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:131:3: error: ‘int4’ does not name a type; did you mean ‘int’? 131 | int4 count; ///< Depth first numbering / widening count | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:657:3: error: ‘endbit’ was not declared in this scope; did you mean ‘ebit’? 657 | endbit = ebit; | ^~~~~~ | ebit /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh: In constructor ‘WidenerFull::WidenerFull()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:238:23: error: ‘widenIteration’ was not declared in this scope 238 | WidenerFull(void) { widenIteration = 2; fullIteration = 5; } ///< Constructor with default iterations | ^~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In member function ‘virtual void PatternValue::getMinMax(int&, int&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:83:13: error: request for member ‘push_back’ in ‘minlist’, which is of non-class type ‘int’ 83 | minlist.push_back(minValue()); maxlist.push_back(maxValue()); } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:140:26: error: ‘int4’ has not been declared 140 | bool doesEquationApply(int4 num,int4 slot) const; ///< Does the indicated equation apply for the given input slot | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:140:35: error: ‘int4’ has not been declared 140 | bool doesEquationApply(int4 num,int4 slot) const; ///< Does the indicated equation apply for the given input slot | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:142:30: error: ‘int4’ has not been declared 142 | void setVarnode(Varnode *v,int4 tCode); ///< Attach \b this to given Varnode and set initial values | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:143:20: error: ‘int4’ has not been declared 143 | void addEquation(int4 slot,int4 type,const CircleRange &constraint); ///< Insert an equation restricting \b this value set | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:143:30: error: ‘int4’ has not been declared 143 | void addEquation(int4 slot,int4 type,const CircleRange &constraint); ///< Insert an equation restricting \b this value set | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:144:20: error: ‘int4’ has not been declared 144 | void addLandmark(int4 type,const CircleRange &constraint) { addEquation(numParams,type,constraint); } ///< Add a widening landmark | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1708:5: error: ‘flowthruindex’ was not declared in this scope 1708 | flowthruindex = -1; | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:658:3: error: ‘startbyte’ was not declared in this scope 658 | startbyte = startbit/8; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:148:3: error: ‘int4’ does not name a type; did you mean ‘int’? 148 | int4 getCount(void) const { return count; } ///< Get the current iteration count | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:150:3: error: ‘int4’ does not name a type; did you mean ‘int’? 150 | int4 getTypeCode(void) const { return typeCode; } ///< Return '0' for normal constant, '1' for spacebase relative | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh: In member function ‘void ValueSet::setFull()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:141:42: error: ‘class Varnode’ has no member named ‘getSize’ 141 | void setFull(void) { range.setFull(vn->getSize()); typeCode = 0; } ///< Mark value set as possibly containing any value | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:83:23: error: ‘minValue’ was not declared in this scope; did you mean ‘listValues’? 83 | minlist.push_back(minValue()); maxlist.push_back(maxValue()); } | ^~~~~~~~ | listValues /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:83:44: error: request for member ‘push_back’ in ‘maxlist’, which is of non-class type ‘int’ 83 | minlist.push_back(minValue()); maxlist.push_back(maxValue()); } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:659:3: error: ‘endbyte’ was not declared in this scope 659 | endbyte = endbit/8; | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘void Constructor::orderOperands()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1717:3: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 1717 | int4 lastsize; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1720:11: error: expected ‘;’ before ‘i’ 1720 | for(int4 i=0;igetSize()); typeCode = 0; } ///< Mark value set as possibly containing any value | ^~~~~~~~ | TypeCode /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:253:3: error: ‘int4’ does not name a type; did you mean ‘int’? 253 | int4 freezeIteration; ///< The iteration at which all change ceases | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:256:11: error: ‘int4’ does not name a type; did you mean ‘int’? 256 | virtual int4 determineIterationReset(const ValueSet &valueSet); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:660:3: error: ‘shift’ was not declared in this scope 660 | shift = 7 - (endbit%8); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1720:16: error: ‘i’ was not declared in this scope 1720 | for(int4 i=0;ioffsetbase == -1)||(!operands[sym->offsetbase]->isMarked())) { | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:296:3: error: ‘int4’ does not name a type; did you mean ‘int’? 296 | int4 numIterations; ///< Count of individual ValueSet iterations | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:240:11: error: ‘int4’ does not name a type; did you mean ‘int’? 240 | virtual int4 determineIterationReset(const ValueSet &valueSet); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1733:52: error: ‘class OperandSymbol’ has no member named ‘offsetbase’ 1733 | if ((sym->offsetbase == -1)||(!operands[sym->offsetbase]->isMarked())) { | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:111:3: error: ‘int4’ does not name a type; did you mean ‘int’? 111 | int4 shift; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:115:23: error: ‘int4’ has not been declared 115 | ContextField(bool s,int4 sbit,int4 ebit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:115:33: error: ‘int4’ has not been declared 115 | ContextField(bool s,int4 sbit,int4 ebit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:297:3: error: ‘int4’ does not name a type; did you mean ‘int’? 297 | int4 maxIterations; ///< Maximum number of iterations before forcing termination | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:298:32: error: ‘int4’ has not been declared 298 | void newValueSet(Varnode *vn,int4 tCode); ///< Allocate storage for a new ValueSet | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:116:3: error: ‘int4’ does not name a type; did you mean ‘int’? 116 | int4 getStartBit(void) const { return startbit; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:691:24: error: ‘endbit’ was not declared in this scope 691 | s << " endbit=\"" << endbit << "\""; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:303:3: error: ‘int4’ does not name a type; did you mean ‘int’? 303 | int4 visit(ValueSet *vertex,Partition &part); ///< Recursively walk the data-flow graph finding partitions | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:305:53: error: ‘int4’ has not been declared 305 | void generateTrueEquation(Varnode *vn,PcodeOp *op,int4 slot,int4 type,const CircleRange &range); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:117:3: error: ‘int4’ does not name a type; did you mean ‘int’? 117 | int4 getEndBit(void) const { return endbit; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:305:63: error: ‘int4’ has not been declared 305 | void generateTrueEquation(Varnode *vn,PcodeOp *op,int4 slot,int4 type,const CircleRange &range); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:306:54: error: ‘int4’ has not been declared 306 | void generateFalseEquation(Varnode *vn,PcodeOp *op,int4 slot,int4 type,const CircleRange &range); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:306:64: error: ‘int4’ has not been declared 306 | void generateFalseEquation(Varnode *vn,PcodeOp *op,int4 slot,int4 type,const CircleRange &range); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:307:37: error: ‘int4’ has not been declared 307 | void applyConstraints(Varnode *vn,int4 type,const CircleRange &range,PcodeOp *cbranch); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:308:28: error: ‘int4’ has not been declared 308 | void constraintsFromPath(int4 type,CircleRange &lift,Varnode *startVn,Varnode *endVn,PcodeOp *cbranch); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:311:42: error: ‘int4’ has not been declared 311 | bool checkRelativeConstant(Varnode *vn,int4 &typeCode,uintb &value) const; ///< Check if the given Varnode is a \e relative constant | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:311:57: error: ‘uintb’ has not been declared 311 | bool checkRelativeConstant(Varnode *vn,int4 &typeCode,uintb &value) const; ///< Check if the given Varnode is a \e relative constant | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:119:11: error: ‘intb’ does not name a type; did you mean ‘int’? 119 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:121:35: error: ‘intb’ has not been declared 121 | virtual TokenPattern genPattern(intb val) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:315:3: error: ‘int4’ does not name a type; did you mean ‘int’? 315 | int4 getNumIterations(void) const { return numIterations; } ///< Get the current number of iterations | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:316:14: error: ‘int4’ has not been declared 316 | void solve(int4 max,Widener &widener); ///< Iterate the ValueSet system until it stabilizes | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:122:11: error: ‘intb’ does not name a type; did you mean ‘int’? 122 | virtual intb minValue(void) const { return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:123:11: error: ‘intb’ does not name a type; did you mean ‘int’? 123 | virtual intb maxValue(void) const { intb res=0; res=~res; zero_extend(res,(endbit-startbit)); return res; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:129:3: error: ‘intb’ does not name a type; did you mean ‘int’? 129 | intb val; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:132:21: error: expected ‘)’ before ‘v’ 132 | ConstantValue(intb v) { val = v; } | ~ ^~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:692:27: error: ‘startbyte’ was not declared in this scope 692 | s << " startbyte=\"" << startbyte << "\""; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh: In constructor ‘WidenerFull::WidenerFull()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:238:23: error: ‘widenIteration’ was not declared in this scope 238 | WidenerFull(void) { widenIteration = 2; fullIteration = 5; } ///< Constructor with default iterations | ^~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1738:28: error: ‘lastsize’ was not declared in this scope 1738 | } while(newops.size() != lastsize); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1739:11: error: expected ‘;’ before ‘i’ 1739 | for(int4 i=0;i\n"; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1751:16: error: ‘i’ was not declared in this scope 1751 | for(int4 i=0;i handmap; // Create index translation map | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1756:11: error: expected ‘;’ before ‘i’ 1756 | for(int4 i=0;ihand); | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:356:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 356 | inline char CircleRange::encodeRangeOverlaps(uintb op1left, uintb op1right, uintb op2left, uintb op2right) | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1760:11: error: expected ‘;’ before ‘i’ 1760 | for(int4 i=0;i> startbit; | ^~~~~~~~ | static /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:356:46: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 356 | inline char CircleRange::encodeRangeOverlaps(uintb op1left, uintb op1right, uintb op2left, uintb op2right) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:171:3: error: ‘int4’ does not name a type; did you mean ‘int’? 171 | int4 index; // This is the defining field of expression | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:175:20: error: expected ‘)’ before ‘ind’ 175 | OperandValue(int4 ind,Constructor *c) { index = ind; ct = c; } | ~ ^~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:176:20: error: ‘int4’ has not been declared 176 | void changeIndex(int4 newind) { index = newind; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:179:35: error: ‘intb’ has not been declared 179 | virtual TokenPattern genPattern(intb val) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1760:16: error: ‘i’ was not declared in this scope 1760 | for(int4 i=0;ioffsetbase == -1) continue; | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1763:10: error: ‘class OperandSymbol’ has no member named ‘offsetbase’ 1763 | sym->offsetbase = handmap[sym->offsetbase]; | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1763:36: error: ‘class OperandSymbol’ has no member named ‘offsetbase’ 1763 | sym->offsetbase = handmap[sym->offsetbase]; | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1768:11: error: expected ‘;’ before ‘i’ 1768 | for(int4 i=0;i &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:356:61: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 356 | inline char CircleRange::encodeRangeOverlaps(uintb op1left, uintb op1right, uintb op2left, uintb op2right) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:709:10: error: ‘endbit’ was not declared in this scope 709 | s >> endbit; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:295:3: error: ‘int4’ does not name a type; did you mean ‘int’? 295 | int4 depthFirstIndex; ///< (Global) depth first numbering for topological ordering | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:281:5: error: ‘int4’ does not name a type; did you mean ‘int’? 281 | int4 rootPos; ///< The iterator position for the simulated root node | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:183:11: error: ‘intb’ does not name a type; did you mean ‘int’? 183 | virtual intb minValue(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:296:3: error: ‘int4’ does not name a type; did you mean ‘int’? 296 | int4 numIterations; ///< Count of individual ValueSet iterations | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:184:11: error: ‘intb’ does not name a type; did you mean ‘int’? 184 | virtual intb maxValue(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In member function ‘void OperandValue::changeIndex(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:176:43: error: overloaded function with no contextual type information 176 | void changeIndex(int4 newind) { index = newind; } | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:297:3: error: ‘int4’ does not name a type; did you mean ‘int’? 297 | int4 maxIterations; ///< Maximum number of iterations before forcing termination | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1768:16: error: ‘i’ was not declared in this scope 1768 | for(int4 i=0;i> startbyte; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:373:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 373 | inline bool ValueSet::doesEquationApply(int4 num,int4 slot) const | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:373:13: error: ‘bool ValueSet::doesEquationApply’ is not a static data member of ‘class ValueSet’ 373 | inline bool ValueSet::doesEquationApply(int4 num,int4 slot) const | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1775:16: error: ‘i’ was not declared in this scope 1775 | for(int4 i=0;i]’ for array subscript 1778 | index = handmap[index]; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1779:29: error: invalid operands of types ‘char’ and ‘’ to binary ‘operator+’ 1779 | printpiece[i][1] = 'A'+index; | ~~~^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:373:41: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 373 | inline bool ValueSet::doesEquationApply(int4 num,int4 slot) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In member function ‘virtual TokenPattern OperandValue::genMinPattern(const std::vector&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:180:89: error: no match for ‘operator[]’ (operand types are ‘const std::vector’ and ‘’) 180 | virtual TokenPattern genMinPattern(const vector &ops) const { return ops[index]; } | ^ In file included from /usr/include/c++/11.2.0/vector:67, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:31, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/memstate.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulate.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/emulateutil.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /usr/include/c++/11.2.0/bits/stl_vector.h:1043:7: note: candidate: ‘std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) [with _Tp = TokenPattern; _Alloc = std::allocator; std::vector<_Tp, _Alloc>::reference = TokenPattern&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]’ 1043 | operator[](size_type __n) _GLIBCXX_NOEXCEPT | ^~~~~~~~ /usr/include/c++/11.2.0/bits/stl_vector.h:1043:28: note: no known conversion for argument 1 from ‘’ to ‘std::vector::size_type’ {aka ‘long unsigned int’} 1043 | operator[](size_type __n) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~^~~ /usr/include/c++/11.2.0/bits/stl_vector.h:1061:7: note: candidate: ‘std::vector<_Tp, _Alloc>::const_reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) const [with _Tp = TokenPattern; _Alloc = std::allocator; std::vector<_Tp, _Alloc>::const_reference = const TokenPattern&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]’ 1061 | operator[](size_type __n) const _GLIBCXX_NOEXCEPT | ^~~~~~~~ /usr/include/c++/11.2.0/bits/stl_vector.h:1061:28: note: no known conversion for argument 1 from ‘’ to ‘std::vector::size_type’ {aka ‘long unsigned int’} 1061 | operator[](size_type __n) const _GLIBCXX_NOEXCEPT | ~~~~~~~~~~^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:719:10: error: ‘endbyte’ was not declared in this scope 719 | s >> endbyte; | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:373:50: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 373 | inline bool ValueSet::doesEquationApply(int4 num,int4 slot) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:373:59: error: expression list treated as compound expression in initializer [-fpermissive] 373 | inline bool ValueSet::doesEquationApply(int4 num,int4 slot) const | ^ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:20, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:20, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:201:33: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 201 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:44:3: error: ‘int4’ does not name a type; did you mean ‘int’? 44 | int4 size; ///< Size of table entry | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:201:37: error: template argument 1 is invalid 201 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:201:37: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh: In member function ‘bool CircleRange::operator==(const CircleRange&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:334:23: error: ‘const class CircleRange’ has no member named ‘left’ 334 | return (left == op2.left) && (right == op2.right) && (mask == op2.mask) && (step == op2.step); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:334:46: error: ‘const class CircleRange’ has no member named ‘right’ 334 | return (left == op2.left) && (right == op2.right) && (mask == op2.mask) && (step == op2.step); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:45:3: error: ‘int4’ does not name a type; did you mean ‘int’? 45 | int4 num; ///< Number of entries in table; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:48:31: error: ‘int4’ has not been declared 48 | LoadTable(const Address &ad,int4 sz) { addr = ad, size = sz; num = 1; } ///< Constructor for a single entry table | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:724:10: error: ‘shift’ was not declared in this scope 724 | s >> shift; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:49:31: error: ‘int4’ has not been declared 49 | LoadTable(const Address &ad,int4 sz,int4 nm) { addr = ad; size = sz; num = nm; } ///< Construct a full table | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘TokenPattern* Constructor::buildPattern(std::ostream&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1794:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 1794 | for(int4 i=0;i &minlist,vector &maxlist) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:201:59: error: template argument 1 is invalid 201 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:201:59: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: In constructor ‘LoadTable::LoadTable(const Address&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:48:53: error: ‘size’ was not declared in this scope 48 | LoadTable(const Address &ad,int4 sz) { addr = ad, size = sz; num = 1; } ///< Constructor for a single entry table | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:334:57: error: ‘mask’ was not declared in this scope 334 | return (left == op2.left) && (right == op2.right) && (mask == op2.mask) && (step == op2.step); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1794:16: error: ‘i’ was not declared in this scope 1794 | for(int4 i=0;i\n"; | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1821:10: error: ‘class OperandSymbol’ has no member named ‘minimumlength’ 1821 | sym->minimumlength = sympat.getMinimumLength(); | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1821:33: error: ‘class TokenPattern’ has no member named ‘getMinimumLength’ 1821 | sym->minimumlength = sympat.getMinimumLength(); | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:48:64: error: ‘num’ was not declared in this scope; did you mean ‘enum’? 48 | LoadTable(const Address &ad,int4 sz) { addr = ad, size = sz; num = 1; } ///< Constructor for a single entry table | ^~~ | enum /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:218:33: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 218 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:218:37: error: template argument 1 is invalid 218 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:218:37: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:334:79: error: ‘step’ was not declared in this scope; did you mean ‘strsep’? 334 | return (left == op2.left) && (right == op2.right) && (mask == op2.mask) && (step == op2.step); | ^~~~ | strsep /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:334:91: error: ‘const class CircleRange’ has no member named ‘step’ 334 | return (left == op2.left) && (right == op2.right) && (mask == op2.mask) && (step == op2.step); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:356:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 356 | inline char CircleRange::encodeRangeOverlaps(uintb op1left, uintb op1right, uintb op2left, uintb op2right) | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:356:13: error: ‘char CircleRange::encodeRangeOverlaps’ is not a static data member of ‘class CircleRange’ 356 | inline char CircleRange::encodeRangeOverlaps(uintb op1left, uintb op1right, uintb op2left, uintb op2right) | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc: In member function ‘virtual void ConstantValue::restoreXml(const Element*, Translate*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:739:8: error: ‘val’ was not declared in this scope 739 | s >> val; | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:742:14: error: ‘TokenPattern OperandValue::genPattern’ is not a static data member of ‘class OperandValue’ 742 | TokenPattern OperandValue::genPattern(intb val) const | ^~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: In constructor ‘LoadTable::LoadTable(const Address&, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:49:61: error: ‘size’ was not declared in this scope 49 | LoadTable(const Address &ad,int4 sz,int4 nm) { addr = ad; size = sz; num = nm; } ///< Construct a full table | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:218:55: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 218 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:218:59: error: template argument 1 is invalid 218 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:218:59: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:356:46: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 356 | inline char CircleRange::encodeRangeOverlaps(uintb op1left, uintb op1right, uintb op2left, uintb op2right) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:742:39: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 742 | TokenPattern OperandValue::genPattern(intb val) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:742:49: error: expected ‘,’ or ‘;’ before ‘const’ 742 | TokenPattern OperandValue::genPattern(intb val) const | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:757:1: error: ‘intb’ does not name a type; did you mean ‘int’? 757 | intb OperandValue::minValue(void) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:763:1: error: ‘intb’ does not name a type; did you mean ‘int’? 763 | intb OperandValue::maxValue(void) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:229:11: error: ‘intb’ does not name a type; did you mean ‘int’? 229 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:49:72: error: ‘num’ was not declared in this scope; did you mean ‘nm’? 49 | LoadTable(const Address &ad,int4 sz,int4 nm) { addr = ad; size = sz; num = nm; } ///< Construct a full table | ^~~ | nm /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:769:1: error: ‘intb’ does not name a type; did you mean ‘int’? 769 | intb OperandValue::getValue(ParserWalker &walker) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:356:61: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 356 | inline char CircleRange::encodeRangeOverlaps(uintb op1left, uintb op1right, uintb op2left, uintb op2right) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:230:11: error: ‘intb’ does not name a type; did you mean ‘int’? 230 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:789:1: error: ‘intb’ does not name a type; did you mean ‘int’? 789 | intb OperandValue::getSubValue(const vector &replace,int4 &listpos) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc: In member function ‘bool OperandValue::isConstructorRelative() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:799:38: error: cannot convert ‘’ to ‘int’ 799 | OperandSymbol *sym = ct->getOperand(index); | ~~~~~~~~~~~~~~^~~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:506:34: note: initializing argument 1 of ‘OperandSymbol* Constructor::getOperand(int) const’ 506 | OperandSymbol *getOperand(int4 i) const { return operands[i]; } | ~~~~~^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:70:5: error: ‘int4’ does not name a type; did you mean ‘int’? 70 | int4 rootVn; ///< The index, within commonVn, of the Varnode at the split point | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:71:25: error: ‘int4’ has not been declared 71 | RootedOp(PcodeOp *o,int4 root) { op = o; rootVn = root; } ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:800:16: error: ‘class OperandSymbol’ has no member named ‘getOffsetBase’ 800 | return (sym->getOffsetBase()==-1); | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc: In member function ‘const string& OperandValue::getName() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:806:38: error: cannot convert ‘’ to ‘int’ 806 | OperandSymbol *sym = ct->getOperand(index); | ~~~~~~~~~~~~~~^~~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:506:34: note: initializing argument 1 of ‘OperandSymbol* Constructor::getOperand(int) const’ 506 | OperandSymbol *getOperand(int4 i) const { return operands[i]; } | ~~~~~^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:238:11: error: ‘intb’ does not name a type; did you mean ‘int’? 238 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1836:3: error: ‘minimumlength’ was not declared in this scope; did you mean ‘setMinimumLength’? 1836 | minimumlength = pattern->getMinimumLength(); // Get length of the pattern in bytes | ^~~~~~~~~~~~~ | setMinimumLength /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1836:28: error: ‘class TokenPattern’ has no member named ‘getMinimumLength’ 1836 | minimumlength = pattern->getMinimumLength(); // Get length of the pattern in bytes | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:356:77: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 356 | inline char CircleRange::encodeRangeOverlaps(uintb op1left, uintb op1right, uintb op2left, uintb op2right) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:239:11: error: ‘intb’ does not name a type; did you mean ‘int’? 239 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc: In member function ‘virtual void OperandValue::saveXml(std::ostream&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:814:27: error: no match for ‘operator<<’ (operand types are ‘std::basic_ostream::__ostream_type’ {aka ‘std::basic_ostream’} and ‘’) 814 | s << " index=\"" << dec << index << "\""; | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /usr/include/c++/11.2.0/istream:39, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:16: /usr/include/c++/11.2.0/ostream:108:7: note: candidate: ‘std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__ostream_type& (*)(std::basic_ostream<_CharT, _Traits>::__ostream_type&)) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream]’ 108 | operator<<(__ostream_type& (*__pf)(__ostream_type&)) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:108:36: note: no known conversion for argument 1 from ‘’ to ‘std::basic_ostream::__ostream_type& (*)(std::basic_ostream::__ostream_type&)’ {aka ‘std::basic_ostream& (*)(std::basic_ostream&)’} 108 | operator<<(__ostream_type& (*__pf)(__ostream_type&)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/11.2.0/ostream:117:7: note: candidate: ‘std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__ios_type& (*)(std::basic_ostream<_CharT, _Traits>::__ios_type&)) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream; std::basic_ostream<_CharT, _Traits>::__ios_type = std::basic_ios]’ 117 | operator<<(__ios_type& (*__pf)(__ios_type&)) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:117:32: note: no known conversion for argument 1 from ‘’ to ‘std::basic_ostream::__ios_type& (*)(std::basic_ostream::__ios_type&)’ {aka ‘std::basic_ios& (*)(std::basic_ios&)’} 117 | operator<<(__ios_type& (*__pf)(__ios_type&)) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/include/c++/11.2.0/ostream:127:7: note: candidate: ‘std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::ios_base& (*)(std::ios_base&)) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream]’ 127 | operator<<(ios_base& (*__pf) (ios_base&)) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:127:30: note: no known conversion for argument 1 from ‘’ to ‘std::ios_base& (*)(std::ios_base&)’ 127 | operator<<(ios_base& (*__pf) (ios_base&)) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/include/c++/11.2.0/ostream:166:7: note: candidate: ‘std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long int) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream]’ 166 | operator<<(long __n) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:166:23: note: no known conversion for argument 1 from ‘’ to ‘long int’ 166 | operator<<(long __n) | ~~~~~^~~ /usr/include/c++/11.2.0/ostream:170:7: note: candidate: ‘std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long unsigned int) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream]’ 170 | operator<<(unsigned long __n) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:170:32: note: no known conversion for argument 1 from ‘’ to ‘long unsigned int’ 170 | operator<<(unsigned long __n) | ~~~~~~~~~~~~~~^~~ /usr/include/c++/11.2.0/ostream:174:7: note: candidate: ‘std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(bool) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream]’ 174 | operator<<(bool __n) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:174:23: note: no known conversion for argument 1 from ‘’ to ‘bool’ 174 | operator<<(bool __n) | ~~~~~^~~ In file included from /usr/include/c++/11.2.0/ostream:826, from /usr/include/c++/11.2.0/istream:39, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:16: /usr/include/c++/11.2.0/bits/ostream.tcc:91:5: note: candidate: ‘std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(short int) [with _CharT = char; _Traits = std::char_traits]’ 91 | basic_ostream<_CharT, _Traits>:: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/11.2.0/bits/ostream.tcc:92:22: note: no known conversion for argument 1 from ‘’ to ‘short int’ 92 | operator<<(short __n) | ~~~~~~^~~ In file included from /usr/include/c++/11.2.0/istream:39, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:16: /usr/include/c++/11.2.0/ostream:181:7: note: candidate: ‘std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(short unsigned int) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream]’ 181 | operator<<(unsigned short __n) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:181:33: note: no known conversion for argument 1 from ‘’ to ‘short unsigned int’ 181 | operator<<(unsigned short __n) | ~~~~~~~~~~~~~~~^~~ In file included from /usr/include/c++/11.2.0/ostream:826, from /usr/include/c++/11.2.0/istream:39, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:16: /usr/include/c++/11.2.0/bits/ostream.tcc:105:5: note: candidate: ‘std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits]’ 105 | basic_ostream<_CharT, _Traits>:: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/11.2.0/bits/ostream.tcc:106:20: note: no known conversion for argument 1 from ‘’ to ‘int’ 106 | operator<<(int __n) | ~~~~^~~ In file included from /usr/include/c++/11.2.0/istream:39, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:16: /usr/include/c++/11.2.0/ostream:192:7: note: candidate: ‘std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(unsigned int) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream]’ 192 | operator<<(unsigned int __n) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:192:31: note: no known conversion for argument 1 from ‘’ to ‘unsigned int’ 192 | operator<<(unsigned int __n) | ~~~~~~~~~~~~~^~~ /usr/include/c++/11.2.0/ostream:201:7: note: candidate: ‘std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long int) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream]’ 201 | operator<<(long long __n) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:201:28: note: no known conversion for argument 1 from ‘’ to ‘long long int’ 201 | operator<<(long long __n) | ~~~~~~~~~~^~~ /usr/include/c++/11.2.0/ostream:205:7: note: candidate: ‘std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long unsigned int) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream]’ 205 | operator<<(unsigned long long __n) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:205:37: note: no known conversion for argument 1 from ‘’ to ‘long long unsigned int’ 205 | operator<<(unsigned long long __n) | ~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/11.2.0/ostream:220:7: note: candidate: ‘std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(double) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream]’ 220 | operator<<(double __f) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:220:25: note: no known conversion for argument 1 from ‘’ to ‘double’ 220 | operator<<(double __f) | ~~~~~~~^~~ /usr/include/c++/11.2.0/ostream:224:7: note: candidate: ‘std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(float) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream]’ 224 | operator<<(float __f) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:224:24: note: no known conversion for argument 1 from ‘’ to ‘float’ 224 | operator<<(float __f) | ~~~~~~^~~ /usr/include/c++/11.2.0/ostream:232:7: note: candidate: ‘std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long double) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream]’ 232 | operator<<(long double __f) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:232:30: note: no known conversion for argument 1 from ‘’ to ‘long double’ 232 | operator<<(long double __f) | ~~~~~~~~~~~~^~~ /usr/include/c++/11.2.0/ostream:245:7: note: candidate: ‘std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(const void*) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream]’ 245 | operator<<(const void* __p) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:245:30: note: no known conversion for argument 1 from ‘’ to ‘const void*’ 245 | operator<<(const void* __p) | ~~~~~~~~~~~~^~~ In file included from /usr/include/c++/11.2.0/ostream:826, from /usr/include/c++/11.2.0/istream:39, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:16: /usr/include/c++/11.2.0/bits/ostream.tcc:119:5: note: candidate: ‘std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__streambuf_type*) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__streambuf_type = std::basic_streambuf]’ 119 | basic_ostream<_CharT, _Traits>:: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/11.2.0/bits/ostream.tcc:120:34: note: no known conversion for argument 1 from ‘’ to ‘std::basic_ostream::__streambuf_type*’ {aka ‘std::basic_streambuf*’} 120 | operator<<(__streambuf_type* __sbin) | ~~~~~~~~~~~~~~~~~~^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:247:11: error: ‘intb’ does not name a type; did you mean ‘int’? 247 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:356:92: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 356 | inline char CircleRange::encodeRangeOverlaps(uintb op1left, uintb op1right, uintb op2left, uintb op2right) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:356:106: error: expression list treated as compound expression in initializer [-fpermissive] 356 | inline char CircleRange::encodeRangeOverlaps(uintb op1left, uintb op1right, uintb op2left, uintb op2right) | ^ In file included from /usr/include/c++/11.2.0/string:55, from /usr/include/c++/11.2.0/bits/locale_classes.h:40, from /usr/include/c++/11.2.0/bits/ios_base.h:41, from /usr/include/c++/11.2.0/ios:42, from /usr/include/c++/11.2.0/istream:38, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:16: /usr/include/c++/11.2.0/bits/basic_string.h:6530:5: note: candidate: ‘template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)’ 6530 | operator<<(basic_ostream<_CharT, _Traits>& __os, | ^~~~~~~~ /usr/include/c++/11.2.0/bits/basic_string.h:6530:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:373:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 373 | inline bool ValueSet::doesEquationApply(int4 num,int4 slot) const | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:814:30: note: mismatched types ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ and ‘const char*(const char*, int) noexcept’ {aka ‘const char*(const char*, int)’} 814 | s << " index=\"" << dec << index << "\""; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:373:13: error: ‘bool ValueSet::doesEquationApply’ is not a static data member of ‘class ValueSet’ 373 | inline bool ValueSet::doesEquationApply(int4 num,int4 slot) const | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:814:30: note: mismatched types ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ and ‘char*(char*, int) noexcept’ {aka ‘char*(char*, int)’} /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:814:30: note: couldn’t deduce template parameter ‘_Alloc’ In file included from /usr/include/c++/11.2.0/bits/ios_base.h:46, from /usr/include/c++/11.2.0/ios:42, from /usr/include/c++/11.2.0/istream:38, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:16: /usr/include/c++/11.2.0/system_error:263:5: note: candidate: ‘template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::error_code&)’ 263 | operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __e) | ^~~~~~~~ /usr/include/c++/11.2.0/system_error:263:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:248:11: error: ‘intb’ does not name a type; did you mean ‘int’? 248 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:814:30: note: cannot convert ‘index’ (type ‘’) to type ‘const std::error_code&’ 814 | s << " index=\"" << dec << index << "\""; | ^~~~~ In file included from /usr/include/c++/11.2.0/istream:39, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:16: /usr/include/c++/11.2.0/ostream:506:5: note: candidate: ‘std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, _CharT) [with _CharT = char; _Traits = std::char_traits]’ 506 | operator<<(basic_ostream<_CharT, _Traits>& __out, _CharT __c) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:506:62: note: no known conversion for argument 2 from ‘’ to ‘char’ 506 | operator<<(basic_ostream<_CharT, _Traits>& __out, _CharT __c) | ~~~~~~~^~~ /usr/include/c++/11.2.0/ostream:511:5: note: candidate: ‘template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, char)’ 511 | operator<<(basic_ostream<_CharT, _Traits>& __out, char __c) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:511:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:814:30: note: cannot convert ‘index’ (type ‘’) to type ‘char’ 814 | s << " index=\"" << dec << index << "\""; | ^~~~~ In file included from /usr/include/c++/11.2.0/istream:39, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:16: /usr/include/c++/11.2.0/ostream:517:5: note: candidate: ‘template std::basic_ostream& std::operator<<(std::basic_ostream&, char)’ 517 | operator<<(basic_ostream& __out, char __c) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:517:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:814:30: note: cannot convert ‘index’ (type ‘’) to type ‘char’ 814 | s << " index=\"" << dec << index << "\""; | ^~~~~ In file included from /usr/include/c++/11.2.0/istream:39, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:16: /usr/include/c++/11.2.0/ostream:523:5: note: candidate: ‘template std::basic_ostream& std::operator<<(std::basic_ostream&, signed char)’ 523 | operator<<(basic_ostream& __out, signed char __c) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:523:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:814:30: note: cannot convert ‘index’ (type ‘’) to type ‘signed char’ 814 | s << " index=\"" << dec << index << "\""; | ^~~~~ In file included from /usr/include/c++/11.2.0/istream:39, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:16: /usr/include/c++/11.2.0/ostream:528:5: note: candidate: ‘template std::basic_ostream& std::operator<<(std::basic_ostream&, unsigned char)’ 528 | operator<<(basic_ostream& __out, unsigned char __c) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:528:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:814:30: note: cannot convert ‘index’ (type ‘’) to type ‘unsigned char’ 814 | s << " index=\"" << dec << index << "\""; | ^~~~~ In file included from /usr/include/c++/11.2.0/istream:39, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:16: /usr/include/c++/11.2.0/ostream:589:5: note: candidate: ‘std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const _CharT*) [with _CharT = char; _Traits = std::char_traits]’ 589 | operator<<(basic_ostream<_CharT, _Traits>& __out, const _CharT* __s) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:589:69: note: no known conversion for argument 2 from ‘’ to ‘const char*’ 589 | operator<<(basic_ostream<_CharT, _Traits>& __out, const _CharT* __s) | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/c++/11.2.0/ostream:826, from /usr/include/c++/11.2.0/istream:39, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:16: /usr/include/c++/11.2.0/bits/ostream.tcc:321:5: note: candidate: ‘template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const char*)’ 321 | operator<<(basic_ostream<_CharT, _Traits>& __out, const char* __s) | ^~~~~~~~ /usr/include/c++/11.2.0/bits/ostream.tcc:321:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:814:30: note: cannot convert ‘index’ (type ‘’) to type ‘const char*’ 814 | s << " index=\"" << dec << index << "\""; | ^~~~~ In file included from /usr/include/c++/11.2.0/istream:39, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:16: /usr/include/c++/11.2.0/ostream:606:5: note: candidate: ‘template std::basic_ostream& std::operator<<(std::basic_ostream&, const char*)’ 606 | operator<<(basic_ostream& __out, const char* __s) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:606:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:814:30: note: cannot convert ‘index’ (type ‘’) to type ‘const char*’ 814 | s << " index=\"" << dec << index << "\""; | ^~~~~ In file included from /usr/include/c++/11.2.0/istream:39, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:16: /usr/include/c++/11.2.0/ostream:619:5: note: candidate: ‘template std::basic_ostream& std::operator<<(std::basic_ostream&, const signed char*)’ 619 | operator<<(basic_ostream& __out, const signed char* __s) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:619:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:814:30: note: cannot convert ‘index’ (type ‘’) to type ‘const signed char*’ 814 | s << " index=\"" << dec << index << "\""; | ^~~~~ In file included from /usr/include/c++/11.2.0/istream:39, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:16: /usr/include/c++/11.2.0/ostream:624:5: note: candidate: ‘template std::basic_ostream& std::operator<<(std::basic_ostream&, const unsigned char*)’ 624 | operator<<(basic_ostream& __out, const unsigned char* __s) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:624:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:814:30: note: cannot convert ‘index’ (type ‘’) to type ‘const unsigned char*’ 814 | s << " index=\"" << dec << index << "\""; | ^~~~~ In file included from /usr/include/c++/11.2.0/istream:39, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:16: /usr/include/c++/11.2.0/ostream:747:5: note: candidate: ‘template _Ostream&& std::operator<<(_Ostream&&, const _Tp&)’ 747 | operator<<(_Ostream&& __os, const _Tp& __x) | ^~~~~~~~ /usr/include/c++/11.2.0/ostream:747:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:814:30: note: couldn’t deduce template parameter ‘_Tp’ 814 | s << " index=\"" << dec << index << "\""; | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:27, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:16: /usr/include/c++/11.2.0/iomanip:79:5: note: candidate: ‘template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, std::_Resetiosflags)’ 79 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Resetiosflags __f) | ^~~~~~~~ /usr/include/c++/11.2.0/iomanip:79:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:814:30: note: cannot convert ‘index’ (type ‘’) to type ‘std::_Resetiosflags’ 814 | s << " index=\"" << dec << index << "\""; | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:27, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:16: /usr/include/c++/11.2.0/iomanip:109:5: note: candidate: ‘template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, std::_Setiosflags)’ 109 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Setiosflags __f) | ^~~~~~~~ /usr/include/c++/11.2.0/iomanip:109:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:814:30: note: cannot convert ‘index’ (type ‘’) to type ‘std::_Setiosflags’ 814 | s << " index=\"" << dec << index << "\""; | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:27, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:16: /usr/include/c++/11.2.0/iomanip:143:5: note: candidate: ‘template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, std::_Setbase)’ 143 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Setbase __f) | ^~~~~~~~ /usr/include/c++/11.2.0/iomanip:143:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:256:11: error: ‘intb’ does not name a type; did you mean ‘int’? 256 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:814:30: note: cannot convert ‘index’ (type ‘’) to type ‘std::_Setbase’ 814 | s << " index=\"" << dec << index << "\""; | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:27, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:16: /usr/include/c++/11.2.0/iomanip:178:5: note: candidate: ‘std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, std::_Setfill<_CharT>) [with _CharT = char; _Traits = std::char_traits]’ 178 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Setfill<_CharT> __f) | ^~~~~~~~ /usr/include/c++/11.2.0/iomanip:178:71: note: no known conversion for argument 2 from ‘’ to ‘std::_Setfill’ 178 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Setfill<_CharT> __f) | ~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/11.2.0/iomanip:208:5: note: candidate: ‘template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, std::_Setprecision)’ 208 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Setprecision __f) | ^~~~~~~~ /usr/include/c++/11.2.0/iomanip:208:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:814:30: note: cannot convert ‘index’ (type ‘’) to type ‘std::_Setprecision’ 814 | s << " index=\"" << dec << index << "\""; | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:27, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:16: /usr/include/c++/11.2.0/iomanip:238:5: note: candidate: ‘template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, std::_Setw)’ 238 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Setw __f) | ^~~~~~~~ /usr/include/c++/11.2.0/iomanip:238:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:814:30: note: cannot convert ‘index’ (type ‘’) to type ‘std::_Setw’ 814 | s << " index=\"" << dec << index << "\""; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1843:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 1843 | for(int4 i=0;i std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, std::_Put_money<_MoneyT>)’ 311 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Put_money<_MoneyT> __f) | ^~~~~~~~ /usr/include/c++/11.2.0/iomanip:311:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:814:30: note: mismatched types ‘std::_Put_money<_MoneyT>’ and ‘const char* (*)(const char*, int) noexcept’ {aka ‘const char* (*)(const char*, int)’} 814 | s << " index=\"" << dec << index << "\""; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:814:30: note: mismatched types ‘std::_Put_money<_MoneyT>’ and ‘char* (*)(char*, int) noexcept’ {aka ‘char* (*)(char*, int)’} /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:814:30: note: couldn’t deduce template parameter ‘_MoneyT’ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:27, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:16: /usr/include/c++/11.2.0/iomanip:363:5: note: candidate: ‘std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, std::_Put_time<_CharT>) [with _CharT = char; _Traits = std::char_traits]’ 363 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Put_time<_CharT> __f) | ^~~~~~~~ /usr/include/c++/11.2.0/iomanip:363:72: note: no known conversion for argument 2 from ‘’ to ‘std::_Put_time’ 363 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Put_time<_CharT> __f) | ~~~~~~~~~~~~~~~~~~^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:373:41: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 373 | inline bool ValueSet::doesEquationApply(int4 num,int4 slot) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:257:11: error: ‘intb’ does not name a type; did you mean ‘int’? 257 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:815:49: error: ‘class SubtableSymbol’ has no member named ‘getId’ 815 | s << " table=\"0x" << hex << ct->getParent()->getId() << "\""; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:295:3: error: ‘int4’ does not name a type; did you mean ‘int’? 295 | int4 depthFirstIndex; ///< (Global) depth first numbering for topological ordering | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:816:26: error: ‘class Constructor’ has no member named ‘getId’; did you mean ‘setId’? 816 | s << " ct=\"0x" << ct->getId() << "\"/>\n"; // Save id of our constructor | ^~~~~ | setId /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:265:11: error: ‘intb’ does not name a type; did you mean ‘int’? 265 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:296:3: error: ‘int4’ does not name a type; did you mean ‘int’? 296 | int4 numIterations; ///< Count of individual ValueSet iterations | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:75:33: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 75 | void internalIntersect(vector &parentMap); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:75:37: error: template argument 1 is invalid 75 | void internalIntersect(vector &parentMap); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:75:37: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:373:50: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 373 | inline bool ValueSet::doesEquationApply(int4 num,int4 slot) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:373:59: error: expression list treated as compound expression in initializer [-fpermissive] 373 | inline bool ValueSet::doesEquationApply(int4 num,int4 slot) const | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:266:11: error: ‘intb’ does not name a type; did you mean ‘int’? 266 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:297:3: error: ‘int4’ does not name a type; did you mean ‘int’? 297 | int4 maxIterations; ///< Maximum number of iterations before forcing termination | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:298:32: error: ‘int4’ has not been declared 298 | void newValueSet(Varnode *vn,int4 tCode); ///< Allocate storage for a new ValueSet | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:76:3: error: ‘int4’ does not name a type; did you mean ‘int’? 76 | int4 meldOps(const vector &path,int4 cutOff,const vector &parentMap); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1843:16: error: ‘i’ was not declared in this scope 1843 | for(int4 i=0;ioffsetbase = -1; | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1848:12: error: ‘class OperandSymbol’ has no member named ‘reloffset’ 1848 | sym->reloffset = 0; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:303:3: error: ‘int4’ does not name a type; did you mean ‘int’? 303 | int4 visit(ValueSet *vertex,Partition &part); ///< Recursively walk the data-flow graph finding partitions | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:305:53: error: ‘int4’ has not been declared 305 | void generateTrueEquation(Varnode *vn,PcodeOp *op,int4 slot,int4 type,const CircleRange &range); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:305:63: error: ‘int4’ has not been declared 305 | void generateTrueEquation(Varnode *vn,PcodeOp *op,int4 slot,int4 type,const CircleRange &range); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:306:54: error: ‘int4’ has not been declared 306 | void generateFalseEquation(Varnode *vn,PcodeOp *op,int4 slot,int4 type,const CircleRange &range); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:306:64: error: ‘int4’ has not been declared 306 | void generateFalseEquation(Varnode *vn,PcodeOp *op,int4 slot,int4 type,const CircleRange &range); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:307:37: error: ‘int4’ has not been declared 307 | void applyConstraints(Varnode *vn,int4 type,const CircleRange &range,PcodeOp *cbranch); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:274:11: error: ‘intb’ does not name a type; did you mean ‘int’? 274 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:308:28: error: ‘int4’ has not been declared 308 | void constraintsFromPath(int4 type,CircleRange &lift,Varnode *startVn,Varnode *endVn,PcodeOp *cbranch); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:86:3: error: ‘int4’ does not name a type; did you mean ‘int’? 86 | int4 numCommonVarnode(void) const { return commonVn.size(); } ///< Return the number of Varnodes common to all paths | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc: In member function ‘virtual void OperandValue::restoreXml(const Element*, Translate*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:822:3: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 822 | uintm ctid,tabid; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:311:42: error: ‘int4’ has not been declared 311 | bool checkRelativeConstant(Varnode *vn,int4 &typeCode,uintb &value) const; ///< Check if the given Varnode is a \e relative constant | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:311:57: error: ‘uintb’ has not been declared 311 | bool checkRelativeConstant(Varnode *vn,int4 &typeCode,uintb &value) const; ///< Check if the given Varnode is a \e relative constant | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:44:3: error: ‘int4’ does not name a type; did you mean ‘int’? 44 | int4 size; ///< Size of table entry | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:275:11: error: ‘intb’ does not name a type; did you mean ‘int’? 275 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:87:3: error: ‘int4’ does not name a type; did you mean ‘int’? 87 | int4 numOps(void) const { return opMeld.size(); } ///< Return the number of PcodeOps across all paths | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:88:23: error: ‘int4’ has not been declared 88 | Varnode *getVarnode(int4 i) const { return commonVn[i]; } ///< Get the i-th common Varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:826:7: error: no match for ‘operator>>’ (operand types are ‘std::istringstream’ {aka ‘std::__cxx11::basic_istringstream’} and ‘’) 826 | s >> index; | ~~^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:89:24: error: ‘int4’ has not been declared 89 | Varnode *getOpParent(int4 i) const { return commonVn[ opMeld[i].rootVn ]; } ///< Get the split-point for the i-th PcodeOp | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:90:18: error: ‘int4’ has not been declared 90 | PcodeOp *getOp(int4 i) const { return opMeld[i].op; } ///< Get the i-th PcodeOp | ^~~~ In file included from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:16: /usr/include/c++/11.2.0/istream:120:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(std::basic_istream<_CharT, _Traits>::__istream_type& (*)(std::basic_istream<_CharT, _Traits>::__istream_type&)) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 120 | operator>>(__istream_type& (*__pf)(__istream_type&)) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:120:36: note: no known conversion for argument 1 from ‘’ to ‘std::basic_istream::__istream_type& (*)(std::basic_istream::__istream_type&)’ {aka ‘std::basic_istream& (*)(std::basic_istream&)’} 120 | operator>>(__istream_type& (*__pf)(__istream_type&)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:91:26: error: ‘int4’ has not been declared 91 | PcodeOp *getEarliestOp(int4 pos) const; ///< Find \e earliest PcodeOp that has a specific common Varnode as input | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:315:3: error: ‘int4’ does not name a type; did you mean ‘int’? 315 | int4 getNumIterations(void) const { return numIterations; } ///< Get the current number of iterations | ^~~~ | int /usr/include/c++/11.2.0/istream:124:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(std::basic_istream<_CharT, _Traits>::__ios_type& (*)(std::basic_istream<_CharT, _Traits>::__ios_type&)) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream; std::basic_istream<_CharT, _Traits>::__ios_type = std::basic_ios]’ 124 | operator>>(__ios_type& (*__pf)(__ios_type&)) | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:316:14: error: ‘int4’ has not been declared 316 | void solve(int4 max,Widener &widener); ///< Iterate the ValueSet system until it stabilizes | ^~~~ /usr/include/c++/11.2.0/istream:124:32: note: no known conversion for argument 1 from ‘’ to ‘std::basic_istream::__ios_type& (*)(std::basic_istream::__ios_type&)’ {aka ‘std::basic_ios& (*)(std::basic_ios&)’} 124 | operator>>(__ios_type& (*__pf)(__ios_type&)) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/include/c++/11.2.0/istream:131:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(std::ios_base& (*)(std::ios_base&)) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 131 | operator>>(ios_base& (*__pf)(ios_base&)) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:131:30: note: no known conversion for argument 1 from ‘’ to ‘std::ios_base& (*)(std::ios_base&)’ 131 | operator>>(ios_base& (*__pf)(ios_base&)) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:45:3: error: ‘int4’ does not name a type; did you mean ‘int’? 45 | int4 num; ///< Number of entries in table; | ^~~~ | int /usr/include/c++/11.2.0/istream:168:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(bool&) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 168 | operator>>(bool& __n) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:168:24: note: no known conversion for argument 1 from ‘’ to ‘bool&’ 168 | operator>>(bool& __n) | ~~~~~~^~~ /usr/include/c++/11.2.0/istream:172:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(short int&) [with _CharT = char; _Traits = std::char_traits]’ 172 | operator>>(short& __n); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:48:31: error: ‘int4’ has not been declared 48 | LoadTable(const Address &ad,int4 sz) { addr = ad, size = sz; num = 1; } ///< Constructor for a single entry table | ^~~~ /usr/include/c++/11.2.0/istream:172:25: note: no known conversion for argument 1 from ‘’ to ‘short int&’ 172 | operator>>(short& __n); | ~~~~~~~^~~ /usr/include/c++/11.2.0/istream:175:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(short unsigned int&) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 175 | operator>>(unsigned short& __n) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:175:34: note: no known conversion for argument 1 from ‘’ to ‘short unsigned int&’ 175 | operator>>(unsigned short& __n) | ~~~~~~~~~~~~~~~~^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:49:31: error: ‘int4’ has not been declared 49 | LoadTable(const Address &ad,int4 sz,int4 nm) { addr = ad; size = sz; num = nm; } ///< Construct a full table | ^~~~ /usr/include/c++/11.2.0/istream:179:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(int&) [with _CharT = char; _Traits = std::char_traits]’ 179 | operator>>(int& __n); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:49:39: error: ‘int4’ has not been declared 49 | LoadTable(const Address &ad,int4 sz,int4 nm) { addr = ad; size = sz; num = nm; } ///< Construct a full table | ^~~~ /usr/include/c++/11.2.0/istream:179:23: note: no known conversion for argument 1 from ‘’ to ‘int&’ 179 | operator>>(int& __n); | ~~~~~^~~ /usr/include/c++/11.2.0/istream:182:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(unsigned int&) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 182 | operator>>(unsigned int& __n) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:182:32: note: no known conversion for argument 1 from ‘’ to ‘unsigned int&’ 182 | operator>>(unsigned int& __n) | ~~~~~~~~~~~~~~^~~ /usr/include/c++/11.2.0/istream:186:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long int&) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 186 | operator>>(long& __n) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:186:24: note: no known conversion for argument 1 from ‘’ to ‘long int&’ 186 | operator>>(long& __n) | ~~~~~~^~~ /usr/include/c++/11.2.0/istream:190:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long unsigned int&) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 190 | operator>>(unsigned long& __n) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:190:33: note: no known conversion for argument 1 from ‘’ to ‘long unsigned int&’ 190 | operator>>(unsigned long& __n) | ~~~~~~~~~~~~~~~^~~ /usr/include/c++/11.2.0/istream:195:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long long int&) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 195 | operator>>(long long& __n) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:195:29: note: no known conversion for argument 1 from ‘’ to ‘long long int&’ 195 | operator>>(long long& __n) | ~~~~~~~~~~~^~~ /usr/include/c++/11.2.0/istream:199:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long long unsigned int&) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 199 | operator>>(unsigned long long& __n) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:199:38: note: no known conversion for argument 1 from ‘’ to ‘long long unsigned int&’ 199 | operator>>(unsigned long long& __n) | ~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/11.2.0/istream:214:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(float&) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 214 | operator>>(float& __f) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:214:25: note: no known conversion for argument 1 from ‘’ to ‘float&’ 214 | operator>>(float& __f) | ~~~~~~~^~~ /usr/include/c++/11.2.0/istream:218:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(double&) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 218 | operator>>(double& __f) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:218:26: note: no known conversion for argument 1 from ‘’ to ‘double&’ 218 | operator>>(double& __f) | ~~~~~~~~^~~ /usr/include/c++/11.2.0/istream:222:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long double&) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 222 | operator>>(long double& __f) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:222:31: note: no known conversion for argument 1 from ‘’ to ‘long double&’ 222 | operator>>(long double& __f) | ~~~~~~~~~~~~~^~~ /usr/include/c++/11.2.0/istream:235:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(void*&) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]’ 235 | operator>>(void*& __p) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:235:25: note: no known conversion for argument 1 from ‘’ to ‘void*&’ 235 | operator>>(void*& __p) | ~~~~~~~^~~ /usr/include/c++/11.2.0/istream:259:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(std::basic_istream<_CharT, _Traits>::__streambuf_type*) [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__streambuf_type = std::basic_streambuf]’ 259 | operator>>(__streambuf_type* __sb); | ^~~~~~~~ /usr/include/c++/11.2.0/istream:259:36: note: no known conversion for argument 1 from ‘’ to ‘std::basic_istream::__streambuf_type*’ {aka ‘std::basic_streambuf*’} 259 | operator>>(__streambuf_type* __sb); | ~~~~~~~~~~~~~~~~~~^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:283:11: error: ‘intb’ does not name a type; did you mean ‘int’? 283 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int In file included from /usr/include/c++/11.2.0/string:56, from /usr/include/c++/11.2.0/bits/locale_classes.h:40, from /usr/include/c++/11.2.0/bits/ios_base.h:41, from /usr/include/c++/11.2.0/ios:42, from /usr/include/c++/11.2.0/istream:38, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:16: /usr/include/c++/11.2.0/bits/basic_string.tcc:1485:5: note: candidate: ‘template std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)’ 1485 | operator>>(basic_istream<_CharT, _Traits>& __in, | ^~~~~~~~ /usr/include/c++/11.2.0/bits/basic_string.tcc:1485:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:826:10: note: mismatched types ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ and ‘const char*(const char*, int) noexcept’ {aka ‘const char*(const char*, int)’} 826 | s >> index; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:826:10: note: mismatched types ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ and ‘char*(char*, int) noexcept’ {aka ‘char*(char*, int)’} /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:826:10: note: couldn’t deduce template parameter ‘_Alloc’ In file included from /usr/include/c++/11.2.0/istream:995, from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:16: /usr/include/c++/11.2.0/bits/istream.tcc:958:5: note: candidate: ‘std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, _CharT&) [with _CharT = char; _Traits = std::char_traits]’ 958 | operator>>(basic_istream<_CharT, _Traits>& __in, _CharT& __c) | ^~~~~~~~ /usr/include/c++/11.2.0/bits/istream.tcc:958:62: note: no known conversion for argument 2 from ‘’ to ‘char&’ 958 | operator>>(basic_istream<_CharT, _Traits>& __in, _CharT& __c) | ~~~~~~~~^~~ In file included from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:16: /usr/include/c++/11.2.0/istream:756:5: note: candidate: ‘template std::basic_istream& std::operator>>(std::basic_istream&, unsigned char&)’ 756 | operator>>(basic_istream& __in, unsigned char& __c) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:756:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:826:10: note: cannot convert ‘index’ (type ‘’) to type ‘unsigned char&’ 826 | s >> index; | ^~~~~ In file included from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:16: /usr/include/c++/11.2.0/istream:761:5: note: candidate: ‘template std::basic_istream& std::operator>>(std::basic_istream&, signed char&)’ 761 | operator>>(basic_istream& __in, signed char& __c) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:761:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:826:10: note: cannot convert ‘index’ (type ‘’) to type ‘signed char&’ 826 | s >> index; | ^~~~~ In file included from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:16: /usr/include/c++/11.2.0/istream:803:5: note: candidate: ‘std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, _CharT*) [with _CharT = char; _Traits = std::char_traits]’ 803 | operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:803:62: note: no known conversion for argument 2 from ‘’ to ‘char*’ 803 | operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s) | ~~~~~~~~^~~ /usr/include/c++/11.2.0/istream:825:5: note: candidate: ‘template std::basic_istream& std::operator>>(std::basic_istream&, unsigned char*)’ 825 | operator>>(basic_istream& __in, unsigned char* __s) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:825:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:826:10: note: cannot convert ‘index’ (type ‘’) to type ‘unsigned char*’ 826 | s >> index; | ^~~~~ In file included from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:16: /usr/include/c++/11.2.0/istream:831:5: note: candidate: ‘template std::basic_istream& std::operator>>(std::basic_istream&, signed char*)’ 831 | operator>>(basic_istream& __in, signed char* __s) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:831:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:826:10: note: cannot convert ‘index’ (type ‘’) to type ‘signed char*’ 826 | s >> index; | ^~~~~ In file included from /usr/include/c++/11.2.0/sstream:38, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:16: /usr/include/c++/11.2.0/istream:985:5: note: candidate: ‘template _Istream&& std::operator>>(_Istream&&, _Tp&&)’ 985 | operator>>(_Istream&& __is, _Tp&& __x) | ^~~~~~~~ /usr/include/c++/11.2.0/istream:985:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:284:11: error: ‘intb’ does not name a type; did you mean ‘int’? 284 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:826:10: note: couldn’t deduce template parameter ‘_Tp’ 826 | s >> index; | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:27, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:16: /usr/include/c++/11.2.0/iomanip:71:5: note: candidate: ‘template std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Resetiosflags)’ 71 | operator>>(basic_istream<_CharT, _Traits>& __is, _Resetiosflags __f) | ^~~~~~~~ /usr/include/c++/11.2.0/iomanip:71:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:826:10: note: cannot convert ‘index’ (type ‘’) to type ‘std::_Resetiosflags’ 826 | s >> index; | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:27, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:16: /usr/include/c++/11.2.0/iomanip:101:5: note: candidate: ‘template std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Setiosflags)’ 101 | operator>>(basic_istream<_CharT, _Traits>& __is, _Setiosflags __f) | ^~~~~~~~ /usr/include/c++/11.2.0/iomanip:101:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:826:10: note: cannot convert ‘index’ (type ‘’) to type ‘std::_Setiosflags’ 826 | s >> index; | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:27, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:16: /usr/include/c++/11.2.0/iomanip:132:5: note: candidate: ‘template std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Setbase)’ 132 | operator>>(basic_istream<_CharT, _Traits>& __is, _Setbase __f) | ^~~~~~~~ /usr/include/c++/11.2.0/iomanip:132:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:826:10: note: cannot convert ‘index’ (type ‘’) to type ‘std::_Setbase’ 826 | s >> index; | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:27, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:16: /usr/include/c++/11.2.0/iomanip:170:5: note: candidate: ‘std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Setfill<_CharT>) [with _CharT = char; _Traits = std::char_traits]’ 170 | operator>>(basic_istream<_CharT, _Traits>& __is, _Setfill<_CharT> __f) | ^~~~~~~~ /usr/include/c++/11.2.0/iomanip:170:71: note: no known conversion for argument 2 from ‘’ to ‘std::_Setfill’ 170 | operator>>(basic_istream<_CharT, _Traits>& __is, _Setfill<_CharT> __f) | ~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/11.2.0/iomanip:200:5: note: candidate: ‘template std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Setprecision)’ 200 | operator>>(basic_istream<_CharT, _Traits>& __is, _Setprecision __f) | ^~~~~~~~ /usr/include/c++/11.2.0/iomanip:200:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:826:10: note: cannot convert ‘index’ (type ‘’) to type ‘std::_Setprecision’ 826 | s >> index; | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:27, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:16: /usr/include/c++/11.2.0/iomanip:230:5: note: candidate: ‘template std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Setw)’ 230 | operator>>(basic_istream<_CharT, _Traits>& __is, _Setw __f) | ^~~~~~~~ /usr/include/c++/11.2.0/iomanip:230:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:826:10: note: cannot convert ‘index’ (type ‘’) to type ‘std::_Setw’ 826 | s >> index; | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:27, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:16: /usr/include/c++/11.2.0/iomanip:264:5: note: candidate: ‘template std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Get_money<_MoneyT>)’ 264 | operator>>(basic_istream<_CharT, _Traits>& __is, _Get_money<_MoneyT> __f) | ^~~~~~~~ /usr/include/c++/11.2.0/iomanip:264:5: note: template argument deduction/substitution failed: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:826:10: note: mismatched types ‘std::_Get_money<_MoneyT>’ and ‘const char* (*)(const char*, int) noexcept’ {aka ‘const char* (*)(const char*, int)’} 826 | s >> index; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:826:10: note: mismatched types ‘std::_Get_money<_MoneyT>’ and ‘char* (*)(char*, int) noexcept’ {aka ‘char* (*)(char*, int)’} /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:826:10: note: couldn’t deduce template parameter ‘_MoneyT’ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1851:5: error: ‘base’ was not declared in this scope 1851 | base = sym->offsetbase; | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:27, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:16: /usr/include/c++/11.2.0/iomanip:418:5: note: candidate: ‘std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Get_time<_CharT>) [with _CharT = char; _Traits = std::char_traits]’ 418 | operator>>(basic_istream<_CharT, _Traits>& __is, _Get_time<_CharT> __f) | ^~~~~~~~ /usr/include/c++/11.2.0/iomanip:418:72: note: no known conversion for argument 2 from ‘’ to ‘std::_Get_time’ 418 | operator>>(basic_istream<_CharT, _Traits>& __is, _Get_time<_CharT> __f) | ~~~~~~~~~~~~~~~~~~^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1851:17: error: ‘class OperandSymbol’ has no member named ‘offsetbase’ 1851 | base = sym->offsetbase; | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: In constructor ‘LoadTable::LoadTable(const Address&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:48:53: error: ‘size’ was not declared in this scope 48 | LoadTable(const Address &ad,int4 sz) { addr = ad, size = sz; num = 1; } ///< Constructor for a single entry table | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:292:11: error: ‘intb’ does not name a type; did you mean ‘int’? 292 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: In constructor ‘PathMeld::RootedOp::RootedOp(PcodeOp*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:71:46: error: ‘rootVn’ was not declared in this scope; did you mean ‘root’? 71 | RootedOp(PcodeOp *o,int4 root) { op = o; rootVn = root; } ///< Constructor | ^~~~~~ | root /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: In member function ‘Varnode* PathMeld::getOpParent(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:89:67: error: ‘const value_type’ {aka ‘const struct PathMeld::RootedOp’} has no member named ‘rootVn’ 89 | Varnode *getOpParent(int4 i) const { return commonVn[ opMeld[i].rootVn ]; } ///< Get the split-point for the i-th PcodeOp | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:293:11: error: ‘intb’ does not name a type; did you mean ‘int’? 293 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:301:11: error: ‘intb’ does not name a type; did you mean ‘int’? 301 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:48:64: error: ‘num’ was not declared in this scope; did you mean ‘enum’? 48 | LoadTable(const Address &ad,int4 sz) { addr = ad, size = sz; num = 1; } ///< Constructor for a single entry table | ^~~ | enum /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:302:11: error: ‘intb’ does not name a type; did you mean ‘int’? 302 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:831:10: error: ‘tabid’ was not declared in this scope 831 | s >> tabid; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:102:17: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 102 | map varnodeMap; ///< Light-weight memory state based on Varnodes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:102:22: error: template argument 2 is invalid 102 | map varnodeMap; ///< Light-weight memory state based on Varnodes | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:102:22: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh: In member function ‘bool CircleRange::operator==(const CircleRange&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:334:23: error: ‘const class CircleRange’ has no member named ‘left’ 334 | return (left == op2.left) && (right == op2.right) && (mask == op2.mask) && (step == op2.step); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:334:46: error: ‘const class CircleRange’ has no member named ‘right’ 334 | return (left == op2.left) && (right == op2.right) && (mask == op2.mask) && (step == op2.step); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:310:11: error: ‘intb’ does not name a type; did you mean ‘int’? 310 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1852:5: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 1852 | offset = sym->reloffset; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1852:19: error: ‘class OperandSymbol’ has no member named ‘reloffset’ 1852 | offset = sym->reloffset; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: In constructor ‘LoadTable::LoadTable(const Address&, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:49:61: error: ‘size’ was not declared in this scope 49 | LoadTable(const Address &ad,int4 sz,int4 nm) { addr = ad; size = sz; num = nm; } ///< Construct a full table | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1856:19: error: ‘class OperandSymbol’ has no member named ‘offsetbase’ 1856 | base = sym->offsetbase; | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1857:22: error: ‘class OperandSymbol’ has no member named ‘getMinimumLength’ 1857 | offset += sym->getMinimumLength(); | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:311:11: error: ‘intb’ does not name a type; did you mean ‘int’? 311 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1858:22: error: ‘class OperandSymbol’ has no member named ‘reloffset’ 1858 | offset += sym->reloffset; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:836:10: error: ‘ctid’ was not declared in this scope; did you mean ‘ct’? 836 | s >> ctid; | ^~~~ | ct /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:319:11: error: ‘intb’ does not name a type; did you mean ‘int’? 319 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:49:72: error: ‘num’ was not declared in this scope; did you mean ‘nm’? 49 | LoadTable(const Address &ad,int4 sz,int4 nm) { addr = ad; size = sz; num = nm; } ///< Construct a full table | ^~~ | nm /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:334:57: error: ‘mask’ was not declared in this scope 334 | return (left == op2.left) && (right == op2.right) && (mask == op2.mask) && (step == op2.step); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:320:11: error: ‘intb’ does not name a type; did you mean ‘int’? 320 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:334:69: error: ‘const class CircleRange’ has no member named ‘mask’ 334 | return (left == op2.left) && (right == op2.right) && (mask == op2.mask) && (step == op2.step); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:70:5: error: ‘int4’ does not name a type; did you mean ‘int’? 70 | int4 rootVn; ///< The index, within commonVn, of the Varnode at the split point | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:71:25: error: ‘int4’ has not been declared 71 | RootedOp(PcodeOp *o,int4 root) { op = o; rootVn = root; } ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:328:3: error: ‘int4’ does not name a type; did you mean ‘int’? 328 | int4 base; // Current base operand (as we traverse the pattern equation from left to right) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1867:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 1867 | for(int4 i=0;i(sleigh->findSymbol(tabid)); | ^~~~~ | tab /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:116:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 116 | virtual uintb getVarnodeValue(Varnode *vn) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:329:3: error: ‘int4’ does not name a type; did you mean ‘int’? 329 | int4 offset; // Bytes we have traversed from the LEFT edge of the current base | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:117:44: error: ‘uintb’ has not been declared 117 | virtual void setVarnodeValue(Varnode *vn,uintb val); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:334:79: error: ‘step’ was not declared in this scope; did you mean ‘strsep’? 334 | return (left == op2.left) && (right == op2.right) && (mask == op2.mask) && (step == op2.step); | ^~~~ | strsep /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:334:91: error: ‘const class CircleRange’ has no member named ‘step’ 334 | return (left == op2.left) && (right == op2.right) && (mask == op2.mask) && (step == op2.step); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:356:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 356 | inline char CircleRange::encodeRangeOverlaps(uintb op1left, uintb op1right, uintb op2left, uintb op2right) | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:356:13: error: ‘char CircleRange::encodeRangeOverlaps’ is not a static data member of ‘class CircleRange’ 356 | inline char CircleRange::encodeRangeOverlaps(uintb op1left, uintb op1right, uintb op2left, uintb op2right) | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:330:3: error: ‘int4’ does not name a type; did you mean ‘int’? 330 | int4 cur_rightmost; // (resulting) rightmost operand in our pattern | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:118:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 118 | uintb emulatePath(uintb val,const PathMeld &pathMeld,PcodeOp *startop,Varnode *startvn); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:331:3: error: ‘int4’ does not name a type; did you mean ‘int’? 331 | int4 size; // (resulting) bytes traversed from the LEFT edge of the rightmost | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:840:28: error: ‘ctid’ was not declared in this scope; did you mean ‘ct’? 840 | ct = tab->getConstructor(ctid); | ^~~~ | ct /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:133:3: error: ‘int4’ does not name a type; did you mean ‘int’? 133 | int4 indpath; ///< Specific CBRANCH path going to the switch | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1867:16: error: ‘i’ was not declared in this scope 1867 | for(int4 i=0;i&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:327:5: error: ‘base’ was not declared in this scope 327 | base=-1; offset=0; cur_rightmost = -1; size = 0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:145:3: error: ‘int4’ does not name a type; did you mean ‘int’? 145 | int4 valueMatch(Varnode *vn2,Varnode *baseVn2,int4 bitsPreserved2) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:908:1: error: ‘intb’ does not name a type; did you mean ‘int’? 908 | intb PlusExpression::getValue(ParserWalker &walker) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:356:61: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 356 | inline char CircleRange::encodeRangeOverlaps(uintb op1left, uintb op1right, uintb op2left, uintb op2right) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:146:10: error: ‘int4’ does not name a type; did you mean ‘int’? 146 | static int4 oneOffMatch(PcodeOp *op1,PcodeOp *op2); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:147:41: error: ‘int4’ has not been declared 147 | static Varnode *quasiCopy(Varnode *vn,int4 &bitsPreserved); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:75:33: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 75 | void internalIntersect(vector &parentMap); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:159:25: error: ‘int4’ has not been declared 159 | virtual void truncate(int4 nm)=0; ///< Truncate the number of values to the given number | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:75:37: error: template argument 1 is invalid 75 | void internalIntersect(vector &parentMap); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:75:37: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:916:1: error: ‘intb’ does not name a type; did you mean ‘int’? 916 | intb PlusExpression::getSubValue(const vector &replace,int4 &listpos) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:160:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 160 | virtual uintb getSize(void) const=0; ///< Return the number of values the variables can take | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:161:25: error: ‘uintb’ has not been declared 161 | virtual bool contains(uintb val) const=0; ///< Return \b true if the given value is in the set of possible values | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:76:3: error: ‘int4’ does not name a type; did you mean ‘int’? 76 | int4 meldOps(const vector &path,int4 cutOff,const vector &parentMap); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:77:22: error: ‘int4’ has not been declared 77 | void truncatePaths(int4 cutPoint); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:932:1: error: ‘intb’ does not name a type; did you mean ‘int’? 932 | intb SubExpression::getValue(ParserWalker &walker) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:85:27: error: ‘int4’ has not been declared 85 | void markPaths(bool val,int4 startVarnode); ///< Mark PcodeOps paths from the given start | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:940:1: error: ‘intb’ does not name a type; did you mean ‘int’? 940 | intb SubExpression::getSubValue(const vector &replace,int4 &listpos) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:169:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 169 | virtual uintb getValue(void) const=0; ///< Get the current value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:356:77: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 356 | inline char CircleRange::encodeRangeOverlaps(uintb op1left, uintb op1right, uintb op2left, uintb op2right) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:327:14: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 327 | base=-1; offset=0; cur_rightmost = -1; size = 0; } | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:86:3: error: ‘int4’ does not name a type; did you mean ‘int’? 86 | int4 numCommonVarnode(void) const { return commonVn.size(); } ///< Return the number of Varnodes common to all paths | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:956:1: error: ‘intb’ does not name a type; did you mean ‘int’? 956 | intb MultExpression::getValue(ParserWalker &walker) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:87:3: error: ‘int4’ does not name a type; did you mean ‘int’? 87 | int4 numOps(void) const { return opMeld.size(); } ///< Return the number of PcodeOps across all paths | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:88:23: error: ‘int4’ has not been declared 88 | Varnode *getVarnode(int4 i) const { return commonVn[i]; } ///< Get the i-th common Varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:89:24: error: ‘int4’ has not been declared 89 | Varnode *getOpParent(int4 i) const { return commonVn[ opMeld[i].rootVn ]; } ///< Get the split-point for the i-th PcodeOp | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:90:18: error: ‘int4’ has not been declared 90 | PcodeOp *getOp(int4 i) const { return opMeld[i].op; } ///< Get the i-th PcodeOp | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:91:26: error: ‘int4’ has not been declared 91 | PcodeOp *getEarliestOp(int4 pos) const; ///< Find \e earliest PcodeOp that has a specific common Varnode as input | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:182:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 182 | mutable uintb curval; ///< The current value pointed to be the iterator | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘void Constructor::printInfo(std::ostream&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1879:53: error: ‘lineno’ was not declared in this scope; did you mean ‘fileno’? 1879 | s << "\" constructor starting at line " << dec << lineno; | ^~~~~~ | fileno /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:964:1: error: ‘intb’ does not name a type; did you mean ‘int’? 964 | intb MultExpression::getSubValue(const vector &replace,int4 &listpos) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:187:25: error: ‘int4’ has not been declared 187 | virtual void truncate(int4 nm); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:188:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 188 | virtual uintb getSize(void) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:189:25: error: ‘uintb’ has not been declared 189 | virtual bool contains(uintb val) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:356:92: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 356 | inline char CircleRange::encodeRangeOverlaps(uintb op1left, uintb op1right, uintb op2left, uintb op2right) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:980:1: error: ‘intb’ does not name a type; did you mean ‘int’? 980 | intb LeftShiftExpression::getValue(ParserWalker &walker) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:356:106: error: expression list treated as compound expression in initializer [-fpermissive] 356 | inline char CircleRange::encodeRangeOverlaps(uintb op1left, uintb op1right, uintb op2left, uintb op2right) | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:373:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 373 | inline bool ValueSet::doesEquationApply(int4 num,int4 slot) const | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:373:13: error: ‘bool ValueSet::doesEquationApply’ is not a static data member of ‘class ValueSet’ 373 | inline bool ValueSet::doesEquationApply(int4 num,int4 slot) const | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:988:1: error: ‘intb’ does not name a type; did you mean ‘int’? 988 | intb LeftShiftExpression::getSubValue(const vector &replace,int4 &listpos) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:192:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 192 | virtual uintb getValue(void) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1004:1: error: ‘intb’ does not name a type; did you mean ‘int’? 1004 | intb RightShiftExpression::getValue(ParserWalker &walker) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1012:1: error: ‘intb’ does not name a type; did you mean ‘int’? 1012 | intb RightShiftExpression::getSubValue(const vector &replace,int4 &listpos) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:204:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 204 | uintb extravalue; ///< The extra value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:209:22: error: ‘uintb’ has not been declared 209 | void setExtraValue(uintb val) { extravalue = val; } ///< Set the extra value explicitly | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: In constructor ‘PathMeld::RootedOp::RootedOp(PcodeOp*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:71:46: error: ‘rootVn’ was not declared in this scope; did you mean ‘root’? 71 | RootedOp(PcodeOp *o,int4 root) { op = o; rootVn = root; } ///< Constructor | ^~~~~~ | root /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:373:41: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 373 | inline bool ValueSet::doesEquationApply(int4 num,int4 slot) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: In member function ‘Varnode* PathMeld::getOpParent(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:89:67: error: ‘const value_type’ {aka ‘const struct PathMeld::RootedOp’} has no member named ‘rootVn’ 89 | Varnode *getOpParent(int4 i) const { return commonVn[ opMeld[i].rootVn ]; } ///< Get the split-point for the i-th PcodeOp | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1028:1: error: ‘intb’ does not name a type; did you mean ‘int’? 1028 | intb AndExpression::getValue(ParserWalker &walker) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:212:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 212 | virtual uintb getSize(void) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:213:25: error: ‘uintb’ has not been declared 213 | virtual bool contains(uintb val) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1036:1: error: ‘intb’ does not name a type; did you mean ‘int’? 1036 | intb AndExpression::getSubValue(const vector &replace,int4 &listpos) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:327:24: error: ‘cur_rightmost’ was not declared in this scope 327 | base=-1; offset=0; cur_rightmost = -1; size = 0; } | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1052:1: error: ‘intb’ does not name a type; did you mean ‘int’? 1052 | intb OrExpression::getValue(ParserWalker &walker) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:373:50: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 373 | inline bool ValueSet::doesEquationApply(int4 num,int4 slot) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:373:59: error: expression list treated as compound expression in initializer [-fpermissive] 373 | inline bool ValueSet::doesEquationApply(int4 num,int4 slot) const | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1060:1: error: ‘intb’ does not name a type; did you mean ‘int’? 1060 | intb OrExpression::getSubValue(const vector &replace,int4 &listpos) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1903:48: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 1903 | void SubtableSymbol::collectLocalValues(vector &results) const | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:102:17: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 102 | map varnodeMap; ///< Light-weight memory state based on Varnodes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1903:53: error: template argument 1 is invalid 1903 | void SubtableSymbol::collectLocalValues(vector &results) const | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1903:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:102:22: error: template argument 2 is invalid 102 | map varnodeMap; ///< Light-weight memory state based on Varnodes | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:102:22: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1076:1: error: ‘intb’ does not name a type; did you mean ‘int’? 1076 | intb XorExpression::getValue(ParserWalker &walker) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:327:44: error: ‘size’ was not declared in this scope 327 | base=-1; offset=0; cur_rightmost = -1; size = 0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1084:1: error: ‘intb’ does not name a type; did you mean ‘int’? 1084 | intb XorExpression::getSubValue(const vector &replace,int4 &listpos) const | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:44:3: error: ‘int4’ does not name a type; did you mean ‘int’? 44 | int4 size; ///< Size of table entry | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1100:1: error: ‘intb’ does not name a type; did you mean ‘int’? 1100 | intb DivExpression::getValue(ParserWalker &walker) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:337:3: error: ‘int4’ does not name a type; did you mean ‘int’? 337 | int4 refcount; // Number of objects referencing this | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1108:1: error: ‘intb’ does not name a type; did you mean ‘int’? 1108 | intb DivExpression::getSubValue(const vector &replace,int4 &listpos) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: In member function ‘void JumpValuesRangeDefault::setExtraValue(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:209:35: error: ‘extravalue’ was not declared in this scope; did you mean ‘setExtraValue’? 209 | void setExtraValue(uintb val) { extravalue = val; } ///< Set the extra value explicitly | ^~~~~~~~~~ | setExtraValue /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:45:3: error: ‘int4’ does not name a type; did you mean ‘int’? 45 | int4 num; ///< Number of entries in table; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:48:31: error: ‘int4’ has not been declared 48 | LoadTable(const Address &ad,int4 sz) { addr = ad, size = sz; num = 1; } ///< Constructor for a single entry table | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:49:31: error: ‘int4’ has not been declared 49 | LoadTable(const Address &ad,int4 sz,int4 nm) { addr = ad; size = sz; num = nm; } ///< Construct a full table | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:49:39: error: ‘int4’ has not been declared 49 | LoadTable(const Address &ad,int4 sz,int4 nm) { addr = ad; size = sz; num = nm; } ///< Construct a full table | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘virtual void SubtableSymbol::collectLocalValues(int&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1906:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 1906 | for(int4 i=0;i &replace,int4 &listpos) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:268:68: error: ‘uint4’ has not been declared 268 | virtual void findUnnormalized(uint4 maxaddsub,uint4 maxleftright,uint4 maxext)=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1146:1: error: ‘intb’ does not name a type; did you mean ‘int’? 1146 | intb NotExpression::getValue(ParserWalker &walker) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:116:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 116 | virtual uintb getVarnodeValue(Varnode *vn) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:117:44: error: ‘uintb’ has not been declared 117 | virtual void setVarnodeValue(Varnode *vn,uintb val); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1153:1: error: ‘intb’ does not name a type; did you mean ‘int’? 1153 | intb NotExpression::getSubValue(const vector &replace,int4 &listpos) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: In constructor ‘LoadTable::LoadTable(const Address&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:48:53: error: ‘size’ was not declared in this scope 48 | LoadTable(const Address &ad,int4 sz) { addr = ad, size = sz; num = 1; } ///< Constructor for a single entry table | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:118:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 118 | uintb emulatePath(uintb val,const PathMeld &pathMeld,PcodeOp *startop,Varnode *startvn); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:280:78: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 280 | virtual void buildLabels(Funcdata *fd,vector
&addresstable,vector &label,const JumpModel *orig) const=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1906:16: error: ‘i’ was not declared in this scope 1906 | for(int4 i=0;i &addresstable,vector &label,const JumpModel *orig) const=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:280:83: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:133:3: error: ‘int4’ does not name a type; did you mean ‘int’? 133 | int4 indpath; ///< Specific CBRANCH path going to the switch | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1168:34: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 1168 | static bool advance_combo(vector &val,const vector &min,vector &max) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1168:38: error: template argument 1 is invalid 1168 | static bool advance_combo(vector &val,const vector &min,vector &max) | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1168:38: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In constructor ‘PatternEquation::PatternEquation()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:342:27: error: ‘refcount’ was not declared in this scope 342 | PatternEquation(void) { refcount = 0; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:323:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 323 | uint4 size; ///< Number of addresses in the table as reported by the JumpTable | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:137:3: error: ‘int4’ does not name a type; did you mean ‘int’? 137 | int4 bitsPreserved; ///< Number of bits copied (all other bits are zero) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:139:41: error: ‘int4’ has not been declared 139 | GuardRecord(PcodeOp *bOp,PcodeOp *rOp,int4 path,const CircleRange &rng,Varnode *v); ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:48:64: error: ‘num’ was not declared in this scope; did you mean ‘enum’? 48 | LoadTable(const Address &ad,int4 sz) { addr = ad, size = sz; num = 1; } ///< Constructor for a single entry table | ^~~ | enum /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1168:58: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 1168 | static bool advance_combo(vector &val,const vector &min,vector &max) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1168:62: error: template argument 1 is invalid 1168 | static bool advance_combo(vector &val,const vector &min,vector &max) | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1168:62: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:327:11: error: ‘int4’ does not name a type; did you mean ‘int’? 327 | virtual int4 getTableSize(void) const { return size; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:328:57: error: ‘uint4’ has not been declared 328 | virtual bool recoverModel(Funcdata *fd,PcodeOp *indop,uint4 matchsize,uint4 maxtablesize); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:328:73: error: ‘uint4’ has not been declared 328 | virtual bool recoverModel(Funcdata *fd,PcodeOp *indop,uint4 matchsize,uint4 maxtablesize); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:142:3: error: ‘int4’ does not name a type; did you mean ‘int’? 142 | int4 getPath(void) const { return indpath; } ///< Get the specific path index going towards the switch | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:330:33: error: ‘uint4’ has not been declared 330 | virtual void findUnnormalized(uint4 maxaddsub,uint4 maxleftright,uint4 maxext) {} | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:330:49: error: ‘uint4’ has not been declared 330 | virtual void findUnnormalized(uint4 maxaddsub,uint4 maxleftright,uint4 maxext) {} | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:330:68: error: ‘uint4’ has not been declared 330 | virtual void findUnnormalized(uint4 maxaddsub,uint4 maxleftright,uint4 maxext) {} | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:145:3: error: ‘int4’ does not name a type; did you mean ‘int’? 145 | int4 valueMatch(Varnode *vn2,Varnode *baseVn2,int4 bitsPreserved2) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1168:76: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 1168 | static bool advance_combo(vector &val,const vector &min,vector &max) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1168:80: error: template argument 1 is invalid 1168 | static bool advance_combo(vector &val,const vector &min,vector &max) | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1168:80: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:146:10: error: ‘int4’ does not name a type; did you mean ‘int’? 146 | static int4 oneOffMatch(PcodeOp *op1,PcodeOp *op2); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:147:41: error: ‘int4’ has not been declared 147 | static Varnode *quasiCopy(Varnode *vn,int4 &bitsPreserved); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:159:25: error: ‘int4’ has not been declared 159 | virtual void truncate(int4 nm)=0; ///< Truncate the number of values to the given number | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: In constructor ‘LoadTable::LoadTable(const Address&, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:49:61: error: ‘size’ was not declared in this scope 49 | LoadTable(const Address &ad,int4 sz,int4 nm) { addr = ad; size = sz; num = nm; } ///< Construct a full table | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘virtual void SubtableSymbol::saveXml(std::ostream&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1917:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 1917 | for(int4 i=0;i &addresstable,vector &label,const JumpModel *orig) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:331:83: error: template argument 1 is invalid 331 | virtual void buildLabels(Funcdata *fd,vector
&addresstable,vector &label,const JumpModel *orig) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:331:83: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:160:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 160 | virtual uintb getSize(void) const=0; ///< Return the number of values the variables can take | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:161:25: error: ‘uintb’ has not been declared 161 | virtual bool contains(uintb val) const=0; ///< Return \b true if the given value is in the set of possible values | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1173:3: error: ‘i’ was not declared in this scope 1173 | i = 0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1174:15: error: request for member ‘size’ in ‘val’, which is of non-class type ‘int’ 1174 | while(i &semval, | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:169:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 169 | virtual uintb getValue(void) const=0; ///< Get the current value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:49:72: error: ‘num’ was not declared in this scope; did you mean ‘nm’? 49 | LoadTable(const Address &ad,int4 sz,int4 nm) { addr = ad; size = sz; num = nm; } ///< Construct a full table | ^~~ | nm /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:352:3: error: ‘int4’ does not name a type; did you mean ‘int’? 352 | int4 index; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:354:23: error: expected ‘)’ before ‘ind’ 354 | OperandEquation(int4 ind) { index = ind; } | ~ ^~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:182:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 182 | mutable uintb curval; ///< The current value pointed to be the iterator | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:187:25: error: ‘int4’ has not been declared 187 | virtual void truncate(int4 nm); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1185:41: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 1185 | vector &val) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1185:45: error: template argument 1 is invalid 1185 | vector &val) | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1185:45: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1917:16: error: ‘i’ was not declared in this scope 1917 | for(int4 i=0;i&, int&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1190:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 1190 | for(int4 i=0;irefcount -= 1; | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1199:14: error: ‘class PatternEquation’ has no member named ‘refcount’ 1199 | if (pateq->refcount <= 0) | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc: In member function ‘virtual void OperandEquation::genPattern(const std::vector&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1206:22: error: no match for ‘operator[]’ (operand types are ‘const std::vector’ and ‘’) 1206 | resultpattern = ops[index]; | ^ In file included from /usr/include/c++/11.2.0/vector:67, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:31, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:16: /usr/include/c++/11.2.0/bits/stl_vector.h:1043:7: note: candidate: ‘std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) [with _Tp = TokenPattern; _Alloc = std::allocator; std::vector<_Tp, _Alloc>::reference = TokenPattern&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]’ 1043 | operator[](size_type __n) _GLIBCXX_NOEXCEPT | ^~~~~~~~ /usr/include/c++/11.2.0/bits/stl_vector.h:1043:28: note: no known conversion for argument 1 from ‘’ to ‘std::vector::size_type’ {aka ‘long unsigned int’} 1043 | operator[](size_type __n) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~^~~ /usr/include/c++/11.2.0/bits/stl_vector.h:1061:7: note: candidate: ‘std::vector<_Tp, _Alloc>::const_reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) const [with _Tp = TokenPattern; _Alloc = std::allocator; std::vector<_Tp, _Alloc>::const_reference = const TokenPattern&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]’ 1061 | operator[](size_type __n) const _GLIBCXX_NOEXCEPT | ^~~~~~~~ /usr/include/c++/11.2.0/bits/stl_vector.h:1061:28: note: no known conversion for argument 1 from ‘’ to ‘std::vector::size_type’ {aka ‘long unsigned int’} 1061 | operator[](size_type __n) const _GLIBCXX_NOEXCEPT | ~~~~~~~~~~^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:212:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 212 | virtual uintb getSize(void) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:213:25: error: ‘uintb’ has not been declared 213 | virtual bool contains(uintb val) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc: In member function ‘virtual bool OperandEquation::resolveOperandLeft(OperandResolve&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1212:38: error: no match for ‘operator[]’ (operand types are ‘std::vector’ and ‘’) 1212 | OperandSymbol *sym = state.operands[ index ]; | ^ In file included from /usr/include/c++/11.2.0/vector:67, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/error.hh:31, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/space.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/address.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcoderaw.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:16: /usr/include/c++/11.2.0/bits/stl_vector.h:1043:7: note: candidate: ‘std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) [with _Tp = OperandSymbol*; _Alloc = std::allocator; std::vector<_Tp, _Alloc>::reference = OperandSymbol*&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]’ 1043 | operator[](size_type __n) _GLIBCXX_NOEXCEPT | ^~~~~~~~ /usr/include/c++/11.2.0/bits/stl_vector.h:1043:28: note: no known conversion for argument 1 from ‘’ to ‘std::vector::size_type’ {aka ‘long unsigned int’} 1043 | operator[](size_type __n) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~^~~ /usr/include/c++/11.2.0/bits/stl_vector.h:1061:7: note: candidate: ‘std::vector<_Tp, _Alloc>::const_reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) const [with _Tp = OperandSymbol*; _Alloc = std::allocator; std::vector<_Tp, _Alloc>::const_reference = OperandSymbol* const&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]’ 1061 | operator[](size_type __n) const _GLIBCXX_NOEXCEPT | ^~~~~~~~ /usr/include/c++/11.2.0/bits/stl_vector.h:1061:28: note: no known conversion for argument 1 from ‘’ to ‘std::vector::size_type’ {aka ‘long unsigned int’} 1061 | operator[](size_type __n) const _GLIBCXX_NOEXCEPT | ~~~~~~~~~~^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1214:10: error: ‘class OperandSymbol’ has no member named ‘offsetbase’ 1214 | sym->offsetbase = -1; | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1215:10: error: ‘class OperandSymbol’ has no member named ‘reloffset’ 1215 | sym->reloffset = 0; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1218:13: error: ‘struct OperandResolve’ has no member named ‘base’ 1218 | if (state.base == -2) // We have no base | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1220:8: error: ‘class OperandSymbol’ has no member named ‘offsetbase’ 1220 | sym->offsetbase = state.base; | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1220:27: error: ‘struct OperandResolve’ has no member named ‘base’ 1220 | sym->offsetbase = state.base; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1221:8: error: ‘class OperandSymbol’ has no member named ‘reloffset’ 1221 | sym->reloffset = state.offset; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1221:26: error: ‘struct OperandResolve’ has no member named ‘offset’ 1221 | sym->reloffset = state.offset; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1222:9: error: ‘struct OperandResolve’ has no member named ‘cur_rightmost’ 1222 | state.cur_rightmost = index; | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1223:9: error: ‘struct OperandResolve’ has no member named ‘size’ 1223 | state.size = 0; // Distance from right edge | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘virtual void SubtableSymbol::restoreXml(const Element*, SleighBase*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1935:5: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 1935 | int4 numct; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc: In member function ‘virtual void OperandEquation::operandOrder(Constructor*, std::vector&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1230:38: error: cannot convert ‘’ to ‘int’ 1230 | OperandSymbol *sym = ct->getOperand(index); | ~~~~~~~~~~~~~~^~~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:506:34: note: initializing argument 1 of ‘OperandSymbol* Constructor::getOperand(int) const’ 506 | OperandSymbol *getOperand(int4 i) const { return operands[i]; } | ~~~~~^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc: In member function ‘virtual bool UnconstrainedEquation::resolveOperandLeft(OperandResolve&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1258:9: error: ‘struct OperandResolve’ has no member named ‘cur_rightmost’ 1258 | state.cur_rightmost = -1; | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1260:11: error: ‘struct OperandResolve’ has no member named ‘size’ 1260 | state.size = -1; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1262:11: error: ‘struct OperandResolve’ has no member named ‘size’ 1262 | state.size = resultpattern.getMinimumLength(); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1262:32: error: ‘class TokenPattern’ has no member named ‘getMinimumLength’ 1262 | state.size = resultpattern.getMinimumLength(); | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:349:3: error: ‘int4’ does not name a type; did you mean ‘int’? 349 | int4 varnodeIndex; ///< Position of the normalized switch Varnode within PathMeld | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:20, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:33:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 33 | uintm id; // Unique id across all symbols | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc: In member function ‘virtual bool ValExpressEquation::resolveOperandLeft(OperandResolve&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1283:9: error: ‘struct OperandResolve’ has no member named ‘cur_rightmost’ 1283 | state.cur_rightmost = -1; | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1285:11: error: ‘struct OperandResolve’ has no member named ‘size’ 1285 | state.size = -1; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1287:11: error: ‘struct OperandResolve’ has no member named ‘size’ 1287 | state.size = resultpattern.getMinimumLength(); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1287:32: error: ‘class TokenPattern’ has no member named ‘getMinimumLength’ 1287 | state.size = resultpattern.getMinimumLength(); | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:354:10: error: ‘int4’ does not name a type; did you mean ‘int’? 354 | static int4 getStride(Varnode *vn); ///< Get the step/stride associated with the Varnode | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:34:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 34 | uintm scopeid; // Unique id of scope this symbol is in | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:355:10: error: ‘uintb’ does not name a type; did you mean ‘uint’? 355 | static uintb backup2Switch(Funcdata *fd,uintb output,Varnode *outvn,Varnode *invn); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:356:44: error: ‘int4’ has not been declared 356 | void findDeterminingVarnodes(PcodeOp *op,int4 slot); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:357:37: error: ‘int4’ has not been declared 357 | void analyzeGuards(BlockBasic *bl,int4 pathout); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:75:33: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 75 | void internalIntersect(vector &parentMap); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: In member function ‘void JumpValuesRangeDefault::setExtraValue(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:209:35: error: ‘extravalue’ was not declared in this scope; did you mean ‘setExtraValue’? 209 | void setExtraValue(uintb val) { extravalue = val; } ///< Set the extra value explicitly | ^~~~~~~~~~ | setExtraValue /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:75:37: error: template argument 1 is invalid 75 | void internalIntersect(vector &parentMap); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:75:37: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:359:27: error: ‘uint4’ has not been declared 359 | void findSmallestNormal(uint4 matchsize); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:360:55: error: ‘int4’ has not been declared 360 | void findNormalized(Funcdata *fd,BlockBasic *rootbl,int4 pathout,uint4 matchsize,uint4 maxtablesize); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:360:68: error: ‘uint4’ has not been declared 360 | void findNormalized(Funcdata *fd,BlockBasic *rootbl,int4 pathout,uint4 matchsize,uint4 maxtablesize); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:360:84: error: ‘uint4’ has not been declared 360 | void findNormalized(Funcdata *fd,BlockBasic *rootbl,int4 pathout,uint4 matchsize,uint4 maxtablesize); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:40:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 40 | uintm getId(void) const { return id; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:76:3: error: ‘int4’ does not name a type; did you mean ‘int’? 76 | int4 meldOps(const vector &path,int4 cutOff,const vector &parentMap); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:77:22: error: ‘int4’ has not been declared 77 | void truncatePaths(int4 cutPoint); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:239:11: error: ‘int4’ does not name a type; did you mean ‘int’? 239 | virtual int4 getTableSize(void) const=0; ///< Return the number of entries in the address table | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:249:57: error: ‘uint4’ has not been declared 249 | virtual bool recoverModel(Funcdata *fd,PcodeOp *indop,uint4 matchsize,uint4 maxtablesize)=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:249:73: error: ‘uint4’ has not been declared 249 | virtual bool recoverModel(Funcdata *fd,PcodeOp *indop,uint4 matchsize,uint4 maxtablesize)=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:381:11: error: ‘int4’ does not name a type; did you mean ‘int’? 381 | virtual int4 getTableSize(void) const { return jrange->getSize(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:85:27: error: ‘int4’ has not been declared 85 | void markPaths(bool val,int4 startVarnode); ///< Mark PcodeOps paths from the given start | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:382:57: error: ‘uint4’ has not been declared 382 | virtual bool recoverModel(Funcdata *fd,PcodeOp *indop,uint4 matchsize,uint4 maxtablesize); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc: In member function ‘virtual void EqualEquation::genPattern(const std::vector&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1294:3: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 1294 | intb lhsmin = lhs->minValue(); | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:268:33: error: ‘uint4’ has not been declared 268 | virtual void findUnnormalized(uint4 maxaddsub,uint4 maxleftright,uint4 maxext)=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:268:49: error: ‘uint4’ has not been declared 268 | virtual void findUnnormalized(uint4 maxaddsub,uint4 maxleftright,uint4 maxext)=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:382:73: error: ‘uint4’ has not been declared 382 | virtual bool recoverModel(Funcdata *fd,PcodeOp *indop,uint4 matchsize,uint4 maxtablesize); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1295:7: error: expected ‘;’ before ‘lhsmax’ 1295 | intb lhsmax = lhs->maxValue(); | ^~~~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:268:68: error: ‘uint4’ has not been declared 268 | virtual void findUnnormalized(uint4 maxaddsub,uint4 maxleftright,uint4 maxext)=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:384:33: error: ‘uint4’ has not been declared 384 | virtual void findUnnormalized(uint4 maxaddsub,uint4 maxleftright,uint4 maxext); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:384:49: error: ‘uint4’ has not been declared 384 | virtual void findUnnormalized(uint4 maxaddsub,uint4 maxleftright,uint4 maxext); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:384:68: error: ‘uint4’ has not been declared 384 | virtual void findUnnormalized(uint4 maxaddsub,uint4 maxleftright,uint4 maxext); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1938:10: error: ‘numct’ was not declared in this scope 1938 | s >> numct; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:86:3: error: ‘int4’ does not name a type; did you mean ‘int’? 86 | int4 numCommonVarnode(void) const { return commonVn.size(); } ///< Return the number of Varnodes common to all paths | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:87:3: error: ‘int4’ does not name a type; did you mean ‘int’? 87 | int4 numOps(void) const { return opMeld.size(); } ///< Return the number of PcodeOps across all paths | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:88:23: error: ‘int4’ has not been declared 88 | Varnode *getVarnode(int4 i) const { return commonVn[i]; } ///< Get the i-th common Varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:89:24: error: ‘int4’ has not been declared 89 | Varnode *getOpParent(int4 i) const { return commonVn[ opMeld[i].rootVn ]; } ///< Get the split-point for the i-th PcodeOp | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:90:18: error: ‘int4’ has not been declared 90 | PcodeOp *getOp(int4 i) const { return opMeld[i].op; } ///< Get the i-th PcodeOp | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:91:26: error: ‘int4’ has not been declared 91 | PcodeOp *getEarliestOp(int4 pos) const; ///< Find \e earliest PcodeOp that has a specific common Varnode as input | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘SleighSymbol::SleighSymbol(const string&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:37:47: error: ‘id’ was not declared in this scope; did you mean ‘void’? 37 | SleighSymbol(const string &nm) { name = nm; id = 0; } | ^~ | void /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1297:14: error: template argument 2 is invalid 1297 | vector min; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1298:14: error: template argument 2 is invalid 1298 | vector max; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1299:14: error: template argument 2 is invalid 1299 | vector cur; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:280:78: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 280 | virtual void buildLabels(Funcdata *fd,vector
&addresstable,vector &label,const JumpModel *orig) const=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:280:83: error: template argument 1 is invalid 280 | virtual void buildLabels(Funcdata *fd,vector
&addresstable,vector &label,const JumpModel *orig) const=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:280:83: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:385:78: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 385 | virtual void buildLabels(Funcdata *fd,vector
&addresstable,vector &label,const JumpModel *orig) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:385:83: error: template argument 1 is invalid 385 | virtual void buildLabels(Funcdata *fd,vector
&addresstable,vector &label,const JumpModel *orig) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:385:83: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:323:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 323 | uint4 size; ///< Number of addresses in the table as reported by the JumpTable | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1300:3: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 1300 | int4 count=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:327:11: error: ‘int4’ does not name a type; did you mean ‘int’? 327 | virtual int4 getTableSize(void) const { return size; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:328:57: error: ‘uint4’ has not been declared 328 | virtual bool recoverModel(Funcdata *fd,PcodeOp *indop,uint4 matchsize,uint4 maxtablesize); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1307:9: error: expected ‘;’ before ‘val’ 1307 | intb val = rhs->getSubValue(cur); | ^~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:328:73: error: ‘uint4’ has not been declared 328 | virtual bool recoverModel(Funcdata *fd,PcodeOp *indop,uint4 matchsize,uint4 maxtablesize); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:330:33: error: ‘uint4’ has not been declared 330 | virtual void findUnnormalized(uint4 maxaddsub,uint4 maxleftright,uint4 maxext) {} | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:330:49: error: ‘uint4’ has not been declared 330 | virtual void findUnnormalized(uint4 maxaddsub,uint4 maxleftright,uint4 maxext) {} | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:330:68: error: ‘uint4’ has not been declared 330 | virtual void findUnnormalized(uint4 maxaddsub,uint4 maxleftright,uint4 maxext) {} | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: In constructor ‘PathMeld::RootedOp::RootedOp(PcodeOp*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:71:46: error: ‘rootVn’ was not declared in this scope; did you mean ‘root’? 71 | RootedOp(PcodeOp *o,int4 root) { op = o; rootVn = root; } ///< Constructor | ^~~~~~ | root /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: In member function ‘Varnode* PathMeld::getOpParent(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:89:67: error: ‘const value_type’ {aka ‘const struct PathMeld::RootedOp’} has no member named ‘rootVn’ 89 | Varnode *getOpParent(int4 i) const { return commonVn[ opMeld[i].rootVn ]; } ///< Get the split-point for the i-th PcodeOp | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘void SubtableSymbol::buildDecisionTree(DecisionProperties&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1967:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 1967 | for(int4 i=0;i=lhsmin)&&(val<=lhsmax)) { | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:331:78: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 331 | virtual void buildLabels(Funcdata *fd,vector
&addresstable,vector &label,const JumpModel *orig) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:331:83: error: template argument 1 is invalid 331 | virtual void buildLabels(Funcdata *fd,vector
&addresstable,vector &label,const JumpModel *orig) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:331:83: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:102:17: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 102 | map varnodeMap; ///< Light-weight memory state based on Varnodes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:102:22: error: template argument 2 is invalid 102 | map varnodeMap; ///< Light-weight memory state based on Varnodes | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:102:22: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:413:57: error: ‘uint4’ has not been declared 413 | virtual bool recoverModel(Funcdata *fd,PcodeOp *indop,uint4 matchsize,uint4 maxtablesize); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:413:73: error: ‘uint4’ has not been declared 413 | virtual bool recoverModel(Funcdata *fd,PcodeOp *indop,uint4 matchsize,uint4 maxtablesize); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:414:33: error: ‘uint4’ has not been declared 414 | virtual void findUnnormalized(uint4 maxaddsub,uint4 maxleftright,uint4 maxext); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:414:49: error: ‘uint4’ has not been declared 414 | virtual void findUnnormalized(uint4 maxaddsub,uint4 maxleftright,uint4 maxext); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:414:68: error: ‘uint4’ has not been declared 414 | virtual void findUnnormalized(uint4 maxaddsub,uint4 maxleftright,uint4 maxext); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1967:16: error: ‘i’ was not declared in this scope 1967 | for(int4 i=0;inumDisjoint() == 0) | ^~~~~~~~~~~ | getDisjoint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1972:15: error: expected ‘;’ before ‘j’ 1972 | for(int4 j=0;jnumDisjoint();++j) | ^~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: In constructor ‘JumpModelTrivial::JumpModelTrivial(JumpTable*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:325:53: error: ‘size’ was not declared in this scope 325 | JumpModelTrivial(JumpTable *jt) : JumpModel(jt) { size = 0; } ///< Construct given a parent JumpTable | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1308:15: error: ‘lhsmin’ was not declared in this scope 1308 | if ((val>=lhsmin)&&(val<=lhsmax)) { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:58:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 58 | uintm id; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:60:30: error: ‘uintm’ has not been declared 60 | SymbolScope(SymbolScope *p,uintm i) { parent = p; id = i; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1972:20: error: ‘j’ was not declared in this scope; did you mean ‘jn’? 1972 | for(int4 j=0;jnumDisjoint();++j) | ^ | jn /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:1972:27: error: ‘class Pattern’ has no member named ‘numDisjoint’; did you mean ‘getDisjoint’? 1972 | for(int4 j=0;jnumDisjoint();++j) | ^~~~~~~~~~~ | getDisjoint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:66:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 66 | uintm getId(void) const { return id; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1308:30: error: ‘lhsmax’ was not declared in this scope 1308 | if ((val>=lhsmin)&&(val<=lhsmax)) { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1309:16: error: invalid operands of types ‘’ and ‘int’ to binary ‘operator==’ 1309 | if (count==0) | ~~~~~^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1313:16: error: overloaded function with no contextual type information 1313 | count += 1; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1316:13: error: invalid operands of types ‘’ and ‘int’ to binary ‘operator==’ 1316 | if (count == 0) | ~~~~~~^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:116:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 116 | virtual uintb getVarnodeValue(Varnode *vn) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:117:44: error: ‘uintb’ has not been declared 117 | virtual void setVarnodeValue(Varnode *vn,uintb val); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:118:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 118 | uintb emulatePath(uintb val,const PathMeld &pathMeld,PcodeOp *startop,Varnode *startvn); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:349:3: error: ‘int4’ does not name a type; did you mean ‘int’? 349 | int4 varnodeIndex; ///< Position of the normalized switch Varnode within PathMeld | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:354:10: error: ‘int4’ does not name a type; did you mean ‘int’? 354 | static int4 getStride(Varnode *vn); ///< Get the step/stride associated with the Varnode | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc: In member function ‘virtual void NotEqualEquation::genPattern(const std::vector&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1323:3: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 1323 | intb lhsmin = lhs->minValue(); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1324:7: error: expected ‘;’ before ‘lhsmax’ 1324 | intb lhsmax = lhs->maxValue(); | ^~~~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:133:3: error: ‘int4’ does not name a type; did you mean ‘int’? 133 | int4 indpath; ///< Specific CBRANCH path going to the switch | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1326:14: error: template argument 2 is invalid 1326 | vector min; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1327:14: error: template argument 2 is invalid 1327 | vector max; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1328:14: error: template argument 2 is invalid 1328 | vector cur; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:355:10: error: ‘uintb’ does not name a type; did you mean ‘uint’? 355 | static uintb backup2Switch(Funcdata *fd,uintb output,Varnode *outvn,Varnode *invn); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:356:44: error: ‘int4’ has not been declared 356 | void findDeterminingVarnodes(PcodeOp *op,int4 slot); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:357:37: error: ‘int4’ has not been declared 357 | void analyzeGuards(BlockBasic *bl,int4 pathout); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:137:3: error: ‘int4’ does not name a type; did you mean ‘int’? 137 | int4 bitsPreserved; ///< Number of bits copied (all other bits are zero) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:359:27: error: ‘uint4’ has not been declared 359 | void findSmallestNormal(uint4 matchsize); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:139:41: error: ‘int4’ has not been declared 139 | GuardRecord(PcodeOp *bOp,PcodeOp *rOp,int4 path,const CircleRange &rng,Varnode *v); ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:360:55: error: ‘int4’ has not been declared 360 | void findNormalized(Funcdata *fd,BlockBasic *rootbl,int4 pathout,uint4 matchsize,uint4 maxtablesize); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:360:68: error: ‘uint4’ has not been declared 360 | void findNormalized(Funcdata *fd,BlockBasic *rootbl,int4 pathout,uint4 matchsize,uint4 maxtablesize); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:360:84: error: ‘uint4’ has not been declared 360 | void findNormalized(Funcdata *fd,BlockBasic *rootbl,int4 pathout,uint4 matchsize,uint4 maxtablesize); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘TokenPattern* SubtableSymbol::buildPattern(std::ostream&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2000:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 2000 | for(int4 i=1;igetSize(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:382:57: error: ‘uint4’ has not been declared 382 | virtual bool recoverModel(Funcdata *fd,PcodeOp *indop,uint4 matchsize,uint4 maxtablesize); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:382:73: error: ‘uint4’ has not been declared 382 | virtual bool recoverModel(Funcdata *fd,PcodeOp *indop,uint4 matchsize,uint4 maxtablesize); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:384:33: error: ‘uint4’ has not been declared 384 | virtual void findUnnormalized(uint4 maxaddsub,uint4 maxleftright,uint4 maxext); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:384:49: error: ‘uint4’ has not been declared 384 | virtual void findUnnormalized(uint4 maxaddsub,uint4 maxleftright,uint4 maxext); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:384:68: error: ‘uint4’ has not been declared 384 | virtual void findUnnormalized(uint4 maxaddsub,uint4 maxleftright,uint4 maxext); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1329:3: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 1329 | int4 count=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:145:3: error: ‘int4’ does not name a type; did you mean ‘int’? 145 | int4 valueMatch(Varnode *vn2,Varnode *baseVn2,int4 bitsPreserved2) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1336:9: error: expected ‘;’ before ‘lhsval’ 1336 | intb lhsval; | ^~~~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1337:9: error: expected ‘;’ before ‘val’ 1337 | intb val = rhs->getSubValue(cur); | ^~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:427:10: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 427 | vector values; ///< Normalized switch variable values associated with addresses | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:427:15: error: template argument 1 is invalid 427 | vector values; ///< Normalized switch variable values associated with addresses | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:427:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘SymbolScope::SymbolScope(SymbolScope*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:60:53: error: ‘id’ was not declared in this scope; did you mean ‘i’? 60 | SymbolScope(SymbolScope *p,uintm i) { parent = p; id = i; } | ^~ | i /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:146:10: error: ‘int4’ does not name a type; did you mean ‘int’? 146 | static int4 oneOffMatch(PcodeOp *op1,PcodeOp *op2); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:147:41: error: ‘int4’ has not been declared 147 | static Varnode *quasiCopy(Varnode *vn,int4 &bitsPreserved); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:159:25: error: ‘int4’ has not been declared 159 | virtual void truncate(int4 nm)=0; ///< Truncate the number of values to the given number | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2000:16: error: ‘i’ was not declared in this scope 2000 | for(int4 i=1;i &addresstable,vector &label,const JumpModel *orig) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:385:83: error: template argument 1 is invalid 385 | virtual void buildLabels(Funcdata *fd,vector
&addresstable,vector &label,const JumpModel *orig) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:385:83: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:169:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 169 | virtual uintb getValue(void) const=0; ///< Get the current value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1338:9: error: ‘lhsval’ was not declared in this scope 1338 | for(lhsval=lhsmin;lhsval<=lhsmax;++lhsval) { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:182:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 182 | mutable uintb curval; ///< The current value pointed to be the iterator | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:187:25: error: ‘int4’ has not been declared 187 | virtual void truncate(int4 nm); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:429:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 429 | uintb startingvalue; ///< Possible start for guessing values that match addresses | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:188:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 188 | virtual uintb getSize(void) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:189:25: error: ‘uintb’ has not been declared 189 | virtual bool contains(uintb val) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:431:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 431 | uint8 hash; ///< if (hash==0) there is no normalized switch (use trivial model) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:192:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 192 | virtual uintb getValue(void) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:433:3: error: ‘int4’ does not name a type; did you mean ‘int’? 433 | int4 findStartOp(Varnode *vn); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1338:16: error: ‘lhsmin’ was not declared in this scope 1338 | for(lhsval=lhsmin;lhsval<=lhsmax;++lhsval) { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:434:3: error: ‘int4’ does not name a type; did you mean ‘int’? 434 | int4 trialNorm(Funcdata *fd,Varnode *trialvn,uint4 tolerance); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:441:36: error: ‘uintb’ has not been declared 441 | void setNorm(const Address &addr,uintb h) { normaddress = addr; hash = h; } ///< Set the normalized switch variable | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:442:25: error: ‘uintb’ has not been declared 442 | void setStartingValue(uintb val) { startingvalue = val; } ///< Set the starting value for the normalized range | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:204:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 204 | uintb extravalue; ///< The extra value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:209:22: error: ‘uintb’ has not been declared 209 | void setExtraValue(uintb val) { extravalue = val; } ///< Set the extra value explicitly | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:413:57: error: ‘uint4’ has not been declared 413 | virtual bool recoverModel(Funcdata *fd,PcodeOp *indop,uint4 matchsize,uint4 maxtablesize); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:444:11: error: ‘int4’ does not name a type; did you mean ‘int’? 444 | virtual int4 getTableSize(void) const { return addrtable.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:413:73: error: ‘uint4’ has not been declared 413 | virtual bool recoverModel(Funcdata *fd,PcodeOp *indop,uint4 matchsize,uint4 maxtablesize); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:445:57: error: ‘uint4’ has not been declared 445 | virtual bool recoverModel(Funcdata *fd,PcodeOp *indop,uint4 matchsize,uint4 maxtablesize); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:414:33: error: ‘uint4’ has not been declared 414 | virtual void findUnnormalized(uint4 maxaddsub,uint4 maxleftright,uint4 maxext); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:445:73: error: ‘uint4’ has not been declared 445 | virtual bool recoverModel(Funcdata *fd,PcodeOp *indop,uint4 matchsize,uint4 maxtablesize); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:414:49: error: ‘uint4’ has not been declared 414 | virtual void findUnnormalized(uint4 maxaddsub,uint4 maxleftright,uint4 maxext); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:414:68: error: ‘uint4’ has not been declared 414 | virtual void findUnnormalized(uint4 maxaddsub,uint4 maxleftright,uint4 maxext); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:212:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 212 | virtual uintb getSize(void) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:213:25: error: ‘uintb’ has not been declared 213 | virtual bool contains(uintb val) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:74:26: error: ‘int4’ has not been declared 74 | SymbolScope *skipScope(int4 i) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:89:45: error: ‘int4’ has not been declared 89 | SleighSymbol *findSymbol(const string &nm,int4 skip) const { return findSymbolInternal(skipScope(skip),nm); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1338:31: error: ‘lhsmax’ was not declared in this scope 1338 | for(lhsval=lhsmin;lhsval<=lhsmax;++lhsval) { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:91:28: error: ‘uintm’ has not been declared 91 | SleighSymbol *findSymbol(uintm id) const { return symbollist[id]; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:448:78: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 448 | virtual void buildLabels(Funcdata *fd,vector
&addresstable,vector &label,const JumpModel *orig) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:448:83: error: template argument 1 is invalid 448 | virtual void buildLabels(Funcdata *fd,vector
&addresstable,vector &label,const JumpModel *orig) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:448:83: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: In member function ‘void JumpBasicOverride::setNorm(const Address&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:441:72: error: missing template arguments before ‘=’ token 441 | void setNorm(const Address &addr,uintb h) { normaddress = addr; hash = h; } ///< Set the normalized switch variable | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In constructor ‘DecisionNode::DecisionNode(DecisionNode*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2041:3: error: ‘num’ was not declared in this scope; did you mean ‘enum’? 2041 | num = 0; | ^~~ | enum /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1339:21: error: ‘val’ was not declared in this scope 1339 | if (lhsval == val) continue; | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1340:16: error: invalid operands of types ‘’ and ‘int’ to binary ‘operator==’ 1340 | if (count==0) | ~~~~~^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1344:16: error: overloaded function with no contextual type information 1344 | count += 1; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1347:13: error: invalid operands of types ‘’ and ‘int’ to binary ‘operator==’ 1347 | if (count == 0) | ~~~~~~^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: In member function ‘void JumpValuesRangeDefault::setExtraValue(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:209:35: error: ‘extravalue’ was not declared in this scope; did you mean ‘setExtraValue’? 209 | void setExtraValue(uintb val) { extravalue = val; } ///< Set the extra value explicitly | ^~~~~~~~~~ | setExtraValue /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:239:11: error: ‘int4’ does not name a type; did you mean ‘int’? 239 | virtual int4 getTableSize(void) const=0; ///< Return the number of entries in the address table | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:249:57: error: ‘uint4’ has not been declared 249 | virtual bool recoverModel(Funcdata *fd,PcodeOp *indop,uint4 matchsize,uint4 maxtablesize)=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:249:73: error: ‘uint4’ has not been declared 249 | virtual bool recoverModel(Funcdata *fd,PcodeOp *indop,uint4 matchsize,uint4 maxtablesize)=0; | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:268:33: error: ‘uint4’ has not been declared 268 | virtual void findUnnormalized(uint4 maxaddsub,uint4 maxleftright,uint4 maxext)=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:268:49: error: ‘uint4’ has not been declared 268 | virtual void findUnnormalized(uint4 maxaddsub,uint4 maxleftright,uint4 maxext)=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:268:68: error: ‘uint4’ has not been declared 268 | virtual void findUnnormalized(uint4 maxaddsub,uint4 maxleftright,uint4 maxext)=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc: In member function ‘virtual void LessEquation::genPattern(const std::vector&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1354:3: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 1354 | intb lhsmin = lhs->minValue(); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1355:7: error: expected ‘;’ before ‘lhsmax’ 1355 | intb lhsmax = lhs->maxValue(); | ^~~~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1357:14: error: template argument 2 is invalid 1357 | vector min; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1358:14: error: template argument 2 is invalid 1358 | vector max; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1359:14: error: template argument 2 is invalid 1359 | vector cur; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: In member function ‘void JumpBasicOverride::setStartingValue(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:442:38: error: ‘startingvalue’ was not declared in this scope; did you mean ‘setStartingValue’? 442 | void setStartingValue(uintb val) { startingvalue = val; } ///< Set the starting value for the normalized range | ^~~~~~~~~~~~~ | setStartingValue /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:475:3: error: ‘int4’ does not name a type; did you mean ‘int’? 475 | int4 sizeIndices; ///< Total number of indices in the table (not including the defaultaddress) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:117:3: error: ‘int4’ does not name a type; did you mean ‘int’? 117 | int4 templateid; // Index into the ConstructTpl array | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:280:78: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 280 | virtual void buildLabels(Funcdata *fd,vector
&addresstable,vector &label,const JumpModel *orig) const=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:280:83: error: template argument 1 is invalid 280 | virtual void buildLabels(Funcdata *fd,vector
&addresstable,vector &label,const JumpModel *orig) const=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:280:83: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:481:11: error: ‘int4’ does not name a type; did you mean ‘int’? 481 | virtual int4 getTableSize(void) const { return sizeIndices+1; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:482:57: error: ‘uint4’ has not been declared 482 | virtual bool recoverModel(Funcdata *fd,PcodeOp *indop,uint4 matchsize,uint4 maxtablesize); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:482:73: error: ‘uint4’ has not been declared 482 | virtual bool recoverModel(Funcdata *fd,PcodeOp *indop,uint4 matchsize,uint4 maxtablesize); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1360:3: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 1360 | int4 count=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:484:33: error: ‘uint4’ has not been declared 484 | virtual void findUnnormalized(uint4 maxaddsub,uint4 maxleftright,uint4 maxext) {} | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:484:49: error: ‘uint4’ has not been declared 484 | virtual void findUnnormalized(uint4 maxaddsub,uint4 maxleftright,uint4 maxext) {} | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1367:9: error: expected ‘;’ before ‘lhsval’ 1367 | intb lhsval; | ^~~~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:484:68: error: ‘uint4’ has not been declared 484 | virtual void findUnnormalized(uint4 maxaddsub,uint4 maxleftright,uint4 maxext) {} | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:118:3: error: ‘int4’ does not name a type; did you mean ‘int’? 118 | int4 define_count; // Number of definitions of this named section | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1368:9: error: expected ‘;’ before ‘val’ 1368 | intb val = rhs->getSubValue(cur); | ^~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2042:3: error: ‘startbit’ was not declared in this scope; did you mean ‘static’? 2042 | startbit = 0; | ^~~~~~~~ | static /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:427:10: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 427 | vector values; ///< Normalized switch variable values associated with addresses | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:427:15: error: template argument 1 is invalid 427 | vector values; ///< Normalized switch variable values associated with addresses | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:427:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:323:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 323 | uint4 size; ///< Number of addresses in the table as reported by the JumpTable | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:119:3: error: ‘int4’ does not name a type; did you mean ‘int’? 119 | int4 ref_count; // Number of references to this named section | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:121:34: error: ‘int4’ has not been declared 121 | SectionSymbol(const string &nm,int4 id) : SleighSymbol(nm) { templateid=id; define_count=0; ref_count=0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:327:11: error: ‘int4’ does not name a type; did you mean ‘int’? 327 | virtual int4 getTableSize(void) const { return size; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:328:57: error: ‘uint4’ has not been declared 328 | virtual bool recoverModel(Funcdata *fd,PcodeOp *indop,uint4 matchsize,uint4 maxtablesize); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:328:73: error: ‘uint4’ has not been declared 328 | virtual bool recoverModel(Funcdata *fd,PcodeOp *indop,uint4 matchsize,uint4 maxtablesize); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:122:3: error: ‘int4’ does not name a type; did you mean ‘int’? 122 | int4 getTemplateId(void) const { return templateid; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:330:33: error: ‘uint4’ has not been declared 330 | virtual void findUnnormalized(uint4 maxaddsub,uint4 maxleftright,uint4 maxext) {} | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:330:49: error: ‘uint4’ has not been declared 330 | virtual void findUnnormalized(uint4 maxaddsub,uint4 maxleftright,uint4 maxext) {} | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:330:68: error: ‘uint4’ has not been declared 330 | virtual void findUnnormalized(uint4 maxaddsub,uint4 maxleftright,uint4 maxext) {} | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:485:78: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 485 | virtual void buildLabels(Funcdata *fd,vector
&addresstable,vector &label,const JumpModel *orig) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:485:83: error: template argument 1 is invalid 485 | virtual void buildLabels(Funcdata *fd,vector
&addresstable,vector &label,const JumpModel *orig) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:485:83: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:125:3: error: ‘int4’ does not name a type; did you mean ‘int’? 125 | int4 getDefineCount(void) const { return define_count; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1369:9: error: ‘lhsval’ was not declared in this scope 1369 | for(lhsval=lhsmin;lhsval<=lhsmax;++lhsval) { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:126:3: error: ‘int4’ does not name a type; did you mean ‘int’? 126 | int4 getRefCount(void) const { return ref_count; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:331:78: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 331 | virtual void buildLabels(Funcdata *fd,vector
&addresstable,vector &label,const JumpModel *orig) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:331:83: error: template argument 1 is invalid 331 | virtual void buildLabels(Funcdata *fd,vector
&addresstable,vector &label,const JumpModel *orig) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:331:83: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:429:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 429 | uintb startingvalue; ///< Possible start for guessing values that match addresses | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:431:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 431 | uint8 hash; ///< if (hash==0) there is no normalized switch (use trivial model) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2043:3: error: ‘bitsize’ was not declared in this scope 2043 | bitsize = 0; | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:433:3: error: ‘int4’ does not name a type; did you mean ‘int’? 433 | int4 findStartOp(Varnode *vn); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1369:16: error: ‘lhsmin’ was not declared in this scope 1369 | for(lhsval=lhsmin;lhsval<=lhsmax;++lhsval) { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:434:3: error: ‘int4’ does not name a type; did you mean ‘int’? 434 | int4 trialNorm(Funcdata *fd,Varnode *trialvn,uint4 tolerance); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:441:36: error: ‘uintb’ has not been declared 441 | void setNorm(const Address &addr,uintb h) { normaddress = addr; hash = h; } ///< Set the normalized switch variable | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:442:25: error: ‘uintb’ has not been declared 442 | void setStartingValue(uintb val) { startingvalue = val; } ///< Set the starting value for the normalized range | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: In constructor ‘JumpModelTrivial::JumpModelTrivial(JumpTable*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:325:53: error: ‘size’ was not declared in this scope 325 | JumpModelTrivial(JumpTable *jt) : JumpModel(jt) { size = 0; } ///< Construct given a parent JumpTable | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:444:11: error: ‘int4’ does not name a type; did you mean ‘int’? 444 | virtual int4 getTableSize(void) const { return addrtable.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: In constructor ‘JumpAssisted::JumpAssisted(JumpTable*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:478:99: error: ‘sizeIndices’ was not declared in this scope 478 | JumpAssisted(JumpTable *jt) : JumpModel(jt) { assistOp = (PcodeOp *)0; switchvn = (Varnode *)0; sizeIndices=0; } ///< Constructor | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:445:57: error: ‘uint4’ has not been declared 445 | virtual bool recoverModel(Funcdata *fd,PcodeOp *indop,uint4 matchsize,uint4 maxtablesize); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:445:73: error: ‘uint4’ has not been declared 445 | virtual bool recoverModel(Funcdata *fd,PcodeOp *indop,uint4 matchsize,uint4 maxtablesize); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘SectionSymbol::SectionSymbol(const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:121:64: error: ‘templateid’ was not declared in this scope 121 | SectionSymbol(const string &nm,int4 id) : SleighSymbol(nm) { templateid=id; define_count=0; ref_count=0; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:502:5: error: ‘int4’ does not name a type; did you mean ‘int’? 502 | int4 blockPosition; ///< Out-edge index for the basic-block | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1369:31: error: ‘lhsmax’ was not declared in this scope 1369 | for(lhsval=lhsmin;lhsval<=lhsmax;++lhsval) { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:503:5: error: ‘int4’ does not name a type; did you mean ‘int’? 503 | int4 addressIndex; ///< Index of address targeting the basic-block | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:504:19: error: expected ‘)’ before ‘pos’ 504 | IndexPair(int4 pos,int4 index) { blockPosition = pos; addressIndex = index; } ///< Constructor | ~ ^~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:448:78: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 448 | virtual void buildLabels(Funcdata *fd,vector
&addresstable,vector &label,const JumpModel *orig) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:448:83: error: template argument 1 is invalid 448 | virtual void buildLabels(Funcdata *fd,vector
&addresstable,vector &label,const JumpModel *orig) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:448:83: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: In member function ‘void JumpBasicOverride::setNorm(const Address&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:441:72: error: missing template arguments before ‘=’ token 441 | void setNorm(const Address &addr,uintb h) { normaddress = addr; hash = h; } ///< Set the normalized switch variable | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1370:21: error: ‘val’ was not declared in this scope 1370 | if (lhsval >= val) continue; | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1371:16: error: invalid operands of types ‘’ and ‘int’ to binary ‘operator==’ 1371 | if (count==0) | ~~~~~^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1375:16: error: overloaded function with no contextual type information 1375 | count += 1; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1378:13: error: invalid operands of types ‘’ and ‘int’ to binary ‘operator==’ 1378 | if (count == 0) | ~~~~~~^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:349:3: error: ‘int4’ does not name a type; did you mean ‘int’? 349 | int4 varnodeIndex; ///< Position of the normalized switch Varnode within PathMeld | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:354:10: error: ‘int4’ does not name a type; did you mean ‘int’? 354 | static int4 getStride(Varnode *vn); ///< Get the step/stride associated with the Varnode | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:121:79: error: ‘define_count’ was not declared in this scope 121 | SectionSymbol(const string &nm,int4 id) : SleighSymbol(nm) { templateid=id; define_count=0; ref_count=0; } | ^~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc: In member function ‘virtual void LessEqualEquation::genPattern(const std::vector&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1385:3: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 1385 | intb lhsmin = lhs->minValue(); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1386:7: error: expected ‘;’ before ‘lhsmax’ 1386 | intb lhsmax = lhs->maxValue(); | ^~~~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1388:14: error: template argument 2 is invalid 1388 | vector min; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1389:14: error: template argument 2 is invalid 1389 | vector max; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1390:14: error: template argument 2 is invalid 1390 | vector cur; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:355:10: error: ‘uintb’ does not name a type; did you mean ‘uint’? 355 | static uintb backup2Switch(Funcdata *fd,uintb output,Varnode *outvn,Varnode *invn); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:356:44: error: ‘int4’ has not been declared 356 | void findDeterminingVarnodes(PcodeOp *op,int4 slot); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:357:37: error: ‘int4’ has not been declared 357 | void analyzeGuards(BlockBasic *bl,int4 pathout); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:359:27: error: ‘uint4’ has not been declared 359 | void findSmallestNormal(uint4 matchsize); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:360:55: error: ‘int4’ has not been declared 360 | void findNormalized(Funcdata *fd,BlockBasic *rootbl,int4 pathout,uint4 matchsize,uint4 maxtablesize); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:360:68: error: ‘uint4’ has not been declared 360 | void findNormalized(Funcdata *fd,BlockBasic *rootbl,int4 pathout,uint4 matchsize,uint4 maxtablesize); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:360:84: error: ‘uint4’ has not been declared 360 | void findNormalized(Funcdata *fd,BlockBasic *rootbl,int4 pathout,uint4 matchsize,uint4 maxtablesize); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: In member function ‘void JumpBasicOverride::setStartingValue(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:442:38: error: ‘startingvalue’ was not declared in this scope; did you mean ‘setStartingValue’? 442 | void setStartingValue(uintb val) { startingvalue = val; } ///< Set the starting value for the normalized range | ^~~~~~~~~~~~~ | setStartingValue /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:475:3: error: ‘int4’ does not name a type; did you mean ‘int’? 475 | int4 sizeIndices; ///< Total number of indices in the table (not including the defaultaddress) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:381:11: error: ‘int4’ does not name a type; did you mean ‘int’? 381 | virtual int4 getTableSize(void) const { return jrange->getSize(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:382:57: error: ‘uint4’ has not been declared 382 | virtual bool recoverModel(Funcdata *fd,PcodeOp *indop,uint4 matchsize,uint4 maxtablesize); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:382:73: error: ‘uint4’ has not been declared 382 | virtual bool recoverModel(Funcdata *fd,PcodeOp *indop,uint4 matchsize,uint4 maxtablesize); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:384:33: error: ‘uint4’ has not been declared 384 | virtual void findUnnormalized(uint4 maxaddsub,uint4 maxleftright,uint4 maxext); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:384:49: error: ‘uint4’ has not been declared 384 | virtual void findUnnormalized(uint4 maxaddsub,uint4 maxleftright,uint4 maxext); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:384:68: error: ‘uint4’ has not been declared 384 | virtual void findUnnormalized(uint4 maxaddsub,uint4 maxleftright,uint4 maxext); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:513:10: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 513 | vector label; ///< The case label for each explicit target | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:513:15: error: template argument 1 is invalid 513 | vector label; ///< The case label for each explicit target | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:513:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1391:3: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 1391 | int4 count=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1398:9: error: expected ‘;’ before ‘lhsval’ 1398 | intb lhsval; | ^~~~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1399:9: error: expected ‘;’ before ‘val’ 1399 | intb val = rhs->getSubValue(cur); | ^~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:481:11: error: ‘int4’ does not name a type; did you mean ‘int’? 481 | virtual int4 getTableSize(void) const { return sizeIndices+1; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:482:57: error: ‘uint4’ has not been declared 482 | virtual bool recoverModel(Funcdata *fd,PcodeOp *indop,uint4 matchsize,uint4 maxtablesize); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:482:73: error: ‘uint4’ has not been declared 482 | virtual bool recoverModel(Funcdata *fd,PcodeOp *indop,uint4 matchsize,uint4 maxtablesize); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:484:33: error: ‘uint4’ has not been declared 484 | virtual void findUnnormalized(uint4 maxaddsub,uint4 maxleftright,uint4 maxext) {} | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:484:49: error: ‘uint4’ has not been declared 484 | virtual void findUnnormalized(uint4 maxaddsub,uint4 maxleftright,uint4 maxext) {} | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:484:68: error: ‘uint4’ has not been declared 484 | virtual void findUnnormalized(uint4 maxaddsub,uint4 maxleftright,uint4 maxext) {} | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:517:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 517 | uintb switchVarConsume; ///< Bits of the switch variable being consumed | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:518:3: error: ‘int4’ does not name a type; did you mean ‘int’? 518 | int4 defaultBlock; ///< The out-edge corresponding to the \e default switch destination (-1 = undefined) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:385:78: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 385 | virtual void buildLabels(Funcdata *fd,vector
&addresstable,vector &label,const JumpModel *orig) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:385:83: error: template argument 1 is invalid 385 | virtual void buildLabels(Funcdata *fd,vector
&addresstable,vector &label,const JumpModel *orig) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:385:83: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:519:3: error: ‘int4’ does not name a type; did you mean ‘int’? 519 | int4 lastBlock; ///< Block out-edge corresponding to last entry in the address table | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:121:95: error: ‘ref_count’ was not declared in this scope 121 | SectionSymbol(const string &nm,int4 id) : SleighSymbol(nm) { templateid=id; define_count=0; ref_count=0; } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:485:78: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 485 | virtual void buildLabels(Funcdata *fd,vector
&addresstable,vector &label,const JumpModel *orig) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:485:83: error: template argument 1 is invalid 485 | virtual void buildLabels(Funcdata *fd,vector
&addresstable,vector &label,const JumpModel *orig) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:485:83: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:520:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 520 | uint4 maxtablesize; ///< Maximum table size we allow to be built (sanity check) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1400:9: error: ‘lhsval’ was not declared in this scope 1400 | for(lhsval=lhsmin;lhsval<=lhsmax;++lhsval) { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:521:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 521 | uint4 maxaddsub; ///< Maximum ADDs or SUBs to normalize | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:522:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 522 | uint4 maxleftright; ///< Maximum shifts to normalize | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:523:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 523 | uint4 maxext; ///< Maximum extensions to normalize | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:524:3: error: ‘int4’ does not name a type; did you mean ‘int’? 524 | int4 recoverystage; ///< 0=no stages recovered, 1=additional stage needed, 2=complete | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1400:16: error: ‘lhsmin’ was not declared in this scope 1400 | for(lhsval=lhsmin;lhsval<=lhsmax;++lhsval) { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘void DecisionNode::addConstructorPair(const DisjointPattern*, Constructor*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2063:3: error: ‘num’ was not declared in this scope; did you mean ‘enum’? 2063 | num += 1; | ^~~ | enum /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:529:3: error: ‘int4’ does not name a type; did you mean ‘int’? 529 | int4 block2Position(const FlowBlock *bl) const; ///< Convert a basic-block to an out-edge index from the switch. | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2066:1: error: ‘int4’ does not name a type; did you mean ‘int’? 2066 | int4 DecisionNode::getMaximumLength(bool context) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2080:1: error: ‘int4’ does not name a type; did you mean ‘int’? 2080 | int4 DecisionNode::getNumFixed(int4 low,int4 size,bool context) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2097:8: error: ‘double DecisionNode::getScore’ is not a static data member of ‘class DecisionNode’ 2097 | double DecisionNode::getScore(int4 low,int4 size,bool context) | ^~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:539:3: error: ‘int4’ does not name a type; did you mean ‘int’? 539 | int4 getStage(void) const { return recoverystage; } ///< Return what stage of recovery this jump-table is in. | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:413:57: error: ‘uint4’ has not been declared 413 | virtual bool recoverModel(Funcdata *fd,PcodeOp *indop,uint4 matchsize,uint4 maxtablesize); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:413:73: error: ‘uint4’ has not been declared 413 | virtual bool recoverModel(Funcdata *fd,PcodeOp *indop,uint4 matchsize,uint4 maxtablesize); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: In constructor ‘JumpAssisted::JumpAssisted(JumpTable*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:478:99: error: ‘sizeIndices’ was not declared in this scope 478 | JumpAssisted(JumpTable *jt) : JumpModel(jt) { assistOp = (PcodeOp *)0; switchvn = (Varnode *)0; sizeIndices=0; } ///< Constructor | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:414:33: error: ‘uint4’ has not been declared 414 | virtual void findUnnormalized(uint4 maxaddsub,uint4 maxleftright,uint4 maxext); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:414:49: error: ‘uint4’ has not been declared 414 | virtual void findUnnormalized(uint4 maxaddsub,uint4 maxleftright,uint4 maxext); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:414:68: error: ‘uint4’ has not been declared 414 | virtual void findUnnormalized(uint4 maxaddsub,uint4 maxleftright,uint4 maxext); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void SectionSymbol::incrementDefineCount()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:123:37: error: ‘define_count’ was not declared in this scope 123 | void incrementDefineCount(void) { define_count += 1; } | ^~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:540:3: error: ‘int4’ does not name a type; did you mean ‘int’? 540 | int4 numEntries(void) const { return addresstable.size(); } ///< Return the size of the address table for \b this jump-table | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:502:5: error: ‘int4’ does not name a type; did you mean ‘int’? 502 | int4 blockPosition; ///< Out-edge index for the basic-block | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:541:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 541 | uintb getSwitchVarConsume(void) const { return switchVarConsume; } ///< Get bits of switch variable consumed by \b this table | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1400:31: error: ‘lhsmax’ was not declared in this scope 1400 | for(lhsval=lhsmin;lhsval<=lhsmax;++lhsval) { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:503:5: error: ‘int4’ does not name a type; did you mean ‘int’? 503 | int4 addressIndex; ///< Index of address targeting the basic-block | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:504:19: error: expected ‘)’ before ‘pos’ 504 | IndexPair(int4 pos,int4 index) { blockPosition = pos; addressIndex = index; } ///< Constructor | ~ ^~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:542:3: error: ‘int4’ does not name a type; did you mean ‘int’? 542 | int4 getDefaultBlock(void) const { return defaultBlock; } ///< Get the out-edge corresponding to the \e default switch destination | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:546:24: error: ‘uint4’ has not been declared 546 | void setMaxTableSize(uint4 val) { maxtablesize = val; } ///< Set the maximum entries allowed in the address table | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:547:19: error: ‘uint4’ has not been declared 547 | void setNormMax(uint4 maddsub,uint4 mleftright,uint4 mext) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:547:33: error: ‘uint4’ has not been declared 547 | void setNormMax(uint4 maddsub,uint4 mleftright,uint4 mext) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:547:50: error: ‘uint4’ has not been declared 547 | void setNormMax(uint4 maddsub,uint4 mleftright,uint4 mext) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:549:74: error: ‘uintb’ has not been declared 549 | void setOverride(const vector
&addrtable,const Address &naddr,uintb h,uintb sv); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:549:82: error: ‘uintb’ has not been declared 549 | void setOverride(const vector
&addrtable,const Address &naddr,uintb h,uintb sv); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2097:31: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 2097 | double DecisionNode::getScore(int4 low,int4 size,bool context) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:550:3: error: ‘int4’ does not name a type; did you mean ‘int’? 550 | int4 numIndicesByBlock(const FlowBlock *bl) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1401:20: error: ‘val’ was not declared in this scope 1401 | if (lhsval > val) continue; | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1402:16: error: invalid operands of types ‘’ and ‘int’ to binary ‘operator==’ 1402 | if (count==0) | ~~~~~^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1406:16: error: overloaded function with no contextual type information 1406 | count += 1; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1409:13: error: invalid operands of types ‘’ and ‘int’ to binary ‘operator==’ 1409 | if (count == 0) | ~~~~~~^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:551:3: error: ‘int4’ does not name a type; did you mean ‘int’? 551 | int4 getIndexByBlock(const FlowBlock *bl,int4 i) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:552:29: error: ‘int4’ has not been declared 552 | Address getAddressByIndex(int4 i) const { return addresstable[i]; } ///< Get the i-th address table entry | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:554:24: error: ‘int4’ has not been declared 554 | void setDefaultBlock(int4 bl) { defaultBlock = bl; } ///< Set out-edge of the switch destination considered to be \e default | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:556:40: error: ‘uintb’ has not been declared 556 | void addBlockToSwitch(BlockBasic *bl,uintb lab); ///< Force a given basic-block to be a switch destination | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:558:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 558 | uintb getLabelByIndex(int4 index) const { return label[index]; } ///< Given a \e case index, get its label | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void SectionSymbol::incrementRefCount()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:124:34: error: ‘ref_count’ was not declared in this scope 124 | void incrementRefCount(void) { ref_count += 1; } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: In member function ‘bool JumpTable::isLabelled() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:536:47: error: request for member ‘empty’ in ‘((const JumpTable*)this)->JumpTable::label’, which is of non-class type ‘const int’ 536 | bool isLabelled(void) const { return !label.empty(); } ///< Return \b true if \e case labels are computed | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2097:40: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 2097 | double DecisionNode::getScore(int4 low,int4 size,bool context) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2097:50: error: expected primary-expression before ‘bool’ 2097 | double DecisionNode::getScore(int4 low,int4 size,bool context) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2097:62: error: expression list treated as compound expression in initializer [-fpermissive] 2097 | double DecisionNode::getScore(int4 low,int4 size,bool context) | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc: In member function ‘virtual void GreaterEquation::genPattern(const std::vector&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1416:3: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 1416 | intb lhsmin = lhs->minValue(); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:132:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 132 | uint4 index; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1417:7: error: expected ‘;’ before ‘lhsmax’ 1417 | intb lhsmax = lhs->maxValue(); | ^~~~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:136:17: error: ‘uint4’ has not been declared 136 | void setIndex(uint4 ind) { index = ind; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1419:14: error: template argument 2 is invalid 1419 | vector min; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1420:14: error: template argument 2 is invalid 1420 | vector max; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1421:14: error: template argument 2 is invalid 1421 | vector cur; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:137:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 137 | uint4 getIndex(void) const { return index; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘UserOpSymbol::UserOpSymbol(const string&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:135:63: error: overloaded function with no contextual type information 135 | UserOpSymbol(const string &nm) : SleighSymbol(nm) { index = 0; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void UserOpSymbol::setIndex(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:136:38: error: overloaded function with no contextual type information 136 | void setIndex(uint4 ind) { index = ind; } | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:513:10: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 513 | vector label; ///< The case label for each explicit target | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:513:15: error: template argument 1 is invalid 513 | vector label; ///< The case label for each explicit target | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:513:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1422:3: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 1422 | int4 count=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1429:9: error: expected ‘;’ before ‘lhsval’ 1429 | intb lhsval; | ^~~~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1430:9: error: expected ‘;’ before ‘val’ 1430 | intb val = rhs->getSubValue(cur); | ^~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:153:11: error: ‘int4’ does not name a type; did you mean ‘int’? 153 | virtual int4 getSize(void) const { return 0; } // Size out of context | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:517:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 517 | uintb switchVarConsume; ///< Bits of the switch variable being consumed | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘void DecisionNode::chooseOptimalField()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2132:3: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 2132 | int4 sbit,size; // The current field | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2136:7: error: expected ‘;’ before ‘maxlength’ 2136 | int4 maxlength,numfixed,maxfixed; | ^~~~~~~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:518:3: error: ‘int4’ does not name a type; did you mean ‘int’? 518 | int4 defaultBlock; ///< The out-edge corresponding to the \e default switch destination (-1 = undefined) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:427:10: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 427 | vector values; ///< Normalized switch variable values associated with addresses | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:427:15: error: template argument 1 is invalid 427 | vector values; ///< Normalized switch variable values associated with addresses | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:427:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: In member function ‘void JumpTable::setMaxTableSize(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:546:37: error: ‘maxtablesize’ was not declared in this scope; did you mean ‘setMaxTableSize’? 546 | void setMaxTableSize(uint4 val) { maxtablesize = val; } ///< Set the maximum entries allowed in the address table | ^~~~~~~~~~~~ | setMaxTableSize /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:519:3: error: ‘int4’ does not name a type; did you mean ‘int’? 519 | int4 lastBlock; ///< Block out-edge corresponding to last entry in the address table | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:520:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 520 | uint4 maxtablesize; ///< Maximum table size we allow to be built (sanity check) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:155:42: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 155 | virtual void collectLocalValues(vector &results) const {} | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:155:47: error: template argument 1 is invalid 155 | virtual void collectLocalValues(vector &results) const {} | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:155:47: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1431:9: error: ‘lhsval’ was not declared in this scope 1431 | for(lhsval=lhsmin;lhsval<=lhsmax;++lhsval) { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:521:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 521 | uint4 maxaddsub; ///< Maximum ADDs or SUBs to normalize | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:522:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 522 | uint4 maxleftright; ///< Maximum shifts to normalize | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:523:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 523 | uint4 maxext; ///< Maximum extensions to normalize | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:429:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 429 | uintb startingvalue; ///< Possible start for guessing values that match addresses | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:524:3: error: ‘int4’ does not name a type; did you mean ‘int’? 524 | int4 recoverystage; ///< 0=no stages recovered, 1=additional stage needed, 2=complete | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: In member function ‘void JumpTable::setNormMax(int, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:548:5: error: ‘maxaddsub’ was not declared in this scope; did you mean ‘maddsub’? 548 | maxaddsub = maddsub; maxleftright = mleftright; maxext = mext; } ///< Set the switch variable normalization model restrictions | ^~~~~~~~~ | maddsub /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1431:16: error: ‘lhsmin’ was not declared in this scope 1431 | for(lhsval=lhsmin;lhsval<=lhsmax;++lhsval) { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:529:3: error: ‘int4’ does not name a type; did you mean ‘int’? 529 | int4 block2Position(const FlowBlock *bl) const; ///< Convert a basic-block to an out-edge index from the switch. | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:431:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 431 | uint8 hash; ///< if (hash==0) there is no normalized switch (use trivial model) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2138:3: error: ‘maxfixed’ was not declared in this scope 2138 | maxfixed = 1; | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:433:3: error: ‘int4’ does not name a type; did you mean ‘int’? 433 | int4 findStartOp(Varnode *vn); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:539:3: error: ‘int4’ does not name a type; did you mean ‘int’? 539 | int4 getStage(void) const { return recoverystage; } ///< Return what stage of recovery this jump-table is in. | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:434:3: error: ‘int4’ does not name a type; did you mean ‘int’? 434 | int4 trialNorm(Funcdata *fd,Varnode *trialvn,uint4 tolerance); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:540:3: error: ‘int4’ does not name a type; did you mean ‘int’? 540 | int4 numEntries(void) const { return addresstable.size(); } ///< Return the size of the address table for \b this jump-table | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:441:36: error: ‘uintb’ has not been declared 441 | void setNorm(const Address &addr,uintb h) { normaddress = addr; hash = h; } ///< Set the normalized switch variable | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:442:25: error: ‘uintb’ has not been declared 442 | void setStartingValue(uintb val) { startingvalue = val; } ///< Set the starting value for the normalized range | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:541:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 541 | uintb getSwitchVarConsume(void) const { return switchVarConsume; } ///< Get bits of switch variable consumed by \b this table | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:444:11: error: ‘int4’ does not name a type; did you mean ‘int’? 444 | virtual int4 getTableSize(void) const { return addrtable.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:445:57: error: ‘uint4’ has not been declared 445 | virtual bool recoverModel(Funcdata *fd,PcodeOp *indop,uint4 matchsize,uint4 maxtablesize); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:445:73: error: ‘uint4’ has not been declared 445 | virtual bool recoverModel(Funcdata *fd,PcodeOp *indop,uint4 matchsize,uint4 maxtablesize); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1431:31: error: ‘lhsmax’ was not declared in this scope 1431 | for(lhsval=lhsmin;lhsval<=lhsmax;++lhsval) { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:215:10: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 215 | vector valuetable; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:215:14: error: template argument 1 is invalid 215 | vector valuetable; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:215:14: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:542:3: error: ‘int4’ does not name a type; did you mean ‘int’? 542 | int4 getDefaultBlock(void) const { return defaultBlock; } ///< Get the out-edge corresponding to the \e default switch destination | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:546:24: error: ‘uint4’ has not been declared 546 | void setMaxTableSize(uint4 val) { maxtablesize = val; } ///< Set the maximum entries allowed in the address table | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:547:19: error: ‘uint4’ has not been declared 547 | void setNormMax(uint4 maddsub,uint4 mleftright,uint4 mext) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:547:33: error: ‘uint4’ has not been declared 547 | void setNormMax(uint4 maddsub,uint4 mleftright,uint4 mext) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:547:50: error: ‘uint4’ has not been declared 547 | void setNormMax(uint4 maddsub,uint4 mleftright,uint4 mext) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:549:74: error: ‘uintb’ has not been declared 549 | void setOverride(const vector
&addrtable,const Address &naddr,uintb h,uintb sv); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:549:82: error: ‘uintb’ has not been declared 549 | void setOverride(const vector
&addrtable,const Address &naddr,uintb h,uintb sv); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:548:26: error: ‘maxleftright’ was not declared in this scope; did you mean ‘mleftright’? 548 | maxaddsub = maddsub; maxleftright = mleftright; maxext = mext; } ///< Set the switch variable normalization model restrictions | ^~~~~~~~~~~~ | mleftright /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:550:3: error: ‘int4’ does not name a type; did you mean ‘int’? 550 | int4 numIndicesByBlock(const FlowBlock *bl) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1432:21: error: ‘val’ was not declared in this scope 1432 | if (lhsval <= val) continue; | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1433:16: error: invalid operands of types ‘’ and ‘int’ to binary ‘operator==’ 1433 | if (count==0) | ~~~~~^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:551:3: error: ‘int4’ does not name a type; did you mean ‘int’? 551 | int4 getIndexByBlock(const FlowBlock *bl,int4 i) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1437:16: error: overloaded function with no contextual type information 1437 | count += 1; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:448:78: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 448 | virtual void buildLabels(Funcdata *fd,vector
&addresstable,vector &label,const JumpModel *orig) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:552:29: error: ‘int4’ has not been declared 552 | Address getAddressByIndex(int4 i) const { return addresstable[i]; } ///< Get the i-th address table entry | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:448:83: error: template argument 1 is invalid 448 | virtual void buildLabels(Funcdata *fd,vector
&addresstable,vector &label,const JumpModel *orig) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:448:83: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1440:13: error: invalid operands of types ‘’ and ‘int’ to binary ‘operator==’ 1440 | if (count == 0) | ~~~~~~^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:554:24: error: ‘int4’ has not been declared 554 | void setDefaultBlock(int4 bl) { defaultBlock = bl; } ///< Set out-edge of the switch destination considered to be \e default | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:556:40: error: ‘uintb’ has not been declared 556 | void addBlockToSwitch(BlockBasic *bl,uintb lab); ///< Force a given basic-block to be a switch destination | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:220:65: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 220 | ValueMapSymbol(const string &nm,PatternValue *pv,const vector &vt) : ValueSymbol(nm,pv) { valuetable=vt; checkTableFill(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:220:69: error: template argument 1 is invalid 220 | ValueMapSymbol(const string &nm,PatternValue *pv,const vector &vt) : ValueSymbol(nm,pv) { valuetable=vt; checkTableFill(); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:220:69: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: In member function ‘void JumpBasicOverride::setNorm(const Address&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:441:72: error: missing template arguments before ‘=’ token 441 | void setNorm(const Address &addr,uintb h) { normaddress = addr; hash = h; } ///< Set the normalized switch variable | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:558:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 558 | uintb getLabelByIndex(int4 index) const { return label[index]; } ///< Given a \e case index, get its label | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2141:5: error: ‘maxlength’ was not declared in this scope 2141 | maxlength = 8*getMaximumLength(context); | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: In member function ‘bool JumpTable::isLabelled() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:536:47: error: request for member ‘empty’ in ‘((const JumpTable*)this)->JumpTable::label’, which is of non-class type ‘const int’ 536 | bool isLabelled(void) const { return !label.empty(); } ///< Return \b true if \e case labels are computed | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:548:53: error: ‘maxext’ was not declared in this scope; did you mean ‘mext’? 548 | maxaddsub = maddsub; maxleftright = mleftright; maxext = mext; } ///< Set the switch variable normalization model restrictions | ^~~~~~ | mext In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:20, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:250:50: error: ‘uintb’ has not been declared 250 | VarnodeSymbol(const string &nm,AddrSpace *base,uintb offset,int4 size); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:250:63: error: ‘int4’ has not been declared 250 | VarnodeSymbol(const string &nm,AddrSpace *base,uintb offset,int4 size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc: In member function ‘virtual void GreaterEqualEquation::genPattern(const std::vector&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1447:3: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 1447 | intb lhsmin = lhs->minValue(); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1448:7: error: expected ‘;’ before ‘lhsmax’ 1448 | intb lhsmax = lhs->maxValue(); | ^~~~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1450:14: error: template argument 2 is invalid 1450 | vector min; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1451:14: error: template argument 2 is invalid 1451 | vector max; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1452:14: error: template argument 2 is invalid 1452 | vector cur; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:255:11: error: ‘int4’ does not name a type; did you mean ‘int’? 255 | virtual int4 getSize(void) const { return fix.size; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1453:3: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 1453 | int4 count=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1460:9: error: expected ‘;’ before ‘lhsval’ 1460 | intb lhsval; | ^~~~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1461:9: error: expected ‘;’ before ‘val’ 1461 | intb val = rhs->getSubValue(cur); | ^~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: In member function ‘void JumpBasicOverride::setStartingValue(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:442:38: error: ‘startingvalue’ was not declared in this scope; did you mean ‘setStartingValue’? 442 | void setStartingValue(uintb val) { startingvalue = val; } ///< Set the starting value for the normalized range | ^~~~~~~~~~~~~ | setStartingValue /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:258:42: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 258 | virtual void collectLocalValues(vector &results) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:258:47: error: template argument 1 is invalid 258 | virtual void collectLocalValues(vector &results) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:258:47: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: In member function ‘void JumpTable::setDefaultBlock(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:554:35: error: ‘defaultBlock’ was not declared in this scope; did you mean ‘setDefaultBlock’? 554 | void setDefaultBlock(int4 bl) { defaultBlock = bl; } ///< Set out-edge of the switch destination considered to be \e default | ^~~~~~~~~~~~ | setDefaultBlock /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:475:3: error: ‘int4’ does not name a type; did you mean ‘int’? 475 | int4 sizeIndices; ///< Total number of indices in the table (not including the defaultaddress) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: In member function ‘void JumpTable::setMaxTableSize(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:546:37: error: ‘maxtablesize’ was not declared in this scope; did you mean ‘setMaxTableSize’? 546 | void setMaxTableSize(uint4 val) { maxtablesize = val; } ///< Set the maximum entries allowed in the address table | ^~~~~~~~~~~~ | setMaxTableSize /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:481:11: error: ‘int4’ does not name a type; did you mean ‘int’? 481 | virtual int4 getTableSize(void) const { return sizeIndices+1; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:482:57: error: ‘uint4’ has not been declared 482 | virtual bool recoverModel(Funcdata *fd,PcodeOp *indop,uint4 matchsize,uint4 maxtablesize); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:482:73: error: ‘uint4’ has not been declared 482 | virtual bool recoverModel(Funcdata *fd,PcodeOp *indop,uint4 matchsize,uint4 maxtablesize); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:484:33: error: ‘uint4’ has not been declared 484 | virtual void findUnnormalized(uint4 maxaddsub,uint4 maxleftright,uint4 maxext) {} | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:484:49: error: ‘uint4’ has not been declared 484 | virtual void findUnnormalized(uint4 maxaddsub,uint4 maxleftright,uint4 maxext) {} | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:484:68: error: ‘uint4’ has not been declared 484 | virtual void findUnnormalized(uint4 maxaddsub,uint4 maxleftright,uint4 maxext) {} | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:267:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 267 | uint4 bitoffset; // least significant bit of range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1462:9: error: ‘lhsval’ was not declared in this scope 1462 | for(lhsval=lhsmin;lhsval<=lhsmax;++lhsval) { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:268:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 268 | uint4 numbits; // number of bits in the range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:271:54: error: ‘uint4’ has not been declared 271 | BitrangeSymbol(const string &nm,VarnodeSymbol *sym,uint4 bitoff,uint4 num) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:271:67: error: ‘uint4’ has not been declared 271 | BitrangeSymbol(const string &nm,VarnodeSymbol *sym,uint4 bitoff,uint4 num) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2141:19: error: ‘getMaximumLength’ was not declared in this scope 2141 | maxlength = 8*getMaximumLength(context); | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:485:78: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 485 | virtual void buildLabels(Funcdata *fd,vector
&addresstable,vector &label,const JumpModel *orig) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:485:83: error: template argument 1 is invalid 485 | virtual void buildLabels(Funcdata *fd,vector
&addresstable,vector &label,const JumpModel *orig) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:485:83: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:274:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 274 | uint4 getBitOffset(void) const { return bitoffset; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: In member function ‘void JumpTable::setNormMax(int, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:548:5: error: ‘maxaddsub’ was not declared in this scope; did you mean ‘maddsub’? 548 | maxaddsub = maddsub; maxleftright = mleftright; maxext = mext; } ///< Set the switch variable normalization model restrictions | ^~~~~~~~~ | maddsub /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:275:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 275 | uint4 numBits(void) const { return numbits; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1462:16: error: ‘lhsmin’ was not declared in this scope 1462 | for(lhsval=lhsmin;lhsval<=lhsmax;++lhsval) { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: In member function ‘bool JumpTable::IndexPair::operator<(const JumpTable::IndexPair&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:575:7: error: ‘blockPosition’ was not declared in this scope; did you mean ‘BlockCondition’? 575 | if (blockPosition != op2.blockPosition) return (blockPosition < op2.blockPosition); | ^~~~~~~~~~~~~ | BlockCondition /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:575:28: error: ‘const struct JumpTable::IndexPair’ has no member named ‘blockPosition’ 575 | if (blockPosition != op2.blockPosition) return (blockPosition < op2.blockPosition); | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:575:71: error: ‘const struct JumpTable::IndexPair’ has no member named ‘blockPosition’ 575 | if (blockPosition != op2.blockPosition) return (blockPosition < op2.blockPosition); | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2142:9: error: ‘sbit’ was not declared in this scope 2142 | for(sbit=0;sbit’ and ‘int’ to binary ‘operator==’ 1464 | if (count==0) | ~~~~~^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:576:11: error: ‘addressIndex’ was not declared in this scope 576 | return (addressIndex < op2.addressIndex); | ^~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:576:30: error: ‘const struct JumpTable::IndexPair’ has no member named ‘addressIndex’ 576 | return (addressIndex < op2.addressIndex); | ^~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1468:16: error: overloaded function with no contextual type information 1468 | count += 1; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1471:13: error: invalid operands of types ‘’ and ‘int’ to binary ‘operator==’ 1471 | if (count == 0) | ~~~~~~^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: In static member function ‘static bool JumpTable::IndexPair::compareByPosition(const JumpTable::IndexPair&, const JumpTable::IndexPair&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:585:15: error: ‘const struct JumpTable::IndexPair’ has no member named ‘blockPosition’ 585 | return (op1.blockPosition < op2.blockPosition); | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:585:35: error: ‘const struct JumpTable::IndexPair’ has no member named ‘blockPosition’ 585 | return (op1.blockPosition < op2.blockPosition); | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:503:5: error: ‘int4’ does not name a type; did you mean ‘int’? 503 | int4 addressIndex; ///< Index of address targeting the basic-block | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:504:19: error: expected ‘)’ before ‘pos’ 504 | IndexPair(int4 pos,int4 index) { blockPosition = pos; addressIndex = index; } ///< Constructor | ~ ^~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:548:53: error: ‘maxext’ was not declared in this scope; did you mean ‘mext’? 548 | maxaddsub = maddsub; maxleftright = mleftright; maxext = mext; } ///< Set the switch variable normalization model restrictions | ^~~~~~ | mext In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:45:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 45 | uint4 label; ///< Label of the edge | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:47:3: error: ‘int4’ does not name a type; did you mean ‘int’? 47 | int4 reverse_index; ///< Index for edge coming other way | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:49:27: error: ‘uint4’ has not been declared 49 | BlockEdge(FlowBlock *pt,uint4 lab,int4 rev) { label=lab; point=pt; reverse_index = rev; } ///< Constructor | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:49:37: error: ‘int4’ has not been declared 49 | BlockEdge(FlowBlock *pt,uint4 lab,int4 rev) { label=lab; point=pt; reverse_index = rev; } ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:272:56: error: ‘numbits’ was not declared in this scope 272 | : SleighSymbol(nm) { varsym=sym; bitoffset=bitoff; numbits=num; } | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2143:7: error: ‘numfixed’ was not declared in this scope 2143 | numfixed = getNumFixed(sbit,1,context); // How may patterns specify this bit | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc: In member function ‘virtual bool EquationAnd::resolveOperandLeft(OperandResolve&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1500:3: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 1500 | int4 cur_rightmost = -1; // Initially we don't know our rightmost | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1501:7: error: expected ‘;’ before ‘cur_size’ 1501 | int4 cur_size = -1; // or size traversed since rightmost | ^~~~~~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1504:14: error: ‘struct OperandResolve’ has no member named ‘cur_rightmost’ 1504 | if ((state.cur_rightmost != -1)&&(state.size != -1)) { | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1504:43: error: ‘struct OperandResolve’ has no member named ‘size’ 1504 | if ((state.cur_rightmost != -1)&&(state.size != -1)) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:281:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 281 | uint4 low,high; // into a varnode | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:285:70: error: ‘uint4’ has not been declared 285 | ContextSymbol(const string &nm,ContextField *pate,VarnodeSymbol *v,uint4 l,uint4 h,bool flow); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:285:78: error: ‘uint4’ has not been declared 285 | ContextSymbol(const string &nm,ContextField *pate,VarnodeSymbol *v,uint4 l,uint4 h,bool flow); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In constructor ‘BlockEdge::BlockEdge(FlowBlock*, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:49:49: error: ‘label’ was not declared in this scope 49 | BlockEdge(FlowBlock *pt,uint4 lab,int4 rev) { label=lab; point=pt; reverse_index = rev; } ///< Constructor | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:287:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 287 | uint4 getLow(void) const { return low; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: In member function ‘void JumpTable::setDefaultBlock(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:554:35: error: ‘defaultBlock’ was not declared in this scope; did you mean ‘setDefaultBlock’? 554 | void setDefaultBlock(int4 bl) { defaultBlock = bl; } ///< Set out-edge of the switch destination considered to be \e default | ^~~~~~~~~~~~ | setDefaultBlock /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:288:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 288 | uint4 getHigh(void) const { return high; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:513:10: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 513 | vector label; ///< The case label for each explicit target | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:513:15: error: template argument 1 is invalid 513 | vector label; ///< The case label for each explicit target | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:513:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1505:5: error: ‘cur_rightmost’ was not declared in this scope 1505 | cur_rightmost = state.cur_rightmost; | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1505:27: error: ‘struct OperandResolve’ has no member named ‘cur_rightmost’ 1505 | cur_rightmost = state.cur_rightmost; | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:517:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 517 | uintb switchVarConsume; ///< Bits of the switch variable being consumed | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:518:3: error: ‘int4’ does not name a type; did you mean ‘int’? 518 | int4 defaultBlock; ///< The out-edge corresponding to the \e default switch destination (-1 = undefined) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2143:18: error: ‘getNumFixed’ was not declared in this scope 2143 | numfixed = getNumFixed(sbit,1,context); // How may patterns specify this bit | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:49:70: error: ‘reverse_index’ was not declared in this scope 49 | BlockEdge(FlowBlock *pt,uint4 lab,int4 rev) { label=lab; point=pt; reverse_index = rev; } ///< Constructor | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:519:3: error: ‘int4’ does not name a type; did you mean ‘int’? 519 | int4 lastBlock; ///< Block out-edge corresponding to last entry in the address table | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: In member function ‘bool JumpTable::IndexPair::operator<(const JumpTable::IndexPair&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:575:7: error: ‘blockPosition’ was not declared in this scope; did you mean ‘BlockCondition’? 575 | if (blockPosition != op2.blockPosition) return (blockPosition < op2.blockPosition); | ^~~~~~~~~~~~~ | BlockCondition /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:575:28: error: ‘const struct JumpTable::IndexPair’ has no member named ‘blockPosition’ 575 | if (blockPosition != op2.blockPosition) return (blockPosition < op2.blockPosition); | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:575:71: error: ‘const struct JumpTable::IndexPair’ has no member named ‘blockPosition’ 575 | if (blockPosition != op2.blockPosition) return (blockPosition < op2.blockPosition); | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:520:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 520 | uint4 maxtablesize; ///< Maximum table size we allow to be built (sanity check) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:107:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 107 | uint4 flags; ///< Collection of block_flags | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:521:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 521 | uint4 maxaddsub; ///< Maximum ADDs or SUBs to normalize | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:111:3: error: ‘int4’ does not name a type; did you mean ‘int’? 111 | int4 index; ///< Reference index for this block (reverse post order) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:305:11: error: ‘int4’ does not name a type; did you mean ‘int’? 305 | virtual int4 getSize(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1506:5: error: ‘cur_size’ was not declared in this scope 1506 | cur_size = state.size; | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1506:22: error: ‘struct OperandResolve’ has no member named ‘size’ 1506 | cur_size = state.size; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:522:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 522 | uint4 maxleftright; ///< Maximum shifts to normalize | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:112:3: error: ‘int4’ does not name a type; did you mean ‘int’? 112 | int4 visitcount; ///< A count of visits of this node for various algorithms | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1510:14: error: ‘struct OperandResolve’ has no member named ‘cur_rightmost’ 1510 | if ((state.cur_rightmost == -1)||(state.size == -1)) { | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1510:43: error: ‘struct OperandResolve’ has no member named ‘size’ 1510 | if ((state.cur_rightmost == -1)||(state.size == -1)) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1511:11: error: ‘struct OperandResolve’ has no member named ‘cur_rightmost’ 1511 | state.cur_rightmost = cur_rightmost; | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:523:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 523 | uint4 maxext; ///< Maximum extensions to normalize | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:113:3: error: ‘int4’ does not name a type; did you mean ‘int’? 113 | int4 numdesc; ///< Number of descendants of this block in spanning tree (+1) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:524:3: error: ‘int4’ does not name a type; did you mean ‘int’? 524 | int4 recoverystage; ///< 0=no stages recovered, 1=additional stage needed, 2=complete | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:529:3: error: ‘int4’ does not name a type; did you mean ‘int’? 529 | int4 block2Position(const FlowBlock *bl) const; ///< Convert a basic-block to an out-edge index from the switch. | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:319:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 319 | uint4 reloffset; // Relative offset | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:576:11: error: ‘addressIndex’ was not declared in this scope 576 | return (addressIndex < op2.addressIndex); | ^~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:576:30: error: ‘const struct JumpTable::IndexPair’ has no member named ‘addressIndex’ 576 | return (addressIndex < op2.addressIndex); | ^~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:539:3: error: ‘int4’ does not name a type; did you mean ‘int’? 539 | int4 getStage(void) const { return recoverystage; } ///< Return what stage of recovery this jump-table is in. | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2153:9: error: ‘startbit’ was not declared in this scope; did you mean ‘static’? 2153 | startbit = sbit; | ^~~~~~~~ | static /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: In static member function ‘static bool JumpTable::IndexPair::compareByPosition(const JumpTable::IndexPair&, const JumpTable::IndexPair&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:585:15: error: ‘const struct JumpTable::IndexPair’ has no member named ‘blockPosition’ 585 | return (op1.blockPosition < op2.blockPosition); | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:585:35: error: ‘const struct JumpTable::IndexPair’ has no member named ‘blockPosition’ 585 | return (op1.blockPosition < op2.blockPosition); | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:320:3: error: ‘int4’ does not name a type; did you mean ‘int’? 320 | int4 offsetbase; // Base operand to which offset is relative (-1=constructor start) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:540:3: error: ‘int4’ does not name a type; did you mean ‘int’? 540 | int4 numEntries(void) const { return addresstable.size(); } ///< Return the size of the address table for \b this jump-table | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:45:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 45 | uint4 label; ///< Label of the edge | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:321:3: error: ‘int4’ does not name a type; did you mean ‘int’? 321 | int4 minimumlength; // Minimum size of operand (within instruction tokens) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:541:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 541 | uintb getSwitchVarConsume(void) const { return switchVarConsume; } ///< Get bits of switch variable consumed by \b this table | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:47:3: error: ‘int4’ does not name a type; did you mean ‘int’? 47 | int4 reverse_index; ///< Index for edge coming other way | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1511:27: error: ‘cur_rightmost’ was not declared in this scope 1511 | state.cur_rightmost = cur_rightmost; | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:49:27: error: ‘uint4’ has not been declared 49 | BlockEdge(FlowBlock *pt,uint4 lab,int4 rev) { label=lab; point=pt; reverse_index = rev; } ///< Constructor | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1512:11: error: ‘struct OperandResolve’ has no member named ‘size’ 1512 | state.size = cur_size; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:49:37: error: ‘int4’ has not been declared 49 | BlockEdge(FlowBlock *pt,uint4 lab,int4 rev) { label=lab; point=pt; reverse_index = rev; } ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:322:3: error: ‘int4’ does not name a type; did you mean ‘int’? 322 | int4 hand; // Handle index | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:542:3: error: ‘int4’ does not name a type; did you mean ‘int’? 542 | int4 getDefaultBlock(void) const { return defaultBlock; } ///< Get the out-edge corresponding to the \e default switch destination | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:121:31: error: ‘uint4’ has not been declared 121 | void addInEdge(FlowBlock *b,uint4 lab); ///< Add an edge coming into \b this | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:546:24: error: ‘uint4’ has not been declared 546 | void setMaxTableSize(uint4 val) { maxtablesize = val; } ///< Set the maximum entries allowed in the address table | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:547:19: error: ‘uint4’ has not been declared 547 | void setNormMax(uint4 maddsub,uint4 mleftright,uint4 mext) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:547:33: error: ‘uint4’ has not been declared 547 | void setNormMax(uint4 maddsub,uint4 mleftright,uint4 mext) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:123:25: error: ‘int4’ has not been declared 123 | void halfDeleteInEdge(int4 slot); ///< Delete the \e in half of an edge, correcting indices | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:547:50: error: ‘uint4’ has not been declared 547 | void setNormMax(uint4 maddsub,uint4 mleftright,uint4 mext) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:124:26: error: ‘int4’ has not been declared 124 | void halfDeleteOutEdge(int4 slot); ///< Delete the \e out half of an edge, correcting indices | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:549:74: error: ‘uintb’ has not been declared 549 | void setOverride(const vector
&addrtable,const Address &naddr,uintb h,uintb sv); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:125:21: error: ‘int4’ has not been declared 125 | void removeInEdge(int4 slot); ///< Remove an incoming edge | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:549:82: error: ‘uintb’ has not been declared 549 | void setOverride(const vector
&addrtable,const Address &naddr,uintb h,uintb sv); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:126:22: error: ‘int4’ has not been declared 126 | void removeOutEdge(int4 slot); ///< Remove an outgoing edge | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:127:22: error: ‘int4’ has not been declared 127 | void replaceInEdge(int4 num,FlowBlock *b); ///< Make an incoming edge flow from a given block | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:128:23: error: ‘int4’ has not been declared 128 | void replaceOutEdge(int4 num,FlowBlock *b); ///< Make an outgoing edge flow to a given block | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:326:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 326 | uint4 flags; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:129:25: error: ‘int4’ has not been declared 129 | void replaceEdgesThru(int4 in,int4 out); ///< Remove \b this from flow between two blocks | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:129:33: error: ‘int4’ has not been declared 129 | void replaceEdgesThru(int4 in,int4 out); ///< Remove \b this from flow between two blocks | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:331:34: error: ‘int4’ has not been declared 331 | OperandSymbol(const string &nm,int4 index,Constructor *ct); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:131:23: error: ‘int4’ has not been declared 131 | void setOutEdgeFlag(int4 i,uint4 lab); ///< Apply an \e out edge label | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:131:30: error: ‘uint4’ has not been declared 131 | void setOutEdgeFlag(int4 i,uint4 lab); ///< Apply an \e out edge label | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:132:25: error: ‘int4’ has not been declared 132 | void clearOutEdgeFlag(int4 i,uint4 lab); ///< Remove an \e out edge label | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:132:32: error: ‘uint4’ has not been declared 132 | void clearOutEdgeFlag(int4 i,uint4 lab); ///< Remove an \e out edge label | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:142:16: error: ‘uint4’ has not been declared 142 | void setFlag(uint4 fl) { flags |= fl; } ///< Set a boolean property | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:143:18: error: ‘uint4’ has not been declared 143 | void clearFlag(uint4 fl) { flags &= ~fl; } ///< Clear a boolean property | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:550:3: error: ‘int4’ does not name a type; did you mean ‘int’? 550 | int4 numIndicesByBlock(const FlowBlock *bl) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:332:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 332 | uint4 getRelativeOffset(void) const { return reloffset; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:551:3: error: ‘int4’ does not name a type; did you mean ‘int’? 551 | int4 getIndexByBlock(const FlowBlock *bl,int4 i) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:552:29: error: ‘int4’ has not been declared 552 | Address getAddressByIndex(int4 i) const { return addresstable[i]; } ///< Get the i-th address table entry | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:554:24: error: ‘int4’ has not been declared 554 | void setDefaultBlock(int4 bl) { defaultBlock = bl; } ///< Set out-edge of the switch destination considered to be \e default | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:147:3: error: ‘int4’ does not name a type; did you mean ‘int’? 147 | int4 getIndex(void) const { return index; } ///< Get the index assigned to \b this block | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:556:40: error: ‘uintb’ has not been declared 556 | void addBlockToSwitch(BlockBasic *bl,uintb lab); ///< Force a given basic-block to be a switch destination | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:333:3: error: ‘int4’ does not name a type; did you mean ‘int’? 333 | int4 getOffsetBase(void) const { return offsetbase; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In constructor ‘BlockEdge::BlockEdge(FlowBlock*, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:49:49: error: ‘label’ was not declared in this scope 49 | BlockEdge(FlowBlock *pt,uint4 lab,int4 rev) { label=lab; point=pt; reverse_index = rev; } ///< Constructor | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:558:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 558 | uintb getLabelByIndex(int4 index) const { return label[index]; } ///< Given a \e case index, get its label | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:152:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 152 | uint4 getFlags(void) const { return flags; } ///< Get the block_flags properties | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2154:9: error: ‘bitsize’ was not declared in this scope 2154 | bitsize = 1; | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:156:31: error: ‘int4’ has not been declared 156 | virtual FlowBlock *subBlock(int4 i) const { return (FlowBlock *)0; } ///< Get the i-th component block | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:159:27: error: ‘int4’ has not been declared 159 | virtual void scopeBreak(int4 curexit,int4 curloopexit) {} ///< Mark unstructured edges that should be \e breaks | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:334:3: error: ‘int4’ does not name a type; did you mean ‘int’? 334 | int4 getMinimumLength(void) const { return minimumlength; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:159:40: error: ‘int4’ has not been declared 159 | virtual void scopeBreak(int4 curexit,int4 curloopexit) {} ///< Mark unstructured edges that should be \e breaks | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1512:18: error: ‘cur_size’ was not declared in this scope 1512 | state.size = cur_size; | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:161:37: error: ‘int4’ has not been declared 161 | virtual void printTree(ostream &s,int4 level) const; ///< Print tree structure of any blocks owned by \b this | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: In member function ‘bool JumpTable::isLabelled() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:536:47: error: request for member ‘empty’ in ‘((const JumpTable*)this)->JumpTable::label’, which is of non-class type ‘const int’ 536 | bool isLabelled(void) const { return !label.empty(); } ///< Return \b true if \e case labels are computed | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:337:3: error: ‘int4’ does not name a type; did you mean ‘int’? 337 | int4 getIndex(void) const { return hand; } | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:169:11: error: ‘int4’ does not name a type; did you mean ‘int’? 169 | virtual int4 flipInPlaceTest(vector &fliplist) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:190:22: error: ‘int4’ has not been declared 190 | void setVisitCount(int4 i) { visitcount = i; } ///< Set the number of times this block has been visited | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:351:11: error: ‘int4’ does not name a type; did you mean ‘int’? 351 | virtual int4 getSize(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:191:3: error: ‘int4’ does not name a type; did you mean ‘int’? 191 | int4 getVisitCount(void) const { return visitcount; } ///< Get the count of visits | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:192:22: error: ‘int4’ has not been declared 192 | void setGotoBranch(int4 i); ///< Mark a \e goto branch | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:193:25: error: ‘int4’ has not been declared 193 | void setDefaultSwitch(int4 i) { setOutEdgeFlag(i,f_defaultswitch_edge); } ///< Mark an edge as the switch default | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:202:20: error: ‘int4’ has not been declared 202 | void setLoopExit(int4 i) { setOutEdgeFlag(i,f_loop_exit_edge); } ///< Label the edge exiting \b this as a loop | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:203:22: error: ‘int4’ has not been declared 203 | void clearLoopExit(int4 i) { clearOutEdgeFlag(i,f_loop_exit_edge); } ///< Clear the loop exit edge | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:204:20: error: ‘int4’ has not been declared 204 | void setBackEdge(int4 i) { setOutEdgeFlag(i,f_back_edge); } ///< Label the \e back edge of a loop | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:209:21: error: ‘int4’ has not been declared 209 | FlowBlock *getOut(int4 i) { return outofthis[i].point; } ///< Get the i-th output FlowBlock | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:210:27: error: ‘int4’ has not been declared 210 | const FlowBlock *getOut(int4 i) const { return (const FlowBlock *) outofthis[i].point; } ///< Get i-th output FlowBlock | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc: In member function ‘virtual bool EquationOr::resolveOperandLeft(OperandResolve&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1549:3: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 1549 | int4 cur_rightmost = -1; // Initially we don't know our rightmost | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1550:7: error: expected ‘;’ before ‘cur_size’ 1550 | int4 cur_size = -1; // or size traversed since rightmost | ^~~~~~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:211:3: error: ‘int4’ does not name a type; did you mean ‘int’? 211 | int4 getOutRevIndex(int4 i) const { return outofthis[i].reverse_index; } ///< Get the input index of the i-th output FlowBlock | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:212:20: error: ‘int4’ has not been declared 212 | FlowBlock *getIn(int4 i) { return intothis[i].point; } ///< Get the i-th input FlowBlock | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1553:14: error: ‘struct OperandResolve’ has no member named ‘cur_rightmost’ 1553 | if ((state.cur_rightmost != -1)&&(state.size != -1)) { | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1553:43: error: ‘struct OperandResolve’ has no member named ‘size’ 1553 | if ((state.cur_rightmost != -1)&&(state.size != -1)) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:213:26: error: ‘int4’ has not been declared 213 | const FlowBlock *getIn(int4 i) const { return (const FlowBlock *) intothis[i].point; } ///< Get the i-th input FlowBlock | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:49:70: error: ‘reverse_index’ was not declared in this scope 49 | BlockEdge(FlowBlock *pt,uint4 lab,int4 rev) { label=lab; point=pt; reverse_index = rev; } ///< Constructor | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:353:42: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 353 | virtual void collectLocalValues(vector &results) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:353:47: error: template argument 1 is invalid 353 | virtual void collectLocalValues(vector &results) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:353:47: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:214:3: error: ‘int4’ does not name a type; did you mean ‘int’? 214 | int4 getInRevIndex(int4 i) const { return intothis[i].reverse_index; } ///< Get the output index of the i-th input FlowBlock | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:217:3: error: ‘int4’ does not name a type; did you mean ‘int’? 217 | int4 calcDepth(const FlowBlock *leaf) const; ///< Get the depth of the given component FlowBlock | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:107:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 107 | uint4 flags; ///< Collection of block_flags | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: In member function ‘void JumpTable::setMaxTableSize(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:546:37: error: ‘maxtablesize’ was not declared in this scope; did you mean ‘setMaxTableSize’? 546 | void setMaxTableSize(uint4 val) { maxtablesize = val; } ///< Set the maximum entries allowed in the address table | ^~~~~~~~~~~~ | setMaxTableSize /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2161:9: error: ‘startbit’ was not declared in this scope; did you mean ‘static’? 2161 | startbit = sbit; | ^~~~~~~~ | static /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:220:3: error: ‘int4’ does not name a type; did you mean ‘int’? 220 | int4 sizeOut(void) const { return outofthis.size(); } ///< Get the number of out edges | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:111:3: error: ‘int4’ does not name a type; did you mean ‘int’? 111 | int4 index; ///< Reference index for this block (reverse post order) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:221:3: error: ‘int4’ does not name a type; did you mean ‘int’? 221 | int4 sizeIn(void) const { return intothis.size(); } ///< Get the number of in edges | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:112:3: error: ‘int4’ does not name a type; did you mean ‘int’? 112 | int4 visitcount; ///< A count of visits of this node for various algorithms | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:224:17: error: ‘int4’ has not been declared 224 | bool isLoopIn(int4 i) const { return ((intothis[i].label & f_loop_edge)!=0); } ///< Is the i-th incoming edge a \e loop edge | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:225:18: error: ‘int4’ has not been declared 225 | bool isLoopOut(int4 i) const { return ((outofthis[i].label & f_loop_edge)!=0); } ///< Is the i-th outgoing edge a \e loop edge | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void OperandSymbol::setVariableLength()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:327:34: error: ‘flags’ was not declared in this scope 327 | void setVariableLength(void) { flags |= variable_len; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:113:3: error: ‘int4’ does not name a type; did you mean ‘int’? 113 | int4 numdesc; ///< Number of descendants of this block in spanning tree (+1) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:226:3: error: ‘int4’ does not name a type; did you mean ‘int’? 226 | int4 getInIndex(const FlowBlock *bl) const; ///< Get the incoming edge index for the given FlowBlock | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:227:3: error: ‘int4’ does not name a type; did you mean ‘int’? 227 | int4 getOutIndex(const FlowBlock *bl) const; ///< Get the outgoing edge index for the given FlowBlock | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:228:24: error: ‘int4’ has not been declared 228 | bool isDefaultBranch(int4 i) const { return ((outofthis[i].label & f_defaultswitch_edge)!=0); } ///< Is the i-th out edge the switch default edge | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1554:5: error: ‘cur_rightmost’ was not declared in this scope 1554 | cur_rightmost = state.cur_rightmost; | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1554:27: error: ‘struct OperandResolve’ has no member named ‘cur_rightmost’ 1554 | cur_rightmost = state.cur_rightmost; | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:237:21: error: ‘int4’ has not been declared 237 | bool isTreeEdgeIn(int4 i) const { return ((intothis[i].label & f_tree_edge)!=0); } ///< Is the i-th incoming edge part of the spanning tree | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:238:21: error: ‘int4’ has not been declared 238 | bool isBackEdgeIn(int4 i) const { return ((intothis[i].label & f_back_edge)!=0); } ///< Is the i-th incoming edge a \e back edge | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:239:22: error: ‘int4’ has not been declared 239 | bool isBackEdgeOut(int4 i) const { return ((outofthis[i].label & f_back_edge)!=0); } ///< Is the i-th outgoing edge a \e back edge | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:240:25: error: ‘int4’ has not been declared 240 | bool isIrreducibleOut(int4 i) const { return ((outofthis[i].label & f_irreducible)!=0); } ///< Is the i-th outgoing edge an irreducible edge | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:241:24: error: ‘int4’ has not been declared 241 | bool isIrreducibleIn(int4 i) const { return ((intothis[i].label & f_irreducible)!=0); } ///< Is the i-th incoming edge an irreducible edge | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:244:22: error: ‘int4’ has not been declared 244 | bool isDecisionOut(int4 i) const { return ((outofthis[i].label & (f_irreducible|f_back_edge|f_goto_edge))==0); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:247:21: error: ‘int4’ has not been declared 247 | bool isDecisionIn(int4 i) const { return ((intothis[i].label & (f_irreducible|f_back_edge|f_goto_edge))==0); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:250:21: error: ‘int4’ has not been declared 250 | bool isLoopDAGOut(int4 i) const { return ((outofthis[i].label & (f_irreducible|f_back_edge|f_loop_exit_edge|f_goto_edge))==0); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:253:20: error: ‘int4’ has not been declared 253 | bool isLoopDAGIn(int4 i) const { return ((intothis[i].label & (f_irreducible|f_back_edge|f_loop_exit_edge|f_goto_edge))==0); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:254:17: error: ‘int4’ has not been declared 254 | bool isGotoIn(int4 i) const { return ((intothis[i].label & (f_irreducible|f_goto_edge))!=0); } ///< Is the i-th incoming edge unstructured | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:255:18: error: ‘int4’ has not been declared 255 | bool isGotoOut(int4 i) const { return ((outofthis[i].label & (f_irreducible|f_goto_edge))!=0); } ///< Is the i-th outgoing edge unstructured | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: In member function ‘void JumpTable::setNormMax(int, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:548:5: error: ‘maxaddsub’ was not declared in this scope; did you mean ‘maddsub’? 548 | maxaddsub = maddsub; maxleftright = mleftright; maxext = mext; } ///< Set the switch variable normalization model restrictions | ^~~~~~~~~ | maddsub /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘bool OperandSymbol::isVariableLength() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:328:48: error: ‘flags’ was not declared in this scope 328 | bool isVariableLength(void) const { return ((flags&variable_len)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2162:9: error: ‘bitsize’ was not declared in this scope 2162 | bitsize = 1; | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1555:5: error: ‘cur_size’ was not declared in this scope 1555 | cur_size = state.size; | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1555:22: error: ‘struct OperandResolve’ has no member named ‘size’ 1555 | cur_size = state.size; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:121:31: error: ‘uint4’ has not been declared 121 | void addInEdge(FlowBlock *b,uint4 lab); ///< Add an edge coming into \b this | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:123:25: error: ‘int4’ has not been declared 123 | void halfDeleteInEdge(int4 slot); ///< Delete the \e in half of an edge, correcting indices | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1559:14: error: ‘struct OperandResolve’ has no member named ‘cur_rightmost’ 1559 | if ((state.cur_rightmost == -1)||(state.size == -1)) { | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:124:26: error: ‘int4’ has not been declared 124 | void halfDeleteOutEdge(int4 slot); ///< Delete the \e out half of an edge, correcting indices | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1559:43: error: ‘struct OperandResolve’ has no member named ‘size’ 1559 | if ((state.cur_rightmost == -1)||(state.size == -1)) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:125:21: error: ‘int4’ has not been declared 125 | void removeInEdge(int4 slot); ///< Remove an incoming edge | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1560:11: error: ‘struct OperandResolve’ has no member named ‘cur_rightmost’ 1560 | state.cur_rightmost = cur_rightmost; | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:126:22: error: ‘int4’ has not been declared 126 | void removeOutEdge(int4 slot); ///< Remove an outgoing edge | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘void FlowBlock::setFlag(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:142:28: error: ‘flags’ was not declared in this scope 142 | void setFlag(uint4 fl) { flags |= fl; } ///< Set a boolean property | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:127:22: error: ‘int4’ has not been declared 127 | void replaceInEdge(int4 num,FlowBlock *b); ///< Make an incoming edge flow from a given block | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:128:23: error: ‘int4’ has not been declared 128 | void replaceOutEdge(int4 num,FlowBlock *b); ///< Make an outgoing edge flow to a given block | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:129:25: error: ‘int4’ has not been declared 129 | void replaceEdgesThru(int4 in,int4 out); ///< Remove \b this from flow between two blocks | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:129:33: error: ‘int4’ has not been declared 129 | void replaceEdgesThru(int4 in,int4 out); ///< Remove \b this from flow between two blocks | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:131:23: error: ‘int4’ has not been declared 131 | void setOutEdgeFlag(int4 i,uint4 lab); ///< Apply an \e out edge label | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:131:30: error: ‘uint4’ has not been declared 131 | void setOutEdgeFlag(int4 i,uint4 lab); ///< Apply an \e out edge label | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:132:25: error: ‘int4’ has not been declared 132 | void clearOutEdgeFlag(int4 i,uint4 lab); ///< Remove an \e out edge label | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:132:32: error: ‘uint4’ has not been declared 132 | void clearOutEdgeFlag(int4 i,uint4 lab); ///< Remove an \e out edge label | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:142:16: error: ‘uint4’ has not been declared 142 | void setFlag(uint4 fl) { flags |= fl; } ///< Set a boolean property | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:143:18: error: ‘uint4’ has not been declared 143 | void clearFlag(uint4 fl) { flags &= ~fl; } ///< Clear a boolean property | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void OperandSymbol::setCodeAddress()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:340:31: error: ‘flags’ was not declared in this scope 340 | void setCodeAddress(void) { flags |= code_address; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:147:3: error: ‘int4’ does not name a type; did you mean ‘int’? 147 | int4 getIndex(void) const { return index; } ///< Get the index assigned to \b this block | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:548:26: error: ‘maxleftright’ was not declared in this scope; did you mean ‘mleftright’? 548 | maxaddsub = maddsub; maxleftright = mleftright; maxext = mext; } ///< Set the switch variable normalization model restrictions | ^~~~~~~~~~~~ | mleftright /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:152:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 152 | uint4 getFlags(void) const { return flags; } ///< Get the block_flags properties | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:156:31: error: ‘int4’ has not been declared 156 | virtual FlowBlock *subBlock(int4 i) const { return (FlowBlock *)0; } ///< Get the i-th component block | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:159:27: error: ‘int4’ has not been declared 159 | virtual void scopeBreak(int4 curexit,int4 curloopexit) {} ///< Mark unstructured edges that should be \e breaks | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:159:40: error: ‘int4’ has not been declared 159 | virtual void scopeBreak(int4 curexit,int4 curloopexit) {} ///< Mark unstructured edges that should be \e breaks | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:161:37: error: ‘int4’ has not been declared 161 | virtual void printTree(ostream &s,int4 level) const; ///< Print tree structure of any blocks owned by \b this | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘void FlowBlock::clearFlag(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:143:30: error: ‘flags’ was not declared in this scope 143 | void clearFlag(uint4 fl) { flags &= ~fl; } ///< Clear a boolean property | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:169:11: error: ‘int4’ does not name a type; did you mean ‘int’? 169 | virtual int4 flipInPlaceTest(vector &fliplist) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘bool OperandSymbol::isCodeAddress() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:341:45: error: ‘flags’ was not declared in this scope 341 | bool isCodeAddress(void) const { return ((flags&code_address)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:190:22: error: ‘int4’ has not been declared 190 | void setVisitCount(int4 i) { visitcount = i; } ///< Set the number of times this block has been visited | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2171:5: error: ‘maxlength’ was not declared in this scope 2171 | maxlength = 8*getMaximumLength(context); | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1560:27: error: ‘cur_rightmost’ was not declared in this scope 1560 | state.cur_rightmost = cur_rightmost; | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:191:3: error: ‘int4’ does not name a type; did you mean ‘int’? 191 | int4 getVisitCount(void) const { return visitcount; } ///< Get the count of visits | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1561:11: error: ‘struct OperandResolve’ has no member named ‘size’ 1561 | state.size = cur_size; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:192:22: error: ‘int4’ has not been declared 192 | void setGotoBranch(int4 i); ///< Mark a \e goto branch | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:548:53: error: ‘maxext’ was not declared in this scope; did you mean ‘mext’? 548 | maxaddsub = maddsub; maxleftright = mleftright; maxext = mext; } ///< Set the switch variable normalization model restrictions | ^~~~~~ | mext /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:193:25: error: ‘int4’ has not been declared 193 | void setDefaultSwitch(int4 i) { setOutEdgeFlag(i,f_defaultswitch_edge); } ///< Mark an edge as the switch default | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:202:20: error: ‘int4’ has not been declared 202 | void setLoopExit(int4 i) { setOutEdgeFlag(i,f_loop_exit_edge); } ///< Label the edge exiting \b this as a loop | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:203:22: error: ‘int4’ has not been declared 203 | void clearLoopExit(int4 i) { clearOutEdgeFlag(i,f_loop_exit_edge); } ///< Clear the loop exit edge | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:204:20: error: ‘int4’ has not been declared 204 | void setBackEdge(int4 i) { setOutEdgeFlag(i,f_back_edge); } ///< Label the \e back edge of a loop | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:209:21: error: ‘int4’ has not been declared 209 | FlowBlock *getOut(int4 i) { return outofthis[i].point; } ///< Get the i-th output FlowBlock | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:210:27: error: ‘int4’ has not been declared 210 | const FlowBlock *getOut(int4 i) const { return (const FlowBlock *) outofthis[i].point; } ///< Get i-th output FlowBlock | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:211:3: error: ‘int4’ does not name a type; did you mean ‘int’? 211 | int4 getOutRevIndex(int4 i) const { return outofthis[i].reverse_index; } ///< Get the input index of the i-th output FlowBlock | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:212:20: error: ‘int4’ has not been declared 212 | FlowBlock *getIn(int4 i) { return intothis[i].point; } ///< Get the i-th input FlowBlock | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:213:26: error: ‘int4’ has not been declared 213 | const FlowBlock *getIn(int4 i) const { return (const FlowBlock *) intothis[i].point; } ///< Get the i-th input FlowBlock | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void OperandSymbol::setOffsetIrrelevant()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:342:36: error: ‘flags’ was not declared in this scope 342 | void setOffsetIrrelevant(void) { flags |= offset_irrel; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:214:3: error: ‘int4’ does not name a type; did you mean ‘int’? 214 | int4 getInRevIndex(int4 i) const { return intothis[i].reverse_index; } ///< Get the output index of the i-th input FlowBlock | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:217:3: error: ‘int4’ does not name a type; did you mean ‘int’? 217 | int4 calcDepth(const FlowBlock *leaf) const; ///< Get the depth of the given component FlowBlock | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘void FlowBlock::setVisitCount(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:190:32: error: ‘visitcount’ was not declared in this scope; did you mean ‘setVisitCount’? 190 | void setVisitCount(int4 i) { visitcount = i; } ///< Set the number of times this block has been visited | ^~~~~~~~~~ | setVisitCount /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1561:18: error: ‘cur_size’ was not declared in this scope 1561 | state.size = cur_size; | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:220:3: error: ‘int4’ does not name a type; did you mean ‘int’? 220 | int4 sizeOut(void) const { return outofthis.size(); } ///< Get the number of out edges | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:221:3: error: ‘int4’ does not name a type; did you mean ‘int’? 221 | int4 sizeIn(void) const { return intothis.size(); } ///< Get the number of in edges | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:224:17: error: ‘int4’ has not been declared 224 | bool isLoopIn(int4 i) const { return ((intothis[i].label & f_loop_edge)!=0); } ///< Is the i-th incoming edge a \e loop edge | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘bool OperandSymbol::isOffsetIrrelevant() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:343:50: error: ‘flags’ was not declared in this scope 343 | bool isOffsetIrrelevant(void) const { return ((flags&offset_irrel)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:225:18: error: ‘int4’ has not been declared 225 | bool isLoopOut(int4 i) const { return ((outofthis[i].label & f_loop_edge)!=0); } ///< Is the i-th outgoing edge a \e loop edge | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: In member function ‘void JumpTable::setDefaultBlock(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:554:35: error: ‘defaultBlock’ was not declared in this scope; did you mean ‘setDefaultBlock’? 554 | void setDefaultBlock(int4 bl) { defaultBlock = bl; } ///< Set out-edge of the switch destination considered to be \e default | ^~~~~~~~~~~~ | setDefaultBlock /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:226:3: error: ‘int4’ does not name a type; did you mean ‘int’? 226 | int4 getInIndex(const FlowBlock *bl) const; ///< Get the incoming edge index for the given FlowBlock | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:227:3: error: ‘int4’ does not name a type; did you mean ‘int’? 227 | int4 getOutIndex(const FlowBlock *bl) const; ///< Get the outgoing edge index for the given FlowBlock | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:228:24: error: ‘int4’ has not been declared 228 | bool isDefaultBranch(int4 i) const { return ((outofthis[i].label & f_defaultswitch_edge)!=0); } ///< Is the i-th out edge the switch default edge | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isMark() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:194:38: error: ‘flags’ was not declared in this scope 194 | bool isMark(void) const { return ((flags&f_mark)!=0); } ///< Return \b true if \b this block has been marked | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:237:21: error: ‘int4’ has not been declared 237 | bool isTreeEdgeIn(int4 i) const { return ((intothis[i].label & f_tree_edge)!=0); } ///< Is the i-th incoming edge part of the spanning tree | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:238:21: error: ‘int4’ has not been declared 238 | bool isBackEdgeIn(int4 i) const { return ((intothis[i].label & f_back_edge)!=0); } ///< Is the i-th incoming edge a \e back edge | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:239:22: error: ‘int4’ has not been declared 239 | bool isBackEdgeOut(int4 i) const { return ((outofthis[i].label & f_back_edge)!=0); } ///< Is the i-th outgoing edge a \e back edge | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:240:25: error: ‘int4’ has not been declared 240 | bool isIrreducibleOut(int4 i) const { return ((outofthis[i].label & f_irreducible)!=0); } ///< Is the i-th outgoing edge an irreducible edge | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:241:24: error: ‘int4’ has not been declared 241 | bool isIrreducibleIn(int4 i) const { return ((intothis[i].label & f_irreducible)!=0); } ///< Is the i-th incoming edge an irreducible edge | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:244:22: error: ‘int4’ has not been declared 244 | bool isDecisionOut(int4 i) const { return ((outofthis[i].label & (f_irreducible|f_back_edge|f_goto_edge))==0); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:247:21: error: ‘int4’ has not been declared 247 | bool isDecisionIn(int4 i) const { return ((intothis[i].label & (f_irreducible|f_back_edge|f_goto_edge))==0); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:250:21: error: ‘int4’ has not been declared 250 | bool isLoopDAGOut(int4 i) const { return ((outofthis[i].label & (f_irreducible|f_back_edge|f_loop_exit_edge|f_goto_edge))==0); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:253:20: error: ‘int4’ has not been declared 253 | bool isLoopDAGIn(int4 i) const { return ((intothis[i].label & (f_irreducible|f_back_edge|f_loop_exit_edge|f_goto_edge))==0); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:254:17: error: ‘int4’ has not been declared 254 | bool isGotoIn(int4 i) const { return ((intothis[i].label & (f_irreducible|f_goto_edge))!=0); } ///< Is the i-th incoming edge unstructured | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:255:18: error: ‘int4’ has not been declared 255 | bool isGotoOut(int4 i) const { return ((outofthis[i].label & (f_irreducible|f_goto_edge))!=0); } ///< Is the i-th outgoing edge unstructured | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc: In member function ‘virtual bool EquationCat::resolveOperandLeft(OperandResolve&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1600:3: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 1600 | int4 cur_base = state.base; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1601:7: error: expected ‘;’ before ‘cur_offset’ 1601 | int4 cur_offset = state.offset; | ^~~~~~~~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1604:11: error: ‘struct OperandResolve’ has no member named ‘offset’ 1604 | state.offset += left->getTokenPattern().getMinimumLength(); // But add to its size | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1604:45: error: ‘const class TokenPattern’ has no member named ‘getMinimumLength’ 1604 | state.offset += left->getTokenPattern().getMinimumLength(); // But add to its size | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1606:18: error: ‘struct OperandResolve’ has no member named ‘cur_rightmost’ 1606 | else if (state.cur_rightmost != -1) { | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1607:11: error: ‘struct OperandResolve’ has no member named ‘base’ 1607 | state.base = state.cur_rightmost; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1607:24: error: ‘struct OperandResolve’ has no member named ‘cur_rightmost’ 1607 | state.base = state.cur_rightmost; | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1608:11: error: ‘struct OperandResolve’ has no member named ‘offset’ 1608 | state.offset = state.size; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1608:26: error: ‘struct OperandResolve’ has no member named ‘size’ 1608 | state.offset = state.size; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1610:18: error: ‘struct OperandResolve’ has no member named ‘size’ 1610 | else if (state.size != -1) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void OperandSymbol::setMark()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:344:24: error: ‘flags’ was not declared in this scope 344 | void setMark(void) { flags |= marked; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1611:11: error: ‘struct OperandResolve’ has no member named ‘offset’ 1611 | state.offset += state.size; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1611:27: error: ‘struct OperandResolve’ has no member named ‘size’ 1611 | state.offset += state.size; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1614:11: error: ‘struct OperandResolve’ has no member named ‘base’ 1614 | state.base = -2; // We have no anchor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1616:7: error: expected ‘;’ before ‘cur_rightmost’ 1616 | int4 cur_rightmost = state.cur_rightmost; | ^~~~~~~~~~~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1617:7: error: expected ‘;’ before ‘cur_size’ 1617 | int4 cur_size = state.size; | ^~~~~~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1620:9: error: ‘struct OperandResolve’ has no member named ‘base’ 1620 | state.base = cur_base; // Restore base and offset | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2171:19: error: ‘getMaximumLength’ was not declared in this scope 2171 | maxlength = 8*getMaximumLength(context); | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘void FlowBlock::setMark()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:195:24: error: ‘flags’ was not declared in this scope 195 | void setMark(void) { flags |= f_mark; } ///< Mark \b this block | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘void FlowBlock::setFlag(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:142:28: error: ‘flags’ was not declared in this scope 142 | void setFlag(uint4 fl) { flags |= fl; } ///< Set a boolean property | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: In member function ‘bool JumpTable::IndexPair::operator<(const JumpTable::IndexPair&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:575:7: error: ‘blockPosition’ was not declared in this scope; did you mean ‘BlockCondition’? 575 | if (blockPosition != op2.blockPosition) return (blockPosition < op2.blockPosition); | ^~~~~~~~~~~~~ | BlockCondition /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:575:28: error: ‘const struct JumpTable::IndexPair’ has no member named ‘blockPosition’ 575 | if (blockPosition != op2.blockPosition) return (blockPosition < op2.blockPosition); | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:575:71: error: ‘const struct JumpTable::IndexPair’ has no member named ‘blockPosition’ 575 | if (blockPosition != op2.blockPosition) return (blockPosition < op2.blockPosition); | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void OperandSymbol::clearMark()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:345:26: error: ‘flags’ was not declared in this scope 345 | void clearMark(void) { flags &= ~((uint4)marked); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2172:9: error: ‘size’ was not declared in this scope 2172 | for(size=2;size <= 8;++size) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1620:16: error: ‘cur_base’ was not declared in this scope 1620 | state.base = cur_base; // Restore base and offset | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.cc:1621:9: error: ‘struct OperandResolve’ has no member named ‘offset’ 1621 | state.offset = cur_offset; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘void FlowBlock::clearMark()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:196:26: error: ‘flags’ was not declared in this scope 196 | void clearMark(void) { flags &= ~f_mark; } ///< Clear any mark on \b this block | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:345:38: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 345 | void clearMark(void) { flags &= ~((uint4)marked); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:345:44: error: expected ‘)’ before ‘marked’ 345 | void clearMark(void) { flags &= ~((uint4)marked); } | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:345:36: note: to match this ‘(’ 345 | void clearMark(void) { flags &= ~((uint4)marked); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘void FlowBlock::clearFlag(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:143:30: error: ‘flags’ was not declared in this scope 143 | void clearFlag(uint4 fl) { flags &= ~fl; } ///< Clear a boolean property | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘void FlowBlock::setDonothingLoop()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:197:33: error: ‘flags’ was not declared in this scope 197 | void setDonothingLoop(void) { flags |= f_donothing_loop; } ///< Label \b this as a \e do \e nothing loop | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2173:11: error: ‘sbit’ was not declared in this scope 2173 | for(sbit=0;sbit &fliplist) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2187:5: error: ‘bitsize’ was not declared in this scope 2187 | bitsize = 0; // treat the node as terminal | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:190:22: error: ‘int4’ has not been declared 190 | void setVisitCount(int4 i) { visitcount = i; } ///< Set the number of times this block has been visited | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:191:3: error: ‘int4’ does not name a type; did you mean ‘int’? 191 | int4 getVisitCount(void) const { return visitcount; } ///< Get the count of visits | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isDuplicated() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:201:44: error: ‘flags’ was not declared in this scope 201 | bool isDuplicated(void) const { return ((flags&f_duplicate_block)!=0); } ///< Return \b true if \b this is a \e duplicated block | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:192:22: error: ‘int4’ has not been declared 192 | void setGotoBranch(int4 i); ///< Mark a \e goto branch | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:193:25: error: ‘int4’ has not been declared 193 | void setDefaultSwitch(int4 i) { setOutEdgeFlag(i,f_defaultswitch_edge); } ///< Mark an edge as the switch default | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:475:3: error: ‘int4’ does not name a type; did you mean ‘int’? 475 | int4 minimumlength; // Minimum length taken up by this constructor in bytes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:202:20: error: ‘int4’ has not been declared 202 | void setLoopExit(int4 i) { setOutEdgeFlag(i,f_loop_exit_edge); } ///< Label the edge exiting \b this as a loop | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:203:22: error: ‘int4’ has not been declared 203 | void clearLoopExit(int4 i) { clearOutEdgeFlag(i,f_loop_exit_edge); } ///< Clear the loop exit edge | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:204:20: error: ‘int4’ has not been declared 204 | void setBackEdge(int4 i) { setOutEdgeFlag(i,f_back_edge); } ///< Label the \e back edge of a loop | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::hasInteriorGoto() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:232:47: error: ‘flags’ was not declared in this scope 232 | bool hasInteriorGoto(void) const { return ((flags & f_interior_gotoout)!=0); } ///< Is there an unstructured goto out of \b this block's interior | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:209:21: error: ‘int4’ has not been declared 209 | FlowBlock *getOut(int4 i) { return outofthis[i].point; } ///< Get the i-th output FlowBlock | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:210:27: error: ‘int4’ has not been declared 210 | const FlowBlock *getOut(int4 i) const { return (const FlowBlock *) outofthis[i].point; } ///< Get i-th output FlowBlock | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:211:3: error: ‘int4’ does not name a type; did you mean ‘int’? 211 | int4 getOutRevIndex(int4 i) const { return outofthis[i].reverse_index; } ///< Get the input index of the i-th output FlowBlock | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:476:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 476 | uintm id; // Unique id of constructor within subtable | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:212:20: error: ‘int4’ has not been declared 212 | FlowBlock *getIn(int4 i) { return intothis[i].point; } ///< Get the i-th input FlowBlock | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:213:26: error: ‘int4’ has not been declared 213 | const FlowBlock *getIn(int4 i) const { return (const FlowBlock *) intothis[i].point; } ///< Get the i-th input FlowBlock | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:477:3: error: ‘int4’ does not name a type; did you mean ‘int’? 477 | int4 firstwhitespace; // Index of first whitespace piece in -printpiece- | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:214:3: error: ‘int4’ does not name a type; did you mean ‘int’? 214 | int4 getInRevIndex(int4 i) const { return intothis[i].reverse_index; } ///< Get the output index of the i-th input FlowBlock | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2190:44: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 2190 | void DecisionNode::consistentValues(vector &bins,DisjointPattern *pat) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2190:49: error: template argument 1 is invalid 2190 | void DecisionNode::consistentValues(vector &bins,DisjointPattern *pat) | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2190:49: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::getFlipPath() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:205:43: error: ‘flags’ was not declared in this scope 205 | bool getFlipPath(void) const { return ((flags & f_flip_path)!=0); } ///< Have out edges been flipped | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:478:3: error: ‘int4’ does not name a type; did you mean ‘int’? 478 | int4 flowthruindex; // if >=0 then print only a single operand no markup | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:217:3: error: ‘int4’ does not name a type; did you mean ‘int’? 217 | int4 calcDepth(const FlowBlock *leaf) const; ///< Get the depth of the given component FlowBlock | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isEntryPoint() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:233:44: error: ‘flags’ was not declared in this scope 233 | bool isEntryPoint(void) const { return ((flags&f_entry_point)!=0); } ///< Is the entry point of the function | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isLoopIn(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:224:54: error: ‘const value_type’ {aka ‘const struct BlockEdge’} has no member named ‘label’ 224 | bool isLoopIn(int4 i) const { return ((intothis[i].label & f_loop_edge)!=0); } ///< Is the i-th incoming edge a \e loop edge | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isLoopOut(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:225:56: error: ‘const value_type’ {aka ‘const struct BlockEdge’} has no member named ‘label’ 225 | bool isLoopOut(int4 i) const { return ((outofthis[i].label & f_loop_edge)!=0); } ///< Is the i-th outgoing edge a \e loop edge | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isDefaultBranch(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:228:62: error: ‘const value_type’ {aka ‘const struct BlockEdge’} has no member named ‘label’ 228 | bool isDefaultBranch(int4 i) const { return ((outofthis[i].label & f_defaultswitch_edge)!=0); } ///< Is the i-th out edge the switch default edge | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:479:3: error: ‘int4’ does not name a type; did you mean ‘int’? 479 | int4 lineno; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:220:3: error: ‘int4’ does not name a type; did you mean ‘int’? 220 | int4 sizeOut(void) const { return outofthis.size(); } ///< Get the number of out edges | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:480:3: error: ‘int4’ does not name a type; did you mean ‘int’? 480 | int4 src_index; //source file index | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:221:3: error: ‘int4’ does not name a type; did you mean ‘int’? 221 | int4 sizeIn(void) const { return intothis.size(); } ///< Get the number of in edges | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:224:17: error: ‘int4’ has not been declared 224 | bool isLoopIn(int4 i) const { return ((intothis[i].label & f_loop_edge)!=0); } ///< Is the i-th incoming edge a \e loop edge | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:225:18: error: ‘int4’ has not been declared 225 | bool isLoopOut(int4 i) const { return ((outofthis[i].label & f_loop_edge)!=0); } ///< Is the i-th outgoing edge a \e loop edge | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:489:25: error: ‘int4’ has not been declared 489 | void setMinimumLength(int4 l) { minimumlength = l; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:226:3: error: ‘int4’ does not name a type; did you mean ‘int’? 226 | int4 getInIndex(const FlowBlock *bl) const; ///< Get the incoming edge index for the given FlowBlock | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:490:3: error: ‘int4’ does not name a type; did you mean ‘int’? 490 | int4 getMinimumLength(void) const { return minimumlength; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:491:14: error: ‘uintm’ has not been declared 491 | void setId(uintm i) { id = i; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘void DecisionNode::consistentValues(int&, DisjointPattern*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2196:3: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 2196 | uintm m = (bitsize==8*sizeof(uintm)) ? 0 : (((uintm)1)<getMask(startbit,bitsize,contextdecision); | ^~~~~~~~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2199:8: error: expected ‘;’ before ‘commonValue’ 2199 | uintm commonValue = commonMask & pat->getValue(startbit,bitsize,contextdecision); | ^~~~~~~~~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2200:8: error: expected ‘;’ before ‘dontCareMask’ 2200 | uintm dontCareMask = m^commonMask; | ^~~~~~~~~~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isDonothingLoop() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:235:47: error: ‘flags’ was not declared in this scope 235 | bool isDonothingLoop(void) const { return ((flags&f_donothing_loop)!=0); } ///< Is \b this a \e do \e nothing block | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2202:12: error: expected ‘;’ before ‘i’ 2202 | for(uintm i=0;i<=dontCareMask;++i) { // Iterate over values that contain all don't care bits | ^~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isUnstructuredTarget() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:230:52: error: ‘flags’ was not declared in this scope 230 | bool isUnstructuredTarget(void) const { return ((flags & f_unstructured_targ)!=0); } ///< Is \b this the target of an unstructured goto | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:505:3: error: ‘int4’ does not name a type; did you mean ‘int’? 505 | int4 getNumOperands(void) const { return operands.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:506:29: error: ‘int4’ has not been declared 506 | OperandSymbol *getOperand(int4 i) const { return operands[i]; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:509:31: error: ‘int4’ has not been declared 509 | ConstructTpl *getNamedTempl(int4 secnum) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:510:3: error: ‘int4’ does not name a type; did you mean ‘int’? 510 | int4 getNumSections(void) const { return namedtempl.size(); } | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘void FlowBlock::setFlag(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:142:28: error: ‘flags’ was not declared in this scope 142 | void setFlag(uint4 fl) { flags |= fl; } ///< Set a boolean property | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isDead() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:236:38: error: ‘flags’ was not declared in this scope 236 | bool isDead(void) const { return ((flags & f_dead)!=0); } ///< Is \b this block dead | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2202:17: error: ‘i’ was not declared in this scope 2202 | for(uintm i=0;i<=dontCareMask;++i) { // Iterate over values that contain all don't care bits | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isTreeEdgeIn(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:237:58: error: ‘const value_type’ {aka ‘const struct BlockEdge’} has no member named ‘label’ 237 | bool isTreeEdgeIn(int4 i) const { return ((intothis[i].label & f_tree_edge)!=0); } ///< Is the i-th incoming edge part of the spanning tree | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isInteriorGotoTarget() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:231:52: error: ‘flags’ was not declared in this scope 231 | bool isInteriorGotoTarget(void) const { return ((flags & f_interior_gotoin)!=0); } ///< Is there an unstructured goto to \b this block's interior | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isBackEdgeIn(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:238:58: error: ‘const value_type’ {aka ‘const struct BlockEdge’} has no member named ‘label’ 238 | bool isBackEdgeIn(int4 i) const { return ((intothis[i].label & f_back_edge)!=0); } ///< Is the i-th incoming edge a \e back edge | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isBackEdgeOut(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:239:60: error: ‘const value_type’ {aka ‘const struct BlockEdge’} has no member named ‘label’ 239 | bool isBackEdgeOut(int4 i) const { return ((outofthis[i].label & f_back_edge)!=0); } ///< Is the i-th outgoing edge a \e back edge | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isIrreducibleOut(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:240:63: error: ‘const value_type’ {aka ‘const struct BlockEdge’} has no member named ‘label’ 240 | bool isIrreducibleOut(int4 i) const { return ((outofthis[i].label & f_irreducible)!=0); } ///< Is the i-th outgoing edge an irreducible edge | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isIrreducibleIn(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:241:61: error: ‘const value_type’ {aka ‘const struct BlockEdge’} has no member named ‘label’ 241 | bool isIrreducibleIn(int4 i) const { return ((intothis[i].label & f_irreducible)!=0); } ///< Is the i-th incoming edge an irreducible edge | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isDecisionOut(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:244:60: error: ‘const value_type’ {aka ‘const struct BlockEdge’} has no member named ‘label’ 244 | bool isDecisionOut(int4 i) const { return ((outofthis[i].label & (f_irreducible|f_back_edge|f_goto_edge))==0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isDecisionIn(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:247:58: error: ‘const value_type’ {aka ‘const struct BlockEdge’} has no member named ‘label’ 247 | bool isDecisionIn(int4 i) const { return ((intothis[i].label & (f_irreducible|f_back_edge|f_goto_edge))==0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isLoopDAGOut(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:250:59: error: ‘const value_type’ {aka ‘const struct BlockEdge’} has no member named ‘label’ 250 | bool isLoopDAGOut(int4 i) const { return ((outofthis[i].label & (f_irreducible|f_back_edge|f_loop_exit_edge|f_goto_edge))==0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:521:36: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 521 | void markSubtableOperands(vector &check) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:521:40: error: template argument 1 is invalid 521 | void markSubtableOperands(vector &check) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:521:40: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isLoopDAGIn(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:253:57: error: ‘const value_type’ {aka ‘const struct BlockEdge’} has no member named ‘label’ 253 | bool isLoopDAGIn(int4 i) const { return ((intothis[i].label & (f_irreducible|f_back_edge|f_loop_exit_edge|f_goto_edge))==0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isGotoIn(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:254:54: error: ‘const value_type’ {aka ‘const struct BlockEdge’} has no member named ‘label’ 254 | bool isGotoIn(int4 i) const { return ((intothis[i].label & (f_irreducible|f_goto_edge))!=0); } ///< Is the i-th incoming edge unstructured | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isGotoOut(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:255:56: error: ‘const value_type’ {aka ‘const struct BlockEdge’} has no member named ‘label’ 255 | bool isGotoOut(int4 i) const { return ((outofthis[i].label & (f_irreducible|f_goto_edge))!=0); } ///< Is the i-th outgoing edge unstructured | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘void FlowBlock::clearFlag(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:143:30: error: ‘flags’ was not declared in this scope 143 | void clearFlag(uint4 fl) { flags &= ~fl; } ///< Clear a boolean property | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::hasInteriorGoto() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:232:47: error: ‘flags’ was not declared in this scope 232 | bool hasInteriorGoto(void) const { return ((flags & f_interior_gotoout)!=0); } ///< Is there an unstructured goto out of \b this block's interior | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:522:35: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 522 | void collectLocalExports(vector &results) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:522:40: error: template argument 1 is invalid 522 | void collectLocalExports(vector &results) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:522:40: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isEntryPoint() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:233:44: error: ‘flags’ was not declared in this scope 233 | bool isEntryPoint(void) const { return ((flags&f_entry_point)!=0); } ///< Is the entry point of the function | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:274:23: error: ‘int4’ has not been declared 274 | void forceOutputNum(int4 i); ///< Force number of outputs | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:277:23: error: ‘uint4’ has not been declared 277 | void clearEdgeFlags(uint4 flags); ///< Clear a set of properties from all edges in the graph | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:280:60: error: ‘int4’ has not been declared 280 | bool findIrreducible(const vector &preorder,int4 &irreduciblecount); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:283:19: error: ‘int4’ has not been declared 283 | void swapBlocks(int4 i,int4 j); ///< Swap the positions two component FlowBlocks | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:283:26: error: ‘int4’ has not been declared 283 | void swapBlocks(int4 i,int4 j); ///< Swap the positions two component FlowBlocks | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:284:43: error: ‘uint4’ has not been declared 284 | static void markCopyBlock(FlowBlock *bl,uint4 fl); ///< Set properties on the first leaf FlowBlock | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘void FlowBlock::setVisitCount(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:190:32: error: ‘visitcount’ was not declared in this scope; did you mean ‘setVisitCount’? 190 | void setVisitCount(int4 i) { visitcount = i; } ///< Set the number of times this block has been visited | ^~~~~~~~~~ | setVisitCount /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2202:20: error: ‘dontCareMask’ was not declared in this scope 2202 | for(uintm i=0;i<=dontCareMask;++i) { // Iterate over values that contain all don't care bits | ^~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2204:10: error: request for member ‘push_back’ in ‘bins’, which is of non-class type ‘int’ 2204 | bins.push_back( commonValue | i ); // add 1 bits into full value and store | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:289:3: error: ‘int4’ does not name a type; did you mean ‘int’? 289 | int4 getSize(void) const { return list.size(); } ///< Get the number of components | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:290:23: error: ‘int4’ has not been declared 290 | FlowBlock *getBlock(int4 i) const { return list[i]; } ///< Get the i-th component | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:292:31: error: ‘int4’ has not been declared 292 | virtual FlowBlock *subBlock(int4 i) const { return list[i]; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:295:27: error: ‘int4’ has not been declared 295 | virtual void scopeBreak(int4 curexit,int4 curloopexit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isSwitchOut() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:234:43: error: ‘flags’ was not declared in this scope 234 | bool isSwitchOut(void) const { return ((flags&f_switch_out)!=0); } ///< Is \b this a switch block | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:295:40: error: ‘int4’ has not been declared 295 | virtual void scopeBreak(int4 curexit,int4 curloopexit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:296:37: error: ‘int4’ has not been declared 296 | virtual void printTree(ostream &s,int4 level) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:306:37: error: ‘int4’ has not been declared 306 | void addLoopEdge(FlowBlock *begin,int4 outindex); ///< Mark a given edge as a \e loop edge | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:309:37: error: ‘int4’ has not been declared 309 | void moveOutEdge(FlowBlock *blold,int4 slot,FlowBlock *blnew); ///< Move indicated \e out edge to a new FlowBlock | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void Constructor::setMinimumLength(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:489:35: error: ‘minimumlength’ was not declared in this scope; did you mean ‘setMinimumLength’? 489 | void setMinimumLength(int4 l) { minimumlength = l; } | ^~~~~~~~~~~~~ | setMinimumLength /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:323:51: error: ‘int4’ has not been declared 323 | BlockMultiGoto *newBlockMultiGoto(FlowBlock *bl,int4 outedge); ///< Build a new BlockMultiGoto | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isMark() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:194:38: error: ‘flags’ was not declared in this scope 194 | bool isMark(void) const { return ((flags&f_mark)!=0); } ///< Return \b true if \b this block has been marked | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:340:3: error: ‘int4’ does not name a type; did you mean ‘int’? 340 | int4 buildDomDepth(vector &depth) const; ///< Calculate dominator depths | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isDonothingLoop() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:235:47: error: ‘flags’ was not declared in this scope 235 | bool isDonothingLoop(void) const { return ((flags&f_donothing_loop)!=0); } ///< Is \b this a \e do \e nothing block | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void Constructor::setId(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:491:25: error: ‘id’ was not declared in this scope; did you mean ‘i’? 491 | void setId(uintm i) { id = i; } | ^~ | i /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:385:31: error: ‘int4’ has not been declared 385 | virtual FlowBlock *subBlock(int4 i) const { return (FlowBlock *)0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘void FlowBlock::setMark()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:195:24: error: ‘flags’ was not declared in this scope 195 | void setMark(void) { flags |= f_mark; } ///< Mark \b this block | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:395:11: error: ‘int4’ does not name a type; did you mean ‘int’? 395 | virtual int4 flipInPlaceTest(vector &fliplist) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:398:23: error: ‘int4’ has not been declared 398 | bool unblockedMulti(int4 outslot) const; ///< Check if \b this block can be removed without introducing inconsistencies | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isDead() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:236:38: error: ‘flags’ was not declared in this scope 236 | bool isDead(void) const { return ((flags & f_dead)!=0); } ///< Is \b this block dead | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:406:53: error: ‘int4’ has not been declared 406 | static bool noInterveningStatement(PcodeOp *first,int4 path,PcodeOp *last); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isTreeEdgeIn(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:237:58: error: ‘const value_type’ {aka ‘const struct BlockEdge’} has no member named ‘label’ 237 | bool isTreeEdgeIn(int4 i) const { return ((intothis[i].label & f_tree_edge)!=0); } ///< Is the i-th incoming edge part of the spanning tree | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isBackEdgeIn(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:238:58: error: ‘const value_type’ {aka ‘const struct BlockEdge’} has no member named ‘label’ 238 | bool isBackEdgeIn(int4 i) const { return ((intothis[i].label & f_back_edge)!=0); } ///< Is the i-th incoming edge a \e back edge | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isBackEdgeOut(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:239:60: error: ‘const value_type’ {aka ‘const struct BlockEdge’} has no member named ‘label’ 239 | bool isBackEdgeOut(int4 i) const { return ((outofthis[i].label & f_back_edge)!=0); } ///< Is the i-th outgoing edge a \e back edge | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isIrreducibleOut(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:240:63: error: ‘const value_type’ {aka ‘const struct BlockEdge’} has no member named ‘label’ 240 | bool isIrreducibleOut(int4 i) const { return ((outofthis[i].label & f_irreducible)!=0); } ///< Is the i-th outgoing edge an irreducible edge | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2204:21: error: ‘commonValue’ was not declared in this scope 2204 | bins.push_back( commonValue | i ); // add 1 bits into full value and store | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void Constructor::setLineno(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:493:29: error: ‘lineno’ was not declared in this scope; did you mean ‘fileno’? 493 | void setLineno(int4 ln) { lineno = ln; } | ^~~~~~ | fileno /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isIrreducibleIn(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:241:61: error: ‘const value_type’ {aka ‘const struct BlockEdge’} has no member named ‘label’ 241 | bool isIrreducibleIn(int4 i) const { return ((intothis[i].label & f_irreducible)!=0); } ///< Is the i-th incoming edge an irreducible edge | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isDecisionOut(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:244:60: error: ‘const value_type’ {aka ‘const struct BlockEdge’} has no member named ‘label’ 244 | bool isDecisionOut(int4 i) const { return ((outofthis[i].label & (f_irreducible|f_back_edge|f_goto_edge))==0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isDecisionIn(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:247:58: error: ‘const value_type’ {aka ‘const struct BlockEdge’} has no member named ‘label’ 247 | bool isDecisionIn(int4 i) const { return ((intothis[i].label & (f_irreducible|f_back_edge|f_goto_edge))==0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isLoopDAGOut(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:250:59: error: ‘const value_type’ {aka ‘const struct BlockEdge’} has no member named ‘label’ 250 | bool isLoopDAGOut(int4 i) const { return ((outofthis[i].label & (f_irreducible|f_back_edge|f_loop_exit_edge|f_goto_edge))==0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isLoopDAGIn(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:253:57: error: ‘const value_type’ {aka ‘const struct BlockEdge’} has no member named ‘label’ 253 | bool isLoopDAGIn(int4 i) const { return ((intothis[i].label & (f_irreducible|f_back_edge|f_loop_exit_edge|f_goto_edge))==0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isGotoIn(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:254:54: error: ‘const value_type’ {aka ‘const struct BlockEdge’} has no member named ‘label’ 254 | bool isGotoIn(int4 i) const { return ((intothis[i].label & (f_irreducible|f_goto_edge))!=0); } ///< Is the i-th incoming edge unstructured | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isGotoOut(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:255:56: error: ‘const value_type’ {aka ‘const struct BlockEdge’} has no member named ‘label’ 255 | bool isGotoOut(int4 i) const { return ((outofthis[i].label & (f_irreducible|f_goto_edge))!=0); } ///< Is the i-th outgoing edge unstructured | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:423:31: error: ‘int4’ has not been declared 423 | virtual FlowBlock *subBlock(int4 i) const { return copy; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:426:37: error: ‘int4’ has not been declared 426 | virtual void printTree(ostream &s,int4 level) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘void FlowBlock::clearMark()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:196:26: error: ‘flags’ was not declared in this scope 196 | void clearMark(void) { flags &= ~f_mark; } ///< Clear any mark on \b this block | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:446:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 446 | uint4 gototype; ///< The type of unstructured branch (f_goto_goto, f_break_goto, etc.) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:450:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 450 | uint4 getGotoType(void) const { return gototype; } ///< Get the type of unstructured branch | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void Constructor::setSrcIndex(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:495:33: error: ‘src_index’ was not declared in this scope; did you mean ‘rindex’? 495 | void setSrcIndex(int4 index) {src_index = index;} | ^~~~~~~~~ | rindex /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:454:27: error: ‘int4’ has not been declared 454 | virtual void scopeBreak(int4 curexit,int4 curloopexit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:454:40: error: ‘int4’ has not been declared 454 | virtual void scopeBreak(int4 curexit,int4 curloopexit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘void FlowBlock::setDonothingLoop()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:197:33: error: ‘flags’ was not declared in this scope 197 | void setDonothingLoop(void) { flags |= f_donothing_loop; } ///< Label \b this as a \e do \e nothing loop | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘void DecisionNode::split(DecisionProperties&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2212:5: error: ‘bitsize’ was not declared in this scope 2212 | bitsize = 0; // Only one pattern, terminal node by default | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:274:23: error: ‘int4’ has not been declared 274 | void forceOutputNum(int4 i); ///< Force number of outputs | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:277:23: error: ‘uint4’ has not been declared 277 | void clearEdgeFlags(uint4 flags); ///< Clear a set of properties from all edges in the graph | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:280:60: error: ‘int4’ has not been declared 280 | bool findIrreducible(const vector &preorder,int4 &irreduciblecount); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:283:19: error: ‘int4’ has not been declared 283 | void swapBlocks(int4 i,int4 j); ///< Swap the positions two component FlowBlocks | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:283:26: error: ‘int4’ has not been declared 283 | void swapBlocks(int4 i,int4 j); ///< Swap the positions two component FlowBlocks | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:284:43: error: ‘uint4’ has not been declared 284 | static void markCopyBlock(FlowBlock *bl,uint4 fl); ///< Set properties on the first leaf FlowBlock | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘void FlowBlock::setDead()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:198:24: error: ‘flags’ was not declared in this scope 198 | void setDead(void) { flags |= f_dead; } ///< Label \b this as dead | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:289:3: error: ‘int4’ does not name a type; did you mean ‘int’? 289 | int4 getSize(void) const { return list.size(); } ///< Get the number of components | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:290:23: error: ‘int4’ has not been declared 290 | FlowBlock *getBlock(int4 i) const { return list[i]; } ///< Get the i-th component | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:292:31: error: ‘int4’ has not been declared 292 | virtual FlowBlock *subBlock(int4 i) const { return list[i]; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:295:27: error: ‘int4’ has not been declared 295 | virtual void scopeBreak(int4 curexit,int4 curloopexit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:295:40: error: ‘int4’ has not been declared 295 | virtual void scopeBreak(int4 curexit,int4 curloopexit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:296:37: error: ‘int4’ has not been declared 296 | virtual void printTree(ostream &s,int4 level) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:306:37: error: ‘int4’ has not been declared 306 | void addLoopEdge(FlowBlock *begin,int4 outindex); ///< Mark a given edge as a \e loop edge | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:309:37: error: ‘int4’ has not been declared 309 | void moveOutEdge(FlowBlock *blold,int4 slot,FlowBlock *blnew); ///< Move indicated \e out edge to a new FlowBlock | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:323:51: error: ‘int4’ has not been declared 323 | BlockMultiGoto *newBlockMultiGoto(FlowBlock *bl,int4 outedge); ///< Build a new BlockMultiGoto | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:340:3: error: ‘int4’ does not name a type; did you mean ‘int’? 340 | int4 buildDomDepth(vector &depth) const; ///< Calculate dominator depths | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::hasSpecialLabel() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:199:47: error: ‘flags’ was not declared in this scope 199 | bool hasSpecialLabel(void) const { return ((flags&(f_joined_block|f_duplicate_block))!=0); } ///< Return \b true if \b this uses a different label | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In constructor ‘BlockGoto::BlockGoto(FlowBlock*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:448:47: error: ‘gototype’ was not declared in this scope 448 | BlockGoto(FlowBlock *bl) { gototarget = bl; gototype = f_goto_goto; } ///< Construct given target block | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2217:7: error: ‘bitsize’ was not declared in this scope 2217 | if (bitsize == 0) { | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2221:64: error: ‘class DecisionNode’ has no member named ‘num’ 2221 | if ((parent != (DecisionNode *)0) && (list.size() >= parent->num)) | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:385:31: error: ‘int4’ has not been declared 385 | virtual FlowBlock *subBlock(int4 i) const { return (FlowBlock *)0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:478:3: error: ‘int4’ does not name a type; did you mean ‘int’? 478 | int4 numGotos(void) const { return gotoedges.size(); } ///< Get the number of unstructured edges | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:479:22: error: ‘int4’ has not been declared 479 | FlowBlock *getGoto(int4 i) const { return gotoedges[i]; } ///< Get the target FlowBlock along the i-th unstructured edge | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:482:27: error: ‘int4’ has not been declared 482 | virtual void scopeBreak(int4 curexit,int4 curloopexit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:482:40: error: ‘int4’ has not been declared 482 | virtual void scopeBreak(int4 curexit,int4 curloopexit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:395:11: error: ‘int4’ does not name a type; did you mean ‘int’? 395 | virtual int4 flipInPlaceTest(vector &fliplist) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:398:23: error: ‘int4’ has not been declared 398 | bool unblockedMulti(int4 outslot) const; ///< Check if \b this block can be removed without introducing inconsistencies | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:406:53: error: ‘int4’ has not been declared 406 | static bool noInterveningStatement(PcodeOp *first,int4 path,PcodeOp *last); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isJoined() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:200:40: error: ‘flags’ was not declared in this scope 200 | bool isJoined(void) const { return ((flags&f_joined_block)!=0); } ///< Return \b true if \b this is a \e joined basic block | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:524:27: error: ‘int4’ has not been declared 524 | virtual void scopeBreak(int4 curexit,int4 curloopexit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:524:40: error: ‘int4’ has not been declared 524 | virtual void scopeBreak(int4 curexit,int4 curloopexit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:423:31: error: ‘int4’ has not been declared 423 | virtual FlowBlock *subBlock(int4 i) const { return copy; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:426:37: error: ‘int4’ has not been declared 426 | virtual void printTree(ostream &s,int4 level) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:529:11: error: ‘int4’ does not name a type; did you mean ‘int’? 529 | virtual int4 flipInPlaceTest(vector &fliplist) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2224:3: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 2224 | int4 numChildren = 1 << bitsize; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2226:11: error: expected ‘;’ before ‘i’ 2226 | for(int4 i=0;i &bins,DisjointPattern *pat); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool BlockWhileDo::hasOverflowSyntax() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:602:49: error: ‘getFlags’ was not declared in this scope; did you mean ‘setFlag’? 602 | bool hasOverflowSyntax(void) const { return ((getFlags() & f_whiledo_overflow)!=0); } ///< Does \b this require overflow syntax | ^~~~~~~~ | setFlag /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:551:37: error: template argument 1 is invalid 551 | void consistentValues(vector &bins,DisjointPattern *pat); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:551:37: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:622:27: error: ‘int4’ has not been declared 622 | virtual void scopeBreak(int4 curexit,int4 curloopexit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2230:16: error: ‘i’ was not declared in this scope 2230 | for(int4 i=0;i &fliplist) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:655:5: error: ‘uintb’ does not name a type; did you mean ‘uint’? 655 | uintb label; ///< The \e label for this case, as an untyped constant | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isInteriorGotoTarget() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:231:52: error: ‘flags’ was not declared in this scope 231 | bool isInteriorGotoTarget(void) const { return ((flags & f_interior_gotoin)!=0); } ///< Is there an unstructured goto to \b this block's interior | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:556:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 556 | uint4 gototype; ///< The type of unstructured edge (if present) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:656:5: error: ‘int4’ does not name a type; did you mean ‘int’? 656 | int4 depth; ///< How deep in a fall-thru chain we are | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:657:5: error: ‘int4’ does not name a type; did you mean ‘int’? 657 | int4 chain; ///< Who we immediately chain to, expressed as caseblocks index, -1 for no chaining | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2231:12: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 2231 | vector vals; // Bins this pattern belongs in | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2231:17: error: template argument 1 is invalid 2231 | vector vals; // Bins this pattern belongs in | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2231:17: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:562:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 562 | uint4 getGotoType(void) const { return gototype; } ///< Get the type of unstructured edge | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:565:27: error: ‘int4’ has not been declared 565 | virtual void scopeBreak(int4 curexit,int4 curloopexit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2236:13: error: expected ‘;’ before ‘j’ 2236 | for(int4 j=0;jnumIndicesByBlock(caseblocks[i].basicblock); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:684:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 684 | uintb getLabel(int4 i,int4 j) const { return jump->getLabelByIndex(jump->getIndexByBlock(caseblocks[i].basicblock,j)); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:686:22: error: ‘int4’ has not been declared 686 | bool isDefaultCase(int4 i) const { return caseblocks[i].isdefault; } ///< Is the i-th \e case the \e default case | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool BlockWhileDo::hasOverflowSyntax() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:602:49: error: ‘getFlags’ was not declared in this scope; did you mean ‘setFlag’? 602 | bool hasOverflowSyntax(void) const { return ((getFlags() & f_whiledo_overflow)!=0); } ///< Does \b this require overflow syntax | ^~~~~~~~ | setFlag /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:588:42: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 588 | virtual void collectLocalValues(vector &results) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:588:47: error: template argument 1 is invalid 588 | virtual void collectLocalValues(vector &results) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:588:47: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:622:27: error: ‘int4’ has not been declared 622 | virtual void scopeBreak(int4 curexit,int4 curloopexit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:622:40: error: ‘int4’ has not been declared 622 | virtual void scopeBreak(int4 curexit,int4 curloopexit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:687:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 687 | uint4 getGotoType(int4 i) const { return caseblocks[i].gototype; } ///< Get the edge type for the i-th \e case block | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:688:15: error: ‘int4’ has not been declared 688 | bool isExit(int4 i) const { return caseblocks[i].isexit; } ///< Does the i-th \e case block exit the switch? | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:692:27: error: ‘int4’ has not been declared 692 | virtual void scopeBreak(int4 curexit,int4 curloopexit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:692:40: error: ‘int4’ has not been declared 692 | virtual void scopeBreak(int4 curexit,int4 curloopexit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isDonothingLoop() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:235:47: error: ‘flags’ was not declared in this scope 235 | bool isDonothingLoop(void) const { return ((flags&f_donothing_loop)!=0); } ///< Is \b this a \e do \e nothing block | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:636:27: error: ‘int4’ has not been declared 636 | virtual void scopeBreak(int4 curexit,int4 curloopexit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:636:40: error: ‘int4’ has not been declared 636 | virtual void scopeBreak(int4 curexit,int4 curloopexit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:709:63: error: ‘int4’ has not been declared 709 | static FlowBlock *findBlock(const vector &list,int4 ind); ///< Locate a FlowBlock with a given index | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:720:29: error: ‘int4’ has not been declared 720 | FlowBlock *findLevelBlock(int4 index) const { return findBlock(sortlist,index); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:655:5: error: ‘uintb’ does not name a type; did you mean ‘uint’? 655 | uintb label; ///< The \e label for this case, as an untyped constant | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:762:8: error: ‘int4’ does not name a type; did you mean ‘int’? 762 | inline int4 FlowBlock::flipInPlaceTest(vector &fliplist) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2242:18: error: ‘numChildren’ was not declared in this scope; did you mean ‘children’? 2242 | for(int4 i=0;igetIndex() < bl2->getIndex()); | ^~~~~~~~ | getIn /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:797:34: error: ‘const class FlowBlock’ has no member named ‘getIndex’; did you mean ‘getIn’? 797 | return (bl1->getIndex() < bl2->getIndex()); | ^~~~~~~~ | getIn /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In static member function ‘static bool BlockSwitch::CaseOrder::compare(const BlockSwitch::CaseOrder&, const BlockSwitch::CaseOrder&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:807:9: error: ‘const struct BlockSwitch::CaseOrder’ has no member named ‘label’ 807 | if (a.label != b.label) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:807:20: error: ‘const struct BlockSwitch::CaseOrder’ has no member named ‘label’ 807 | if (a.label != b.label) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:808:15: error: ‘const struct BlockSwitch::CaseOrder’ has no member named ‘label’ 808 | return (a.label < b.label); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:657:5: error: ‘int4’ does not name a type; did you mean ‘int’? 657 | int4 chain; ///< Who we immediately chain to, expressed as caseblocks index, -1 for no chaining | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:808:25: error: ‘const struct BlockSwitch::CaseOrder’ has no member named ‘label’ 808 | return (a.label < b.label); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:809:13: error: ‘const struct BlockSwitch::CaseOrder’ has no member named ‘depth’ 809 | return (a.depth < b.depth); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:809:23: error: ‘const struct BlockSwitch::CaseOrder’ has no member named ‘depth’ 809 | return (a.depth < b.depth); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isDead() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:236:38: error: ‘flags’ was not declared in this scope 236 | bool isDead(void) const { return ((flags & f_dead)!=0); } ///< Is \b this block dead | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isTreeEdgeIn(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:237:58: error: ‘const value_type’ {aka ‘const struct BlockEdge’} has no member named ‘label’ 237 | bool isTreeEdgeIn(int4 i) const { return ((intothis[i].label & f_tree_edge)!=0); } ///< Is the i-th incoming edge part of the spanning tree | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isBackEdgeIn(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:238:58: error: ‘const value_type’ {aka ‘const struct BlockEdge’} has no member named ‘label’ 238 | bool isBackEdgeIn(int4 i) const { return ((intothis[i].label & f_back_edge)!=0); } ///< Is the i-th incoming edge a \e back edge | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isBackEdgeOut(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:239:60: error: ‘const value_type’ {aka ‘const struct BlockEdge’} has no member named ‘label’ 239 | bool isBackEdgeOut(int4 i) const { return ((outofthis[i].label & f_back_edge)!=0); } ///< Is the i-th outgoing edge a \e back edge | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isIrreducibleOut(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:240:63: error: ‘const value_type’ {aka ‘const struct BlockEdge’} has no member named ‘label’ 240 | bool isIrreducibleOut(int4 i) const { return ((outofthis[i].label & f_irreducible)!=0); } ///< Is the i-th outgoing edge an irreducible edge | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:658:5: error: ‘int4’ does not name a type; did you mean ‘int’? 658 | int4 outindex; ///< Index coming out of switch to this case | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isIrreducibleIn(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:241:61: error: ‘const value_type’ {aka ‘const struct BlockEdge’} has no member named ‘label’ 241 | bool isIrreducibleIn(int4 i) const { return ((intothis[i].label & f_irreducible)!=0); } ///< Is the i-th incoming edge an irreducible edge | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isDecisionOut(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:244:60: error: ‘const value_type’ {aka ‘const struct BlockEdge’} has no member named ‘label’ 244 | bool isDecisionOut(int4 i) const { return ((outofthis[i].label & (f_irreducible|f_back_edge|f_goto_edge))==0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isDecisionIn(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:247:58: error: ‘const value_type’ {aka ‘const struct BlockEdge’} has no member named ‘label’ 247 | bool isDecisionIn(int4 i) const { return ((intothis[i].label & (f_irreducible|f_back_edge|f_goto_edge))==0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:596:3: error: ‘int4’ does not name a type; did you mean ‘int’? 596 | int4 index; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:600:32: error: ‘int4’ has not been declared 600 | MacroSymbol(const string &nm,int4 i) : SleighSymbol(nm) { index = i; construct = (ConstructTpl *)0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isLoopDAGOut(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:250:59: error: ‘const value_type’ {aka ‘const struct BlockEdge’} has no member named ‘label’ 250 | bool isLoopDAGOut(int4 i) const { return ((outofthis[i].label & (f_irreducible|f_back_edge|f_loop_exit_edge|f_goto_edge))==0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isLoopDAGIn(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:253:57: error: ‘const value_type’ {aka ‘const struct BlockEdge’} has no member named ‘label’ 253 | bool isLoopDAGIn(int4 i) const { return ((intothis[i].label & (f_irreducible|f_back_edge|f_loop_exit_edge|f_goto_edge))==0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:659:5: error: ‘uint4’ does not name a type; did you mean ‘uint’? 659 | uint4 gototype; ///< (If non-zero) What type of unstructured \e case is this? | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isGotoIn(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:254:54: error: ‘const value_type’ {aka ‘const struct BlockEdge’} has no member named ‘label’ 254 | bool isGotoIn(int4 i) const { return ((intothis[i].label & (f_irreducible|f_goto_edge))!=0); } ///< Is the i-th incoming edge unstructured | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isGotoOut(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:255:56: error: ‘const value_type’ {aka ‘const struct BlockEdge’} has no member named ‘label’ 255 | bool isGotoOut(int4 i) const { return ((outofthis[i].label & (f_irreducible|f_goto_edge))!=0); } ///< Is the i-th outgoing edge unstructured | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:601:3: error: ‘int4’ does not name a type; did you mean ‘int’? 601 | int4 getIndex(void) const { return index; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘void DecisionNode::orderPatterns(DecisionProperties&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2269:3: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 2269 | int4 i,j,k; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:605:3: error: ‘int4’ does not name a type; did you mean ‘int’? 605 | int4 getNumOperands(void) const { return operands.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:606:29: error: ‘int4’ has not been declared 606 | OperandSymbol *getOperand(int4 i) const { return operands[i]; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘MacroSymbol::MacroSymbol(const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:600:69: error: overloaded function with no contextual type information 600 | MacroSymbol(const string &nm,int4 i) : SleighSymbol(nm) { index = i; construct = (ConstructTpl *)0; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2274:7: error: ‘i’ was not declared in this scope 2274 | for(i=0;i &preorder,int4 &irreduciblecount); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:283:19: error: ‘int4’ has not been declared 283 | void swapBlocks(int4 i,int4 j); ///< Swap the positions two component FlowBlocks | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:283:26: error: ‘int4’ has not been declared 283 | void swapBlocks(int4 i,int4 j); ///< Swap the positions two component FlowBlocks | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:670:3: error: ‘int4’ does not name a type; did you mean ‘int’? 670 | int4 getNumCaseBlocks(void) const { return caseblocks.size(); } ///< Get the number of cases | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:671:27: error: ‘int4’ has not been declared 671 | FlowBlock *getCaseBlock(int4 i) const { return caseblocks[i].block; } ///< Get the i-th \e case FlowBlock | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:284:43: error: ‘uint4’ has not been declared 284 | static void markCopyBlock(FlowBlock *bl,uint4 fl); ///< Set properties on the first leaf FlowBlock | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:612:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 612 | uint4 index; // Local 1 up index of label | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:78:3: error: ‘int4’ does not name a type; did you mean ‘int’? 78 | int4 lcount; ///< Changes not including last call to apply() | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:677:3: error: ‘int4’ does not name a type; did you mean ‘int’? 677 | int4 getNumLabels(int4 i) const { return jump->numIndicesByBlock(caseblocks[i].basicblock); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:614:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 614 | uint4 refcount; // Number of references to this label | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:616:32: error: ‘uint4’ has not been declared 616 | LabelSymbol(const string &nm,uint4 i) : SleighSymbol(nm) { index = i; refcount = 0; isplaced=false; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:289:3: error: ‘int4’ does not name a type; did you mean ‘int’? 289 | int4 getSize(void) const { return list.size(); } ///< Get the number of components | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:290:23: error: ‘int4’ has not been declared 290 | FlowBlock *getBlock(int4 i) const { return list[i]; } ///< Get the i-th component | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:684:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 684 | uintb getLabel(int4 i,int4 j) const { return jump->getLabelByIndex(jump->getIndexByBlock(caseblocks[i].basicblock,j)); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:686:22: error: ‘int4’ has not been declared 686 | bool isDefaultCase(int4 i) const { return caseblocks[i].isdefault; } ///< Is the i-th \e case the \e default case | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:292:31: error: ‘int4’ has not been declared 292 | virtual FlowBlock *subBlock(int4 i) const { return list[i]; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:79:3: error: ‘int4’ does not name a type; did you mean ‘int’? 79 | int4 count; ///< Number of changes made by this action so far | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:295:27: error: ‘int4’ has not been declared 295 | virtual void scopeBreak(int4 curexit,int4 curloopexit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2275:9: error: ‘j’ was not declared in this scope; did you mean ‘jn’? 2275 | for(j=0;j &list,int4 ind); ///< Locate a FlowBlock with a given index | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:720:29: error: ‘int4’ has not been declared 720 | FlowBlock *findLevelBlock(int4 index) const { return findBlock(sortlist,index); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:82:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 82 | uint4 flags; ///< Behavior properties | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:340:3: error: ‘int4’ does not name a type; did you mean ‘int’? 340 | int4 buildDomDepth(vector &depth) const; ///< Calculate dominator depths | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:762:8: error: ‘int4’ does not name a type; did you mean ‘int’? 762 | inline int4 FlowBlock::flipInPlaceTest(vector &fliplist) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:83:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 83 | uint4 count_tests; ///< Number of times apply() has been called | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In static member function ‘static bool FlowBlock::compareBlockIndex(const FlowBlock*, const FlowBlock*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:797:16: error: ‘const class FlowBlock’ has no member named ‘getIndex’; did you mean ‘getIn’? 797 | return (bl1->getIndex() < bl2->getIndex()); | ^~~~~~~~ | getIn /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2284:7: error: ‘i’ was not declared in this scope 2284 | for(i=0;igetIndex() < bl2->getIndex()); | ^~~~~~~~ | getIn /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In static member function ‘static bool BlockSwitch::CaseOrder::compare(const BlockSwitch::CaseOrder&, const BlockSwitch::CaseOrder&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:807:9: error: ‘const struct BlockSwitch::CaseOrder’ has no member named ‘label’ 807 | if (a.label != b.label) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:807:20: error: ‘const struct BlockSwitch::CaseOrder’ has no member named ‘label’ 807 | if (a.label != b.label) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:808:15: error: ‘const struct BlockSwitch::CaseOrder’ has no member named ‘label’ 808 | return (a.label < b.label); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:808:25: error: ‘const struct BlockSwitch::CaseOrder’ has no member named ‘label’ 808 | return (a.label < b.label); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:84:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 84 | uint4 count_apply; ///< Number of times apply() made changes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:809:13: error: ‘const struct BlockSwitch::CaseOrder’ has no member named ‘depth’ 809 | return (a.depth < b.depth); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:809:23: error: ‘const struct BlockSwitch::CaseOrder’ has no member named ‘depth’ 809 | return (a.depth < b.depth); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:93:15: error: expected ‘)’ before ‘f’ 93 | Action(uint4 f,const string &nm,const string &g); ///< Base constructor for an Action | ~ ^~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:385:31: error: ‘int4’ has not been declared 385 | virtual FlowBlock *subBlock(int4 i) const { return (FlowBlock *)0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:100:3: error: ‘int4’ does not name a type; did you mean ‘int’? 100 | int4 perform(Funcdata &data); ///< Perform this action (if necessary) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:101:22: error: ‘uint4’ has not been declared 101 | bool setBreakPoint(uint4 tp,const string &specify); ///< Set a breakpoint on this action | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:108:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 108 | uint4 getStatus(void) const { return status; } ///< Get the current status of \b this Action | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:395:11: error: ‘int4’ does not name a type; did you mean ‘int’? 395 | virtual int4 flipInPlaceTest(vector &fliplist) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:398:23: error: ‘int4’ has not been declared 398 | bool unblockedMulti(int4 outslot) const; ///< Check if \b this block can be removed without introducing inconsistencies | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:406:53: error: ‘int4’ has not been declared 406 | static bool noInterveningStatement(PcodeOp *first,int4 path,PcodeOp *last); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:616:73: error: ‘refcount’ was not declared in this scope 616 | LabelSymbol(const string &nm,uint4 i) : SleighSymbol(nm) { index = i; refcount = 0; isplaced=false; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2285:9: error: ‘j’ was not declared in this scope; did you mean ‘jn’? 2285 | for(j=0;j=j;--k) | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:450:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 450 | uint4 getGotoType(void) const { return gototype; } ///< Get the type of unstructured branch | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:454:27: error: ‘int4’ has not been declared 454 | virtual void scopeBreak(int4 curexit,int4 curloopexit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:454:40: error: ‘int4’ has not been declared 454 | virtual void scopeBreak(int4 curexit,int4 curloopexit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void LabelSymbol::incrementRefCount()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:618:34: error: ‘refcount’ was not declared in this scope 618 | void incrementRefCount(void) { refcount += 1; } | ^~~~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:78:3: error: ‘int4’ does not name a type; did you mean ‘int’? 78 | int4 lcount; ///< Changes not including last call to apply() | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh: In member function ‘void Action::turnOnWarnings()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:90:31: error: ‘flags’ was not declared in this scope 90 | void turnOnWarnings(void) { flags |= rule_warnings_on; } ///< Enable warnings for this Action | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:79:3: error: ‘int4’ does not name a type; did you mean ‘int’? 79 | int4 count; ///< Number of changes made by this action so far | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:20, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:39:5: error: ‘int4’ does not name a type; did you mean ‘int’? 39 | int4 index(const string filename); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:80:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 80 | uint4 status; ///< Current status | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:40:9: error: ‘int4’ does not name a type; did you mean ‘int’? 40 | int4 getIndex(const string); ///< get the index of a file. Error if the file is not in the index. | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:41:28: error: ‘int4’ has not been declared 41 | string getFilename(int4); ///< get the filename corresponding to an index | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:81:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 81 | uint4 breakpoint; ///< Breakpoint properties | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2302:18: error: ‘j’ was not declared in this scope; did you mean ‘jn’? 2302 | for(k=i-1;k>=j;--k) | ^ | jn /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:82:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 82 | uint4 flags; ///< Behavior properties | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:46:9: error: ‘int4’ does not name a type; did you mean ‘int’? 46 | int4 leastUnusedIndex; ///< one-up count for assigning indices to files | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh: In member function ‘void Action::turnOffWarnings()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:91:32: error: ‘flags’ was not declared in this scope 91 | void turnOffWarnings(void) { flags &= ~rule_warnings_on; } ///< Disable warnings for this Action | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:83:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 83 | uint4 count_tests; ///< Number of times apply() has been called | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:84:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 84 | uint4 count_apply; ///< Number of times apply() made changes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:93:15: error: expected ‘)’ before ‘f’ 93 | Action(uint4 f,const string &nm,const string &g); ///< Base constructor for an Action | ~ ^~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2304:10: error: ‘j’ was not declared in this scope; did you mean ‘jn’? 2304 | list[j] = newlist[i]; | ^ | jn /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:47:13: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 47 | map indexToFile; ///< map from indices to files | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:47:25: error: template argument 1 is invalid 47 | map indexToFile; ///< map from indices to files | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:47:25: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:47:25: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:100:3: error: ‘int4’ does not name a type; did you mean ‘int’? 100 | int4 perform(Funcdata &data); ///< Perform this action (if necessary) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:101:22: error: ‘uint4’ has not been declared 101 | bool setBreakPoint(uint4 tp,const string &specify); ///< Set a breakpoint on this action | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In constructor ‘BlockGoto::BlockGoto(FlowBlock*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:448:47: error: ‘gototype’ was not declared in this scope 448 | BlockGoto(FlowBlock *bl) { gototarget = bl; gototype = f_goto_goto; } ///< Construct given target block | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:108:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 108 | uint4 getStatus(void) const { return status; } ///< Get the current status of \b this Action | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:109:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 109 | uint4 getNumTests(void) { return count_tests; } ///< Get the number of times apply() was invoked | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:48:21: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 48 | map fileToIndex; ///< map from files to indices | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:48:25: error: template argument 2 is invalid 48 | map fileToIndex; ///< map from files to indices | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:48:25: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:478:3: error: ‘int4’ does not name a type; did you mean ‘int’? 478 | int4 numGotos(void) const { return gotoedges.size(); } ///< Get the number of unstructured edges | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:479:22: error: ‘int4’ has not been declared 479 | FlowBlock *getGoto(int4 i) const { return gotoedges[i]; } ///< Get the target FlowBlock along the i-th unstructured edge | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:482:27: error: ‘int4’ has not been declared 482 | virtual void scopeBreak(int4 curexit,int4 curloopexit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2308:7: error: ‘i’ was not declared in this scope 2308 | for(i=0;i &fliplist) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2316:9: error: ‘j’ was not declared in this scope; did you mean ‘jn’? 2316 | for(j=0;j &oplist) const; ///< List of op codes this rule operates on | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:237:38: error: template argument 1 is invalid 237 | virtual void getOpList(vector &oplist) const; ///< List of op codes this rule operates on | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:237:38: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:156:11: error: ‘int4’ does not name a type; did you mean ‘int’? 156 | virtual int4 print(ostream &s,int4 num,int4 depth) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:246:11: error: ‘int4’ does not name a type; did you mean ‘int’? 246 | virtual int4 applyOp(PcodeOp *op,Funcdata &data) { return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2345:3: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 2345 | uintm val; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:174:3: error: ‘int4’ does not name a type; did you mean ‘int’? 174 | int4 maxrestarts; ///< Maximum number of restarts allowed | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool BlockWhileDo::hasOverflowSyntax() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:602:49: error: ‘getFlags’ was not declared in this scope; did you mean ‘setFlag’? 602 | bool hasOverflowSyntax(void) const { return ((getFlags() & f_whiledo_overflow)!=0); } ///< Does \b this require overflow syntax | ^~~~~~~~ | setFlag /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:175:3: error: ‘int4’ does not name a type; did you mean ‘int’? 175 | int4 curstart; ///< Current restart iteration | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:177:27: error: expected ‘)’ before ‘f’ 177 | ActionRestartGroup(uint4 f,const string &nm,int4 max) : | ~ ^~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:622:27: error: ‘int4’ has not been declared 622 | virtual void scopeBreak(int4 curexit,int4 curloopexit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:622:40: error: ‘int4’ has not been declared 622 | virtual void scopeBreak(int4 curexit,int4 curloopexit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:636:27: error: ‘int4’ has not been declared 636 | virtual void scopeBreak(int4 curexit,int4 curloopexit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:636:40: error: ‘int4’ has not been declared 636 | virtual void scopeBreak(int4 curexit,int4 curloopexit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:181:11: error: ‘int4’ does not name a type; did you mean ‘int’? 181 | virtual int4 apply(Funcdata &data); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:64:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 64 | uint4 maxdelayslotbytes; ///< Maximum number of bytes in a delay-slot directive | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:205:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 205 | uint4 flags; ///< Properties enabled with \b this Rule | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:65:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 65 | uint4 unique_allocatemask; ///< Bits that are guaranteed to be zero in the unique allocation scheme | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:655:5: error: ‘uintb’ does not name a type; did you mean ‘uint’? 655 | uintb label; ///< The \e label for this case, as an untyped constant | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2347:5: error: ‘val’ was not declared in this scope 2347 | val = walker.getContextBits(startbit,bitsize); | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2347:18: error: ‘class ParserWalker’ has no member named ‘getContextBits’ 2347 | val = walker.getContextBits(startbit,bitsize); | ^~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:206:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 206 | uint4 breakpoint; ///< Breakpoint(s) enabled for \b this Rule | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:66:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 66 | uint4 numSections; ///< Number of \e named sections | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:656:5: error: ‘int4’ does not name a type; did you mean ‘int’? 656 | int4 depth; ///< How deep in a fall-thru chain we are | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:209:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 209 | uint4 count_tests; ///< Number of times \b this Rule has attempted to apply | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh: In member function ‘void Rule::setBreak(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:219:29: error: ‘breakpoint’ was not declared in this scope 219 | void setBreak(uint4 tp) { breakpoint |= tp; } ///< Set a breakpoint on \b this Rule | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:657:5: error: ‘int4’ does not name a type; did you mean ‘int’? 657 | int4 chain; ///< Who we immediately chain to, expressed as caseblocks index, -1 for no chaining | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:72:16: error: ‘uintb’ does not name a type; did you mean ‘uint’? 72 | static const uintb MAX_UNIQUE_SIZE; ///< Maximum size of a varnode in the unique space (should match value in SleighBase.java) | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:20, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:76:61: error: ‘uintb’ has not been declared 76 | virtual void addRegister(const string &nm,AddrSpace *base,uintb offset,int4 size); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:76:74: error: ‘int4’ has not been declared 76 | virtual void addRegister(const string &nm,AddrSpace *base,uintb offset,int4 size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:210:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 210 | uint4 count_apply; ///< Number of times \b this Rule has successfully been applied | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:213:24: error: ‘uint4’ has not been declared 213 | Rule(const string &g,uint4 fl,const string &nm); ///< Construct given group, properties name | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:78:50: error: ‘uintb’ has not been declared 78 | virtual string getRegisterName(AddrSpace *base,uintb off,int4 size) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:78:60: error: ‘int4’ has not been declared 78 | virtual string getRegisterName(AddrSpace *base,uintb off,int4 size) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:658:5: error: ‘int4’ does not name a type; did you mean ‘int’? 658 | int4 outindex; ///< Index coming out of switch to this case | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:83:28: error: ‘uintm’ has not been declared 83 | SleighSymbol *findSymbol(uintm id) const { return symtab.findSymbol(id); } ///< Find a specific SLEIGH symbol by id | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:217:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 217 | uint4 getNumTests(void) { return count_tests; } ///< Get number of attempted applications | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:659:5: error: ‘uint4’ does not name a type; did you mean ‘uint’? 659 | uint4 gototype; ///< (If non-zero) What type of unstructured \e case is this? | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:218:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 218 | uint4 getNumApply(void) { return count_apply; } ///< Get number of successful applications | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:219:17: error: ‘uint4’ has not been declared 219 | void setBreak(uint4 tp) { breakpoint |= tp; } ///< Set a breakpoint on \b this Rule | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:220:19: error: ‘uint4’ has not been declared 220 | void clearBreak(uint4 tp) { breakpoint &= ~tp; } ///< Clear a breakpoint on \b this Rule | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:20, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:36:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 36 | uintb calling_index; ///< Index of instruction containing relative offset | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:228:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 228 | uint4 getBreakPoint(void) const { return breakpoint; } ///< Return breakpoint toggles | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:46:3: error: ‘int4’ does not name a type; did you mean ‘int’? 46 | int4 isize; ///< Number of input Varnodes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh: In member function ‘void Rule::clearBreak(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:220:31: error: ‘breakpoint’ was not declared in this scope 220 | void clearBreak(uint4 tp) { breakpoint &= ~tp; } ///< Clear a breakpoint on \b this Rule | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2347:33: error: ‘startbit’ was not declared in this scope; did you mean ‘static’? 2347 | val = walker.getContextBits(startbit,bitsize); | ^~~~~~~~ | static /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:237:33: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 237 | virtual void getOpList(vector &oplist) const; ///< List of op codes this rule operates on | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:237:38: error: template argument 1 is invalid 237 | virtual void getOpList(vector &oplist) const; ///< List of op codes this rule operates on | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:237:38: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:246:11: error: ‘int4’ does not name a type; did you mean ‘int’? 246 | virtual int4 applyOp(PcodeOp *op,Funcdata &data) { return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:665:50: error: ‘uint4’ has not been declared 665 | void addCase(FlowBlock *switchbl,FlowBlock *bl,uint4 gt); ///< Add a new \e case to this switch | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:670:3: error: ‘int4’ does not name a type; did you mean ‘int’? 670 | int4 getNumCaseBlocks(void) const { return caseblocks.size(); } ///< Get the number of cases | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:671:27: error: ‘int4’ has not been declared 671 | FlowBlock *getCaseBlock(int4 i) const { return caseblocks[i].block; } ///< Get the i-th \e case FlowBlock | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:677:3: error: ‘int4’ does not name a type; did you mean ‘int’? 677 | int4 getNumLabels(int4 i) const { return jump->numIndicesByBlock(caseblocks[i].basicblock); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:684:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 684 | uintb getLabel(int4 i,int4 j) const { return jump->getLabelByIndex(jump->getIndexByBlock(caseblocks[i].basicblock,j)); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:686:22: error: ‘int4’ has not been declared 686 | bool isDefaultCase(int4 i) const { return caseblocks[i].isdefault; } ///< Is the i-th \e case the \e default case | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh: In member function ‘void Rule::clearBreakPoints()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:221:33: error: ‘breakpoint’ was not declared in this scope 221 | void clearBreakPoints(void) { breakpoint = 0; } ///< Clear all breakpoints on \b this Rule | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2347:42: error: ‘bitsize’ was not declared in this scope 2347 | val = walker.getContextBits(startbit,bitsize); | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:687:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 687 | uint4 getGotoType(int4 i) const { return caseblocks[i].gototype; } ///< Get the edge type for the i-th \e case block | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:688:15: error: ‘int4’ has not been declared 688 | bool isExit(int4 i) const { return caseblocks[i].isexit; } ///< Does the i-th \e case block exit the switch? | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:692:27: error: ‘int4’ has not been declared 692 | virtual void scopeBreak(int4 curexit,int4 curloopexit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:692:40: error: ‘int4’ has not been declared 692 | virtual void scopeBreak(int4 curexit,int4 curloopexit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh: In member function ‘void Rule::setBreak(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:219:29: error: ‘breakpoint’ was not declared in this scope 219 | void setBreak(uint4 tp) { breakpoint |= tp; } ///< Set a breakpoint on \b this Rule | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:709:63: error: ‘int4’ has not been declared 709 | static FlowBlock *findBlock(const vector &list,int4 ind); ///< Locate a FlowBlock with a given index | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:720:29: error: ‘int4’ has not been declared 720 | FlowBlock *findLevelBlock(int4 index) const { return findBlock(sortlist,index); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh: In member function ‘void Rule::turnOnWarnings()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:222:31: error: ‘flags’ was not declared in this scope 222 | void turnOnWarnings(void) { flags |= warnings_on; } ///< Enable warnings for \b this Rule | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:762:8: error: ‘int4’ does not name a type; did you mean ‘int’? 762 | inline int4 FlowBlock::flipInPlaceTest(vector &fliplist) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In static member function ‘static bool FlowBlock::compareBlockIndex(const FlowBlock*, const FlowBlock*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:797:16: error: ‘const class FlowBlock’ has no member named ‘getIndex’; did you mean ‘getIn’? 797 | return (bl1->getIndex() < bl2->getIndex()); | ^~~~~~~~ | getIn /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:797:34: error: ‘const class FlowBlock’ has no member named ‘getIndex’; did you mean ‘getIn’? 797 | return (bl1->getIndex() < bl2->getIndex()); | ^~~~~~~~ | getIn /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2349:5: error: ‘val’ was not declared in this scope 2349 | val = walker.getInstructionBits(startbit,bitsize); | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In static member function ‘static bool BlockSwitch::CaseOrder::compare(const BlockSwitch::CaseOrder&, const BlockSwitch::CaseOrder&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:807:9: error: ‘const struct BlockSwitch::CaseOrder’ has no member named ‘label’ 807 | if (a.label != b.label) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2349:18: error: ‘class ParserWalker’ has no member named ‘getInstructionBits’ 2349 | val = walker.getInstructionBits(startbit,bitsize); | ^~~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:807:20: error: ‘const struct BlockSwitch::CaseOrder’ has no member named ‘label’ 807 | if (a.label != b.label) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:808:15: error: ‘const struct BlockSwitch::CaseOrder’ has no member named ‘label’ 808 | return (a.label < b.label); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:808:25: error: ‘const struct BlockSwitch::CaseOrder’ has no member named ‘label’ 808 | return (a.label < b.label); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:809:13: error: ‘const struct BlockSwitch::CaseOrder’ has no member named ‘depth’ 809 | return (a.depth < b.depth); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:809:23: error: ‘const struct BlockSwitch::CaseOrder’ has no member named ‘depth’ 809 | return (a.depth < b.depth); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh: In member function ‘void Rule::turnOffWarnings()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:223:32: error: ‘flags’ was not declared in this scope 223 | void turnOffWarnings(void) { flags &= ~warnings_on; } ///< Disable warnings for \b this Rule | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh: In member function ‘void Rule::clearBreak(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:220:31: error: ‘breakpoint’ was not declared in this scope 220 | void clearBreak(uint4 tp) { breakpoint &= ~tp; } ///< Clear a breakpoint on \b this Rule | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:62:10: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 62 | vector labels; ///< Locations of labels | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:62:15: error: template argument 1 is invalid 62 | vector labels; ///< Locations of labels | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:62:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:63:27: error: ‘uint4’ has not been declared 63 | VarnodeData *expandPool(uint4 size); ///< Expand the memory pool | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:72:33: error: ‘uint4’ has not been declared 72 | VarnodeData *allocateVarnodes(uint4 size) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:93:17: error: ‘uint4’ has not been declared 93 | void addLabel(uint4 id); ///< Attach a label to the \e next p-code instruction | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh: In member function ‘bool Rule::isDisabled() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:224:42: error: ‘flags’ was not declared in this scope 224 | bool isDisabled(void) const { return ((flags & type_disable)!=0); } ///< Return \b true if \b this Rule is disabled | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:108:3: error: ‘int4’ does not name a type; did you mean ‘int’? 108 | int4 minimumreuse; ///< Can call getParserContext this many times, before a ParserContext is reused | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2349:37: error: ‘startbit’ was not declared in this scope; did you mean ‘static’? 2349 | val = walker.getInstructionBits(startbit,bitsize); | ^~~~~~~~ | static /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:109:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 109 | uint4 mask; ///< Size of the hashtable in form 2^n-1 | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh: In member function ‘void Rule::setDisable()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:225:27: error: ‘flags’ was not declared in this scope 225 | void setDisable(void) { flags |= type_disable; } ///< Disable this Rule (within its pool) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh: In member function ‘void Rule::clearBreakPoints()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:221:33: error: ‘breakpoint’ was not declared in this scope 221 | void clearBreakPoints(void) { breakpoint = 0; } ///< Clear all breakpoints on \b this Rule | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:111:3: error: ‘int4’ does not name a type; did you mean ‘int’? 111 | int4 nextfree; ///< Current end/beginning of circular list | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:113:19: error: ‘int4’ has not been declared 113 | void initialize(int4 min,int4 hashsize); ///< Initialize the hash-table of ParserContexts | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:113:28: error: ‘int4’ has not been declared 113 | void initialize(int4 min,int4 hashsize); ///< Initialize the hash-table of ParserContexts | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:116:59: error: ‘int4’ has not been declared 116 | DisassemblyCache(ContextCache *ccache,AddrSpace *cspace,int4 cachesize,int4 windowsize); ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:116:74: error: ‘int4’ has not been declared 116 | DisassemblyCache(ContextCache *ccache,AddrSpace *cspace,int4 cachesize,int4 windowsize); ///< Constructor | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:78:3: error: ‘int4’ does not name a type; did you mean ‘int’? 78 | int4 lcount; ///< Changes not including last call to apply() | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:132:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 132 | uintb uniquemask; ///< Mask of address bits to use to uniquify temporary registers | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh: In member function ‘void Rule::clearDisable()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:226:29: error: ‘flags’ was not declared in this scope 226 | void clearDisable(void) { flags &= ~type_disable; } ///< Enable this Rule (within its pool) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh: In member function ‘void Rule::turnOnWarnings()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:222:31: error: ‘flags’ was not declared in this scope 222 | void turnOnWarnings(void) { flags |= warnings_on; } ///< Enable warnings for \b this Rule | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:79:3: error: ‘int4’ does not name a type; did you mean ‘int’? 79 | int4 count; ///< Number of changes made by this action so far | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:133:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 133 | uintb uniqueoffset; ///< Uniquifier bits for \b this instruction | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:136:35: error: ‘int4’ has not been declared 136 | void buildEmpty(Constructor *ct,int4 secnum); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:141:106: error: ‘uint4’ has not been declared 141 | SleighBuilder(ParserWalker *w,DisassemblyCache *dcache,PcodeCacher *pc,AddrSpace *cspc,AddrSpace *uspc,uint4 umask); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:142:39: error: ‘int4’ has not been declared 142 | virtual void appendBuild(OpTpl *bld,int4 secnum); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:145:44: error: ‘int4’ has not been declared 145 | virtual void appendCrossBuild(OpTpl *bld,int4 secnum); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:80:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 80 | uint4 status; ///< Current status | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:166:52: error: ‘int4’ has not been declared 166 | ParserContext *obtainContext(const Address &addr,int4 state) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:175:51: error: ‘int4’ has not been declared 175 | virtual void registerContext(const string &name,int4 sbit,int4 ebit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:175:61: error: ‘int4’ has not been declared 175 | virtual void registerContext(const string &name,int4 sbit,int4 ebit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:176:51: error: ‘uintm’ has not been declared 176 | virtual void setContextDefault(const string &nm,uintm val); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:81:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 81 | uint4 breakpoint; ///< Breakpoint properties | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2349:46: error: ‘bitsize’ was not declared in this scope 2349 | val = walker.getInstructionBits(startbit,bitsize); | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:178:11: error: ‘int4’ does not name a type; did you mean ‘int’? 178 | virtual int4 instructionLength(const Address &baseaddr) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:82:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 82 | uint4 flags; ///< Behavior properties | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh: In member function ‘void Rule::turnOffWarnings()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:223:32: error: ‘flags’ was not declared in this scope 223 | void turnOffWarnings(void) { flags &= ~warnings_on; } ///< Disable warnings for \b this Rule | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:179:11: error: ‘int4’ does not name a type; did you mean ‘int’? 179 | virtual int4 oneInstruction(PcodeEmit &emit,const Address &baseaddr) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:83:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 83 | uint4 count_tests; ///< Number of times apply() has been called | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:180:11: error: ‘int4’ does not name a type; did you mean ‘int’? 180 | virtual int4 printAssembly(AssemblyEmit &emit,const Address &baseaddr) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:84:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 84 | uint4 count_apply; ///< Number of times apply() made changes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:93:15: error: expected ‘)’ before ‘f’ 93 | Action(uint4 f,const string &nm,const string &g); ///< Base constructor for an Action | ~ ^~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:100:3: error: ‘int4’ does not name a type; did you mean ‘int’? 100 | int4 perform(Funcdata &data); ///< Perform this action (if necessary) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:101:22: error: ‘uint4’ has not been declared 101 | bool setBreakPoint(uint4 tp,const string &specify); ///< Set a breakpoint on this action | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2350:19: error: ‘val’ was not declared in this scope 2350 | return children[val]->resolve(walker); | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh: In member function ‘bool Rule::isDisabled() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:224:42: error: ‘flags’ was not declared in this scope 224 | bool isDisabled(void) const { return ((flags & type_disable)!=0); } ///< Return \b true if \b this Rule is disabled | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:266:3: error: ‘int4’ does not name a type; did you mean ‘int’? 266 | int4 rule_index; ///< Iterator over Rules for one OpCode | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:108:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 108 | uint4 getStatus(void) const { return status; } ///< Get the current status of \b this Action | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:267:3: error: ‘int4’ does not name a type; did you mean ‘int’? 267 | int4 processOp(PcodeOp *op,Funcdata &data); ///< Apply the next possible Rule to a PcodeOp | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:269:19: error: expected ‘)’ before ‘f’ 269 | ActionPool(uint4 f,const string &nm) : Action(f,nm,"") {} ///< Construct providing properties and name | ~ ^~ | ) In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:37:58: error: ‘int4’ has not been declared 37 | InjectPayloadSleigh(const string &src,const string &nm,int4 tp); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:109:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 109 | uint4 getNumTests(void) { return count_tests; } ///< Get the number of times apply() was invoked | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:276:11: error: ‘int4’ does not name a type; did you mean ‘int’? 276 | virtual int4 apply(Funcdata &data); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:110:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 110 | uint4 getNumApply(void) { return count_apply; } ///< Get the number of times apply() made changes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:277:11: error: ‘int4’ does not name a type; did you mean ‘int’? 277 | virtual int4 print(ostream &s,int4 num,int4 depth) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh: In member function ‘void Rule::setDisable()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:225:27: error: ‘flags’ was not declared in this scope 225 | void setDisable(void) { flags |= type_disable; } ///< Disable this Rule (within its pool) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:128:11: error: ‘int4’ does not name a type; did you mean ‘int’? 128 | virtual int4 apply(Funcdata &data)=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:129:11: error: ‘int4’ does not name a type; did you mean ‘int’? 129 | virtual int4 print(ostream &s,int4 num,int4 depth) const; ///< Print a description of this Action to stream | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘void DecisionNode::saveXml(std::ostream&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2357:31: error: ‘num’ was not declared in this scope; did you mean ‘enum’? 2357 | s << " number=\"" << dec << num << "\""; | ^~~ | enum /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh: In member function ‘void Rule::clearDisable()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:226:29: error: ‘flags’ was not declared in this scope 226 | void clearDisable(void) { flags &= ~type_disable; } ///< Enable this Rule (within its pool) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh: In member function ‘void Action::turnOnWarnings()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:90:31: error: ‘flags’ was not declared in this scope 90 | void turnOnWarnings(void) { flags |= rule_warnings_on; } ///< Enable warnings for this Action | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:81:57: error: ‘int4’ has not been declared 81 | InjectPayloadDynamic(Architecture *g,const string &nm,int4 tp) : InjectPayload(nm,tp) { glb = g; dynamic = true; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:266:3: error: ‘int4’ does not name a type; did you mean ‘int’? 266 | int4 rule_index; ///< Iterator over Rules for one OpCode | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2363:23: error: ‘startbit’ was not declared in this scope; did you mean ‘static’? 2363 | s << " start=\"" << startbit << "\""; | ^~~~~~~~ | static /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:267:3: error: ‘int4’ does not name a type; did you mean ‘int’? 267 | int4 processOp(PcodeOp *op,Funcdata &data); ///< Apply the next possible Rule to a PcodeOp | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:269:19: error: expected ‘)’ before ‘f’ 269 | ActionPool(uint4 f,const string &nm) : Action(f,nm,"") {} ///< Construct providing properties and name | ~ ^~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh: In member function ‘void Action::turnOffWarnings()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:91:32: error: ‘flags’ was not declared in this scope 91 | void turnOffWarnings(void) { flags &= ~rule_warnings_on; } ///< Disable warnings for this Action | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:276:11: error: ‘int4’ does not name a type; did you mean ‘int’? 276 | virtual int4 apply(Funcdata &data); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:277:11: error: ‘int4’ does not name a type; did you mean ‘int’? 277 | virtual int4 print(ostream &s,int4 num,int4 depth) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:93:3: error: ‘int4’ does not name a type; did you mean ‘int’? 93 | int4 registerDynamicInject(InjectPayload *payload); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:94:43: error: ‘int4’ has not been declared 94 | InjectPayloadDynamic *forceDebugDynamic(int4 injectid); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:97:11: error: ‘int4’ does not name a type; did you mean ‘int’? 97 | virtual int4 allocateInject(const string &sourceName,const string &name,int4 type); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:98:31: error: ‘int4’ has not been declared 98 | virtual void registerInject(int4 injectid); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:100:44: error: ‘uintb’ has not been declared 100 | PcodeInjectLibrarySleigh(Architecture *g,uintb tmpbase); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:102:11: error: ‘int4’ does not name a type; did you mean ‘int’? 102 | virtual int4 manualCallFixup(const string &name,const string &snippetstring); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:103:11: error: ‘int4’ does not name a type; did you mean ‘int’? 103 | virtual int4 manualCallOtherFixup(const string &name,const string &outname,const vector &inname, | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2364:22: error: ‘bitsize’ was not declared in this scope 2364 | s << " size=\"" << bitsize << "\""; | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:148:20: error: expected ‘)’ before ‘f’ 148 | ActionGroup(uint4 f,const string &nm) : Action(f,nm,"") {} ///< Construct given properties and a name | ~ ^~ | ) In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:23:3: error: ‘int4’ does not name a type; did you mean ‘int’? 23 | int4 lineno; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:155:11: error: ‘int4’ does not name a type; did you mean ‘int’? 155 | virtual int4 apply(Funcdata &data); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:26:39: error: ‘int4’ does not name a type; did you mean ‘int’? 26 | Location(const string &fname, const int4 line) { filename = fname; lineno = line; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:156:11: error: ‘int4’ does not name a type; did you mean ‘int’? 156 | virtual int4 print(ostream &s,int4 num,int4 depth) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:28:3: error: ‘int4’ does not name a type; did you mean ‘int’? 28 | int4 getLineno(void) const { return lineno; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2366:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 2366 | for(int4 i=0;i *newOutput(bool usesLocalKey,ExprTree *rhs,string *varname,uint4 size=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:220:19: error: ‘uint4’ has not been declared 220 | void clearBreak(uint4 tp) { breakpoint &= ~tp; } ///< Clear a breakpoint on \b this Rule | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:81:43: error: ‘uint4’ has not been declared 81 | void newLocalDefinition(string *varname,uint4 size=0); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:88:45: error: ‘uintb’ has not been declared 88 | vector *createOpConst(OpCode opc,uintb val); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:94:42: error: ‘uintb’ has not been declared 94 | void appendOp(OpCode opc,ExprTree *res,uintb constval,int4 constsz); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:94:57: error: ‘int4’ has not been declared 94 | void appendOp(OpCode opc,ExprTree *res,uintb constval,int4 constsz); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:95:56: error: ‘uint4’ has not been declared 95 | VarnodeTpl *buildTruncatedVarnode(VarnodeTpl *basevn,uint4 bitoffset,uint4 numbits); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:95:72: error: ‘uint4’ has not been declared 95 | VarnodeTpl *buildTruncatedVarnode(VarnodeTpl *basevn,uint4 bitoffset,uint4 numbits); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:96:50: error: ‘uint4’ has not been declared 96 | vector *assignBitRange(VarnodeTpl *vn,uint4 bitoffset,uint4 numbits,ExprTree *rhs); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:96:66: error: ‘uint4’ has not been declared 96 | vector *assignBitRange(VarnodeTpl *vn,uint4 bitoffset,uint4 numbits,ExprTree *rhs); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:97:48: error: ‘uint4’ has not been declared 97 | ExprTree *createBitRange(SpecificSymbol *sym,uint4 bitoffset,uint4 numbits); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:228:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 228 | uint4 getBreakPoint(void) const { return breakpoint; } ///< Return breakpoint toggles | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:97:64: error: ‘uint4’ has not been declared 97 | ExprTree *createBitRange(SpecificSymbol *sym,uint4 bitoffset,uint4 numbits); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:98:41: error: ‘uint4’ has not been declared 98 | VarnodeTpl *addressOf(VarnodeTpl *var,uint4 size); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:100:25: error: ‘int4’ has not been declared 100 | static void matchSize(int4 j,OpTpl *op,bool inputonly,const vector &ops); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:39:69: error: ‘size’ was not declared in this scope 39 | InjectParameter(const string &nm,uint4 sz) :name(nm) { index = 0; size = sz; } ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2371:16: error: ‘i’ was not declared in this scope 2371 | for(int4 i=0;i &oplist) const; ///< List of op codes this rule operates on | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:237:38: error: template argument 1 is invalid 237 | virtual void getOpList(vector &oplist) const; ///< List of op codes this rule operates on | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:237:38: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:88:3: error: ‘int4’ does not name a type; did you mean ‘int’? 88 | int4 type; ///< Type of this payload: CALLFIXUP_TYPE, CALLOTHERFIXUP_TYPE, etc. | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:246:11: error: ‘int4’ does not name a type; did you mean ‘int’? 246 | virtual int4 applyOp(PcodeOp *op,Funcdata &data) { return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:91:3: error: ‘int4’ does not name a type; did you mean ‘int’? 91 | int4 paramshift; ///< Number of parameters shifted in the original call | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘void DecisionNode::restoreXml(const Element*, DecisionNode*, SubtableSymbol*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2383:10: error: ‘num’ was not declared in this scope; did you mean ‘enum’? 2383 | s >> num; | ^~~ | enum /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh: In constructor ‘PcodeCompile::PcodeCompile()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:65:69: error: ‘local_labelcount’ was not declared in this scope 65 | uniqspace=(AddrSpace *)0; local_labelcount=0; enforceLocalKey=false; } | ^~~~~~~~~~~~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:36:3: error: ‘int4’ does not name a type; did you mean ‘int’? 36 | int4 index; ///< Unique index assigned (for cross referencing associated Varnode in the InjectContext) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:94:60: error: ‘uint4’ has not been declared 94 | static void readParameter(const Element *el,string &name,uint4 &size); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:37:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 37 | uint4 size; ///< Size of the parameter Varnode in bytes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:97:34: error: ‘int4’ has not been declared 97 | InjectPayload(const string &nm,int4 tp) { name=nm; type=tp; paramshift=0; dynamic = false; incidentalCopy = false; } ///< Construct for use with restoreXml | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:39:36: error: ‘uint4’ has not been declared 39 | InjectParameter(const string &nm,uint4 sz) :name(nm) { index = 0; size = sz; } ///< Constructor | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh: In member function ‘void Rule::setBreak(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:219:29: error: ‘breakpoint’ was not declared in this scope 219 | void setBreak(uint4 tp) { breakpoint |= tp; } ///< Set a breakpoint on \b this Rule | ^~~~~~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:98:3: error: ‘int4’ does not name a type; did you mean ‘int’? 98 | int4 getParamShift(void) const { return paramshift; } ///< Get the number of parameters shifted | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:41:3: error: ‘int4’ does not name a type; did you mean ‘int’? 41 | int4 getIndex(void) const { return index; } ///< Get the assigned index | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:42:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 42 | uint4 getSize(void) const { return size; } ///< Get the size of the parameter in bytes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:101:3: error: ‘int4’ does not name a type; did you mean ‘int’? 101 | int4 sizeInput(void) const { return inputlist.size(); } ///< Return the number of input parameters | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh: In constructor ‘InjectParameter::InjectParameter(const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:39:66: error: overloaded function with no contextual type information 39 | InjectParameter(const string &nm,uint4 sz) :name(nm) { index = 0; size = sz; } ///< Constructor | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:102:3: error: ‘int4’ does not name a type; did you mean ‘int’? 102 | int4 sizeOutput(void) const { return output.size(); } ///< Return the number of output parameters | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:103:29: error: ‘int4’ has not been declared 103 | InjectParameter &getInput(int4 i) { return inputlist[i]; } ///< Get the i-th input parameter | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:104:30: error: ‘int4’ has not been declared 104 | InjectParameter &getOutput(int4 i) { return output[i]; } ///< Get the i-th output parameter | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:121:3: error: ‘int4’ does not name a type; did you mean ‘int’? 121 | int4 getType(void) const { return type; } ///< Return the type of injection (CALLFIXUP_TYPE, CALLOTHERFIXUP_TYPE, etc.) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2389:10: error: ‘startbit’ was not declared in this scope; did you mean ‘static’? 2389 | s >> startbit; | ^~~~~~~~ | static /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:39:69: error: ‘size’ was not declared in this scope 39 | InjectParameter(const string &nm,uint4 sz) :name(nm) { index = 0; size = sz; } ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh: In member function ‘void Rule::clearBreak(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:220:31: error: ‘breakpoint’ was not declared in this scope 220 | void clearBreak(uint4 tp) { breakpoint &= ~tp; } ///< Clear a breakpoint on \b this Rule | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh: In member function ‘void PcodeCompile::resetLabelCount()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodecompile.hh:70:32: error: ‘local_labelcount’ was not declared in this scope 70 | void resetLabelCount(void) { local_labelcount=0; } | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:88:3: error: ‘int4’ does not name a type; did you mean ‘int’? 88 | int4 type; ///< Type of this payload: CALLFIXUP_TYPE, CALLOTHERFIXUP_TYPE, etc. | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:91:3: error: ‘int4’ does not name a type; did you mean ‘int’? 91 | int4 paramshift; ///< Number of parameters shifted in the original call | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh:26:3: error: ‘int4’ does not name a type; did you mean ‘int’? 26 | int4 id; | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh: In constructor ‘InjectPayload::InjectPayload(const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:97:54: error: ‘type’ was not declared in this scope; did you mean ‘wctype’? 97 | InjectPayload(const string &nm,int4 tp) { name=nm; type=tp; paramshift=0; dynamic = false; incidentalCopy = false; } ///< Construct for use with restoreXml | ^~~~ | wctype /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh:46:3: error: ‘int4’ does not name a type; did you mean ‘int’? 46 | int4 curstate; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh:49:3: error: ‘int4’ does not name a type; did you mean ‘int’? 49 | int4 tokpos; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2394:10: error: ‘bitsize’ was not declared in this scope 2394 | s >> bitsize; | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh:54:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 54 | uintb curnum; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh: In member function ‘void Rule::clearBreakPoints()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:221:33: error: ‘breakpoint’ was not declared in this scope 221 | void clearBreakPoints(void) { breakpoint = 0; } ///< Clear all breakpoints on \b this Rule | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh:60:3: error: ‘int4’ does not name a type; did you mean ‘int’? 60 | int4 findIdentifier(const string &str) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:94:60: error: ‘uint4’ has not been declared 94 | static void readParameter(const Element *el,string &name,uint4 &size); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh:61:3: error: ‘int4’ does not name a type; did you mean ‘int’? 61 | int4 moveState(void); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:97:34: error: ‘int4’ has not been declared 97 | InjectPayload(const string &nm,int4 tp) { name=nm; type=tp; paramshift=0; dynamic = false; incidentalCopy = false; } ///< Construct for use with restoreXml | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:98:3: error: ‘int4’ does not name a type; did you mean ‘int’? 98 | int4 getParamShift(void) const { return paramshift; } ///< Get the number of parameters shifted | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh:65:3: error: ‘int4’ does not name a type; did you mean ‘int’? 65 | int4 getNextToken(void); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:97:63: error: ‘paramshift’ was not declared in this scope 97 | InjectPayload(const string &nm,int4 tp) { name=nm; type=tp; paramshift=0; dynamic = false; incidentalCopy = false; } ///< Construct for use with restoreXml | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:101:3: error: ‘int4’ does not name a type; did you mean ‘int’? 101 | int4 sizeInput(void) const { return inputlist.size(); } ///< Return the number of input parameters | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh:67:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 67 | uintb getNumber(void) const { return curnum; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh: In member function ‘void Rule::turnOnWarnings()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:222:31: error: ‘flags’ was not declared in this scope 222 | void turnOnWarnings(void) { flags |= warnings_on; } ///< Enable warnings for \b this Rule | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2403:7: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 2403 | uintm id; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:102:3: error: ‘int4’ does not name a type; did you mean ‘int’? 102 | int4 sizeOutput(void) const { return output.size(); } ///< Return the number of output parameters | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:103:29: error: ‘int4’ has not been declared 103 | InjectParameter &getInput(int4 i) { return inputlist[i]; } ///< Get the i-th input parameter | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:104:30: error: ‘int4’ has not been declared 104 | InjectParameter &getOutput(int4 i) { return output[i]; } ///< Get the i-th output parameter | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:121:3: error: ‘int4’ does not name a type; did you mean ‘int’? 121 | int4 getType(void) const { return type; } ///< Return the type of injection (CALLFIXUP_TYPE, CALLOTHERFIXUP_TYPE, etc.) | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:139:10: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 139 | vector inputList; ///< Temporary ids of input varnodes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:139:15: error: template argument 1 is invalid 139 | vector inputList; ///< Temporary ids of input varnodes | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:139:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh: In member function ‘void Rule::turnOffWarnings()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:223:32: error: ‘flags’ was not declared in this scope 223 | void turnOffWarnings(void) { flags &= ~warnings_on; } ///< Disable warnings for \b this Rule | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh: In member function ‘void PcodeLexer::starttoken()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh:55:50: error: ‘tokpos’ was not declared in this scope 55 | void starttoken(void) { curtoken[0] = curchar; tokpos = 1; } | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2406:12: error: ‘id’ was not declared in this scope 2406 | s >> id; | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:140:10: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 140 | vector outputList; ///< Temporary ids of output varnodes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:140:15: error: template argument 1 is invalid 140 | vector outputList; ///< Temporary ids of output varnodes | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:140:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2422:13: error: variable or field ‘calc_maskword’ declared void 2422 | static void calc_maskword(int4 sbit,int4 ebit,int4 &num,int4 &shift,uintm &mask) | ^~~~~~~~~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh: In constructor ‘InjectPayload::InjectPayload(const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:97:54: error: ‘type’ was not declared in this scope; did you mean ‘wctype’? 97 | InjectPayload(const string &nm,int4 tp) { name=nm; type=tp; paramshift=0; dynamic = false; incidentalCopy = false; } ///< Construct for use with restoreXml | ^~~~ | wctype /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:147:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 147 | uintb evaluate(const vector &input); ///< Evaluate the snippet on the given inputs | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh: In member function ‘bool Rule::isDisabled() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:224:42: error: ‘flags’ was not declared in this scope 224 | bool isDisabled(void) const { return ((flags & type_disable)!=0); } ///< Return \b true if \b this Rule is disabled | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:165:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 165 | uintb tempbase; ///< Offset within \e unique space for allocating temporaries within a payload | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2422:27: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 2422 | static void calc_maskword(int4 sbit,int4 ebit,int4 &num,int4 &shift,uintm &mask) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh: In member function ‘void PcodeLexer::advancetoken()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh:56:38: error: ‘tokpos’ was not declared in this scope 56 | void advancetoken(void) { curtoken[tokpos++] = curchar; } | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh: In member function ‘void Rule::setDisable()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:225:27: error: ‘flags’ was not declared in this scope 225 | void setDisable(void) { flags |= type_disable; } ///< Disable this Rule (within its pool) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2422:37: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 2422 | static void calc_maskword(int4 sbit,int4 ebit,int4 &num,int4 &shift,uintm &mask) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh:74:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 74 | uintb tempbase; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh:75:3: error: ‘int4’ does not name a type; did you mean ‘int’? 75 | int4 errorcount; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:97:63: error: ‘paramshift’ was not declared in this scope 97 | InjectPayload(const string &nm,int4 tp) { name=nm; type=tp; paramshift=0; dynamic = false; incidentalCopy = false; } ///< Construct for use with restoreXml | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2422:47: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 2422 | static void calc_maskword(int4 sbit,int4 ebit,int4 &num,int4 &shift,uintm &mask) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh:78:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 78 | virtual uintb allocateTemp(void); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh:90:22: error: ‘uintb’ has not been declared 90 | void setUniqueBase(uintb val) { tempbase = val; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh: In member function ‘void Rule::clearDisable()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:226:29: error: ‘flags’ was not declared in this scope 226 | void clearDisable(void) { flags &= ~type_disable; } ///< Enable this Rule (within its pool) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh:91:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 91 | uintb getUniqueBase(void) const { return tempbase; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh:95:38: error: ‘int4’ has not been declared 95 | void addOperand(const string &name,int4 index); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2422:53: error: ‘num’ was not declared in this scope; did you mean ‘enum’? 2422 | static void calc_maskword(int4 sbit,int4 ebit,int4 &num,int4 &shift,uintm &mask) | ^~~ | enum In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:139:10: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 139 | vector inputList; ///< Temporary ids of input varnodes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:139:15: error: template argument 1 is invalid 139 | vector inputList; ///< Temporary ids of input varnodes | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:139:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2422:57: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 2422 | static void calc_maskword(int4 sbit,int4 ebit,int4 &num,int4 &shift,uintm &mask) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:140:10: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 140 | vector outputList; ///< Temporary ids of output varnodes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:140:15: error: template argument 1 is invalid 140 | vector outputList; ///< Temporary ids of output varnodes | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:140:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:147:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 147 | uintb evaluate(const vector &input); ///< Evaluate the snippet on the given inputs | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2422:63: error: ‘shift’ was not declared in this scope 2422 | static void calc_maskword(int4 sbit,int4 ebit,int4 &num,int4 &shift,uintm &mask) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:266:3: error: ‘int4’ does not name a type; did you mean ‘int’? 266 | int4 rule_index; ///< Iterator over Rules for one OpCode | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh: In member function ‘bool PcodeSnippet::hasErrors() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh:88:40: error: ‘errorcount’ was not declared in this scope; did you mean ‘error_t’? 88 | bool hasErrors(void) const { return (errorcount != 0); } | ^~~~~~~~~~ | error_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:165:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 165 | uintb tempbase; ///< Offset within \e unique space for allocating temporaries within a payload | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:167:14: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 167 | map callFixupMap; ///< Map of registered call-fixup names to injection id | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:167:18: error: template argument 2 is invalid 167 | map callFixupMap; ///< Map of registered call-fixup names to injection id | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:167:18: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:267:3: error: ‘int4’ does not name a type; did you mean ‘int’? 267 | int4 processOp(PcodeOp *op,Funcdata &data); ///< Apply the next possible Rule to a PcodeOp | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:269:19: error: expected ‘)’ before ‘f’ 269 | ActionPool(uint4 f,const string &nm) : Action(f,nm,"") {} ///< Construct providing properties and name | ~ ^~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2422:69: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 2422 | static void calc_maskword(int4 sbit,int4 ebit,int4 &num,int4 &shift,uintm &mask) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:276:11: error: ‘int4’ does not name a type; did you mean ‘int’? 276 | virtual int4 apply(Funcdata &data); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:277:11: error: ‘int4’ does not name a type; did you mean ‘int’? 277 | virtual int4 print(ostream &s,int4 num,int4 depth) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:168:14: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 168 | map callOtherFixupMap; ///< Map of registered callother-fixup names to injection id | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:168:18: error: template argument 2 is invalid 168 | map callOtherFixupMap; ///< Map of registered callother-fixup names to injection id | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:168:18: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2422:76: error: ‘mask’ was not declared in this scope 2422 | static void calc_maskword(int4 sbit,int4 ebit,int4 &num,int4 &shift,uintm &mask) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2436:21: error: expected constructor, destructor, or type conversion before ‘(’ token 2436 | ContextOp::ContextOp(int4 startbit,int4 endbit,PatternExpression *pe) | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh: In member function ‘void PcodeSnippet::setUniqueBase(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeparse.hh:90:35: error: ‘tempbase’ was not declared in this scope 90 | void setUniqueBase(uintb val) { tempbase = val; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:169:14: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 169 | map callMechFixupMap; ///< Map of registered mechanism names to injection id | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:169:18: error: template argument 2 is invalid 169 | map callMechFixupMap; ///< Map of registered mechanism names to injection id | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:169:18: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘virtual void ContextOp::apply(ParserWalkerChange&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2447:3: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 2447 | uintm val = patexp->getValue(walker); // Get our value based on context | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:170:14: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 170 | map scriptMap; ///< Map of registered script names to ExecutablePcode id | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:170:18: error: template argument 2 is invalid 170 | map scriptMap; ///< Map of registered script names to ExecutablePcode id | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:170:18: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:175:50: error: ‘int4’ has not been declared 175 | void registerCallFixup(const string &fixupName,int4 injectid/* , vector targets */); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:176:55: error: ‘int4’ has not been declared 176 | void registerCallOtherFixup(const string &fixupName,int4 injectid); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:177:54: error: ‘int4’ has not been declared 177 | void registerCallMechanism(const string &fixupName,int4 injectid); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:178:51: error: ‘int4’ has not been declared 178 | void registerExeScript(const string &scriptName,int4 injectid); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:188:11: error: ‘int4’ does not name a type; did you mean ‘int’? 188 | virtual int4 allocateInject(const string &sourceName,const string &name,int4 type)=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:196:31: error: ‘int4’ has not been declared 196 | virtual void registerInject(int4 injectid)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:198:38: error: ‘uintb’ has not been declared 198 | PcodeInjectLibrary(Architecture *g,uintb tmpbase) { glb = g; tempbase = tmpbase; } ///< Constructor | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:200:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 200 | uintb getUniqueBase(void) const { return tempbase; } ///< Get the (current) offset for building temporary registers | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2448:3: error: ‘val’ was not declared in this scope 2448 | val <<= shift; | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:201:3: error: ‘int4’ does not name a type; did you mean ‘int’? 201 | int4 getPayloadId(int4 type,const string &nm) const; ///< Map name and type to the payload id | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:202:29: error: ‘int4’ has not been declared 202 | InjectPayload *getPayload(int4 id) const { return injection[id]; } ///< Get the InjectPayload by id | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:203:27: error: ‘int4’ has not been declared 203 | string getCallFixupName(int4 injectid) const; ///< Get the call-fixup name associated with an id | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:204:29: error: ‘int4’ has not been declared 204 | string getCallOtherTarget(int4 injectid) const; ///< Get the callother-fixup name associated with an id | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:205:31: error: ‘int4’ has not been declared 205 | string getCallMechanismName(int4 injectid) const; ///< Get the call mechanism name associated with an id | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:18: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:54:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 54 | uint4 extraflags; ///< Varnode flags specific to this storage location | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:206:3: error: ‘int4’ does not name a type; did you mean ‘int’? 206 | int4 restoreXmlInject(const string &src,const string &nm,int4 tp,const Element *el); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:167:14: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 167 | map callFixupMap; ///< Map of registered call-fixup names to injection id | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:167:18: error: template argument 2 is invalid 167 | map callFixupMap; ///< Map of registered call-fixup names to injection id | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:167:18: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:222:11: error: ‘int4’ does not name a type; did you mean ‘int’? 222 | virtual int4 manualCallFixup(const string &name,const string &snippetstring)=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:56:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 56 | uint8 hash; ///< A dynamic storage address (an alternative to \b addr for dynamic symbols) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:233:11: error: ‘int4’ does not name a type; did you mean ‘int’? 233 | virtual int4 manualCallOtherFixup(const string &name,const string &outname,const vector &inname, | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:57:3: error: ‘int4’ does not name a type; did you mean ‘int’? 57 | int4 offset; ///< Offset into the Symbol that \b this covers | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:168:14: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 168 | map callOtherFixupMap; ///< Map of registered callother-fixup names to injection id | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:58:3: error: ‘int4’ does not name a type; did you mean ‘int’? 58 | int4 size; ///< Number of bytes consumed by \b this (piece of the) storage | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:168:18: error: template argument 2 is invalid 168 | map callOtherFixupMap; ///< Map of registered callother-fixup names to injection id | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:168:18: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2448:11: error: ‘shift’ was not declared in this scope 2448 | val <<= shift; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:71:5: error: ‘uint4’ does not name a type; did you mean ‘uint’? 71 | uint4 extraflags; ///< Varnode flags specific to the storage location | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:72:5: error: ‘int4’ does not name a type; did you mean ‘int’? 72 | int4 offset; ///< Starting offset of the portion of the Symbol being covered | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:75:31: error: ‘uint4’ has not been declared 75 | EntryInitData(Symbol *sym,uint4 exfl,AddrSpace *spc,int4 off,const RangeList &ul) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:75:57: error: ‘int4’ has not been declared 75 | EntryInitData(Symbol *sym,uint4 exfl,AddrSpace *spc,int4 off,const RangeList &ul) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:169:14: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 169 | map callMechFixupMap; ///< Map of registered mechanism names to injection id | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:169:18: error: template argument 2 is invalid 169 | map callMechFixupMap; ///< Map of registered mechanism names to injection id | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:169:18: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:85:5: error: ‘int4’ does not name a type; did you mean ‘int’? 85 | int4 useindex; ///< Index of the sub-sorting address space | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2449:45: error: ‘num’ was not declared in this scope; did you mean ‘enum’? 2449 | walker.getParserContext()->setContextWord(num,val,mask); | ^~~ | enum /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:86:5: error: ‘uintb’ does not name a type; did you mean ‘uint’? 86 | uintb useoffset; ///< Offset into the sub-sorting address space | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:170:14: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 170 | map scriptMap; ///< Map of registered script names to ExecutablePcode id | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:170:18: error: template argument 2 is invalid 170 | map scriptMap; ///< Map of registered script names to ExecutablePcode id | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:170:18: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh: In constructor ‘PcodeInjectLibrary::PcodeInjectLibrary(Architecture*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:198:64: error: ‘tempbase’ was not declared in this scope; did you mean ‘tmpbase’? 198 | PcodeInjectLibrary(Architecture *g,uintb tmpbase) { glb = g; tempbase = tmpbase; } ///< Constructor | ^~~~~~~~ | tmpbase /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:175:50: error: ‘int4’ has not been declared 175 | void registerCallFixup(const string &fixupName,int4 injectid/* , vector targets */); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:176:55: error: ‘int4’ has not been declared 176 | void registerCallOtherFixup(const string &fixupName,int4 injectid); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:177:54: error: ‘int4’ has not been declared 177 | void registerCallMechanism(const string &fixupName,int4 injectid); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:111:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 111 | typedef uintb linetype; ///< The linear element for a rangemap of SymbolEntry | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:178:51: error: ‘int4’ has not been declared 178 | void registerExeScript(const string &scriptName,int4 injectid); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:115:41: error: ‘uintb’ has not been declared 115 | SymbolEntry(const EntryInitData &data,uintb a,uintb b); ///< Fully initialize \b this | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:115:49: error: ‘uintb’ has not been declared 115 | SymbolEntry(const EntryInitData &data,uintb a,uintb b); ///< Fully initialize \b this | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:116:27: error: ‘uint4’ has not been declared 116 | SymbolEntry(Symbol *sym,uint4 exfl,uint8 h,int4 off,int4 sz,const RangeList &rnglist); ///< Construct a dynamic SymbolEntry | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:116:38: error: ‘uint8’ has not been declared 116 | SymbolEntry(Symbol *sym,uint4 exfl,uint8 h,int4 off,int4 sz,const RangeList &rnglist); ///< Construct a dynamic SymbolEntry | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:116:46: error: ‘int4’ has not been declared 116 | SymbolEntry(Symbol *sym,uint4 exfl,uint8 h,int4 off,int4 sz,const RangeList &rnglist); ///< Construct a dynamic SymbolEntry | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:116:55: error: ‘int4’ has not been declared 116 | SymbolEntry(Symbol *sym,uint4 exfl,uint8 h,int4 off,int4 sz,const RangeList &rnglist); ///< Construct a dynamic SymbolEntry | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:188:11: error: ‘int4’ does not name a type; did you mean ‘int’? 188 | virtual int4 allocateInject(const string &sourceName,const string &name,int4 type)=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:196:31: error: ‘int4’ has not been declared 196 | virtual void registerInject(int4 injectid)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:198:38: error: ‘uintb’ has not been declared 198 | PcodeInjectLibrary(Architecture *g,uintb tmpbase) { glb = g; tempbase = tmpbase; } ///< Constructor | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:18: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:120:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 120 | uint4 getAllFlags(void) const; ///< Get all Varnode flags for \b this storage | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:62:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 62 | uint4 flags; ///< Boolean properties of the parameter | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:200:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 200 | uintb getUniqueBase(void) const { return tempbase; } ///< Get the (current) offset for building temporary registers | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:121:3: error: ‘int4’ does not name a type; did you mean ‘int’? 121 | int4 getOffset(void) const { return offset; } ///< Get offset of \b this within the Symbol | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:64:3: error: ‘int4’ does not name a type; did you mean ‘int’? 64 | int4 group; ///< Group of (mutually exclusive) entries that this entry belongs to | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:201:3: error: ‘int4’ does not name a type; did you mean ‘int’? 201 | int4 getPayloadId(int4 type,const string &nm) const; ///< Map name and type to the payload id | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:202:29: error: ‘int4’ has not been declared 202 | InjectPayload *getPayload(int4 id) const { return injection[id]; } ///< Get the InjectPayload by id | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:203:27: error: ‘int4’ has not been declared 203 | string getCallFixupName(int4 injectid) const; ///< Get the call-fixup name associated with an id | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:204:29: error: ‘int4’ has not been declared 204 | string getCallOtherTarget(int4 injectid) const; ///< Get the callother-fixup name associated with an id | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:205:31: error: ‘int4’ has not been declared 205 | string getCallMechanismName(int4 injectid) const; ///< Get the call mechanism name associated with an id | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:122:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 122 | uintb getFirst(void) const { return addr.getOffset(); } ///< Get the first offset of \b this storage location | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:65:3: error: ‘int4’ does not name a type; did you mean ‘int’? 65 | int4 groupsize; ///< The number of consecutive groups taken by the entry | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2449:53: error: ‘mask’ was not declared in this scope 2449 | walker.getParserContext()->setContextWord(num,val,mask); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:206:3: error: ‘int4’ does not name a type; did you mean ‘int’? 206 | int4 restoreXmlInject(const string &src,const string &nm,int4 tp,const Element *el); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:123:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 123 | uintb getLast(void) const { return (addr.getOffset()+size-1); } ///< Get the last offset of \b this storage location | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:67:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 67 | uintb addressbase; ///< Starting offset of the range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:222:11: error: ‘int4’ does not name a type; did you mean ‘int’? 222 | virtual int4 manualCallFixup(const string &name,const string &snippetstring)=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:68:3: error: ‘int4’ does not name a type; did you mean ‘int’? 68 | int4 size; ///< Size of the range in bytes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:127:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 127 | uint8 getHash(void) const { return hash; } ///< Get the hash used to identify \b this storage | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:233:11: error: ‘int4’ does not name a type; did you mean ‘int’? 233 | virtual int4 manualCallOtherFixup(const string &name,const string &outname,const vector &inname, | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:69:3: error: ‘int4’ does not name a type; did you mean ‘int’? 69 | int4 minsize; ///< Minimum bytes allowed for the logical value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:128:3: error: ‘int4’ does not name a type; did you mean ‘int’? 128 | int4 getSize(void) const { return size; } ///< Get the number of bytes consumed by \b this storage | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:135:46: error: ‘int4’ has not been declared 135 | Datatype *getSizedType(const Address &addr,int4 sz) const; ///< Get the data-type associated with (a piece of) \b this | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:70:3: error: ‘int4’ does not name a type; did you mean ‘int’? 70 | int4 alignment; ///< How much alignment (0 means only 1 logical value is allowed) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:71:3: error: ‘int4’ does not name a type; did you mean ‘int’? 71 | int4 numslots; ///< (Maximum) number of slots that can store separate parameters | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:78:18: error: expected ‘)’ before ‘grp’ 78 | ParamEntry(int4 grp) { group=grp; } ///< Constructor for use with restoreXml | ~ ^~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:79:30: error: ‘int4’ has not been declared 79 | ParamEntry(type_metatype t,int4 grp,int4 grpsize,const Address &loc,int4 sz,int4 mnsz,int4 align,bool normalstack); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:79:39: error: ‘int4’ has not been declared 79 | ParamEntry(type_metatype t,int4 grp,int4 grpsize,const Address &loc,int4 sz,int4 mnsz,int4 align,bool normalstack); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:79:71: error: ‘int4’ has not been declared 79 | ParamEntry(type_metatype t,int4 grp,int4 grpsize,const Address &loc,int4 sz,int4 mnsz,int4 align,bool normalstack); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:79:79: error: ‘int4’ has not been declared 79 | ParamEntry(type_metatype t,int4 grp,int4 grpsize,const Address &loc,int4 sz,int4 mnsz,int4 align,bool normalstack); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:79:89: error: ‘int4’ has not been declared 79 | ParamEntry(type_metatype t,int4 grp,int4 grpsize,const Address &loc,int4 sz,int4 mnsz,int4 align,bool normalstack); | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:36:3: error: ‘int4’ does not name a type; did you mean ‘int’? 36 | int4 index; ///< Unique index assigned (for cross referencing associated Varnode in the InjectContext) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:80:3: error: ‘int4’ does not name a type; did you mean ‘int’? 80 | int4 getGroup(void) const { return group; } ///< Get the group id \b this belongs to | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:37:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 37 | uint4 size; ///< Size of the parameter Varnode in bytes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:39:36: error: ‘uint4’ has not been declared 39 | InjectParameter(const string &nm,uint4 sz) :name(nm) { index = 0; size = sz; } ///< Constructor | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:81:3: error: ‘int4’ does not name a type; did you mean ‘int’? 81 | int4 getGroupSize(void) const { return groupsize; } ///< Get the number of groups occupied by \b this | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘virtual void ContextOp::validate() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2458:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 2458 | for(int4 i=0;iisBigEndian())); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:71:3: error: ‘int4’ does not name a type; did you mean ‘int’? 71 | int4 numslots; ///< (Maximum) number of slots that can store separate parameters | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:78:18: error: expected ‘)’ before ‘grp’ 78 | ParamEntry(int4 grp) { group=grp; } ///< Constructor for use with restoreXml | ~ ^~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:79:30: error: ‘int4’ has not been declared 79 | ParamEntry(type_metatype t,int4 grp,int4 grpsize,const Address &loc,int4 sz,int4 mnsz,int4 align,bool normalstack); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:79:39: error: ‘int4’ has not been declared 79 | ParamEntry(type_metatype t,int4 grp,int4 grpsize,const Address &loc,int4 sz,int4 mnsz,int4 align,bool normalstack); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:79:71: error: ‘int4’ has not been declared 79 | ParamEntry(type_metatype t,int4 grp,int4 grpsize,const Address &loc,int4 sz,int4 mnsz,int4 align,bool normalstack); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:79:79: error: ‘int4’ has not been declared 79 | ParamEntry(type_metatype t,int4 grp,int4 grpsize,const Address &loc,int4 sz,int4 mnsz,int4 align,bool normalstack); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:79:89: error: ‘int4’ has not been declared 79 | ParamEntry(type_metatype t,int4 grp,int4 grpsize,const Address &loc,int4 sz,int4 mnsz,int4 align,bool normalstack); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:80:3: error: ‘int4’ does not name a type; did you mean ‘int’? 80 | int4 getGroup(void) const { return group; } ///< Get the group id \b this belongs to | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:81:3: error: ‘int4’ does not name a type; did you mean ‘int’? 81 | int4 getGroupSize(void) const { return groupsize; } ///< Get the number of groups occupied by \b this | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In constructor ‘SymbolEntry::EntrySubsort::EntrySubsort(const Address&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:89:7: error: ‘useindex’ was not declared in this scope; did you mean ‘rindex’? 89 | useindex = addr.getSpace()->getIndex(); useoffset = addr.getOffset(); } ///< Construct given a sub-sorting address | ^~~~~~~~ | rindex /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:89:35: error: ‘class AddrSpace’ has no member named ‘getIndex’ 89 | useindex = addr.getSpace()->getIndex(); useoffset = addr.getOffset(); } ///< Construct given a sub-sorting address | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:82:3: error: ‘int4’ does not name a type; did you mean ‘int’? 82 | int4 getSize(void) const { return size; } ///< Get the size of the memory range in bytes. | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:83:3: error: ‘int4’ does not name a type; did you mean ‘int’? 83 | int4 getMinSize(void) const { return minsize; } ///< Get the minimum size of a logical value contained in \b this | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:94:60: error: ‘uint4’ has not been declared 94 | static void readParameter(const Element *el,string &name,uint4 &size); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:97:34: error: ‘int4’ has not been declared 97 | InjectPayload(const string &nm,int4 tp) { name=nm; type=tp; paramshift=0; dynamic = false; incidentalCopy = false; } ///< Construct for use with restoreXml | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2475:23: error: ‘shift’ was not declared in this scope 2475 | s << " shift=\"" << shift << "\""; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:84:3: error: ‘int4’ does not name a type; did you mean ‘int’? 84 | int4 getAlign(void) const { return alignment; } ///< Get the alignment of \b this entry | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ParamEntry::isExclusion() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:86:42: error: ‘alignment’ was not declared in this scope 86 | bool isExclusion(void) const { return (alignment==0); } ///< Return \b true if this holds a single parameter exclusively | ^~~~~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:89:40: error: ‘int4’ has not been declared 89 | bool containedBy(const Address &addr,int4 sz) const; ///< Is this entry contained by the given range | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:98:3: error: ‘int4’ does not name a type; did you mean ‘int’? 98 | int4 getParamShift(void) const { return paramshift; } ///< Get the number of parameters shifted | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:90:3: error: ‘int4’ does not name a type; did you mean ‘int’? 90 | int4 justifiedContain(const Address &addr,int4 sz) const; ///< Calculate endian aware containment | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:91:41: error: ‘int4’ has not been declared 91 | bool getContainer(const Address &addr,int4 sz,VarnodeData &res) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:92:47: error: ‘int4’ has not been declared 92 | OpCode assumedExtension(const Address &addr,int4 sz,VarnodeData &res) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:101:3: error: ‘int4’ does not name a type; did you mean ‘int’? 101 | int4 sizeInput(void) const { return inputlist.size(); } ///< Return the number of input parameters | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:93:3: error: ‘int4’ does not name a type; did you mean ‘int’? 93 | int4 getSlot(const Address &addr,int4 skip) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:102:3: error: ‘int4’ does not name a type; did you mean ‘int’? 102 | int4 sizeOutput(void) const { return output.size(); } ///< Return the number of output parameters | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:103:29: error: ‘int4’ has not been declared 103 | InjectParameter &getInput(int4 i) { return inputlist[i]; } ///< Get the i-th input parameter | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:104:30: error: ‘int4’ has not been declared 104 | InjectParameter &getOutput(int4 i) { return output[i]; } ///< Get the i-th output parameter | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:89:47: error: ‘useoffset’ was not declared in this scope 89 | useindex = addr.getSpace()->getIndex(); useoffset = addr.getOffset(); } ///< Construct given a sub-sorting address | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:95:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 95 | uintb getBase(void) const { return addressbase; } ///< Get the starting offset of \b this entry | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:96:25: error: ‘int4’ has not been declared 96 | Address getAddrBySlot(int4 &slot,int4 sz) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:89:64: error: ‘const class Address’ has no member named ‘getOffset’ 89 | useindex = addr.getSpace()->getIndex(); useoffset = addr.getOffset(); } ///< Construct given a sub-sorting address | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:96:36: error: ‘int4’ has not been declared 96 | Address getAddrBySlot(int4 &slot,int4 sz) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ParamEntry::isReverseStack() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:87:46: error: ‘flags’ was not declared in this scope 87 | bool isReverseStack(void) const { return ((flags & reverse_stack)!=0); } ///< Return \b true if parameters are allocated in reverse order | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:121:3: error: ‘int4’ does not name a type; did you mean ‘int’? 121 | int4 getType(void) const { return type; } ///< Return the type of injection (CALLFIXUP_TYPE, CALLOTHERFIXUP_TYPE, etc.) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2476:31: error: ‘mask’ was not declared in this scope 2476 | s << " mask=\"0x" << hex << mask << "\" >\n"; | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ParamEntry::isLeftJustified() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:76:48: error: ‘flags’ was not declared in this scope 76 | bool isLeftJustified(void) const { return (((flags&force_left_justify)!=0)||(!spaceid->isBigEndian())); } | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ParamEntry::isParamCheckHigh() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:99:48: error: ‘flags’ was not declared in this scope 99 | bool isParamCheckHigh(void) const { return ((flags & extracheck_high)!=0); } ///< Return \b true if there is a high overlap | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In constructor ‘SymbolEntry::EntrySubsort::EntrySubsort()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:90:26: error: ‘useindex’ was not declared in this scope; did you mean ‘rindex’? 90 | EntrySubsort(void) { useindex=0; useoffset=0; } ///< Construct earliest possible sub-sort | ^~~~~~~~ | rindex In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh: In constructor ‘InjectPayload::InjectPayload(const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:97:54: error: ‘type’ was not declared in this scope; did you mean ‘wctype’? 97 | InjectPayload(const string &nm,int4 tp) { name=nm; type=tp; paramshift=0; dynamic = false; incidentalCopy = false; } ///< Construct for use with restoreXml | ^~~~ | wctype /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ParamEntry::isParamCheckLow() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:100:47: error: ‘flags’ was not declared in this scope 100 | bool isParamCheckLow(void) const { return ((flags & extracheck_low)!=0); } ///< Return \b true if there is a low overlap | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘virtual void ContextOp::restoreXml(const Element*, SleighBase*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2487:10: error: ‘num’ was not declared in this scope; did you mean ‘enum’? 2487 | s >> num; | ^~~ | enum /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:105:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 105 | uintb first; ///< Starting offset of the ParamEntry's range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ParamEntry::isExclusion() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:86:42: error: ‘alignment’ was not declared in this scope 86 | bool isExclusion(void) const { return (alignment==0); } ///< Return \b true if this holds a single parameter exclusively | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:106:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 106 | uintb last; ///< Ending offset of the ParamEntry's range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:107:3: error: ‘int4’ does not name a type; did you mean ‘int’? 107 | int4 position; ///< Position of the ParamEntry within the entire prototype list | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:90:38: error: ‘useoffset’ was not declared in this scope 90 | EntrySubsort(void) { useindex=0; useoffset=0; } ///< Construct earliest possible sub-sort | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:113:5: error: ‘int4’ does not name a type; did you mean ‘int’? 113 | int4 position; ///< Position (within the full list) being assigned to the ParamEntryRange | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:116:18: error: expected ‘)’ before ‘pos’ 116 | InitData(int4 pos,ParamEntry *e) { position = pos; entry = e; } ///< Constructor | ~ ^~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:121:5: error: ‘int4’ does not name a type; did you mean ‘int’? 121 | int4 position; ///< The position value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ParamEntry::isReverseStack() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:87:46: error: ‘flags’ was not declared in this scope 87 | bool isReverseStack(void) const { return ((flags & reverse_stack)!=0); } ///< Return \b true if parameters are allocated in reverse order | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:124:25: error: expected ‘)’ before ‘pos’ 124 | SubsortPosition(int4 pos) { position = pos; } ///< Construct given position | ~ ^~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:97:63: error: ‘paramshift’ was not declared in this scope 97 | InjectPayload(const string &nm,int4 tp) { name=nm; type=tp; paramshift=0; dynamic = false; incidentalCopy = false; } ///< Construct for use with restoreXml | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2492:10: error: ‘shift’ was not declared in this scope 2492 | s >> shift; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:129:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 129 | typedef uintb linetype; ///< The linear element for a rangemap | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:133:40: error: ‘uintb’ has not been declared 133 | ParamEntryRange(const inittype &data,uintb f,uintb l) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:133:48: error: ‘uintb’ has not been declared 133 | ParamEntryRange(const inittype &data,uintb f,uintb l) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:135:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 135 | uintb getFirst(void) const { return first; } ///< Get the first address in the range | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ParamEntry::isParamCheckHigh() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:99:48: error: ‘flags’ was not declared in this scope 99 | bool isParamCheckHigh(void) const { return ((flags & extracheck_high)!=0); } ///< Return \b true if there is a high overlap | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:136:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 136 | uintb getLast(void) const { return last; } ///< Get the last address in the range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In constructor ‘SymbolEntry::EntrySubsort::EntrySubsort(bool)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:96:18: error: ‘useindex’ was not declared in this scope; did you mean ‘rindex’? 96 | if (val) { useindex=0xffff; } // Greater than any real values | ^~~~~~~~ | rindex In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:139:10: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 139 | vector inputList; ///< Temporary ids of input varnodes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:139:15: error: template argument 1 is invalid 139 | vector inputList; ///< Temporary ids of input varnodes | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:139:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ParamEntry::isParamCheckLow() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:100:47: error: ‘flags’ was not declared in this scope 100 | bool isParamCheckLow(void) const { return ((flags & extracheck_low)!=0); } ///< Return \b true if there is a low overlap | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2497:10: error: ‘mask’ was not declared in this scope 2497 | s >> mask; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:105:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 105 | uintb first; ///< Starting offset of the ParamEntry's range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:140:10: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 140 | vector outputList; ///< Temporary ids of output varnodes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:140:15: error: template argument 1 is invalid 140 | vector outputList; ///< Temporary ids of output varnodes | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘virtual ContextChange* ContextOp::clone() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2511:8: error: ‘class ContextOp’ has no member named ‘mask’ 2511 | res->mask = mask; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:140:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In constructor ‘ParamEntryRange::SubsortPosition::SubsortPosition(bool)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:125:33: error: ‘position’ was not declared in this scope 125 | SubsortPosition(bool val) { position = val ? 1000000 : 0; } ///< Constructor minimal/maximal subsort | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:106:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 106 | uintb last; ///< Ending offset of the ParamEntry's range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:97:14: error: ‘useindex’ was not declared in this scope; did you mean ‘rindex’? 97 | else { useindex=0; useoffset=0; } // Less than any real values | ^~~~~~~~ | rindex /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:147:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 147 | uintb evaluate(const vector &input); ///< Evaluate the snippet on the given inputs | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:107:3: error: ‘int4’ does not name a type; did you mean ‘int’? 107 | int4 position; ///< Position of the ParamEntry within the entire prototype list | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:113:5: error: ‘int4’ does not name a type; did you mean ‘int’? 113 | int4 position; ///< Position (within the full list) being assigned to the ParamEntryRange | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:116:18: error: expected ‘)’ before ‘pos’ 116 | InitData(int4 pos,ParamEntry *e) { position = pos; entry = e; } ///< Constructor | ~ ^~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:165:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 165 | uintb tempbase; ///< Offset within \e unique space for allocating temporaries within a payload | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:121:5: error: ‘int4’ does not name a type; did you mean ‘int’? 121 | int4 position; ///< The position value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:124:25: error: expected ‘)’ before ‘pos’ 124 | SubsortPosition(int4 pos) { position = pos; } ///< Construct given position | ~ ^~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:129:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 129 | typedef uintb linetype; ///< The linear element for a rangemap | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:133:40: error: ‘uintb’ has not been declared 133 | ParamEntryRange(const inittype &data,uintb f,uintb l) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:133:48: error: ‘uintb’ has not been declared 133 | ParamEntryRange(const inittype &data,uintb f,uintb l) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2511:15: error: ‘mask’ was not declared in this scope 2511 | res->mask = mask; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ParamEntryRange::SubsortPosition::operator<(const ParamEntryRange::SubsortPosition&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:126:57: error: ‘position’ was not declared in this scope 126 | bool operator<(const SubsortPosition &op2) { return position < op2.position; } ///< Compare operation | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2512:8: error: ‘class ContextOp’ has no member named ‘num’ 2512 | res->num = num; | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:126:72: error: ‘const class ParamEntryRange::SubsortPosition’ has no member named ‘position’ 126 | bool operator<(const SubsortPosition &op2) { return position < op2.position; } ///< Compare operation | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:135:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 135 | uintb getFirst(void) const { return first; } ///< Get the first address in the range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:97:26: error: ‘useoffset’ was not declared in this scope 97 | else { useindex=0; useoffset=0; } // Less than any real values | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:136:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 136 | uintb getLast(void) const { return last; } ///< Get the last address in the range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In constructor ‘ParamEntryRange::ParamEntryRange(const inittype&, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:134:5: error: ‘first’ was not declared in this scope 134 | first = f; last = l; position = data.position; entry = data.entry; } ///< Initialize the range | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2512:14: error: ‘num’ was not declared in this scope; did you mean ‘enum’? 2512 | res->num = num; | ^~~ | enum /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2513:8: error: ‘class ContextOp’ has no member named ‘shift’ 2513 | res->shift = shift; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In copy constructor ‘SymbolEntry::EntrySubsort::EntrySubsort(const SymbolEntry::EntrySubsort&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:101:7: error: ‘useindex’ was not declared in this scope; did you mean ‘rindex’? 101 | useindex = op2.useindex; | ^~~~~~~~ | rindex /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:134:16: error: ‘last’ was not declared in this scope 134 | first = f; last = l; position = data.position; entry = data.entry; } ///< Initialize the range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:101:22: error: ‘const class SymbolEntry::EntrySubsort’ has no member named ‘useindex’ 101 | useindex = op2.useindex; | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In constructor ‘ParamEntryRange::SubsortPosition::SubsortPosition(bool)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:125:33: error: ‘position’ was not declared in this scope 125 | SubsortPosition(bool val) { position = val ? 1000000 : 0; } ///< Constructor minimal/maximal subsort | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2513:16: error: ‘shift’ was not declared in this scope 2513 | res->shift = shift; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2517:46: error: ‘int4’ has not been declared 2517 | ContextCommit::ContextCommit(TripleSymbol *s,int4 sbit,int4 ebit,bool fl) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2517:56: error: ‘int4’ has not been declared 2517 | ContextCommit::ContextCommit(TripleSymbol *s,int4 sbit,int4 ebit,bool fl) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:134:26: error: ‘position’ was not declared in this scope 134 | first = f; last = l; position = data.position; entry = data.entry; } ///< Initialize the range | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:134:42: error: ‘const inittype’ {aka ‘const class ParamEntryRange::InitData’} has no member named ‘position’ 134 | first = f; last = l; position = data.position; entry = data.entry; } ///< Initialize the range | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ParamEntryRange::SubsortPosition::operator<(const ParamEntryRange::SubsortPosition&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:126:57: error: ‘position’ was not declared in this scope 126 | bool operator<(const SubsortPosition &op2) { return position < op2.position; } ///< Compare operation | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:126:72: error: ‘const class ParamEntryRange::SubsortPosition’ has no member named ‘position’ 126 | bool operator<(const SubsortPosition &op2) { return position < op2.position; } ///< Compare operation | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:102:7: error: ‘useoffset’ was not declared in this scope 102 | useoffset = op2.useoffset; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:102:23: error: ‘const class SymbolEntry::EntrySubsort’ has no member named ‘useoffset’ 102 | useoffset = op2.useoffset; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:167:14: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 167 | map callFixupMap; ///< Map of registered call-fixup names to injection id | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:167:18: error: template argument 2 is invalid 167 | map callFixupMap; ///< Map of registered call-fixup names to injection id | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:167:18: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In constructor ‘ContextCommit::ContextCommit(TripleSymbol*, int, int, bool)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2523:3: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 2523 | int4 shift; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In constructor ‘ParamEntryRange::ParamEntryRange(const inittype&, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:134:5: error: ‘first’ was not declared in this scope 134 | first = f; last = l; position = data.position; entry = data.entry; } ///< Initialize the range | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:168:14: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 168 | map callOtherFixupMap; ///< Map of registered callother-fixup names to injection id | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:168:18: error: template argument 2 is invalid 168 | map callOtherFixupMap; ///< Map of registered callother-fixup names to injection id | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:168:18: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘ParamEntryRange::subsorttype ParamEntryRange::getSubsort() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:137:63: error: ‘position’ was not declared in this scope 137 | subsorttype getSubsort(void) const { return SubsortPosition(position); } ///< Get the sub-subsort object | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘bool SymbolEntry::EntrySubsort::operator<(const SymbolEntry::EntrySubsort&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:106:11: error: ‘useindex’ was not declared in this scope; did you mean ‘rindex’? 106 | if (useindex != op2.useindex) | ^~~~~~~~ | rindex /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:106:27: error: ‘const class SymbolEntry::EntrySubsort’ has no member named ‘useindex’ 106 | if (useindex != op2.useindex) | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:107:32: error: ‘const class SymbolEntry::EntrySubsort’ has no member named ‘useindex’ 107 | return (useindex < op2.useindex); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:170:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 170 | uint4 flags; ///< Boolean properties of the trial | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2524:27: error: ‘num’ was not declared in this scope; did you mean ‘enum’? 2524 | calc_maskword(sbit,ebit,num,shift,mask); | ^~~ | enum /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:134:16: error: ‘last’ was not declared in this scope 134 | first = f; last = l; position = data.position; entry = data.entry; } ///< Initialize the range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:169:14: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 169 | map callMechFixupMap; ///< Map of registered mechanism names to injection id | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:169:18: error: template argument 2 is invalid 169 | map callMechFixupMap; ///< Map of registered mechanism names to injection id | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:169:18: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:172:3: error: ‘int4’ does not name a type; did you mean ‘int’? 172 | int4 size; ///< Number of bytes in the memory range | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:173:3: error: ‘int4’ does not name a type; did you mean ‘int’? 173 | int4 slot; ///< Slot assigned to this trial | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:175:3: error: ‘int4’ does not name a type; did you mean ‘int’? 175 | int4 offset; ///< "justified" offset into entry | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:178:32: error: ‘int4’ has not been declared 178 | ParamTrial(const Address &ad,int4 sz,int4 sl) { addr = ad; size = sz; slot = sl; flags=0; entry=(ParamEntry *)0; offset=-1; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:178:40: error: ‘int4’ has not been declared 178 | ParamTrial(const Address &ad,int4 sz,int4 sl) { addr = ad; size = sz; slot = sl; flags=0; entry=(ParamEntry *)0; offset=-1; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:170:14: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 170 | map scriptMap; ///< Map of registered script names to ExecutablePcode id | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:170:18: error: template argument 2 is invalid 170 | map scriptMap; ///< Map of registered script names to ExecutablePcode id | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:170:18: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:175:50: error: ‘int4’ has not been declared 175 | void registerCallFixup(const string &fixupName,int4 injectid/* , vector targets */); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:176:55: error: ‘int4’ has not been declared 176 | void registerCallOtherFixup(const string &fixupName,int4 injectid); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:177:54: error: ‘int4’ has not been declared 177 | void registerCallMechanism(const string &fixupName,int4 injectid); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:178:51: error: ‘int4’ has not been declared 178 | void registerExeScript(const string &scriptName,int4 injectid); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:180:3: error: ‘int4’ does not name a type; did you mean ‘int’? 180 | int4 getSize(void) const { return size; } ///< Get the number of bytes in \b this trial | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:188:11: error: ‘int4’ does not name a type; did you mean ‘int’? 188 | virtual int4 allocateInject(const string &sourceName,const string &name,int4 type)=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:196:31: error: ‘int4’ has not been declared 196 | virtual void registerInject(int4 injectid)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:198:38: error: ‘uintb’ has not been declared 198 | PcodeInjectLibrary(Architecture *g,uintb tmpbase) { glb = g; tempbase = tmpbase; } ///< Constructor | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2524:31: error: ‘shift’ was not declared in this scope 2524 | calc_maskword(sbit,ebit,num,shift,mask); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:108:15: error: ‘useoffset’ was not declared in this scope 108 | return (useoffset < op2.useoffset); | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:134:26: error: ‘position’ was not declared in this scope 134 | first = f; last = l; position = data.position; entry = data.entry; } ///< Initialize the range | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:108:31: error: ‘const class SymbolEntry::EntrySubsort’ has no member named ‘useoffset’ 108 | return (useoffset < op2.useoffset); | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:134:42: error: ‘const inittype’ {aka ‘const class ParamEntryRange::InitData’} has no member named ‘position’ 134 | first = f; last = l; position = data.position; entry = data.entry; } ///< Initialize the range | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:181:3: error: ‘int4’ does not name a type; did you mean ‘int’? 181 | int4 getSlot(void) const { return slot; } ///< Get the \e slot associated with \b this trial | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:182:16: error: ‘int4’ has not been declared 182 | void setSlot(int4 val) { slot = val; } ///< Set the \e slot associated with \b this trial | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:200:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 200 | uintb getUniqueBase(void) const { return tempbase; } ///< Get the (current) offset for building temporary registers | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:184:3: error: ‘int4’ does not name a type; did you mean ‘int’? 184 | int4 getOffset(void) const { return offset; } ///< Get the offset associated with \b this trial | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:185:39: error: ‘int4’ has not been declared 185 | void setEntry(const ParamEntry *ent,int4 off) { entry=ent; offset=off; } ///< Set the model entry for this trial | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:201:3: error: ‘int4’ does not name a type; did you mean ‘int’? 201 | int4 getPayloadId(int4 type,const string &nm) const; ///< Map name and type to the payload id | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:202:29: error: ‘int4’ has not been declared 202 | InjectPayload *getPayload(int4 id) const { return injection[id]; } ///< Get the InjectPayload by id | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:203:27: error: ‘int4’ has not been declared 203 | string getCallFixupName(int4 injectid) const; ///< Get the call-fixup name associated with an id | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:204:29: error: ‘int4’ has not been declared 204 | string getCallOtherTarget(int4 injectid) const; ///< Get the callother-fixup name associated with an id | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:205:31: error: ‘int4’ has not been declared 205 | string getCallMechanismName(int4 injectid) const; ///< Get the call mechanism name associated with an id | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:204:3: error: ‘int4’ does not name a type; did you mean ‘int’? 204 | int4 slotGroup(void) const { return entry->getSlot(addr,size-1); } ///< Get position of \b this within its parameter \e group | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:205:37: error: ‘int4’ has not been declared 205 | void setAddress(const Address &ad,int4 sz) { addr=ad; size=sz; } ///< Reset the memory range of \b this trial | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:206:22: error: ‘int4’ has not been declared 206 | ParamTrial splitHi(int4 sz) const; ///< Create a trial representing the first part of \b this | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:207:22: error: ‘int4’ has not been declared 207 | ParamTrial splitLo(int4 sz) const; ///< Create a trial representing the last part of \b this | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:208:42: error: ‘int4’ has not been declared 208 | bool testShrink(const Address &newaddr,int4 sz) const; ///< Test if \b this trial can be made smaller | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:206:3: error: ‘int4’ does not name a type; did you mean ‘int’? 206 | int4 restoreXmlInject(const string &src,const string &nm,int4 tp,const Element *el); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:222:11: error: ‘int4’ does not name a type; did you mean ‘int’? 222 | virtual int4 manualCallFixup(const string &name,const string &snippetstring)=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘ParamEntryRange::subsorttype ParamEntryRange::getSubsort() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:137:63: error: ‘position’ was not declared in this scope 137 | subsorttype getSubsort(void) const { return SubsortPosition(position); } ///< Get the sub-subsort object | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:233:11: error: ‘int4’ does not name a type; did you mean ‘int’? 233 | virtual int4 manualCallOtherFixup(const string &name,const string &outname,const vector &inname, | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2524:37: error: ‘mask’ was not declared in this scope 2524 | calc_maskword(sbit,ebit,num,shift,mask); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In constructor ‘ParamTrial::ParamTrial(const Address&, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:178:62: error: ‘size’ was not declared in this scope 178 | ParamTrial(const Address &ad,int4 sz,int4 sl) { addr = ad; size = sz; slot = sl; flags=0; entry=(ParamEntry *)0; offset=-1; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:170:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 170 | uint4 flags; ///< Boolean properties of the trial | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘bool SymbolEntry::isPiece() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:117:39: error: ‘extraflags’ was not declared in this scope 117 | bool isPiece(void) const { return ((extraflags&(Varnode::precislo|Varnode::precishi))!=0); } ///< Is \b this a high or low piece of the whole Symbol | ^~~~~~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:18: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘bool SymbolEntry::isInvalid() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:119:65: error: missing template arguments before ‘==’ token 119 | bool isInvalid(void) const { return (addr.isInvalid() && (hash==0)); } ///< Is \b this storage \e invalid | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:172:3: error: ‘int4’ does not name a type; did you mean ‘int’? 172 | int4 size; ///< Number of bytes in the memory range | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:173:3: error: ‘int4’ does not name a type; did you mean ‘int’? 173 | int4 slot; ///< Slot assigned to this trial | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:160:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 160 | uint4 nameDedup; ///< id to distinguish symbols with the same name | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:175:3: error: ‘int4’ does not name a type; did you mean ‘int’? 175 | int4 offset; ///< "justified" offset into entry | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:178:73: error: ‘slot’ was not declared in this scope 178 | ParamTrial(const Address &ad,int4 sz,int4 sl) { addr = ad; size = sz; slot = sl; flags=0; entry=(ParamEntry *)0; offset=-1; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:178:32: error: ‘int4’ has not been declared 178 | ParamTrial(const Address &ad,int4 sz,int4 sl) { addr = ad; size = sz; slot = sl; flags=0; entry=(ParamEntry *)0; offset=-1; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:178:40: error: ‘int4’ has not been declared 178 | ParamTrial(const Address &ad,int4 sz,int4 sl) { addr = ad; size = sz; slot = sl; flags=0; entry=(ParamEntry *)0; offset=-1; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:161:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 161 | uint4 flags; ///< Varnode-like properties of the symbol | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:180:3: error: ‘int4’ does not name a type; did you mean ‘int’? 180 | int4 getSize(void) const { return size; } ///< Get the number of bytes in \b this trial | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:164:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 164 | uint4 dispflags; ///< Flags affecting the display of this symbol | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:181:3: error: ‘int4’ does not name a type; did you mean ‘int’? 181 | int4 getSlot(void) const { return slot; } ///< Get the \e slot associated with \b this trial | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:182:16: error: ‘int4’ has not been declared 182 | void setSlot(int4 val) { slot = val; } ///< Set the \e slot associated with \b this trial | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh: In constructor ‘PcodeInjectLibrary::PcodeInjectLibrary(Architecture*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/pcodeinject.hh:198:64: error: ‘tempbase’ was not declared in this scope; did you mean ‘tmpbase’? 198 | PcodeInjectLibrary(Architecture *g,uintb tmpbase) { glb = g; tempbase = tmpbase; } ///< Constructor | ^~~~~~~~ | tmpbase /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:165:3: error: ‘int2’ does not name a type; did you mean ‘int’? 165 | int2 category; ///< Special category (-1==none 0=parameter 1=equate) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:184:3: error: ‘int4’ does not name a type; did you mean ‘int’? 184 | int4 getOffset(void) const { return offset; } ///< Get the offset associated with \b this trial | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:185:39: error: ‘int4’ has not been declared 185 | void setEntry(const ParamEntry *ent,int4 off) { entry=ent; offset=off; } ///< Set the model entry for this trial | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:178:84: error: ‘flags’ was not declared in this scope 178 | ParamTrial(const Address &ad,int4 sz,int4 sl) { addr = ad; size = sz; slot = sl; flags=0; entry=(ParamEntry *)0; offset=-1; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:166:3: error: ‘uint2’ does not name a type; did you mean ‘uint’? 166 | uint2 catindex; ///< Index within category | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:204:3: error: ‘int4’ does not name a type; did you mean ‘int’? 204 | int4 slotGroup(void) const { return entry->getSlot(addr,size-1); } ///< Get position of \b this within its parameter \e group | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:205:37: error: ‘int4’ has not been declared 205 | void setAddress(const Address &ad,int4 sz) { addr=ad; size=sz; } ///< Reset the memory range of \b this trial | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:206:22: error: ‘int4’ has not been declared 206 | ParamTrial splitHi(int4 sz) const; ///< Create a trial representing the first part of \b this | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:207:22: error: ‘int4’ has not been declared 207 | ParamTrial splitLo(int4 sz) const; ///< Create a trial representing the last part of \b this | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:208:42: error: ‘int4’ has not been declared 208 | bool testShrink(const Address &newaddr,int4 sz) const; ///< Test if \b this trial can be made smaller | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:62:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 62 | uint4 flags; ///< Boolean properties of the parameter | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:167:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 167 | uint8 symbolId; ///< Unique id, 0=unassigned | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2524:3: error: ‘calc_maskword’ was not declared in this scope 2524 | calc_maskword(sbit,ebit,num,shift,mask); | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:64:3: error: ‘int4’ does not name a type; did you mean ‘int’? 64 | int4 group; ///< Group of (mutually exclusive) entries that this entry belongs to | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:65:3: error: ‘int4’ does not name a type; did you mean ‘int’? 65 | int4 groupsize; ///< The number of consecutive groups taken by the entry | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:178:116: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 178 | ParamTrial(const Address &ad,int4 sz,int4 sl) { addr = ad; size = sz; slot = sl; flags=0; entry=(ParamEntry *)0; offset=-1; } | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In constructor ‘ParamTrial::ParamTrial(const Address&, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:178:62: error: ‘size’ was not declared in this scope 178 | ParamTrial(const Address &ad,int4 sz,int4 sl) { addr = ad; size = sz; slot = sl; flags=0; entry=(ParamEntry *)0; offset=-1; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:67:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 67 | uintb addressbase; ///< Starting offset of the range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:68:3: error: ‘int4’ does not name a type; did you mean ‘int’? 68 | int4 size; ///< Size of the range in bytes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:69:3: error: ‘int4’ does not name a type; did you mean ‘int’? 69 | int4 minsize; ///< Minimum bytes allowed for the logical value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘virtual void ContextCommit::apply(ParserWalkerChange&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2530:44: error: ‘num’ was not declared in this scope; did you mean ‘enum’? 2530 | walker.getParserContext()->addCommit(sym,num,mask,flow,walker.getPoint()); | ^~~ | enum /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ParamTrial::setSlot(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:182:28: error: ‘slot’ was not declared in this scope 182 | void setSlot(int4 val) { slot = val; } ///< Set the \e slot associated with \b this trial | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:70:3: error: ‘int4’ does not name a type; did you mean ‘int’? 70 | int4 alignment; ///< How much alignment (0 means only 1 logical value is allowed) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:178:73: error: ‘slot’ was not declared in this scope 178 | ParamTrial(const Address &ad,int4 sz,int4 sl) { addr = ad; size = sz; slot = sl; flags=0; entry=(ParamEntry *)0; offset=-1; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:71:3: error: ‘int4’ does not name a type; did you mean ‘int’? 71 | int4 numslots; ///< (Maximum) number of slots that can store separate parameters | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:78:18: error: expected ‘)’ before ‘grp’ 78 | ParamEntry(int4 grp) { group=grp; } ///< Constructor for use with restoreXml | ~ ^~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:79:30: error: ‘int4’ has not been declared 79 | ParamEntry(type_metatype t,int4 grp,int4 grpsize,const Address &loc,int4 sz,int4 mnsz,int4 align,bool normalstack); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:79:39: error: ‘int4’ has not been declared 79 | ParamEntry(type_metatype t,int4 grp,int4 grpsize,const Address &loc,int4 sz,int4 mnsz,int4 align,bool normalstack); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:79:71: error: ‘int4’ has not been declared 79 | ParamEntry(type_metatype t,int4 grp,int4 grpsize,const Address &loc,int4 sz,int4 mnsz,int4 align,bool normalstack); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:79:79: error: ‘int4’ has not been declared 79 | ParamEntry(type_metatype t,int4 grp,int4 grpsize,const Address &loc,int4 sz,int4 mnsz,int4 align,bool normalstack); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:79:89: error: ‘int4’ has not been declared 79 | ParamEntry(type_metatype t,int4 grp,int4 grpsize,const Address &loc,int4 sz,int4 mnsz,int4 align,bool normalstack); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:80:3: error: ‘int4’ does not name a type; did you mean ‘int’? 80 | int4 getGroup(void) const { return group; } ///< Get the group id \b this belongs to | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:178:84: error: ‘flags’ was not declared in this scope 178 | ParamTrial(const Address &ad,int4 sz,int4 sl) { addr = ad; size = sz; slot = sl; flags=0; entry=(ParamEntry *)0; offset=-1; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ParamTrial::setEntry(const ParamEntry*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:185:62: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 185 | void setEntry(const ParamEntry *ent,int4 off) { entry=ent; offset=off; } ///< Set the model entry for this trial | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:81:3: error: ‘int4’ does not name a type; did you mean ‘int’? 81 | int4 getGroupSize(void) const { return groupsize; } ///< Get the number of groups occupied by \b this | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:82:3: error: ‘int4’ does not name a type; did you mean ‘int’? 82 | int4 getSize(void) const { return size; } ///< Get the size of the memory range in bytes. | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2530:48: error: ‘mask’ was not declared in this scope 2530 | walker.getParserContext()->addCommit(sym,num,mask,flow,walker.getPoint()); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:83:3: error: ‘int4’ does not name a type; did you mean ‘int’? 83 | int4 getMinSize(void) const { return minsize; } ///< Get the minimum size of a logical value contained in \b this | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘virtual void ContextCommit::saveXml(std::ostream&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2537:21: error: ‘class TripleSymbol’ has no member named ‘getId’ 2537 | a_v_u(s,"id",sym->getId()); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:84:3: error: ‘int4’ does not name a type; did you mean ‘int’? 84 | int4 getAlign(void) const { return alignment; } ///< Get the alignment of \b this entry | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:89:40: error: ‘int4’ has not been declared 89 | bool containedBy(const Address &addr,int4 sz) const; ///< Is this entry contained by the given range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ParamTrial::markUsed()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:186:25: error: ‘flags’ was not declared in this scope 186 | void markUsed(void) { flags |= used; } ///< Mark the trial as a formal parameter | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:178:116: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 178 | ParamTrial(const Address &ad,int4 sz,int4 sl) { addr = ad; size = sz; slot = sl; flags=0; entry=(ParamEntry *)0; offset=-1; } | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:90:3: error: ‘int4’ does not name a type; did you mean ‘int’? 90 | int4 justifiedContain(const Address &addr,int4 sz) const; ///< Calculate endian aware containment | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:91:41: error: ‘int4’ has not been declared 91 | bool getContainer(const Address &addr,int4 sz,VarnodeData &res) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:92:47: error: ‘int4’ has not been declared 92 | OpCode assumedExtension(const Address &addr,int4 sz,VarnodeData &res) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:93:3: error: ‘int4’ does not name a type; did you mean ‘int’? 93 | int4 getSlot(const Address &addr,int4 skip) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:170:11: error: ‘int4’ does not name a type; did you mean ‘int’? 170 | mutable int4 depthResolution; ///< Number of namespace elements required to resolve symbol in current scope | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:95:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 95 | uintb getBase(void) const { return addressbase; } ///< Get the starting offset of \b this entry | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:96:25: error: ‘int4’ has not been declared 96 | Address getAddrBySlot(int4 &slot,int4 sz) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:96:36: error: ‘int4’ has not been declared 96 | Address getAddrBySlot(int4 &slot,int4 sz) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2538:17: error: ‘num’ was not declared in this scope; did you mean ‘enum’? 2538 | a_v_i(s,"num",num); | ^~~ | enum /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ParamTrial::markActive()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:187:27: error: ‘flags’ was not declared in this scope 187 | void markActive(void) { flags |= (active|checked); } ///< Mark that trial is actively used (in data-flow) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:171:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 171 | uint4 wholeCount; ///< Number of SymbolEntries that map to the whole Symbol | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ParamTrial::setSlot(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:182:28: error: ‘slot’ was not declared in this scope 182 | void setSlot(int4 val) { slot = val; } ///< Set the \e slot associated with \b this trial | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:173:25: error: ‘uint4’ has not been declared 173 | void setDisplayFormat(uint4 val); ///< Set the display format for \b this Symbol | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:194:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 194 | uint8 getId(void) const { return symbolId; } ///< Get a unique id for the symbol | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:195:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 195 | uint4 getFlags(void) const { return flags; } ///< Get the boolean properties of the Symbol | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ParamTrial::markInactive()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:188:29: error: ‘flags’ was not declared in this scope 188 | void markInactive(void) { flags &= ~((uint4)active); flags |= checked; } ///< Mark that trial is not actively used | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ParamEntry::isLeftJustified() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:76:48: error: ‘flags’ was not declared in this scope 76 | bool isLeftJustified(void) const { return (((flags&force_left_justify)!=0)||(!spaceid->isBigEndian())); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:196:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 196 | uint4 getDisplayFormat(void) const { return (dispflags & 7); } ///< Get the format to display the Symbol in | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ParamTrial::setEntry(const ParamEntry*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:185:62: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 185 | void setEntry(const ParamEntry *ent,int4 off) { entry=ent; offset=off; } ///< Set the model entry for this trial | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:197:3: error: ‘int2’ does not name a type; did you mean ‘int’? 197 | int2 getCategory(void) const { return category; } ///< Get the Symbol category | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2539:18: error: ‘mask’ was not declared in this scope 2539 | a_v_u(s,"mask",mask); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:198:3: error: ‘uint2’ does not name a type; did you mean ‘uint’? 198 | uint2 getCategoryIndex(void) const { return catindex; } ///< Get the position of the Symbol within its category | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:188:41: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 188 | void markInactive(void) { flags &= ~((uint4)active); flags |= checked; } ///< Mark that trial is not actively used | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:188:47: error: expected ‘)’ before ‘active’ 188 | void markInactive(void) { flags &= ~((uint4)active); flags |= checked; } ///< Mark that trial is not actively used | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:188:39: note: to match this ‘(’ 188 | void markInactive(void) { flags &= ~((uint4)active); flags |= checked; } ///< Mark that trial is not actively used | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:214:3: error: ‘int4’ does not name a type; did you mean ‘int’? 214 | int4 numEntries(void) const { return mapentry.size(); } ///< Return the number of SymbolEntrys | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ParamTrial::markUsed()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:186:25: error: ‘flags’ was not declared in this scope 186 | void markUsed(void) { flags |= used; } ///< Mark the trial as a formal parameter | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:215:28: error: ‘int4’ has not been declared 215 | SymbolEntry *getMapEntry(int4 i) const { return &(*mapentry[i]); } ///< Return the i-th SymbolEntry for \b this Symbol | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:216:3: error: ‘int4’ does not name a type; did you mean ‘int’? 216 | int4 getMapEntryPosition(const SymbolEntry *entry) const; ///< Position of given SymbolEntry within \b this multi-entry Symbol | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:217:3: error: ‘int4’ does not name a type; did you mean ‘int’? 217 | int4 getResolutionDepth(const Scope *useScope) const; ///< Get number of scope names needed to resolve \b this symbol | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ParamEntry::isExclusion() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:86:42: error: ‘alignment’ was not declared in this scope 86 | bool isExclusion(void) const { return (alignment==0); } ///< Return \b true if this holds a single parameter exclusively | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ParamTrial::markNoUse()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:189:26: error: ‘flags’ was not declared in this scope 189 | void markNoUse(void) { flags &= ~((uint4)(active|used)); flags |= (checked|defnouse); } ///< Mark trial as definitely \e not a parameter | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘virtual void ContextCommit::restoreXml(const Element*, SleighBase*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2547:3: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 2547 | uintm id; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:224:11: error: ‘int4’ does not name a type; did you mean ‘int’? 224 | virtual int4 getBytesConsumed(void) const; ///< Get number of bytes consumed within the address->symbol map | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ParamTrial::markActive()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:187:27: error: ‘flags’ was not declared in this scope 187 | void markActive(void) { flags |= (active|checked); } ///< Mark that trial is actively used (in data-flow) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:225:10: error: ‘uint8’ does not name a type; did you mean ‘uint’? 225 | static uint8 ID_BASE; ///< Base of internal ID's | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:189:38: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 189 | void markNoUse(void) { flags &= ~((uint4)(active|used)); flags |= (checked|defnouse); } ///< Mark trial as definitely \e not a parameter | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ParamEntry::isReverseStack() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:87:46: error: ‘flags’ was not declared in this scope 87 | bool isReverseStack(void) const { return ((flags & reverse_stack)!=0); } ///< Return \b true if parameters are allocated in reverse order | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ParamTrial::markInactive()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:188:29: error: ‘flags’ was not declared in this scope 188 | void markInactive(void) { flags &= ~((uint4)active); flags |= checked; } ///< Mark that trial is not actively used | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2551:10: error: ‘id’ was not declared in this scope 2551 | s >> id; | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘bool Symbol::isTypeLocked() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:199:44: error: ‘flags’ was not declared in this scope 199 | bool isTypeLocked(void) const { return ((flags&Varnode::typelock)!=0); } ///< Is the Symbol type-locked | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ParamTrial::markUnref()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:190:26: error: ‘flags’ was not declared in this scope 190 | void markUnref(void) { flags |= (unref|checked); slot = -1; } ///< Mark that \b this trial has no Varnode representative | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:188:41: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 188 | void markInactive(void) { flags &= ~((uint4)active); flags |= checked; } ///< Mark that trial is not actively used | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:188:47: error: expected ‘)’ before ‘active’ 188 | void markInactive(void) { flags &= ~((uint4)active); flags |= checked; } ///< Mark that trial is not actively used | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:188:39: note: to match this ‘(’ 188 | void markInactive(void) { flags &= ~((uint4)active); flags |= checked; } ///< Mark that trial is not actively used | ^ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ParamEntry::isParamCheckHigh() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:99:48: error: ‘flags’ was not declared in this scope 99 | bool isParamCheckHigh(void) const { return ((flags & extracheck_high)!=0); } ///< Return \b true if there is a high overlap | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:190:52: error: ‘slot’ was not declared in this scope 190 | void markUnref(void) { flags |= (unref|checked); slot = -1; } ///< Mark that \b this trial has no Varnode representative | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2557:10: error: ‘num’ was not declared in this scope; did you mean ‘enum’? 2557 | s >> num; | ^~~ | enum /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘bool Symbol::isNameLocked() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:200:44: error: ‘flags’ was not declared in this scope 200 | bool isNameLocked(void) const { return ((flags&Varnode::namelock)!=0); } ///< Is the Symbol name-locked | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ParamTrial::markNoUse()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:189:26: error: ‘flags’ was not declared in this scope 189 | void markNoUse(void) { flags &= ~((uint4)(active|used)); flags |= (checked|defnouse); } ///< Mark trial as definitely \e not a parameter | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ParamEntry::isParamCheckLow() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:100:47: error: ‘flags’ was not declared in this scope 100 | bool isParamCheckLow(void) const { return ((flags & extracheck_low)!=0); } ///< Return \b true if there is a low overlap | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:105:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 105 | uintb first; ///< Starting offset of the ParamEntry's range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ParamTrial::markKilledByCall()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:191:33: error: ‘flags’ was not declared in this scope 191 | void markKilledByCall(void) { flags |= killedbycall; } ///< Mark that \b this storage is \e killed-by-call | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:106:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 106 | uintb last; ///< Ending offset of the ParamEntry's range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:189:38: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 189 | void markNoUse(void) { flags &= ~((uint4)(active|used)); flags |= (checked|defnouse); } ///< Mark trial as definitely \e not a parameter | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:107:3: error: ‘int4’ does not name a type; did you mean ‘int’? 107 | int4 position; ///< Position of the ParamEntry within the entire prototype list | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:113:5: error: ‘int4’ does not name a type; did you mean ‘int’? 113 | int4 position; ///< Position (within the full list) being assigned to the ParamEntryRange | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2562:10: error: ‘mask’ was not declared in this scope 2562 | s >> mask; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:116:18: error: expected ‘)’ before ‘pos’ 116 | InitData(int4 pos,ParamEntry *e) { position = pos; entry = e; } ///< Constructor | ~ ^~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2564:11: error: ‘const class Element’ has no member named ‘getNumAttributes’ 2564 | if (el->getNumAttributes()==4) | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘bool Symbol::isSizeTypeLocked() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:201:48: error: ‘dispflags’ was not declared in this scope 201 | bool isSizeTypeLocked(void) const { return ((dispflags & size_typelock)!=0); } ///< Is the Symbol size type-locked | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc: In member function ‘virtual ContextChange* ContextCommit::clone() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2576:8: error: ‘class ContextCommit’ has no member named ‘mask’ 2576 | res->mask = mask; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ParamTrial::isChecked() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:192:41: error: ‘flags’ was not declared in this scope 192 | bool isChecked(void) const { return ((flags & checked)!=0); } ///< Has \b this trial been checked | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:121:5: error: ‘int4’ does not name a type; did you mean ‘int’? 121 | int4 position; ///< The position value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:124:25: error: expected ‘)’ before ‘pos’ 124 | SubsortPosition(int4 pos) { position = pos; } ///< Construct given position | ~ ^~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ParamTrial::markUnref()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:190:26: error: ‘flags’ was not declared in this scope 190 | void markUnref(void) { flags |= (unref|checked); slot = -1; } ///< Mark that \b this trial has no Varnode representative | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:129:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 129 | typedef uintb linetype; ///< The linear element for a rangemap | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:133:40: error: ‘uintb’ has not been declared 133 | ParamEntryRange(const inittype &data,uintb f,uintb l) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:133:48: error: ‘uintb’ has not been declared 133 | ParamEntryRange(const inittype &data,uintb f,uintb l) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:135:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 135 | uintb getFirst(void) const { return first; } ///< Get the first address in the range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ParamTrial::isActive() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:193:40: error: ‘flags’ was not declared in this scope 193 | bool isActive(void) const { return ((flags & active)!=0); } ///< Is \b this trial actively used in data-flow | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:190:52: error: ‘slot’ was not declared in this scope 190 | void markUnref(void) { flags |= (unref|checked); slot = -1; } ///< Mark that \b this trial has no Varnode representative | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:136:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 136 | uintb getLast(void) const { return last; } ///< Get the last address in the range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2576:15: error: ‘mask’ was not declared in this scope 2576 | res->mask = mask; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2577:8: error: ‘class ContextCommit’ has no member named ‘num’ 2577 | res->num = num; | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘bool Symbol::isThisPointer() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:202:45: error: ‘dispflags’ was not declared in this scope 202 | bool isThisPointer(void) const { return ((dispflags & is_this_ptr)!=0); } ///< Is \b this the "this" pointer | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ParamTrial::isDefinitelyNotUsed() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:194:51: error: ‘flags’ was not declared in this scope 194 | bool isDefinitelyNotUsed(void) const { return ((flags & defnouse)!=0); } ///< Is \b this trial as definitely not a parameter | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ParamTrial::markKilledByCall()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:191:33: error: ‘flags’ was not declared in this scope 191 | void markKilledByCall(void) { flags |= killedbycall; } ///< Mark that \b this storage is \e killed-by-call | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In constructor ‘ParamEntryRange::SubsortPosition::SubsortPosition(bool)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:125:33: error: ‘position’ was not declared in this scope 125 | SubsortPosition(bool val) { position = val ? 1000000 : 0; } ///< Constructor minimal/maximal subsort | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘bool Symbol::isIndirectStorage() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:203:49: error: ‘flags’ was not declared in this scope 203 | bool isIndirectStorage(void) const { return ((flags&Varnode::indirectstorage)!=0); } ///< Is storage really a pointer to the true Symbol | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.cc:2577:14: error: ‘num’ was not declared in this scope; did you mean ‘enum’? 2577 | res->num = num; | ^~~ | enum /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ParamTrial::isUsed() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:195:38: error: ‘flags’ was not declared in this scope 195 | bool isUsed(void) const { return ((flags & used)!=0); } ///< Is \b this trial as a formal parameter | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ParamTrial::isChecked() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:192:41: error: ‘flags’ was not declared in this scope 192 | bool isChecked(void) const { return ((flags & checked)!=0); } ///< Has \b this trial been checked | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘bool Symbol::isHiddenReturn() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:204:46: error: ‘flags’ was not declared in this scope 204 | bool isHiddenReturn(void) const { return ((flags&Varnode::hiddenretparm)!=0); } ///< Is this a reference to the function return value | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ParamTrial::isUnref() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:196:39: error: ‘flags’ was not declared in this scope 196 | bool isUnref(void) const { return ((flags & unref)!=0); } ///< Does \b this trial not have a Varnode representative | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ParamTrial::isActive() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:193:40: error: ‘flags’ was not declared in this scope 193 | bool isActive(void) const { return ((flags & active)!=0); } ///< Is \b this trial actively used in data-flow | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ParamEntryRange::SubsortPosition::operator<(const ParamEntryRange::SubsortPosition&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:126:57: error: ‘position’ was not declared in this scope 126 | bool operator<(const SubsortPosition &op2) { return position < op2.position; } ///< Compare operation | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:126:72: error: ‘const class ParamEntryRange::SubsortPosition’ has no member named ‘position’ 126 | bool operator<(const SubsortPosition &op2) { return position < op2.position; } ///< Compare operation | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ParamTrial::isKilledByCall() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:197:46: error: ‘flags’ was not declared in this scope 197 | bool isKilledByCall(void) const { return ((flags & killedbycall)!=0); } ///< Is \b this storage \e killed-by-call | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ParamTrial::isDefinitelyNotUsed() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:194:51: error: ‘flags’ was not declared in this scope 194 | bool isDefinitelyNotUsed(void) const { return ((flags & defnouse)!=0); } ///< Is \b this trial as definitely not a parameter | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In constructor ‘ParamEntryRange::ParamEntryRange(const inittype&, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:134:5: error: ‘first’ was not declared in this scope 134 | first = f; last = l; position = data.position; entry = data.entry; } ///< Initialize the range | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘bool Symbol::isMultiEntry() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:206:43: error: ‘wholeCount’ was not declared in this scope 206 | bool isMultiEntry(void) const { return (wholeCount > 1); } ///< Does \b this have more than one \e entire mapping | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ParamTrial::setRemFormed()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:198:29: error: ‘flags’ was not declared in this scope 198 | void setRemFormed(void) { flags |= rem_formed; } ///< Mark that \b this is formed by a INT_REM operation | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ParamTrial::isUsed() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:195:38: error: ‘flags’ was not declared in this scope 195 | bool isUsed(void) const { return ((flags & used)!=0); } ///< Is \b this trial as a formal parameter | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:134:16: error: ‘last’ was not declared in this scope 134 | first = f; last = l; position = data.position; entry = data.entry; } ///< Initialize the range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ParamTrial::isRemFormed() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:199:43: error: ‘flags’ was not declared in this scope 199 | bool isRemFormed(void) const { return ((flags & rem_formed)!=0); } ///< Is \b this formed by a INT_REM operation | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ParamTrial::isUnref() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:196:39: error: ‘flags’ was not declared in this scope 196 | bool isUnref(void) const { return ((flags & unref)!=0); } ///< Does \b this trial not have a Varnode representative | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘bool Symbol::hasMergeProblems() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:207:48: error: ‘dispflags’ was not declared in this scope 207 | bool hasMergeProblems(void) const { return ((dispflags & merge_problems)!=0); } ///< Were some SymbolEntrys not merged | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ParamTrial::setIndCreateFormed()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:200:35: error: ‘flags’ was not declared in this scope 200 | void setIndCreateFormed(void) { flags |= indcreate_formed; } ///< Mark \b this trial as formed by \e indirect \e creation | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ParamTrial::isKilledByCall() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:197:46: error: ‘flags’ was not declared in this scope 197 | bool isKilledByCall(void) const { return ((flags & killedbycall)!=0); } ///< Is \b this storage \e killed-by-call | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:134:26: error: ‘position’ was not declared in this scope 134 | first = f; last = l; position = data.position; entry = data.entry; } ///< Initialize the range | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:134:42: error: ‘const inittype’ {aka ‘const class ParamEntryRange::InitData’} has no member named ‘position’ 134 | first = f; last = l; position = data.position; entry = data.entry; } ///< Initialize the range | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ParamTrial::setRemFormed()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:198:29: error: ‘flags’ was not declared in this scope 198 | void setRemFormed(void) { flags |= rem_formed; } ///< Mark that \b this is formed by a INT_REM operation | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ParamTrial::isIndCreateFormed() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:201:49: error: ‘flags’ was not declared in this scope 201 | bool isIndCreateFormed(void) const { return ((flags & indcreate_formed)!=0); } ///< Is \b this trial formed by \e indirect \e creation | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘void Symbol::setMergeProblems()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:208:33: error: ‘dispflags’ was not declared in this scope 208 | void setMergeProblems(void) { dispflags |= merge_problems; } ///< Mark that some SymbolEntrys could not be merged | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘ParamEntryRange::subsorttype ParamEntryRange::getSubsort() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:137:63: error: ‘position’ was not declared in this scope 137 | subsorttype getSubsort(void) const { return SubsortPosition(position); } ///< Get the sub-subsort object | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ParamTrial::isRemFormed() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:199:43: error: ‘flags’ was not declared in this scope 199 | bool isRemFormed(void) const { return ((flags & rem_formed)!=0); } ///< Is \b this formed by a INT_REM operation | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ParamTrial::setCondExeEffect()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:202:33: error: ‘flags’ was not declared in this scope 202 | void setCondExeEffect(void) { flags |= condexe_effect; } ///< Mark \b this trial as possibly affected by conditional execution | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:170:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 170 | uint4 flags; ///< Boolean properties of the trial | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:172:3: error: ‘int4’ does not name a type; did you mean ‘int’? 172 | int4 size; ///< Number of bytes in the memory range | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:173:3: error: ‘int4’ does not name a type; did you mean ‘int’? 173 | int4 slot; ///< Slot assigned to this trial | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ParamTrial::setIndCreateFormed()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:200:35: error: ‘flags’ was not declared in this scope 200 | void setIndCreateFormed(void) { flags |= indcreate_formed; } ///< Mark \b this trial as formed by \e indirect \e creation | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ParamTrial::hasCondExeEffect() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:203:48: error: ‘flags’ was not declared in this scope 203 | bool hasCondExeEffect(void) const { return ((flags & condexe_effect)!=0); } ///< Is \b this trial possibly affected by conditional execution | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:175:3: error: ‘int4’ does not name a type; did you mean ‘int’? 175 | int4 offset; ///< "justified" offset into entry | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:178:32: error: ‘int4’ has not been declared 178 | ParamTrial(const Address &ad,int4 sz,int4 sl) { addr = ad; size = sz; slot = sl; flags=0; entry=(ParamEntry *)0; offset=-1; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:178:40: error: ‘int4’ has not been declared 178 | ParamTrial(const Address &ad,int4 sz,int4 sl) { addr = ad; size = sz; slot = sl; flags=0; entry=(ParamEntry *)0; offset=-1; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘bool Symbol::isIsolated() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:209:42: error: ‘dispflags’ was not declared in this scope 209 | bool isIsolated(void) const { return ((dispflags & isolate)!=0); } ///< Return \b true if \b this is isolated from speculative merging | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:180:3: error: ‘int4’ does not name a type; did you mean ‘int’? 180 | int4 getSize(void) const { return size; } ///< Get the number of bytes in \b this trial | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:230:13: error: variable or field ‘setDisplayFormat’ declared void 230 | inline void Symbol::setDisplayFormat(uint4 val) | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:181:3: error: ‘int4’ does not name a type; did you mean ‘int’? 181 | int4 getSlot(void) const { return slot; } ///< Get the \e slot associated with \b this trial | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:182:16: error: ‘int4’ has not been declared 182 | void setSlot(int4 val) { slot = val; } ///< Set the \e slot associated with \b this trial | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ParamTrial::setAddress(const Address&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:205:57: error: ‘size’ was not declared in this scope 205 | void setAddress(const Address &ad,int4 sz) { addr=ad; size=sz; } ///< Reset the memory range of \b this trial | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ParamTrial::isIndCreateFormed() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:201:49: error: ‘flags’ was not declared in this scope 201 | bool isIndCreateFormed(void) const { return ((flags & indcreate_formed)!=0); } ///< Is \b this trial formed by \e indirect \e creation | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:184:3: error: ‘int4’ does not name a type; did you mean ‘int’? 184 | int4 getOffset(void) const { return offset; } ///< Get the offset associated with \b this trial | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:185:39: error: ‘int4’ has not been declared 185 | void setEntry(const ParamEntry *ent,int4 off) { entry=ent; offset=off; } ///< Set the model entry for this trial | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:230:38: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 230 | inline void Symbol::setDisplayFormat(uint4 val) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:239:8: error: ‘uint4’ does not name a type; did you mean ‘uint’? 239 | inline uint4 SymbolEntry::getAllFlags(void) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘bool SymbolEntry::isAddrTied() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:244:20: error: ‘class Symbol’ has no member named ‘getFlags’ 244 | return ((symbol->getFlags()&Varnode::addrtied)!=0); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:204:3: error: ‘int4’ does not name a type; did you mean ‘int’? 204 | int4 slotGroup(void) const { return entry->getSlot(addr,size-1); } ///< Get position of \b this within its parameter \e group | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:205:37: error: ‘int4’ has not been declared 205 | void setAddress(const Address &ad,int4 sz) { addr=ad; size=sz; } ///< Reset the memory range of \b this trial | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:206:22: error: ‘int4’ has not been declared 206 | ParamTrial splitHi(int4 sz) const; ///< Create a trial representing the first part of \b this | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:207:22: error: ‘int4’ has not been declared 207 | ParamTrial splitLo(int4 sz) const; ///< Create a trial representing the last part of \b this | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:208:42: error: ‘int4’ has not been declared 208 | bool testShrink(const Address &newaddr,int4 sz) const; ///< Test if \b this trial can be made smaller | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ParamTrial::setCondExeEffect()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:202:33: error: ‘flags’ was not declared in this scope 202 | void setCondExeEffect(void) { flags |= condexe_effect; } ///< Mark \b this trial as possibly affected by conditional execution | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:253:3: error: ‘int4’ does not name a type; did you mean ‘int’? 253 | int4 consumeSize; ///< Minimum number of bytes to consume with the start address | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:257:45: error: ‘int4’ has not been declared 257 | FunctionSymbol(Scope *sc,const string &nm,int4 size); ///< Construct given the name | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:258:28: error: ‘int4’ has not been declared 258 | FunctionSymbol(Scope *sc,int4 size); ///< Constructor for use with restoreXml | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:262:11: error: ‘int4’ does not name a type; did you mean ‘int’? 262 | virtual int4 getBytesConsumed(void) const { return consumeSize; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:271:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 271 | uintb value; ///< Value of the constant being equated | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In constructor ‘ParamTrial::ParamTrial(const Address&, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:178:62: error: ‘size’ was not declared in this scope 178 | ParamTrial(const Address &ad,int4 sz,int4 sl) { addr = ad; size = sz; slot = sl; flags=0; entry=(ParamEntry *)0; offset=-1; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ParamTrial::hasCondExeEffect() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:203:48: error: ‘flags’ was not declared in this scope 203 | bool hasCondExeEffect(void) const { return ((flags & condexe_effect)!=0); } ///< Is \b this trial possibly affected by conditional execution | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:224:3: error: ‘int4’ does not name a type; did you mean ‘int’? 224 | int4 slotbase; ///< Slot where next parameter will go | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:274:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 274 | uintb getValue(void) const { return value; } ///< Get the constant value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:275:21: error: ‘uintb’ has not been declared 275 | bool isValueClose(uintb op2Value,int4 size) const; ///< Is the given value similar to \b this equate | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:275:36: error: ‘int4’ has not been declared 275 | bool isValueClose(uintb op2Value,int4 size) const; ///< Is the given value similar to \b this equate | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:225:3: error: ‘int4’ does not name a type; did you mean ‘int’? 225 | int4 stackplaceholder; ///< Which call input slot holds the stack placeholder | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:226:3: error: ‘int4’ does not name a type; did you mean ‘int’? 226 | int4 numpasses; ///< Number of attempts at evaluating parameters | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:178:73: error: ‘slot’ was not declared in this scope 178 | ParamTrial(const Address &ad,int4 sz,int4 sl) { addr = ad; size = sz; slot = sl; flags=0; entry=(ParamEntry *)0; offset=-1; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:227:3: error: ‘int4’ does not name a type; did you mean ‘int’? 227 | int4 maxpass; ///< Number of passes before we assume we have seen all params | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ParamTrial::setAddress(const Address&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:205:57: error: ‘size’ was not declared in this scope 205 | void setAddress(const Address &ad,int4 sz) { addr=ad; size=sz; } ///< Reset the memory range of \b this trial | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:234:42: error: ‘int4’ has not been declared 234 | void registerTrial(const Address &addr,int4 sz); ///< Add a new trial to the container | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:235:3: error: ‘int4’ does not name a type; did you mean ‘int’? 235 | int4 getNumTrials(void) const { return trial.size(); } ///< Get the number of trials in \b this container | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:236:24: error: ‘int4’ has not been declared 236 | ParamTrial &getTrial(int4 i) { return trial[i]; } ///< Get the i-th trial | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:237:45: error: ‘int4’ has not been declared 237 | const ParamTrial &getTrialForInputVarnode(int4 slot) const; ///< Get trial corresponding to the given input Varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In constructor ‘EquateSymbol::EquateSymbol(Scope*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:273:42: error: ‘value’ was not declared in this scope 273 | EquateSymbol(Scope *sc) : Symbol(sc) { value = 0; category = 1; } ///< Constructor for use with restoreXml | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:238:3: error: ‘int4’ does not name a type; did you mean ‘int’? 238 | int4 whichTrial(const Address &addr,int4 sz) const; ///< Get the trial overlapping with the given memory range | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:178:84: error: ‘flags’ was not declared in this scope 178 | ParamTrial(const Address &ad,int4 sz,int4 sl) { addr = ad; size = sz; slot = sl; flags=0; entry=(ParamEntry *)0; offset=-1; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:246:3: error: ‘int4’ does not name a type; did you mean ‘int’? 246 | int4 getNumPasses(void) const { return numpasses; } ///< How many trial analysis passes were performed | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:247:3: error: ‘int4’ does not name a type; did you mean ‘int’? 247 | int4 getMaxPass(void) const { return maxpass; } ///< What is the maximum number of passes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:248:19: error: ‘int4’ has not been declared 248 | void setMaxPass(int4 val) { maxpass = val; } ///< Set the maximum number of passes | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:252:19: error: ‘int4’ has not been declared 252 | void splitTrial(int4 i,int4 sz); ///< Split the given trial in two | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:252:26: error: ‘int4’ has not been declared 252 | void splitTrial(int4 i,int4 sz); ///< Split the given trial in two | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:253:18: error: ‘int4’ has not been declared 253 | void joinTrial(int4 slot,const Address &addr,int4 sz); ///< Join adjacent parameter trials | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:253:48: error: ‘int4’ has not been declared 253 | void joinTrial(int4 slot,const Address &addr,int4 sz); ///< Join adjacent parameter trials | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:254:3: error: ‘int4’ does not name a type; did you mean ‘int’? 254 | int4 getNumUsed(void) const; ///< Get number of trials marked as formal parameters | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:262:19: error: ‘int4’ has not been declared 262 | bool testShrink(int4 i,const Address &addr,int4 sz) const { return trial[i].testShrink(addr,sz); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:262:46: error: ‘int4’ has not been declared 262 | bool testShrink(int4 i,const Address &addr,int4 sz) const { return trial[i].testShrink(addr,sz); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:269:15: error: ‘int4’ has not been declared 269 | void shrink(int4 i,const Address &addr,int4 sz) { trial[i].setAddress(addr,sz); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:269:42: error: ‘int4’ has not been declared 269 | void shrink(int4 i,const Address &addr,int4 sz) { trial[i].setAddress(addr,sz); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:224:3: error: ‘int4’ does not name a type; did you mean ‘int’? 224 | int4 slotbase; ///< Slot where next parameter will go | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:178:116: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 178 | ParamTrial(const Address &ad,int4 sz,int4 sl) { addr = ad; size = sz; slot = sl; flags=0; entry=(ParamEntry *)0; offset=-1; } | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:273:53: error: ‘category’ was not declared in this scope 273 | EquateSymbol(Scope *sc) : Symbol(sc) { value = 0; category = 1; } ///< Constructor for use with restoreXml | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:225:3: error: ‘int4’ does not name a type; did you mean ‘int’? 225 | int4 stackplaceholder; ///< Which call input slot holds the stack placeholder | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:226:3: error: ‘int4’ does not name a type; did you mean ‘int’? 226 | int4 numpasses; ///< Number of attempts at evaluating parameters | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:227:3: error: ‘int4’ does not name a type; did you mean ‘int’? 227 | int4 maxpass; ///< Number of passes before we assume we have seen all params | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:234:42: error: ‘int4’ has not been declared 234 | void registerTrial(const Address &addr,int4 sz); ///< Add a new trial to the container | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:235:3: error: ‘int4’ does not name a type; did you mean ‘int’? 235 | int4 getNumTrials(void) const { return trial.size(); } ///< Get the number of trials in \b this container | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:236:24: error: ‘int4’ has not been declared 236 | ParamTrial &getTrial(int4 i) { return trial[i]; } ///< Get the i-th trial | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ParamTrial::setSlot(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:182:28: error: ‘slot’ was not declared in this scope 182 | void setSlot(int4 val) { slot = val; } ///< Set the \e slot associated with \b this trial | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:237:45: error: ‘int4’ has not been declared 237 | const ParamTrial &getTrialForInputVarnode(int4 slot) const; ///< Get trial corresponding to the given input Varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:238:3: error: ‘int4’ does not name a type; did you mean ‘int’? 238 | int4 whichTrial(const Address &addr,int4 sz) const; ///< Get the trial overlapping with the given memory range | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘bool SymbolCompareName::operator()(const Symbol*, const Symbol*) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:318:5: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 318 | int4 comp = sym1->name.compare(sym2->name); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:246:3: error: ‘int4’ does not name a type; did you mean ‘int’? 246 | int4 getNumPasses(void) const { return numpasses; } ///< How many trial analysis passes were performed | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:247:3: error: ‘int4’ does not name a type; did you mean ‘int’? 247 | int4 getMaxPass(void) const { return maxpass; } ///< What is the maximum number of passes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:248:19: error: ‘int4’ has not been declared 248 | void setMaxPass(int4 val) { maxpass = val; } ///< Set the maximum number of passes | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ParamActive::setPlaceholderSlot()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:244:35: error: ‘stackplaceholder’ was not declared in this scope 244 | void setPlaceholderSlot(void) { stackplaceholder = slotbase; slotbase += 1; } ///< Establish a stack placedholder slot | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:252:19: error: ‘int4’ has not been declared 252 | void splitTrial(int4 i,int4 sz); ///< Split the given trial in two | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:252:26: error: ‘int4’ has not been declared 252 | void splitTrial(int4 i,int4 sz); ///< Split the given trial in two | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:253:18: error: ‘int4’ has not been declared 253 | void joinTrial(int4 slot,const Address &addr,int4 sz); ///< Join adjacent parameter trials | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:253:48: error: ‘int4’ has not been declared 253 | void joinTrial(int4 slot,const Address &addr,int4 sz); ///< Join adjacent parameter trials | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ParamTrial::setEntry(const ParamEntry*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:185:62: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 185 | void setEntry(const ParamEntry *ent,int4 off) { entry=ent; offset=off; } ///< Set the model entry for this trial | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:254:3: error: ‘int4’ does not name a type; did you mean ‘int’? 254 | int4 getNumUsed(void) const; ///< Get number of trials marked as formal parameters | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:262:19: error: ‘int4’ has not been declared 262 | bool testShrink(int4 i,const Address &addr,int4 sz) const { return trial[i].testShrink(addr,sz); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:262:46: error: ‘int4’ has not been declared 262 | bool testShrink(int4 i,const Address &addr,int4 sz) const { return trial[i].testShrink(addr,sz); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:269:15: error: ‘int4’ has not been declared 269 | void shrink(int4 i,const Address &addr,int4 sz) { trial[i].setAddress(addr,sz); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:269:42: error: ‘int4’ has not been declared 269 | void shrink(int4 i,const Address &addr,int4 sz) { trial[i].setAddress(addr,sz); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:319:9: error: ‘comp’ was not declared in this scope 319 | if (comp < 0) return true; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ParamTrial::markUsed()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:186:25: error: ‘flags’ was not declared in this scope 186 | void markUsed(void) { flags |= used; } ///< Mark the trial as a formal parameter | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:244:54: error: ‘slotbase’ was not declared in this scope 244 | void setPlaceholderSlot(void) { stackplaceholder = slotbase; slotbase += 1; } ///< Establish a stack placedholder slot | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:320:9: error: ‘comp’ was not declared in this scope 320 | if (comp > 0) return false; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:321:19: error: ‘const class Symbol’ has no member named ‘nameDedup’ 321 | return (sym1->nameDedup < sym2->nameDedup); | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:321:37: error: ‘const class Symbol’ has no member named ‘nameDedup’ 321 | return (sym1->nameDedup < sym2->nameDedup); | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ParamTrial::markActive()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:187:27: error: ‘flags’ was not declared in this scope 187 | void markActive(void) { flags |= (active|checked); } ///< Mark that trial is actively used (in data-flow) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ParamActive::setPlaceholderSlot()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:244:35: error: ‘stackplaceholder’ was not declared in this scope 244 | void setPlaceholderSlot(void) { stackplaceholder = slotbase; slotbase += 1; } ///< Establish a stack placedholder slot | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ParamActive::setMaxPass(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:248:31: error: ‘maxpass’ was not declared in this scope; did you mean ‘setMaxPass’? 248 | void setMaxPass(int4 val) { maxpass = val; } ///< Set the maximum number of passes | ^~~~~~~ | setMaxPass /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ParamTrial::markInactive()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:188:29: error: ‘flags’ was not declared in this scope 188 | void markInactive(void) { flags &= ~((uint4)active); flags |= checked; } ///< Mark that trial is not actively used | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:354:26: error: ‘int4’ has not been declared 354 | MapIterator operator++(int4 i); ///< Post-increment the iterator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:244:54: error: ‘slotbase’ was not declared in this scope 244 | void setPlaceholderSlot(void) { stackplaceholder = slotbase; slotbase += 1; } ///< Establish a stack placedholder slot | ^~~~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:28, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:18: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangemap.hh: In instantiation of ‘class rangemap’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:366:23: required from here /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangemap.hh:66:42: error: no type named ‘linetype’ in ‘class SymbolEntry’ 66 | typedef typename _recordtype::linetype linetype; ///< Integer data-type defining the linear domain | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:188:41: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 188 | void markInactive(void) { flags &= ~((uint4)active); flags |= checked; } ///< Mark that trial is not actively used | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:188:47: error: expected ‘)’ before ‘active’ 188 | void markInactive(void) { flags &= ~((uint4)active); flags |= checked; } ///< Mark that trial is not actively used | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:188:39: note: to match this ‘(’ 188 | void markInactive(void) { flags &= ~((uint4)active); flags |= checked; } ///< Mark that trial is not actively used | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ParamActive::finishPass()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:249:27: error: ‘numpasses’ was not declared in this scope 249 | void finishPass(void) { numpasses += 1; } ///< Mark that an analysis pass has completed | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:284:70: error: ‘int4’ has not been declared 284 | FspecSpace(AddrSpaceManager *m,const Translate *t,const string &nm,int4 ind); ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:285:45: error: ‘uintb’ has not been declared 285 | virtual void saveXmlAttributes(ostream &s,uintb offset) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:286:45: error: ‘uintb’ has not been declared 286 | virtual void saveXmlAttributes(ostream &s,uintb offset,int4 size) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:286:58: error: ‘int4’ has not been declared 286 | virtual void saveXmlAttributes(ostream &s,uintb offset,int4 size) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:287:36: error: ‘uintb’ has not been declared 287 | virtual void printRaw(ostream &s,uintb offset) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:304:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 304 | uint4 flags; ///< additional attributes of the parameter | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ParamTrial::markNoUse()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:189:26: error: ‘flags’ was not declared in this scope 189 | void markNoUse(void) { flags &= ~((uint4)(active|used)); flags |= (checked|defnouse); } ///< Mark trial as definitely \e not a parameter | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ParamActive::setMaxPass(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:248:31: error: ‘maxpass’ was not declared in this scope; did you mean ‘setMaxPass’? 248 | void setMaxPass(int4 val) { maxpass = val; } ///< Set the maximum number of passes | ^~~~~~~ | setMaxPass /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:322:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 322 | uint4 type; ///< The type of effect | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:326:36: error: ‘int4’ has not been declared 326 | EffectRecord(const Address &addr,int4 size); ///< Construct a memory range with an unknown effect | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:327:40: error: ‘uint4’ has not been declared 327 | EffectRecord(const ParamEntry &entry,uint4 t); ///< Construct an effect on a parameter storage location | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:328:40: error: ‘uint4’ has not been declared 328 | EffectRecord(const VarnodeData &addr,uint4 t); ///< Construct an effect on a memory range | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:329:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 329 | uint4 getType(void) const { return type; } ///< Get the type of effect | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:189:38: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 189 | void markNoUse(void) { flags &= ~((uint4)(active|used)); flags |= (checked|defnouse); } ///< Mark trial as definitely \e not a parameter | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:331:3: error: ‘int4’ does not name a type; did you mean ‘int’? 331 | int4 getSize(void) const { return address.size; } ///< Get the size of the affected range | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:336:19: error: ‘uint4’ has not been declared 336 | void restoreXml(uint4 grouptype,const Element *el,const AddrSpaceManager *manage); ///< Restore the record from an XML stream | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ParamActive::finishPass()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:249:27: error: ‘numpasses’ was not declared in this scope 249 | void finishPass(void) { numpasses += 1; } ///< Mark that an analysis pass has completed | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In copy constructor ‘EffectRecord::EffectRecord(const EffectRecord&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:325:66: error: ‘type’ was not declared in this scope; did you mean ‘wctype’? 325 | EffectRecord(const EffectRecord &op2) { address = op2.address; type = op2.type; } ///< Copy constructor | ^~~~ | wctype /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:325:77: error: ‘const class EffectRecord’ has no member named ‘type’ 325 | EffectRecord(const EffectRecord &op2) { address = op2.address; type = op2.type; } ///< Copy constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ParamTrial::markUnref()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:190:26: error: ‘flags’ was not declared in this scope 190 | void markUnref(void) { flags |= (unref|checked); slot = -1; } ///< Mark that \b this trial has no Varnode representative | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:284:70: error: ‘int4’ has not been declared 284 | FspecSpace(AddrSpaceManager *m,const Translate *t,const string &nm,int4 ind); ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:285:45: error: ‘uintb’ has not been declared 285 | virtual void saveXmlAttributes(ostream &s,uintb offset) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘Address EffectRecord::getAddress() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:330:73: error: ‘const struct VarnodeData’ has no member named ‘offset’ 330 | Address getAddress(void) const { return Address(address.space,address.offset); } ///< Get the starting address of the affected range | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:286:45: error: ‘uintb’ has not been declared 286 | virtual void saveXmlAttributes(ostream &s,uintb offset,int4 size) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:286:58: error: ‘int4’ has not been declared 286 | virtual void saveXmlAttributes(ostream &s,uintb offset,int4 size) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:287:36: error: ‘uintb’ has not been declared 287 | virtual void printRaw(ostream &s,uintb offset) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:355:11: error: ‘uint4’ does not name a type; did you mean ‘uint’? 355 | virtual uint4 getType(void) const=0; ///< Get the type of parameter list | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:384:48: error: ‘int4’ has not been declared 384 | virtual bool checkJoin(const Address &hiaddr,int4 hisize,const Address &loaddr,int4 losize) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:384:82: error: ‘int4’ has not been declared 384 | virtual bool checkJoin(const Address &hiaddr,int4 hisize,const Address &loaddr,int4 losize) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:394:46: error: ‘int4’ has not been declared 394 | virtual bool checkSplit(const Address &loc,int4 size,int4 splitpoint) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:304:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 304 | uint4 flags; ///< additional attributes of the parameter | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:394:56: error: ‘int4’ has not been declared 394 | virtual bool checkSplit(const Address &loc,int4 size,int4 splitpoint) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:406:11: error: ‘int4’ does not name a type; did you mean ‘int’? 406 | virtual int4 characterizeAsParam(const Address &loc,int4 size) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:414:49: error: ‘int4’ has not been declared 414 | virtual bool possibleParam(const Address &loc,int4 size) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:322:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 322 | uint4 type; ///< The type of effect | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:425:57: error: ‘int4’ has not been declared 425 | virtual bool possibleParamWithSlot(const Address &loc,int4 size,int4 &slot,int4 &slotsize) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:425:67: error: ‘int4’ has not been declared 425 | virtual bool possibleParamWithSlot(const Address &loc,int4 size,int4 &slot,int4 &slotsize) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:326:36: error: ‘int4’ has not been declared 326 | EffectRecord(const Address &addr,int4 size); ///< Construct a memory range with an unknown effect | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:425:78: error: ‘int4’ has not been declared 425 | virtual bool possibleParamWithSlot(const Address &loc,int4 size,int4 &slot,int4 &slotsize) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:327:40: error: ‘uint4’ has not been declared 327 | EffectRecord(const ParamEntry &entry,uint4 t); ///< Construct an effect on a parameter storage location | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:433:60: error: ‘int4’ has not been declared 433 | virtual bool getBiggestContainedParam(const Address &loc,int4 size,VarnodeData &res) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:328:40: error: ‘uint4’ has not been declared 328 | EffectRecord(const VarnodeData &addr,uint4 t); ///< Construct an effect on a memory range | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:444:56: error: ‘int4’ has not been declared 444 | virtual bool unjustifiedContainer(const Address &loc,int4 size,VarnodeData &res) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:190:52: error: ‘slot’ was not declared in this scope 190 | void markUnref(void) { flags |= (unref|checked); slot = -1; } ///< Mark that \b this trial has no Varnode representative | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:456:55: error: ‘int4’ has not been declared 456 | virtual OpCode assumedExtension(const Address &addr,int4 size,VarnodeData &res) const=0; | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:18: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:379:13: error: ‘uint8’ was not declared in this scope; did you mean ‘uint’? 379 | typedef map ScopeMap; ///< A map from id to Scope | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:379:26: error: template argument 1 is invalid 379 | typedef map ScopeMap; ///< A map from id to Scope | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:379:26: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:379:26: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:410:20: error: ‘ScopeMap’ is not a class, namespace, or enumeration 410 | void detachScope(ScopeMap::iterator iter); ///< Detach a child Scope from \b this | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:410:39: error: expected ‘,’ or ‘...’ before ‘iter’ 410 | void detachScope(ScopeMap::iterator iter); ///< Detach a child Scope from \b this | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:329:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 329 | uint4 getType(void) const { return type; } ///< Get the type of effect | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:476:11: error: ‘int4’ does not name a type; did you mean ‘int’? 476 | virtual int4 getMaxDelay(void) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:331:3: error: ‘int4’ does not name a type; did you mean ‘int’? 331 | int4 getSize(void) const { return address.size; } ///< Get the size of the affected range | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:411:10: error: ‘uint8’ does not name a type; did you mean ‘uint’? 411 | static uint8 hashScopeName(uint8 baseId,const string &nm); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:336:19: error: ‘uint4’ has not been declared 336 | void restoreXml(uint4 grouptype,const Element *el,const AddrSpaceManager *manage); ///< Restore the record from an XML stream | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:500:3: error: ‘int4’ does not name a type; did you mean ‘int’? 500 | int4 numgroup; ///< Number of \e groups in this parameter convention | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:416:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 416 | uint8 uniqueId; ///< Unique id for the scope, for deduping scope names, assigning symbol ids | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:501:3: error: ‘int4’ does not name a type; did you mean ‘int’? 501 | int4 maxdelay; ///< Maximum heritage delay across all parameters | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:424:63: error: ‘int4’ has not been declared 424 | const Address &addr,int4 size, | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:429:64: error: ‘int4’ has not been declared 429 | const Address &addr,int4 size, | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ParamTrial::markKilledByCall()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:191:33: error: ‘flags’ was not declared in this scope 191 | void markKilledByCall(void) { flags |= killedbycall; } ///< Mark that \b this storage is \e killed-by-call | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:454:32: error: ‘uint8’ has not been declared 454 | virtual Scope *buildSubScope(uint8 id,const string &nm)=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:460:40: error: ‘uintb’ has not been declared 460 | virtual void addRange(AddrSpace *spc,uintb first,uintb last); ///< Add a memory range to the ownership of \b this Scope | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:460:52: error: ‘uintb’ has not been declared 460 | virtual void addRange(AddrSpace *spc,uintb first,uintb last); ///< Add a memory range to the ownership of \b this Scope | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:461:43: error: ‘uintb’ has not been declared 461 | virtual void removeRange(AddrSpace *spc,uintb first,uintb last); ///< Remove a memory range from the ownership of \b this Scope | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:461:55: error: ‘uintb’ has not been declared 461 | virtual void removeRange(AddrSpace *spc,uintb first,uintb last); ///< Remove a memory range from the ownership of \b this Scope | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:478:51: error: ‘uint4’ has not been declared 478 | virtual SymbolEntry *addMapInternal(Symbol *sym,uint4 exfl,const Address &addr,int4 off,int4 sz, | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:478:82: error: ‘int4’ has not been declared 478 | virtual SymbolEntry *addMapInternal(Symbol *sym,uint4 exfl,const Address &addr,int4 off,int4 sz, | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:478:91: error: ‘int4’ has not been declared 478 | virtual SymbolEntry *addMapInternal(Symbol *sym,uint4 exfl,const Address &addr,int4 off,int4 sz, | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:493:58: error: ‘uint4’ has not been declared 493 | virtual SymbolEntry *addDynamicMapInternal(Symbol *sym,uint4 exfl,uint8 hash,int4 off,int4 sz, | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:502:3: error: ‘int4’ does not name a type; did you mean ‘int’? 502 | int4 pointermax; ///< If non-zero, maximum size of a data-type before converting to a pointer | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:493:69: error: ‘uint8’ has not been declared 493 | virtual SymbolEntry *addDynamicMapInternal(Symbol *sym,uint4 exfl,uint8 hash,int4 off,int4 sz, | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:493:80: error: ‘int4’ has not been declared 493 | virtual SymbolEntry *addDynamicMapInternal(Symbol *sym,uint4 exfl,uint8 hash,int4 off,int4 sz, | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:493:89: error: ‘int4’ has not been declared 493 | virtual SymbolEntry *addDynamicMapInternal(Symbol *sym,uint4 exfl,uint8 hash,int4 off,int4 sz, | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:496:32: error: ‘uint8’ has not been declared 496 | void setSymbolId(Symbol *sym,uint8 id) const { sym->symbolId = id; } ///< Adjust the id associated with a symbol | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:504:14: error: expected ‘)’ before ‘id’ 504 | Scope(uint8 id,const string &nm,Architecture *g,Scope *own) { | ~ ^~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:518:30: error: ‘int4’ has not been declared 518 | virtual void clearCategory(int4 cat)=0; ///< Clear all symbols of the given category from \b this scope | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:520:38: error: ‘int4’ has not been declared 520 | virtual void clearUnlockedCategory(int4 cat)=0; ///< Clear unlocked symbols of the given category from \b this scope | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:535:44: error: ‘int4’ has not been declared 535 | virtual bool inScope(const Address &addr,int4 size, const Address &usepoint) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:504:3: error: ‘int4’ does not name a type; did you mean ‘int’? 504 | int4 nonfloatgroup; ///< Group of first entry which is not marked float | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In copy constructor ‘EffectRecord::EffectRecord(const EffectRecord&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:325:66: error: ‘type’ was not declared in this scope; did you mean ‘wctype’? 325 | EffectRecord(const EffectRecord &op2) { address = op2.address; type = op2.type; } ///< Copy constructor | ^~~~ | wctype /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:548:41: error: ‘uint4’ has not been declared 548 | virtual void setAttribute(Symbol *sym,uint4 attr)=0; ///< Set boolean Varnode properties on a Symbol | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:325:77: error: ‘const class EffectRecord’ has no member named ‘type’ 325 | EffectRecord(const EffectRecord &op2) { address = op2.address; type = op2.type; } ///< Copy constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:549:43: error: ‘uint4’ has not been declared 549 | virtual void clearAttribute(Symbol *sym,uint4 attr)=0; ///< Clear boolean Varnode properties on a Symbol | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:550:45: error: ‘uint4’ has not been declared 550 | virtual void setDisplayFormat(Symbol *sym,uint4 attr)=0; ///< Set the display format for a Symbol | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:567:58: error: ‘int4’ has not been declared 567 | virtual SymbolEntry *findContainer(const Address &addr,int4 size, | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘Address EffectRecord::getAddress() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:330:73: error: ‘const struct VarnodeData’ has no member named ‘offset’ 330 | Address getAddress(void) const { return Address(address.space,address.offset); } ///< Get the starting address of the affected range | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:576:59: error: ‘int4’ has not been declared 576 | virtual SymbolEntry *findClosestFit(const Address &addr,int4 size, | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:602:56: error: ‘int4’ has not been declared 602 | virtual SymbolEntry *findOverlap(const Address &addr,int4 size) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:636:49: error: ‘int4’ has not been declared 636 | Datatype *ct,int4 &index,uint4 flags) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:636:61: error: ‘uint4’ has not been declared 636 | Datatype *ct,int4 &index,uint4 flags) const=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:355:11: error: ‘uint4’ does not name a type; did you mean ‘uint’? 355 | virtual uint4 getType(void) const=0; ///< Get the type of parameter list | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:384:48: error: ‘int4’ has not been declared 384 | virtual bool checkJoin(const Address &hiaddr,int4 hisize,const Address &loaddr,int4 losize) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ParamTrial::isChecked() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:192:41: error: ‘flags’ was not declared in this scope 192 | bool isChecked(void) const { return ((flags & checked)!=0); } ///< Has \b this trial been checked | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:384:82: error: ‘int4’ has not been declared 384 | virtual bool checkJoin(const Address &hiaddr,int4 hisize,const Address &loaddr,int4 losize) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:394:46: error: ‘int4’ has not been declared 394 | virtual bool checkSplit(const Address &loc,int4 size,int4 splitpoint) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:394:56: error: ‘int4’ has not been declared 394 | virtual bool checkSplit(const Address &loc,int4 size,int4 splitpoint) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:657:11: error: ‘int4’ does not name a type; did you mean ‘int’? 657 | virtual int4 getCategorySize(int4 cat) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:664:37: error: ‘int4’ has not been declared 664 | virtual Symbol *getCategorySymbol(int4 cat,int4 ind) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:664:46: error: ‘int4’ has not been declared 664 | virtual Symbol *getCategorySymbol(int4 cat,int4 ind) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:671:40: error: ‘int4’ has not been declared 671 | virtual void setCategory(Symbol *sym,int4 cat,int4 ind)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:671:49: error: ‘int4’ has not been declared 671 | virtual void setCategory(Symbol *sym,int4 cat,int4 ind)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:406:11: error: ‘int4’ does not name a type; did you mean ‘int’? 406 | virtual int4 characterizeAsParam(const Address &loc,int4 size) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:414:49: error: ‘int4’ has not been declared 414 | virtual bool possibleParam(const Address &loc,int4 size) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:425:57: error: ‘int4’ has not been declared 425 | virtual bool possibleParamWithSlot(const Address &loc,int4 size,int4 &slot,int4 &slotsize) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:425:67: error: ‘int4’ has not been declared 425 | virtual bool possibleParamWithSlot(const Address &loc,int4 size,int4 &slot,int4 &slotsize) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:425:78: error: ‘int4’ has not been declared 425 | virtual bool possibleParamWithSlot(const Address &loc,int4 size,int4 &slot,int4 &slotsize) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:433:60: error: ‘int4’ has not been declared 433 | virtual bool getBiggestContainedParam(const Address &loc,int4 size,VarnodeData &res) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:444:56: error: ‘int4’ has not been declared 444 | virtual bool unjustifiedContainer(const Address &loc,int4 size,VarnodeData &res) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:456:55: error: ‘int4’ has not been declared 456 | virtual OpCode assumedExtension(const Address &addr,int4 size,VarnodeData &res) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:677:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 677 | uint8 getId(void) const { return uniqueId; } ///< Get the globally unique id | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:685:51: error: ‘int4’ has not been declared 685 | SymbolEntry *queryContainer(const Address &addr,int4 size, | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:687:52: error: ‘int4’ has not been declared 687 | SymbolEntry *queryProperties(const Address &addr,int4 size, | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:688:56: error: ‘uint4’ has not been declared 688 | const Address &usepoint,uint4 &flags) const; ///< Find a Symbol or properties at the given address | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:694:44: error: ‘int4’ has not been declared 694 | Scope *discoverScope(const Address &addr,int4 sz,const Address &usepoint); ///< Find the owning Scope of a given memory range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:476:11: error: ‘int4’ does not name a type; did you mean ‘int’? 476 | virtual int4 getMaxDelay(void) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:695:11: error: invalid use of ‘::’ 695 | ScopeMap::const_iterator childrenBegin() const { return children.begin(); } ///< Beginning iterator of child scopes | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:695:13: error: expected ‘;’ at end of member declaration 695 | ScopeMap::const_iterator childrenBegin() const { return children.begin(); } ///< Beginning iterator of child scopes | ^~~~~~~~~~~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:695:28: error: ISO C++ forbids declaration of ‘childrenBegin’ with no type [-fpermissive] 695 | ScopeMap::const_iterator childrenBegin() const { return children.begin(); } ///< Beginning iterator of child scopes | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:696:11: error: invalid use of ‘::’ 696 | ScopeMap::const_iterator childrenEnd() const { return children.end(); } ///< Ending iterator of child scopes | ^~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:696:13: error: expected ‘;’ at end of member declaration 696 | ScopeMap::const_iterator childrenEnd() const { return children.end(); } ///< Ending iterator of child scopes | ^~~~~~~~~~~~~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:696:28: error: ISO C++ forbids declaration of ‘childrenEnd’ with no type [-fpermissive] 696 | ScopeMap::const_iterator childrenEnd() const { return children.end(); } ///< Ending iterator of child scopes | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ParamTrial::isActive() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:193:40: error: ‘flags’ was not declared in this scope 193 | bool isActive(void) const { return ((flags & active)!=0); } ///< Is \b this trial actively used in data-flow | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:714:79: error: ‘uint8’ has not been declared 714 | Symbol *addDynamicSymbol(const string &nm,Datatype *ct,const Address &caddr,uint8 hash); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:715:39: error: ‘int4’ has not been declared 715 | string buildDefaultName(Symbol *sym,int4 &base,Varnode *vn) const; ///< Create a default name for the given Symbol | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:716:39: error: ‘int4’ has not been declared 716 | bool isReadOnly(const Address &addr,int4 size,const Address &usepoint) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:500:3: error: ‘int4’ does not name a type; did you mean ‘int’? 500 | int4 numgroup; ///< Number of \e groups in this parameter convention | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘void Scope::setSymbolId(Symbol*, int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:496:55: error: ‘class Symbol’ has no member named ‘symbolId’; did you mean ‘Symbol’? 496 | void setSymbolId(Symbol *sym,uint8 id) const { sym->symbolId = id; } ///< Adjust the id associated with a symbol | ^~~~~~~~ | Symbol /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘int Scope::childrenBegin() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:695:68: error: request for member ‘begin’ in ‘((const Scope*)this)->Scope::children’, which is of non-class type ‘const ScopeMap’ {aka ‘const int’} 695 | ScopeMap::const_iterator childrenBegin() const { return children.begin(); } ///< Beginning iterator of child scopes | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In member function ‘int Scope::childrenEnd() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:696:66: error: request for member ‘end’ in ‘((const Scope*)this)->Scope::children’, which is of non-class type ‘const ScopeMap’ {aka ‘const int’} 696 | ScopeMap::const_iterator childrenEnd() const { return children.end(); } ///< Ending iterator of child scopes | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:501:3: error: ‘int4’ does not name a type; did you mean ‘int’? 501 | int4 maxdelay; ///< Maximum heritage delay across all parameters | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:502:3: error: ‘int4’ does not name a type; did you mean ‘int’? 502 | int4 pointermax; ///< If non-zero, maximum size of a data-type before converting to a pointer | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:504:3: error: ‘int4’ does not name a type; did you mean ‘int’? 504 | int4 nonfloatgroup; ///< Group of first entry which is not marked float | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ParamTrial::isDefinitelyNotUsed() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:194:51: error: ‘flags’ was not declared in this scope 194 | bool isDefinitelyNotUsed(void) const { return ((flags & defnouse)!=0); } ///< Is \b this trial as definitely not a parameter | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ParamTrial::isUsed() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:195:38: error: ‘flags’ was not declared in this scope 195 | bool isUsed(void) const { return ((flags & used)!=0); } ///< Is \b this trial as a formal parameter | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:508:50: error: ‘int4’ has not been declared 508 | const ParamEntry *findEntry(const Address &loc,int4 size) const; ///< Given storage location find matching ParamEntry | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ParamTrial::isUnref() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:196:39: error: ‘flags’ was not declared in this scope 196 | bool isUnref(void) const { return ((flags & unref)!=0); } ///< Does \b this trial not have a Varnode representative | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:509:51: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 509 | Address assignAddress(const Datatype *tp,vector &status) const; ///< Assign storage for given parameter data-type | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:509:55: error: template argument 1 is invalid 509 | Address assignAddress(const Datatype *tp,vector &status) const; ///< Assign storage for given parameter data-type | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:509:55: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:511:42: error: ‘int4’ has not been declared 511 | void separateFloat(ParamActive *active,int4 &floatstart,int4 &floatstop,int4 &start,int4 &stop) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:511:59: error: ‘int4’ has not been declared 511 | void separateFloat(ParamActive *active,int4 &floatstart,int4 &floatstop,int4 &start,int4 &stop) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:511:75: error: ‘int4’ has not been declared 511 | void separateFloat(ParamActive *active,int4 &floatstart,int4 &floatstop,int4 &start,int4 &stop) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:511:87: error: ‘int4’ has not been declared 511 | void separateFloat(ParamActive *active,int4 &floatstart,int4 &floatstop,int4 &start,int4 &stop) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:513:39: error: ‘int4’ has not been declared 513 | void forceNoUse(ParamActive *active,int4 start,int4 stop) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:513:50: error: ‘int4’ has not been declared 513 | void forceNoUse(ParamActive *active,int4 start,int4 stop) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:514:47: error: ‘int4’ has not been declared 514 | void forceInactiveChain(ParamActive *active,int4 maxchain,int4 start,int4 stop) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:514:61: error: ‘int4’ has not been declared 514 | void forceInactiveChain(ParamActive *active,int4 maxchain,int4 start,int4 stop) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:514:72: error: ‘int4’ has not been declared 514 | void forceInactiveChain(ParamActive *active,int4 maxchain,int4 start,int4 stop) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:522:11: error: ‘uint4’ does not name a type; did you mean ‘uint’? 522 | virtual uint4 getType(void) const { return p_standard; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:526:48: error: ‘int4’ has not been declared 526 | virtual bool checkJoin(const Address &hiaddr,int4 hisize,const Address &loaddr,int4 losize) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:526:82: error: ‘int4’ has not been declared 526 | virtual bool checkJoin(const Address &hiaddr,int4 hisize,const Address &loaddr,int4 losize) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:527:46: error: ‘int4’ has not been declared 527 | virtual bool checkSplit(const Address &loc,int4 size,int4 splitpoint) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:527:56: error: ‘int4’ has not been declared 527 | virtual bool checkSplit(const Address &loc,int4 size,int4 splitpoint) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ParamTrial::isKilledByCall() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:197:46: error: ‘flags’ was not declared in this scope 197 | bool isKilledByCall(void) const { return ((flags & killedbycall)!=0); } ///< Is \b this storage \e killed-by-call | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:528:11: error: ‘int4’ does not name a type; did you mean ‘int’? 528 | virtual int4 characterizeAsParam(const Address &loc,int4 size) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:529:49: error: ‘int4’ has not been declared 529 | virtual bool possibleParam(const Address &loc,int4 size) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:530:57: error: ‘int4’ has not been declared 530 | virtual bool possibleParamWithSlot(const Address &loc,int4 size,int4 &slot,int4 &slotsize) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:530:67: error: ‘int4’ has not been declared 530 | virtual bool possibleParamWithSlot(const Address &loc,int4 size,int4 &slot,int4 &slotsize) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:530:78: error: ‘int4’ has not been declared 530 | virtual bool possibleParamWithSlot(const Address &loc,int4 size,int4 &slot,int4 &slotsize) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:531:60: error: ‘int4’ has not been declared 531 | virtual bool getBiggestContainedParam(const Address &loc,int4 size,VarnodeData &res) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:532:56: error: ‘int4’ has not been declared 532 | virtual bool unjustifiedContainer(const Address &loc,int4 size,VarnodeData &res) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:533:55: error: ‘int4’ has not been declared 533 | virtual OpCode assumedExtension(const Address &addr,int4 size,VarnodeData &res) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:508:50: error: ‘int4’ has not been declared 508 | const ParamEntry *findEntry(const Address &loc,int4 size) const; ///< Given storage location find matching ParamEntry | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:536:11: error: ‘int4’ does not name a type; did you mean ‘int’? 536 | virtual int4 getMaxDelay(void) const { return maxdelay; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:732:32: error: ‘uint8’ has not been declared 732 | virtual Scope *buildSubScope(uint8 id,const string &nm); ///< Build an unattached Scope to be associated as a sub-scope of \b this | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:734:51: error: ‘uint4’ has not been declared 734 | virtual SymbolEntry *addMapInternal(Symbol *sym,uint4 exfl,const Address &addr,int4 off,int4 sz,const RangeList &uselim); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:734:82: error: ‘int4’ has not been declared 734 | virtual SymbolEntry *addMapInternal(Symbol *sym,uint4 exfl,const Address &addr,int4 off,int4 sz,const RangeList &uselim); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:734:91: error: ‘int4’ has not been declared 734 | virtual SymbolEntry *addMapInternal(Symbol *sym,uint4 exfl,const Address &addr,int4 off,int4 sz,const RangeList &uselim); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:735:58: error: ‘uint4’ has not been declared 735 | virtual SymbolEntry *addDynamicMapInternal(Symbol *sym,uint4 exfl,uint8 hash,int4 off,int4 sz, | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:735:69: error: ‘uint8’ has not been declared 735 | virtual SymbolEntry *addDynamicMapInternal(Symbol *sym,uint4 exfl,uint8 hash,int4 off,int4 sz, | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:735:80: error: ‘int4’ has not been declared 735 | virtual SymbolEntry *addDynamicMapInternal(Symbol *sym,uint4 exfl,uint8 hash,int4 off,int4 sz, | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:735:89: error: ‘int4’ has not been declared 735 | virtual SymbolEntry *addDynamicMapInternal(Symbol *sym,uint4 exfl,uint8 hash,int4 off,int4 sz, | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ParamTrial::setRemFormed()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:198:29: error: ‘flags’ was not declared in this scope 198 | void setRemFormed(void) { flags |= rem_formed; } ///< Mark that \b this is formed by a INT_REM operation | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:509:51: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 509 | Address assignAddress(const Datatype *tp,vector &status) const; ///< Assign storage for given parameter data-type | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:509:55: error: template argument 1 is invalid 509 | Address assignAddress(const Datatype *tp,vector &status) const; ///< Assign storage for given parameter data-type | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:509:55: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:511:42: error: ‘int4’ has not been declared 511 | void separateFloat(ParamActive *active,int4 &floatstart,int4 &floatstop,int4 &start,int4 &stop) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:511:59: error: ‘int4’ has not been declared 511 | void separateFloat(ParamActive *active,int4 &floatstart,int4 &floatstop,int4 &start,int4 &stop) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:511:75: error: ‘int4’ has not been declared 511 | void separateFloat(ParamActive *active,int4 &floatstart,int4 &floatstop,int4 &start,int4 &stop) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:511:87: error: ‘int4’ has not been declared 511 | void separateFloat(ParamActive *active,int4 &floatstart,int4 &floatstop,int4 &start,int4 &stop) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:513:39: error: ‘int4’ has not been declared 513 | void forceNoUse(ParamActive *active,int4 start,int4 stop) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:513:50: error: ‘int4’ has not been declared 513 | void forceNoUse(ParamActive *active,int4 start,int4 stop) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:514:47: error: ‘int4’ has not been declared 514 | void forceInactiveChain(ParamActive *active,int4 maxchain,int4 start,int4 stop) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:514:61: error: ‘int4’ has not been declared 514 | void forceInactiveChain(ParamActive *active,int4 maxchain,int4 start,int4 stop) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:514:72: error: ‘int4’ has not been declared 514 | void forceInactiveChain(ParamActive *active,int4 maxchain,int4 start,int4 stop) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:522:11: error: ‘uint4’ does not name a type; did you mean ‘uint’? 522 | virtual uint4 getType(void) const { return p_standard; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:526:48: error: ‘int4’ has not been declared 526 | virtual bool checkJoin(const Address &hiaddr,int4 hisize,const Address &loaddr,int4 losize) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:526:82: error: ‘int4’ has not been declared 526 | virtual bool checkJoin(const Address &hiaddr,int4 hisize,const Address &loaddr,int4 losize) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:527:46: error: ‘int4’ has not been declared 527 | virtual bool checkSplit(const Address &loc,int4 size,int4 splitpoint) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:527:56: error: ‘int4’ has not been declared 527 | virtual bool checkSplit(const Address &loc,int4 size,int4 splitpoint) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ParamTrial::isRemFormed() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:199:43: error: ‘flags’ was not declared in this scope 199 | bool isRemFormed(void) const { return ((flags & rem_formed)!=0); } ///< Is \b this formed by a INT_REM operation | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:528:11: error: ‘int4’ does not name a type; did you mean ‘int’? 528 | virtual int4 characterizeAsParam(const Address &loc,int4 size) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:552:11: error: ‘uint4’ does not name a type; did you mean ‘uint’? 552 | virtual uint4 getType(void) const { return p_standard_out; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:529:49: error: ‘int4’ has not been declared 529 | virtual bool possibleParam(const Address &loc,int4 size) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:530:57: error: ‘int4’ has not been declared 530 | virtual bool possibleParamWithSlot(const Address &loc,int4 size,int4 &slot,int4 &slotsize) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:530:67: error: ‘int4’ has not been declared 530 | virtual bool possibleParamWithSlot(const Address &loc,int4 size,int4 &slot,int4 &slotsize) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:530:78: error: ‘int4’ has not been declared 530 | virtual bool possibleParamWithSlot(const Address &loc,int4 size,int4 &slot,int4 &slotsize) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:556:49: error: ‘int4’ has not been declared 556 | virtual bool possibleParam(const Address &loc,int4 size) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:531:60: error: ‘int4’ has not been declared 531 | virtual bool getBiggestContainedParam(const Address &loc,int4 size,VarnodeData &res) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:532:56: error: ‘int4’ has not been declared 532 | virtual bool unjustifiedContainer(const Address &loc,int4 size,VarnodeData &res) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:533:55: error: ‘int4’ has not been declared 533 | virtual OpCode assumedExtension(const Address &addr,int4 size,VarnodeData &res) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:536:11: error: ‘int4’ does not name a type; did you mean ‘int’? 536 | virtual int4 getMaxDelay(void) const { return maxdelay; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:572:11: error: ‘uint4’ does not name a type; did you mean ‘uint’? 572 | virtual uint4 getType(void) const { return p_register; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:742:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 742 | uint8 nextUniqueId; ///< Next available symbol id | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:744:22: error: expected ‘)’ before ‘id’ 744 | ScopeInternal(uint8 id,const string &nm,Architecture *g); ///< Construct the Scope | ~ ^~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ParamTrial::setIndCreateFormed()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:200:35: error: ‘flags’ was not declared in this scope 200 | void setIndCreateFormed(void) { flags |= indcreate_formed; } ///< Mark \b this trial as formed by \e indirect \e creation | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:745:22: error: expected ‘)’ before ‘id’ 745 | ScopeInternal(uint8 id,const string &nm,Architecture *g, Scope *own); ///< Construct as a cache | ~ ^~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:748:30: error: ‘int4’ has not been declared 748 | virtual void clearCategory(int4 cat); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:750:38: error: ‘int4’ has not been declared 750 | virtual void clearUnlockedCategory(int4 cat); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:763:41: error: ‘uint4’ has not been declared 763 | virtual void setAttribute(Symbol *sym,uint4 attr); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:764:43: error: ‘uint4’ has not been declared 764 | virtual void clearAttribute(Symbol *sym,uint4 attr); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:765:45: error: ‘uint4’ has not been declared 765 | virtual void setDisplayFormat(Symbol *sym,uint4 attr); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:768:58: error: ‘int4’ has not been declared 768 | virtual SymbolEntry *findContainer(const Address &addr,int4 size, | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:770:59: error: ‘int4’ has not been declared 770 | virtual SymbolEntry *findClosestFit(const Address &addr,int4 size, | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:591:11: error: ‘uint4’ does not name a type; did you mean ‘uint’? 591 | virtual uint4 getType(void) const { return p_merged; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:775:56: error: ‘int4’ has not been declared 775 | virtual SymbolEntry *findOverlap(const Address &addr,int4 size) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:783:49: error: ‘int4’ has not been declared 783 | Datatype *ct,int4 &index,uint4 flags) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:783:61: error: ‘uint4’ has not been declared 783 | Datatype *ct,int4 &index,uint4 flags) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:789:11: error: ‘int4’ does not name a type; did you mean ‘int’? 789 | virtual int4 getCategorySize(int4 cat) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:790:37: error: ‘int4’ has not been declared 790 | virtual Symbol *getCategorySymbol(int4 cat,int4 ind) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:790:46: error: ‘int4’ has not been declared 790 | virtual Symbol *getCategorySymbol(int4 cat,int4 ind) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:791:40: error: ‘int4’ has not been declared 791 | virtual void setCategory(Symbol *sym,int4 cat,int4 ind); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:791:49: error: ‘int4’ has not been declared 791 | virtual void setCategory(Symbol *sym,int4 cat,int4 ind); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:792:27: error: ‘int4’ has not been declared 792 | void assignDefaultNames(int4 &base); ///< Assign a default name (via buildVariableName) to any unnamed symbol | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ParamTrial::isIndCreateFormed() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:201:49: error: ‘flags’ was not declared in this scope 201 | bool isIndCreateFormed(void) const { return ((flags & indcreate_formed)!=0); } ///< Is \b this trial formed by \e indirect \e creation | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:626:3: error: ‘int4’ does not name a type; did you mean ‘int’? 626 | int4 extrapop; ///< Extra bytes popped from stack | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:552:11: error: ‘uint4’ does not name a type; did you mean ‘uint’? 552 | virtual uint4 getType(void) const { return p_standard_out; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:556:49: error: ‘int4’ has not been declared 556 | virtual bool possibleParam(const Address &loc,int4 size) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:572:11: error: ‘uint4’ does not name a type; did you mean ‘uint’? 572 | virtual uint4 getType(void) const { return p_register; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ParamTrial::setCondExeEffect()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:202:33: error: ‘flags’ was not declared in this scope 202 | void setCondExeEffect(void) { flags |= condexe_effect; } ///< Mark \b this trial as possibly affected by conditional execution | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:591:11: error: ‘uint4’ does not name a type; did you mean ‘uint’? 591 | virtual uint4 getType(void) const { return p_merged; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:632:3: error: ‘int4’ does not name a type; did you mean ‘int’? 632 | int4 injectUponEntry; ///< Id of injection to perform at beginning of function (-1 means not used) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ParamTrial::hasCondExeEffect() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:203:48: error: ‘flags’ was not declared in this scope 203 | bool hasCondExeEffect(void) const { return ((flags & condexe_effect)!=0); } ///< Is \b this trial possibly affected by conditional execution | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:626:3: error: ‘int4’ does not name a type; did you mean ‘int’? 626 | int4 extrapop; ///< Extra bytes popped from stack | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:633:3: error: ‘int4’ does not name a type; did you mean ‘int’? 633 | int4 injectUponReturn; ///< Id of injection to perform after a call to this function (-1 means not used) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:651:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 651 | uint4 hasEffect(const Address &addr,int4 size) const; ///< Determine side-effect of \b this on the given memory range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:652:3: error: ‘int4’ does not name a type; did you mean ‘int’? 652 | int4 getExtraPop(void) const { return extrapop; } ///< Get the stack-pointer \e extrapop for \b this model | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:653:20: error: ‘int4’ has not been declared 653 | void setExtraPop(int4 ep) { extrapop = ep; } ///< Set the stack-pointer \e extrapop | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ParamTrial::setAddress(const Address&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:205:57: error: ‘size’ was not declared in this scope 205 | void setAddress(const Address &ad,int4 sz) { addr=ad; size=sz; } ///< Reset the memory range of \b this trial | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:654:3: error: ‘int4’ does not name a type; did you mean ‘int’? 654 | int4 getInjectUponEntry(void) const { return injectUponEntry; } ///< Get the inject \e uponentry id | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:655:3: error: ‘int4’ does not name a type; did you mean ‘int’? 655 | int4 getInjectUponReturn(void) const { return injectUponReturn; } ///< Get the inject \e uponreturn id | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:683:45: error: ‘int4’ has not been declared 683 | bool checkInputJoin(const Address &hiaddr,int4 hisize,const Address &loaddr,int4 losize) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:683:79: error: ‘int4’ has not been declared 683 | bool checkInputJoin(const Address &hiaddr,int4 hisize,const Address &loaddr,int4 losize) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:695:46: error: ‘int4’ has not been declared 695 | bool checkOutputJoin(const Address &hiaddr,int4 hisize,const Address &loaddr,int4 losize) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:695:80: error: ‘int4’ has not been declared 695 | bool checkOutputJoin(const Address &hiaddr,int4 hisize,const Address &loaddr,int4 losize) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:706:43: error: ‘int4’ has not been declared 706 | bool checkInputSplit(const Address &loc,int4 size,int4 splitpoint) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:706:53: error: ‘int4’ has not been declared 706 | bool checkInputSplit(const Address &loc,int4 size,int4 splitpoint) const { | ^~~~ make[2]: *** [ghidra/CMakeFiles/ghidra_decompiler_sleigh.dir/build.make:188: ghidra/CMakeFiles/ghidra_decompiler_sleigh.dir/__/ghidra-native/src/decompiler/slghpatexpress.cc.o] Error 1 /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:713:3: error: ‘int4’ does not name a type; did you mean ‘int’? 713 | int4 numLikelyTrash(void) const { return likelytrash.size(); } ///< Get the number of \e likelytrash locations | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:714:37: error: ‘int4’ has not been declared 714 | const VarnodeData &getLikelyTrash(int4 i) const { return likelytrash[i]; } ///< Get the i-th \e likelytrashh location | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:632:3: error: ‘int4’ does not name a type; did you mean ‘int’? 632 | int4 injectUponEntry; ///< Id of injection to perform at beginning of function (-1 means not used) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:726:3: error: ‘int4’ does not name a type; did you mean ‘int’? 726 | int4 characterizeAsInputParam(const Address &loc,int4 size) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:736:46: error: ‘int4’ has not been declared 736 | bool possibleInputParam(const Address &loc,int4 size) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:745:47: error: ‘int4’ has not been declared 745 | bool possibleOutputParam(const Address &loc,int4 size) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:757:54: error: ‘int4’ has not been declared 757 | bool possibleInputParamWithSlot(const Address &loc,int4 size,int4 &slot,int4 &slotsize) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:757:64: error: ‘int4’ has not been declared 757 | bool possibleInputParamWithSlot(const Address &loc,int4 size,int4 &slot,int4 &slotsize) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:757:75: error: ‘int4’ has not been declared 757 | bool possibleInputParamWithSlot(const Address &loc,int4 size,int4 &slot,int4 &slotsize) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:769:55: error: ‘int4’ has not been declared 769 | bool possibleOutputParamWithSlot(const Address &loc,int4 size,int4 &slot,int4 &slotsize) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:633:3: error: ‘int4’ does not name a type; did you mean ‘int’? 633 | int4 injectUponReturn; ///< Id of injection to perform after a call to this function (-1 means not used) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:769:65: error: ‘int4’ has not been declared 769 | bool possibleOutputParamWithSlot(const Address &loc,int4 size,int4 &slot,int4 &slotsize) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:769:76: error: ‘int4’ has not been declared 769 | bool possibleOutputParamWithSlot(const Address &loc,int4 size,int4 &slot,int4 &slotsize) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:781:49: error: ‘int4’ has not been declared 781 | bool unjustifiedInputParam(const Address &loc,int4 size,VarnodeData &res) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:794:52: error: ‘int4’ has not been declared 794 | OpCode assumedInputExtension(const Address &addr,int4 size,VarnodeData &res) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:807:53: error: ‘int4’ has not been declared 807 | OpCode assumedOutputExtension(const Address &addr,int4 size,VarnodeData &res) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:816:57: error: ‘int4’ has not been declared 816 | bool getBiggestContainedInputParam(const Address &loc,int4 size,VarnodeData &res) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:651:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 651 | uint4 hasEffect(const Address &addr,int4 size) const; ///< Determine side-effect of \b this on the given memory range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:831:3: error: ‘int4’ does not name a type; did you mean ‘int’? 831 | int4 getMaxInputDelay(void) const { return input->getMaxDelay(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:652:3: error: ‘int4’ does not name a type; did you mean ‘int’? 652 | int4 getExtraPop(void) const { return extrapop; } ///< Get the stack-pointer \e extrapop for \b this model | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:653:20: error: ‘int4’ has not been declared 653 | void setExtraPop(int4 ep) { extrapop = ep; } ///< Set the stack-pointer \e extrapop | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:839:3: error: ‘int4’ does not name a type; did you mean ‘int’? 839 | int4 getMaxOutputDelay(void) const { return output->getMaxDelay(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:224:3: error: ‘int4’ does not name a type; did you mean ‘int’? 224 | int4 slotbase; ///< Slot where next parameter will go | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:654:3: error: ‘int4’ does not name a type; did you mean ‘int’? 654 | int4 getInjectUponEntry(void) const { return injectUponEntry; } ///< Get the inject \e uponentry id | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:843:10: error: ‘uint4’ does not name a type; did you mean ‘uint’? 843 | static uint4 lookupEffect(const vector &efflist,const Address &addr,int4 size); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:655:3: error: ‘int4’ does not name a type; did you mean ‘int’? 655 | int4 getInjectUponReturn(void) const { return injectUponReturn; } ///< Get the inject \e uponreturn id | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:225:3: error: ‘int4’ does not name a type; did you mean ‘int’? 225 | int4 stackplaceholder; ///< Which call input slot holds the stack placeholder | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:683:45: error: ‘int4’ has not been declared 683 | bool checkInputJoin(const Address &hiaddr,int4 hisize,const Address &loaddr,int4 losize) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:683:79: error: ‘int4’ has not been declared 683 | bool checkInputJoin(const Address &hiaddr,int4 hisize,const Address &loaddr,int4 losize) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:695:46: error: ‘int4’ has not been declared 695 | bool checkOutputJoin(const Address &hiaddr,int4 hisize,const Address &loaddr,int4 losize) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:695:80: error: ‘int4’ has not been declared 695 | bool checkOutputJoin(const Address &hiaddr,int4 hisize,const Address &loaddr,int4 losize) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:706:43: error: ‘int4’ has not been declared 706 | bool checkInputSplit(const Address &loc,int4 size,int4 splitpoint) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:706:53: error: ‘int4’ has not been declared 706 | bool checkInputSplit(const Address &loc,int4 size,int4 splitpoint) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:226:3: error: ‘int4’ does not name a type; did you mean ‘int’? 226 | int4 numpasses; ///< Number of attempts at evaluating parameters | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:713:3: error: ‘int4’ does not name a type; did you mean ‘int’? 713 | int4 numLikelyTrash(void) const { return likelytrash.size(); } ///< Get the number of \e likelytrash locations | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:714:37: error: ‘int4’ has not been declared 714 | const VarnodeData &getLikelyTrash(int4 i) const { return likelytrash[i]; } ///< Get the i-th \e likelytrashh location | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:227:3: error: ‘int4’ does not name a type; did you mean ‘int’? 227 | int4 maxpass; ///< Number of passes before we assume we have seen all params | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:234:42: error: ‘int4’ has not been declared 234 | void registerTrial(const Address &addr,int4 sz); ///< Add a new trial to the container | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:726:3: error: ‘int4’ does not name a type; did you mean ‘int’? 726 | int4 characterizeAsInputParam(const Address &loc,int4 size) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:736:46: error: ‘int4’ has not been declared 736 | bool possibleInputParam(const Address &loc,int4 size) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:745:47: error: ‘int4’ has not been declared 745 | bool possibleOutputParam(const Address &loc,int4 size) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:757:54: error: ‘int4’ has not been declared 757 | bool possibleInputParamWithSlot(const Address &loc,int4 size,int4 &slot,int4 &slotsize) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:757:64: error: ‘int4’ has not been declared 757 | bool possibleInputParamWithSlot(const Address &loc,int4 size,int4 &slot,int4 &slotsize) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:757:75: error: ‘int4’ has not been declared 757 | bool possibleInputParamWithSlot(const Address &loc,int4 size,int4 &slot,int4 &slotsize) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:235:3: error: ‘int4’ does not name a type; did you mean ‘int’? 235 | int4 getNumTrials(void) const { return trial.size(); } ///< Get the number of trials in \b this container | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:769:55: error: ‘int4’ has not been declared 769 | bool possibleOutputParamWithSlot(const Address &loc,int4 size,int4 &slot,int4 &slotsize) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:236:24: error: ‘int4’ has not been declared 236 | ParamTrial &getTrial(int4 i) { return trial[i]; } ///< Get the i-th trial | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:769:65: error: ‘int4’ has not been declared 769 | bool possibleOutputParamWithSlot(const Address &loc,int4 size,int4 &slot,int4 &slotsize) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:769:76: error: ‘int4’ has not been declared 769 | bool possibleOutputParamWithSlot(const Address &loc,int4 size,int4 &slot,int4 &slotsize) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:237:45: error: ‘int4’ has not been declared 237 | const ParamTrial &getTrialForInputVarnode(int4 slot) const; ///< Get trial corresponding to the given input Varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:781:49: error: ‘int4’ has not been declared 781 | bool unjustifiedInputParam(const Address &loc,int4 size,VarnodeData &res) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:794:52: error: ‘int4’ has not been declared 794 | OpCode assumedInputExtension(const Address &addr,int4 size,VarnodeData &res) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:807:53: error: ‘int4’ has not been declared 807 | OpCode assumedOutputExtension(const Address &addr,int4 size,VarnodeData &res) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:816:57: error: ‘int4’ has not been declared 816 | bool getBiggestContainedInputParam(const Address &loc,int4 size,VarnodeData &res) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:238:3: error: ‘int4’ does not name a type; did you mean ‘int’? 238 | int4 whichTrial(const Address &addr,int4 sz) const; ///< Get the trial overlapping with the given memory range | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:831:3: error: ‘int4’ does not name a type; did you mean ‘int’? 831 | int4 getMaxInputDelay(void) const { return input->getMaxDelay(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ProtoModel::setExtraPop(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:653:31: error: ‘extrapop’ was not declared in this scope; did you mean ‘setExtraPop’? 653 | void setExtraPop(int4 ep) { extrapop = ep; } ///< Set the stack-pointer \e extrapop | ^~~~~~~~ | setExtraPop /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:246:3: error: ‘int4’ does not name a type; did you mean ‘int’? 246 | int4 getNumPasses(void) const { return numpasses; } ///< How many trial analysis passes were performed | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:839:3: error: ‘int4’ does not name a type; did you mean ‘int’? 839 | int4 getMaxOutputDelay(void) const { return output->getMaxDelay(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:247:3: error: ‘int4’ does not name a type; did you mean ‘int’? 247 | int4 getMaxPass(void) const { return maxpass; } ///< What is the maximum number of passes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:248:19: error: ‘int4’ has not been declared 248 | void setMaxPass(int4 val) { maxpass = val; } ///< Set the maximum number of passes | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:252:19: error: ‘int4’ has not been declared 252 | void splitTrial(int4 i,int4 sz); ///< Split the given trial in two | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:252:26: error: ‘int4’ has not been declared 252 | void splitTrial(int4 i,int4 sz); ///< Split the given trial in two | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:253:18: error: ‘int4’ has not been declared 253 | void joinTrial(int4 slot,const Address &addr,int4 sz); ///< Join adjacent parameter trials | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:253:48: error: ‘int4’ has not been declared 253 | void joinTrial(int4 slot,const Address &addr,int4 sz); ///< Join adjacent parameter trials | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:843:10: error: ‘uint4’ does not name a type; did you mean ‘uint’? 843 | static uint4 lookupEffect(const vector &efflist,const Address &addr,int4 size); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:254:3: error: ‘int4’ does not name a type; did you mean ‘int’? 254 | int4 getNumUsed(void) const; ///< Get number of trials marked as formal parameters | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:262:19: error: ‘int4’ has not been declared 262 | bool testShrink(int4 i,const Address &addr,int4 sz) const { return trial[i].testShrink(addr,sz); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:262:46: error: ‘int4’ has not been declared 262 | bool testShrink(int4 i,const Address &addr,int4 sz) const { return trial[i].testShrink(addr,sz); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:269:15: error: ‘int4’ has not been declared 269 | void shrink(int4 i,const Address &addr,int4 sz) { trial[i].setAddress(addr,sz); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:269:42: error: ‘int4’ has not been declared 269 | void shrink(int4 i,const Address &addr,int4 sz) { trial[i].setAddress(addr,sz); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:856:5: error: ‘int4’ does not name a type; did you mean ‘int’? 856 | int4 origIndex; ///< Original index of trial | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:857:5: error: ‘int4’ does not name a type; did you mean ‘int’? 857 | int4 slot; ///< Matching slot within the resource list | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:858:5: error: ‘int4’ does not name a type; did you mean ‘int’? 858 | int4 size; ///< Number of slots occupied | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:849:19: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 849 | partmap flagbase; ///< Map of global properties | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:849:24: error: template argument 2 is invalid 849 | partmap flagbase; ///< Map of global properties | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:865:45: error: ‘uintb’ has not been declared 865 | void addRange(Scope *scope,AddrSpace *spc,uintb first,uintb last); ///< Add an address range to the \e ownership of a Scope | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:865:57: error: ‘uintb’ has not been declared 865 | void addRange(Scope *scope,AddrSpace *spc,uintb first,uintb last); ///< Add an address range to the \e ownership of a Scope | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:866:48: error: ‘uintb’ has not been declared 866 | void removeRange(Scope *scope,AddrSpace *spc,uintb first,uintb last); ///< Remove an address range from \e ownership of a Scope | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:866:60: error: ‘uintb’ has not been declared 866 | void removeRange(Scope *scope,AddrSpace *spc,uintb first,uintb last); ///< Remove an address range from \e ownership of a Scope | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:868:23: error: ‘uint8’ has not been declared 868 | Scope *resolveScope(uint8 id) const; ///< Look-up a Scope by id | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:870:26: error: ‘uint8’ has not been declared 870 | Scope *findCreateScope(uint8,const string &nm,Scope *parent); /// Find (and if not found create) a specific subscope | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ProtoModel::setExtraPop(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:653:31: error: ‘extrapop’ was not declared in this scope; did you mean ‘setExtraPop’? 653 | void setExtraPop(int4 ep) { extrapop = ep; } ///< Set the stack-pointer \e extrapop | ^~~~~~~~ | setExtraPop /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:874:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 874 | uint4 getProperty(const Address &addr) const { return flagbase.getValue(addr); } ///< Get boolean properties at the given address | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:875:25: error: ‘uint4’ has not been declared 875 | void setPropertyRange(uint4 flags,const Range &range); ///< Set boolean properties over a given memory range | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:856:5: error: ‘int4’ does not name a type; did you mean ‘int’? 856 | int4 origIndex; ///< Original index of trial | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ParamActive::setPlaceholderSlot()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:244:35: error: ‘stackplaceholder’ was not declared in this scope 244 | void setPlaceholderSlot(void) { stackplaceholder = slotbase; slotbase += 1; } ///< Establish a stack placedholder slot | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:876:44: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 876 | void setProperties(const partmap &newflags) { flagbase = newflags; } ///< Replace the property map | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:876:49: error: template argument 2 is invalid 876 | void setProperties(const partmap &newflags) { flagbase = newflags; } ///< Replace the property map | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:857:5: error: ‘int4’ does not name a type; did you mean ‘int’? 857 | int4 slot; ///< Matching slot within the resource list | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:858:5: error: ‘int4’ does not name a type; did you mean ‘int’? 858 | int4 size; ///< Number of slots occupied | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:868:3: error: ‘int4’ does not name a type; did you mean ‘int’? 868 | int4 finalscore; ///< The final fitness score | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:869:3: error: ‘int4’ does not name a type; did you mean ‘int’? 869 | int4 mismatch; ///< Number of trials that don't fit the prototype model at all | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:871:54: error: ‘int4’ has not been declared 871 | ScoreProtoModel(bool isinput,const ProtoModel *mod,int4 numparam); ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:872:41: error: ‘int4’ has not been declared 872 | void addParameter(const Address &addr,int4 sz); ///< Register a trial to be scored | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:877:25: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 877 | const partmap &getProperties(void) const { return flagbase; } ///< Get the entire property map | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:877:30: error: template argument 2 is invalid 877 | const partmap &getProperties(void) const { return flagbase; } ///< Get the entire property map | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:874:3: error: ‘int4’ does not name a type; did you mean ‘int’? 874 | int4 getScore(void) const { return finalscore; } ///< Get the fitness score | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:875:3: error: ‘int4’ does not name a type; did you mean ‘int’? 875 | int4 getNumMismatch(void) const { return mismatch; } ///< Get the number of mismatched trials | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:244:54: error: ‘slotbase’ was not declared in this scope 244 | void setPlaceholderSlot(void) { stackplaceholder = slotbase; slotbase += 1; } ///< Establish a stack placedholder slot | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ScoreProtoModel::PEntry::operator<(const ScoreProtoModel::PEntry&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:863:55: error: ‘slot’ was not declared in this scope 863 | bool operator<(const PEntry &op2) const { return (slot < op2.slot); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:863:66: error: ‘const class ScoreProtoModel::PEntry’ has no member named ‘slot’ 863 | bool operator<(const PEntry &op2) const { return (slot < op2.slot); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:868:3: error: ‘int4’ does not name a type; did you mean ‘int’? 868 | int4 finalscore; ///< The final fitness score | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:869:3: error: ‘int4’ does not name a type; did you mean ‘int’? 869 | int4 mismatch; ///< Number of trials that don't fit the prototype model at all | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:871:54: error: ‘int4’ has not been declared 871 | ScoreProtoModel(bool isinput,const ProtoModel *mod,int4 numparam); ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:872:41: error: ‘int4’ has not been declared 872 | void addParameter(const Address &addr,int4 sz); ///< Register a trial to be scored | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ParamActive::setMaxPass(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:248:31: error: ‘maxpass’ was not declared in this scope; did you mean ‘setMaxPass’? 248 | void setMaxPass(int4 val) { maxpass = val; } ///< Set the maximum number of passes | ^~~~~~~ | setMaxPass /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:874:3: error: ‘int4’ does not name a type; did you mean ‘int’? 874 | int4 getScore(void) const { return finalscore; } ///< Get the fitness score | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:875:3: error: ‘int4’ does not name a type; did you mean ‘int’? 875 | int4 getNumMismatch(void) const { return mismatch; } ///< Get the number of mismatched trials | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In constructor ‘Symbol::Symbol(Scope*, const string&, Datatype*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:891:3: error: ‘nameDedup’ was not declared in this scope 891 | nameDedup=0; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ScoreProtoModel::PEntry::operator<(const ScoreProtoModel::PEntry&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:863:55: error: ‘slot’ was not declared in this scope 863 | bool operator<(const PEntry &op2) const { return (slot < op2.slot); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:863:66: error: ‘const class ScoreProtoModel::PEntry’ has no member named ‘slot’ 863 | bool operator<(const PEntry &op2) const { return (slot < op2.slot); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:896:3: error: ‘int4’ does not name a type; did you mean ‘int’? 896 | int4 numModels(void) const { return modellist.size(); } ///< Get the number of constituent models | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:897:24: error: ‘int4’ has not been declared 897 | ProtoModel *getModel(int4 i) const { return modellist[i]; } ///< Get the i-th model | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ParamActive::finishPass()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:249:27: error: ‘numpasses’ was not declared in this scope 249 | void finishPass(void) { numpasses += 1; } ///< Mark that an analysis pass has completed | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:893:3: error: ‘flags’ was not declared in this scope 893 | flags=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:284:70: error: ‘int4’ has not been declared 284 | FspecSpace(AddrSpaceManager *m,const Translate *t,const string &nm,int4 ind); ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:285:45: error: ‘uintb’ has not been declared 285 | virtual void saveXmlAttributes(ostream &s,uintb offset) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:286:45: error: ‘uintb’ has not been declared 286 | virtual void saveXmlAttributes(ostream &s,uintb offset,int4 size) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:286:58: error: ‘int4’ has not been declared 286 | virtual void saveXmlAttributes(ostream &s,uintb offset,int4 size) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:287:36: error: ‘uintb’ has not been declared 287 | virtual void printRaw(ostream &s,uintb offset) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:304:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 304 | uint4 flags; ///< additional attributes of the parameter | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:919:11: error: ‘int4’ does not name a type; did you mean ‘int’? 919 | virtual int4 getSize(void) const=0; ///< Get the number of bytes occupied by \b this parameter | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:322:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 322 | uint4 type; ///< The type of effect | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:326:36: error: ‘int4’ has not been declared 326 | EffectRecord(const Address &addr,int4 size); ///< Construct a memory range with an unknown effect | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:327:40: error: ‘uint4’ has not been declared 327 | EffectRecord(const ParamEntry &entry,uint4 t); ///< Construct an effect on a parameter storage location | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:328:40: error: ‘uint4’ has not been declared 328 | EffectRecord(const VarnodeData &addr,uint4 t); ///< Construct an effect on a memory range | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:329:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 329 | uint4 getType(void) const { return type; } ///< Get the type of effect | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:896:3: error: ‘int4’ does not name a type; did you mean ‘int’? 896 | int4 numModels(void) const { return modellist.size(); } ///< Get the number of constituent models | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:897:24: error: ‘int4’ has not been declared 897 | ProtoModel *getModel(int4 i) const { return modellist[i]; } ///< Get the i-th model | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:894:3: error: ‘dispflags’ was not declared in this scope 894 | dispflags=0; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:979:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 979 | uint4 flags; ///< Lock and other properties from ParameterPieces flags | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:981:66: error: ‘uint4’ has not been declared 981 | ParameterBasic(const string &nm,const Address &ad,Datatype *tp,uint4 fl) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:331:3: error: ‘int4’ does not name a type; did you mean ‘int’? 331 | int4 getSize(void) const { return address.size; } ///< Get the size of the affected range | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:336:19: error: ‘uint4’ has not been declared 336 | void restoreXml(uint4 grouptype,const Element *el,const AddrSpaceManager *manage); ///< Restore the record from an XML stream | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:988:11: error: ‘int4’ does not name a type; did you mean ‘int’? 988 | virtual int4 getSize(void) const { return type->getSize(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:919:11: error: ‘int4’ does not name a type; did you mean ‘int’? 919 | virtual int4 getSize(void) const=0; ///< Get the number of bytes occupied by \b this parameter | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In copy constructor ‘EffectRecord::EffectRecord(const EffectRecord&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:325:66: error: ‘type’ was not declared in this scope; did you mean ‘wctype’? 325 | EffectRecord(const EffectRecord &op2) { address = op2.address; type = op2.type; } ///< Copy constructor | ^~~~ | wctype /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:325:77: error: ‘const class EffectRecord’ has no member named ‘type’ 325 | EffectRecord(const EffectRecord &op2) { address = op2.address; type = op2.type; } ///< Copy constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘Address EffectRecord::getAddress() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:330:73: error: ‘const struct VarnodeData’ has no member named ‘offset’ 330 | Address getAddress(void) const { return Address(address.space,address.offset); } ///< Get the starting address of the affected range | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:895:3: error: ‘category’ was not declared in this scope 895 | category=-1; | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In constructor ‘ParameterBasic::ParameterBasic(const string&, const Address&, Datatype*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:982:38: error: ‘flags’ was not declared in this scope 982 | name = nm; addr = ad; type = tp; flags=fl; } ///< Construct from components | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:355:11: error: ‘uint4’ does not name a type; did you mean ‘uint’? 355 | virtual uint4 getType(void) const=0; ///< Get the type of parameter list | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:384:48: error: ‘int4’ has not been declared 384 | virtual bool checkJoin(const Address &hiaddr,int4 hisize,const Address &loaddr,int4 losize) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:384:82: error: ‘int4’ has not been declared 384 | virtual bool checkJoin(const Address &hiaddr,int4 hisize,const Address &loaddr,int4 losize) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:394:46: error: ‘int4’ has not been declared 394 | virtual bool checkSplit(const Address &loc,int4 size,int4 splitpoint) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:394:56: error: ‘int4’ has not been declared 394 | virtual bool checkSplit(const Address &loc,int4 size,int4 splitpoint) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:979:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 979 | uint4 flags; ///< Lock and other properties from ParameterPieces flags | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:981:66: error: ‘uint4’ has not been declared 981 | ParameterBasic(const string &nm,const Address &ad,Datatype *tp,uint4 fl) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:406:11: error: ‘int4’ does not name a type; did you mean ‘int’? 406 | virtual int4 characterizeAsParam(const Address &loc,int4 size) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:414:49: error: ‘int4’ has not been declared 414 | virtual bool possibleParam(const Address &loc,int4 size) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:425:57: error: ‘int4’ has not been declared 425 | virtual bool possibleParamWithSlot(const Address &loc,int4 size,int4 &slot,int4 &slotsize) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:425:67: error: ‘int4’ has not been declared 425 | virtual bool possibleParamWithSlot(const Address &loc,int4 size,int4 &slot,int4 &slotsize) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:425:78: error: ‘int4’ has not been declared 425 | virtual bool possibleParamWithSlot(const Address &loc,int4 size,int4 &slot,int4 &slotsize) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:433:60: error: ‘int4’ has not been declared 433 | virtual bool getBiggestContainedParam(const Address &loc,int4 size,VarnodeData &res) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:444:56: error: ‘int4’ has not been declared 444 | virtual bool unjustifiedContainer(const Address &loc,int4 size,VarnodeData &res) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:456:55: error: ‘int4’ has not been declared 456 | virtual OpCode assumedExtension(const Address &addr,int4 size,VarnodeData &res) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:988:11: error: ‘int4’ does not name a type; did you mean ‘int’? 988 | virtual int4 getSize(void) const { return type->getSize(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:476:11: error: ‘int4’ does not name a type; did you mean ‘int’? 476 | virtual int4 getMaxDelay(void) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In constructor ‘ParameterBasic::ParameterBasic(Datatype*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:984:16: error: ‘flags’ was not declared in this scope 984 | type = tp; flags = 0; } ///< Construct a \e void parameter | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:500:3: error: ‘int4’ does not name a type; did you mean ‘int’? 500 | int4 numgroup; ///< Number of \e groups in this parameter convention | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:896:3: error: ‘catindex’ was not declared in this scope; did you mean ‘rindex’? 896 | catindex = 0; | ^~~~~~~~ | rindex /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:501:3: error: ‘int4’ does not name a type; did you mean ‘int’? 501 | int4 maxdelay; ///< Maximum heritage delay across all parameters | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:502:3: error: ‘int4’ does not name a type; did you mean ‘int’? 502 | int4 pointermax; ///< If non-zero, maximum size of a data-type before converting to a pointer | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In constructor ‘ParameterBasic::ParameterBasic(const string&, const Address&, Datatype*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:982:38: error: ‘flags’ was not declared in this scope 982 | name = nm; addr = ad; type = tp; flags=fl; } ///< Construct from components | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:504:3: error: ‘int4’ does not name a type; did you mean ‘int’? 504 | int4 nonfloatgroup; ///< Group of first entry which is not marked float | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘virtual bool ParameterBasic::isTypeLocked() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:989:52: error: ‘flags’ was not declared in this scope 989 | virtual bool isTypeLocked(void) const { return ((flags&ParameterPieces::typelock)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:897:3: error: ‘symbolId’ was not declared in this scope; did you mean ‘Symbol’? 897 | symbolId=0; | ^~~~~~~~ | Symbol /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In constructor ‘ParameterBasic::ParameterBasic(Datatype*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:984:16: error: ‘flags’ was not declared in this scope 984 | type = tp; flags = 0; } ///< Construct a \e void parameter | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘virtual bool ParameterBasic::isNameLocked() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:990:52: error: ‘flags’ was not declared in this scope 990 | virtual bool isNameLocked(void) const { return ((flags&ParameterPieces::namelock)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘virtual bool ParameterBasic::isTypeLocked() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:989:52: error: ‘flags’ was not declared in this scope 989 | virtual bool isTypeLocked(void) const { return ((flags&ParameterPieces::typelock)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘virtual bool ParameterBasic::isSizeTypeLocked() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:991:56: error: ‘flags’ was not declared in this scope 991 | virtual bool isSizeTypeLocked(void) const { return ((flags&ParameterPieces::sizelock)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:898:3: error: ‘wholeCount’ was not declared in this scope 898 | wholeCount=0; | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘virtual bool ParameterBasic::isNameLocked() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:990:52: error: ‘flags’ was not declared in this scope 990 | virtual bool isNameLocked(void) const { return ((flags&ParameterPieces::namelock)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘virtual bool ParameterBasic::isThisPointer() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:992:53: error: ‘flags’ was not declared in this scope 992 | virtual bool isThisPointer(void) const { return ((flags&ParameterPieces::isthis)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:508:50: error: ‘int4’ has not been declared 508 | const ParamEntry *findEntry(const Address &loc,int4 size) const; ///< Given storage location find matching ParamEntry | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘virtual bool ParameterBasic::isSizeTypeLocked() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:991:56: error: ‘flags’ was not declared in this scope 991 | virtual bool isSizeTypeLocked(void) const { return ((flags&ParameterPieces::sizelock)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘virtual bool ParameterBasic::isIndirectStorage() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:993:57: error: ‘flags’ was not declared in this scope 993 | virtual bool isIndirectStorage(void) const { return ((flags&ParameterPieces::indirectstorage)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:509:51: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 509 | Address assignAddress(const Datatype *tp,vector &status) const; ///< Assign storage for given parameter data-type | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:509:55: error: template argument 1 is invalid 509 | Address assignAddress(const Datatype *tp,vector &status) const; ///< Assign storage for given parameter data-type | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:509:55: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:900:3: error: ‘depthResolution’ was not declared in this scope 900 | depthResolution = 0; | ^~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:511:42: error: ‘int4’ has not been declared 511 | void separateFloat(ParamActive *active,int4 &floatstart,int4 &floatstop,int4 &start,int4 &stop) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:511:59: error: ‘int4’ has not been declared 511 | void separateFloat(ParamActive *active,int4 &floatstart,int4 &floatstop,int4 &start,int4 &stop) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:511:75: error: ‘int4’ has not been declared 511 | void separateFloat(ParamActive *active,int4 &floatstart,int4 &floatstop,int4 &start,int4 &stop) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:511:87: error: ‘int4’ has not been declared 511 | void separateFloat(ParamActive *active,int4 &floatstart,int4 &floatstop,int4 &start,int4 &stop) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:513:39: error: ‘int4’ has not been declared 513 | void forceNoUse(ParamActive *active,int4 start,int4 stop) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:513:50: error: ‘int4’ has not been declared 513 | void forceNoUse(ParamActive *active,int4 start,int4 stop) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘virtual bool ParameterBasic::isThisPointer() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:992:53: error: ‘flags’ was not declared in this scope 992 | virtual bool isThisPointer(void) const { return ((flags&ParameterPieces::isthis)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:514:47: error: ‘int4’ has not been declared 514 | void forceInactiveChain(ParamActive *active,int4 maxchain,int4 start,int4 stop) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:514:61: error: ‘int4’ has not been declared 514 | void forceInactiveChain(ParamActive *active,int4 maxchain,int4 start,int4 stop) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:514:72: error: ‘int4’ has not been declared 514 | void forceInactiveChain(ParamActive *active,int4 maxchain,int4 start,int4 stop) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘virtual bool ParameterBasic::isHiddenReturn() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:994:54: error: ‘flags’ was not declared in this scope 994 | virtual bool isHiddenReturn(void) const { return ((flags&ParameterPieces::hiddenretparm)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1023:36: error: ‘int4’ has not been declared 1023 | virtual ProtoParameter *setInput(int4 i,const string &nm,const ParameterPieces &pieces)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1030:27: error: ‘int4’ has not been declared 1030 | virtual void clearInput(int4 i)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:522:11: error: ‘uint4’ does not name a type; did you mean ‘uint’? 522 | virtual uint4 getType(void) const { return p_standard; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:526:48: error: ‘int4’ has not been declared 526 | virtual bool checkJoin(const Address &hiaddr,int4 hisize,const Address &loaddr,int4 losize) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:526:82: error: ‘int4’ has not been declared 526 | virtual bool checkJoin(const Address &hiaddr,int4 hisize,const Address &loaddr,int4 losize) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:527:46: error: ‘int4’ has not been declared 527 | virtual bool checkSplit(const Address &loc,int4 size,int4 splitpoint) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:527:56: error: ‘int4’ has not been declared 527 | virtual bool checkSplit(const Address &loc,int4 size,int4 splitpoint) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1033:11: error: ‘int4’ does not name a type; did you mean ‘int’? 1033 | virtual int4 getNumInputs(void) const=0; ///< Get the number of input parameters for \b this prototype | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1034:36: error: ‘int4’ has not been declared 1034 | virtual ProtoParameter *getInput(int4 i)=0; ///< Get the i-th input parameter (or NULL if it doesn't exist) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:528:11: error: ‘int4’ does not name a type; did you mean ‘int’? 528 | virtual int4 characterizeAsParam(const Address &loc,int4 size) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:529:49: error: ‘int4’ has not been declared 529 | virtual bool possibleParam(const Address &loc,int4 size) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:530:57: error: ‘int4’ has not been declared 530 | virtual bool possibleParamWithSlot(const Address &loc,int4 size,int4 &slot,int4 &slotsize) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:530:67: error: ‘int4’ has not been declared 530 | virtual bool possibleParamWithSlot(const Address &loc,int4 size,int4 &slot,int4 &slotsize) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:530:78: error: ‘int4’ has not been declared 530 | virtual bool possibleParamWithSlot(const Address &loc,int4 size,int4 &slot,int4 &slotsize) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:531:60: error: ‘int4’ has not been declared 531 | virtual bool getBiggestContainedParam(const Address &loc,int4 size,VarnodeData &res) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:532:56: error: ‘int4’ has not been declared 532 | virtual bool unjustifiedContainer(const Address &loc,int4 size,VarnodeData &res) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:533:55: error: ‘int4’ has not been declared 533 | virtual OpCode assumedExtension(const Address &addr,int4 size,VarnodeData &res) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘virtual bool ParameterBasic::isIndirectStorage() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:993:57: error: ‘flags’ was not declared in this scope 993 | virtual bool isIndirectStorage(void) const { return ((flags&ParameterPieces::indirectstorage)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1075:11: error: ‘int4’ does not name a type; did you mean ‘int’? 1075 | virtual int4 getSize(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:536:11: error: ‘int4’ does not name a type; did you mean ‘int’? 536 | virtual int4 getMaxDelay(void) const { return maxdelay; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh: In constructor ‘Symbol::Symbol(Scope*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:908:3: error: ‘nameDedup’ was not declared in this scope 908 | nameDedup=0; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘virtual bool ParameterBasic::isHiddenReturn() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:994:54: error: ‘flags’ was not declared in this scope 994 | virtual bool isHiddenReturn(void) const { return ((flags&ParameterPieces::hiddenretparm)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1023:36: error: ‘int4’ has not been declared 1023 | virtual ProtoParameter *setInput(int4 i,const string &nm,const ParameterPieces &pieces)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1030:27: error: ‘int4’ has not been declared 1030 | virtual void clearInput(int4 i)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1033:11: error: ‘int4’ does not name a type; did you mean ‘int’? 1033 | virtual int4 getNumInputs(void) const=0; ///< Get the number of input parameters for \b this prototype | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1034:36: error: ‘int4’ has not been declared 1034 | virtual ProtoParameter *getInput(int4 i)=0; ///< Get the i-th input parameter (or NULL if it doesn't exist) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:910:3: error: ‘flags’ was not declared in this scope 910 | flags=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1075:11: error: ‘int4’ does not name a type; did you mean ‘int’? 1075 | virtual int4 getSize(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1102:36: error: ‘int4’ has not been declared 1102 | ParameterSymbol *getSymbolBacked(int4 i); ///< Fetch or allocate the parameter for the indicated slot | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:552:11: error: ‘uint4’ does not name a type; did you mean ‘uint’? 552 | virtual uint4 getType(void) const { return p_standard_out; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1106:36: error: ‘int4’ has not been declared 1106 | virtual ProtoParameter *setInput(int4 i,const string &nm,const ParameterPieces &pieces); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:556:49: error: ‘int4’ has not been declared 556 | virtual bool possibleParam(const Address &loc,int4 size) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1107:27: error: ‘int4’ has not been declared 1107 | virtual void clearInput(int4 i); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1109:11: error: ‘int4’ does not name a type; did you mean ‘int’? 1109 | virtual int4 getNumInputs(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1110:36: error: ‘int4’ has not been declared 1110 | virtual ProtoParameter *getInput(int4 i); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1130:36: error: ‘int4’ has not been declared 1130 | virtual ProtoParameter *setInput(int4 i,const string &nm,const ParameterPieces &pieces); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:572:11: error: ‘uint4’ does not name a type; did you mean ‘uint’? 572 | virtual uint4 getType(void) const { return p_register; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1131:27: error: ‘int4’ has not been declared 1131 | virtual void clearInput(int4 i); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1133:11: error: ‘int4’ does not name a type; did you mean ‘int’? 1133 | virtual int4 getNumInputs(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1134:36: error: ‘int4’ has not been declared 1134 | virtual ProtoParameter *getInput(int4 i); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:591:11: error: ‘uint4’ does not name a type; did you mean ‘uint’? 591 | virtual uint4 getType(void) const { return p_merged; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:911:3: error: ‘dispflags’ was not declared in this scope 911 | dispflags=0; | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1102:36: error: ‘int4’ has not been declared 1102 | ParameterSymbol *getSymbolBacked(int4 i); ///< Fetch or allocate the parameter for the indicated slot | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:626:3: error: ‘int4’ does not name a type; did you mean ‘int’? 626 | int4 extrapop; ///< Extra bytes popped from stack | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1106:36: error: ‘int4’ has not been declared 1106 | virtual ProtoParameter *setInput(int4 i,const string &nm,const ParameterPieces &pieces); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1107:27: error: ‘int4’ has not been declared 1107 | virtual void clearInput(int4 i); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1109:11: error: ‘int4’ does not name a type; did you mean ‘int’? 1109 | virtual int4 getNumInputs(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1110:36: error: ‘int4’ has not been declared 1110 | virtual ProtoParameter *getInput(int4 i); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1130:36: error: ‘int4’ has not been declared 1130 | virtual ProtoParameter *setInput(int4 i,const string &nm,const ParameterPieces &pieces); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1131:27: error: ‘int4’ has not been declared 1131 | virtual void clearInput(int4 i); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1183:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1183 | int4 extrapop; ///< Extra bytes popped from stack | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1133:11: error: ‘int4’ does not name a type; did you mean ‘int’? 1133 | virtual int4 getNumInputs(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1134:36: error: ‘int4’ has not been declared 1134 | virtual ProtoParameter *getInput(int4 i); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1184:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 1184 | uint4 flags; ///< Boolean properties of the function prototype | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1187:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1187 | int4 injectid; ///< (If non-negative) id of p-code snippet that should replace this function | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:912:3: error: ‘category’ was not declared in this scope 912 | category=-1; | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1188:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1188 | int4 returnBytesConsumed; ///< Number of bytes of return value that are consumed by callers (0 = all bytes) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1191:19: error: ‘int4’ has not been declared 1191 | void paramShift(int4 paramshift); ///< Add parameters to the front of the input parameter list | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:632:3: error: ‘int4’ does not name a type; did you mean ‘int’? 632 | int4 injectUponEntry; ///< Id of injection to perform at beginning of function (-1 means not used) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1211:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1211 | int4 getModelExtraPop(void) const { return model->getExtraPop(); } ///< Get the \e extrapop of the prototype model | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:633:3: error: ‘int4’ does not name a type; did you mean ‘int’? 633 | int4 injectUponReturn; ///< Id of injection to perform after a call to this function (-1 means not used) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1240:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1240 | int4 getInjectId(void) const { return injectid; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1183:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1183 | int4 extrapop; ///< Extra bytes popped from stack | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:651:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 651 | uint4 hasEffect(const Address &addr,int4 size) const; ///< Determine side-effect of \b this on the given memory range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1246:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1246 | int4 getReturnBytesConsumed(void) const { return returnBytesConsumed; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1248:31: error: ‘int4’ has not been declared 1248 | bool setReturnBytesConsumed(int4 val); ///< Set the number of bytes consumed by callers of \b this | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1184:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 1184 | uint4 flags; ///< Boolean properties of the function prototype | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:913:3: error: ‘catindex’ was not declared in this scope; did you mean ‘rindex’? 913 | catindex = 0; | ^~~~~~~~ | rindex /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:652:3: error: ‘int4’ does not name a type; did you mean ‘int’? 652 | int4 getExtraPop(void) const { return extrapop; } ///< Get the stack-pointer \e extrapop for \b this model | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:653:20: error: ‘int4’ has not been declared 653 | void setExtraPop(int4 ep) { extrapop = ep; } ///< Set the stack-pointer \e extrapop | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1187:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1187 | int4 injectid; ///< (If non-negative) id of p-code snippet that should replace this function | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1293:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1293 | int4 getExtraPop(void) const { return extrapop; } ///< Get the general \e extrapop setting for \b this prototype | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1294:20: error: ‘int4’ has not been declared 1294 | void setExtraPop(int4 ep) { extrapop = ep; } ///< Set the general \e extrapop for \b this prototype | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:654:3: error: ‘int4’ does not name a type; did you mean ‘int’? 654 | int4 getInjectUponEntry(void) const { return injectUponEntry; } ///< Get the inject \e uponentry id | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1188:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1188 | int4 returnBytesConsumed; ///< Number of bytes of return value that are consumed by callers (0 = all bytes) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1191:19: error: ‘int4’ has not been declared 1191 | void paramShift(int4 paramshift); ///< Add parameters to the front of the input parameter list | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1295:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1295 | int4 getInjectUponEntry(void) const { return model->getInjectUponEntry(); } ///< Get any \e upon-entry injection id (or -1) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:655:3: error: ‘int4’ does not name a type; did you mean ‘int’? 655 | int4 getInjectUponReturn(void) const { return injectUponReturn; } ///< Get the inject \e uponreturn id | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:683:45: error: ‘int4’ has not been declared 683 | bool checkInputJoin(const Address &hiaddr,int4 hisize,const Address &loaddr,int4 losize) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:683:79: error: ‘int4’ has not been declared 683 | bool checkInputJoin(const Address &hiaddr,int4 hisize,const Address &loaddr,int4 losize) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:695:46: error: ‘int4’ has not been declared 695 | bool checkOutputJoin(const Address &hiaddr,int4 hisize,const Address &loaddr,int4 losize) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:695:80: error: ‘int4’ has not been declared 695 | bool checkOutputJoin(const Address &hiaddr,int4 hisize,const Address &loaddr,int4 losize) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:706:43: error: ‘int4’ has not been declared 706 | bool checkInputSplit(const Address &loc,int4 size,int4 splitpoint) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:706:53: error: ‘int4’ has not been declared 706 | bool checkInputSplit(const Address &loc,int4 size,int4 splitpoint) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1296:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1296 | int4 getInjectUponReturn(void) const { return model->getInjectUponReturn(); } ///< Get any \e upon-return injection id (or -1) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1329:45: error: ‘int4’ has not been declared 1329 | bool checkInputJoin(const Address &hiaddr,int4 hisz,const Address &loaddr,int4 losz) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1329:77: error: ‘int4’ has not been declared 1329 | bool checkInputJoin(const Address &hiaddr,int4 hisz,const Address &loaddr,int4 losz) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1211:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1211 | int4 getModelExtraPop(void) const { return model->getExtraPop(); } ///< Get the \e extrapop of the prototype model | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1340:43: error: ‘int4’ has not been declared 1340 | bool checkInputSplit(const Address &loc,int4 size,int4 splitpoint) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1340:53: error: ‘int4’ has not been declared 1340 | bool checkInputSplit(const Address &loc,int4 size,int4 splitpoint) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1348:28: error: ‘int4’ has not been declared 1348 | ProtoParameter *getParam(int4 i) const { return store->getInput(i); } ///< Get the i-th input parameter | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1349:20: error: ‘int4’ has not been declared 1349 | void removeParam(int4 i) { store->clearInput(i); } ///< Remove the i-th input parameter | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:713:3: error: ‘int4’ does not name a type; did you mean ‘int’? 713 | int4 numLikelyTrash(void) const { return likelytrash.size(); } ///< Get the number of \e likelytrash locations | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:714:37: error: ‘int4’ has not been declared 714 | const VarnodeData &getLikelyTrash(int4 i) const { return likelytrash[i]; } ///< Get the i-th \e likelytrashh location | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1240:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1240 | int4 getInjectId(void) const { return injectid; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1350:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1350 | int4 numParams(void) const { return store->getNumInputs(); } ///< Get the number of input parameters | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:914:3: error: ‘symbolId’ was not declared in this scope; did you mean ‘Symbol’? 914 | symbolId = 0; | ^~~~~~~~ | Symbol /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:726:3: error: ‘int4’ does not name a type; did you mean ‘int’? 726 | int4 characterizeAsInputParam(const Address &loc,int4 size) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:736:46: error: ‘int4’ has not been declared 736 | bool possibleInputParam(const Address &loc,int4 size) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:745:47: error: ‘int4’ has not been declared 745 | bool possibleOutputParam(const Address &loc,int4 size) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:757:54: error: ‘int4’ has not been declared 757 | bool possibleInputParamWithSlot(const Address &loc,int4 size,int4 &slot,int4 &slotsize) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:757:64: error: ‘int4’ has not been declared 757 | bool possibleInputParamWithSlot(const Address &loc,int4 size,int4 &slot,int4 &slotsize) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:757:75: error: ‘int4’ has not been declared 757 | bool possibleInputParamWithSlot(const Address &loc,int4 size,int4 &slot,int4 &slotsize) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1246:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1246 | int4 getReturnBytesConsumed(void) const { return returnBytesConsumed; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:769:55: error: ‘int4’ has not been declared 769 | bool possibleOutputParamWithSlot(const Address &loc,int4 size,int4 &slot,int4 &slotsize) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1248:31: error: ‘int4’ has not been declared 1248 | bool setReturnBytesConsumed(int4 val); ///< Set the number of bytes consumed by callers of \b this | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:769:65: error: ‘int4’ has not been declared 769 | bool possibleOutputParamWithSlot(const Address &loc,int4 size,int4 &slot,int4 &slotsize) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:769:76: error: ‘int4’ has not been declared 769 | bool possibleOutputParamWithSlot(const Address &loc,int4 size,int4 &slot,int4 &slotsize) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:781:49: error: ‘int4’ has not been declared 781 | bool unjustifiedInputParam(const Address &loc,int4 size,VarnodeData &res) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:794:52: error: ‘int4’ has not been declared 794 | OpCode assumedInputExtension(const Address &addr,int4 size,VarnodeData &res) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:807:53: error: ‘int4’ has not been declared 807 | OpCode assumedOutputExtension(const Address &addr,int4 size,VarnodeData &res) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:816:57: error: ‘int4’ has not been declared 816 | bool getBiggestContainedInputParam(const Address &loc,int4 size,VarnodeData &res) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1360:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 1360 | uint4 hasEffect(const Address &addr,int4 size) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1293:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1293 | int4 getExtraPop(void) const { return extrapop; } ///< Get the general \e extrapop setting for \b this prototype | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1294:20: error: ‘int4’ has not been declared 1294 | void setExtraPop(int4 ep) { extrapop = ep; } ///< Set the general \e extrapop for \b this prototype | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:831:3: error: ‘int4’ does not name a type; did you mean ‘int’? 831 | int4 getMaxInputDelay(void) const { return input->getMaxDelay(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1363:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1363 | int4 numLikelyTrash(void) const; ///< Get the number of \e likely-trash locations | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1364:37: error: ‘int4’ has not been declared 1364 | const VarnodeData &getLikelyTrash(int4 i) const; ///< Get the i-th \e likely-trash location | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1295:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1295 | int4 getInjectUponEntry(void) const { return model->getInjectUponEntry(); } ///< Get any \e upon-entry injection id (or -1) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:839:3: error: ‘int4’ does not name a type; did you mean ‘int’? 839 | int4 getMaxOutputDelay(void) const { return output->getMaxDelay(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1365:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1365 | int4 characterizeAsInputParam(const Address &addr,int4 size) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1366:47: error: ‘int4’ has not been declared 1366 | bool possibleInputParam(const Address &addr,int4 size) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1367:48: error: ‘int4’ has not been declared 1367 | bool possibleOutputParam(const Address &addr,int4 size) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1296:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1296 | int4 getInjectUponReturn(void) const { return model->getInjectUponReturn(); } ///< Get any \e upon-return injection id (or -1) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1329:45: error: ‘int4’ has not been declared 1329 | bool checkInputJoin(const Address &hiaddr,int4 hisz,const Address &loaddr,int4 losz) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1329:77: error: ‘int4’ has not been declared 1329 | bool checkInputJoin(const Address &hiaddr,int4 hisz,const Address &loaddr,int4 losz) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:843:10: error: ‘uint4’ does not name a type; did you mean ‘uint’? 843 | static uint4 lookupEffect(const vector &efflist,const Address &addr,int4 size); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1340:43: error: ‘int4’ has not been declared 1340 | bool checkInputSplit(const Address &loc,int4 size,int4 splitpoint) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1340:53: error: ‘int4’ has not been declared 1340 | bool checkInputSplit(const Address &loc,int4 size,int4 splitpoint) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1348:28: error: ‘int4’ has not been declared 1348 | ProtoParameter *getParam(int4 i) const { return store->getInput(i); } ///< Get the i-th input parameter | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1375:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1375 | int4 getMaxInputDelay(void) const { return model->getMaxInputDelay(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1349:20: error: ‘int4’ has not been declared 1349 | void removeParam(int4 i) { store->clearInput(i); } ///< Remove the i-th input parameter | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1383:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1383 | int4 getMaxOutputDelay(void) const { return model->getMaxOutputDelay(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1350:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1350 | int4 numParams(void) const { return store->getNumInputs(); } ///< Get the number of input parameters | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1385:50: error: ‘int4’ has not been declared 1385 | bool unjustifiedInputParam(const Address &addr,int4 size,VarnodeData &res) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1397:52: error: ‘int4’ has not been declared 1397 | OpCode assumedInputExtension(const Address &addr,int4 size,VarnodeData &res) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1410:53: error: ‘int4’ has not been declared 1410 | OpCode assumedOutputExtension(const Address &addr,int4 size,VarnodeData &res) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1414:57: error: ‘int4’ has not been declared 1414 | bool getBiggestContainedInputParam(const Address &loc,int4 size,VarnodeData &res) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:915:3: error: ‘wholeCount’ was not declared in this scope 915 | wholeCount=0; | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1360:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 1360 | uint4 hasEffect(const Address &addr,int4 size) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1424:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 1424 | uint4 getComparableFlags(void) const { return (flags & (dotdotdot | is_constructor | is_destructor | has_thisptr )); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1363:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1363 | int4 numLikelyTrash(void) const; ///< Get the number of \e likely-trash locations | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1364:37: error: ‘int4’ has not been declared 1364 | const VarnodeData &getLikelyTrash(int4 i) const; ///< Get the i-th \e likely-trash location | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1365:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1365 | int4 characterizeAsInputParam(const Address &addr,int4 size) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1366:47: error: ‘int4’ has not been declared 1366 | bool possibleInputParam(const Address &addr,int4 size) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1367:48: error: ‘int4’ has not been declared 1367 | bool possibleOutputParam(const Address &addr,int4 size) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ProtoModel::setExtraPop(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:653:31: error: ‘extrapop’ was not declared in this scope; did you mean ‘setExtraPop’? 653 | void setExtraPop(int4 ep) { extrapop = ep; } ///< Set the stack-pointer \e extrapop | ^~~~~~~~ | setExtraPop /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1375:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1375 | int4 getMaxInputDelay(void) const { return model->getMaxInputDelay(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool FuncProto::isParamshiftApplied() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1192:51: error: ‘flags’ was not declared in this scope 1192 | bool isParamshiftApplied(void) const { return ((flags¶mshift_applied)!=0); } ///< Has a parameter shift been applied | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1383:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1383 | int4 getMaxOutputDelay(void) const { return model->getMaxOutputDelay(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1385:50: error: ‘int4’ has not been declared 1385 | bool unjustifiedInputParam(const Address &addr,int4 size,VarnodeData &res) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1397:52: error: ‘int4’ has not been declared 1397 | OpCode assumedInputExtension(const Address &addr,int4 size,VarnodeData &res) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1410:53: error: ‘int4’ has not been declared 1410 | OpCode assumedOutputExtension(const Address &addr,int4 size,VarnodeData &res) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1414:57: error: ‘int4’ has not been declared 1414 | bool getBiggestContainedInputParam(const Address &loc,int4 size,VarnodeData &res) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1424:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 1424 | uint4 getComparableFlags(void) const { return (flags & (dotdotdot | is_constructor | is_destructor | has_thisptr )); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:856:5: error: ‘int4’ does not name a type; did you mean ‘int’? 856 | int4 origIndex; ///< Original index of trial | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:917:3: error: ‘depthResolution’ was not declared in this scope 917 | depthResolution = 0; | ^~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:857:5: error: ‘int4’ does not name a type; did you mean ‘int’? 857 | int4 slot; ///< Matching slot within the resource list | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void FuncProto::setParamshiftApplied(bool)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1194:41: error: ‘flags’ was not declared in this scope 1194 | void setParamshiftApplied(bool val) { flags = val ? (flags|paramshift_applied) : (flags & ~((uint4)paramshift_applied)); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:858:5: error: ‘int4’ does not name a type; did you mean ‘int’? 858 | int4 size; ///< Number of slots occupied | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:18: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:32:3: error: ‘int4’ does not name a type; did you mean ‘int’? 32 | int4 size; ///< An optional/recommended size for the variable being stored | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool FuncProto::isParamshiftApplied() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1192:51: error: ‘flags’ was not declared in this scope 1192 | bool isParamshiftApplied(void) const { return ((flags¶mshift_applied)!=0); } ///< Has a parameter shift been applied | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:34:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 34 | uint8 symbolId; ///< Id associated with the original Symbol | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:36:54: error: ‘int4’ has not been declared 36 | NameRecommend(const Address &ad,const Address &use,int4 sz,const string &nm,uint8 id) : | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:36:79: error: ‘uint8’ has not been declared 36 | NameRecommend(const Address &ad,const Address &use,int4 sz,const string &nm,uint8 id) : | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1194:96: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 1194 | void setParamshiftApplied(bool val) { flags = val ? (flags|paramshift_applied) : (flags & ~((uint4)paramshift_applied)); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1194:102: error: expected ‘)’ before ‘paramshift_applied’ 1194 | void setParamshiftApplied(bool val) { flags = val ? (flags|paramshift_applied) : (flags & ~((uint4)paramshift_applied)); } | ^~~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1194:94: note: to match this ‘(’ 1194 | void setParamshiftApplied(bool val) { flags = val ? (flags|paramshift_applied) : (flags & ~((uint4)paramshift_applied)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1194:122: error: expected ‘)’ before ‘;’ token 1194 | void setParamshiftApplied(bool val) { flags = val ? (flags|paramshift_applied) : (flags & ~((uint4)paramshift_applied)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1194:84: note: to match this ‘(’ 1194 | void setParamshiftApplied(bool val) { flags = val ? (flags|paramshift_applied) : (flags & ~((uint4)paramshift_applied)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:40:3: error: ‘int4’ does not name a type; did you mean ‘int’? 40 | int4 getSize(void) const { return size; } ///< Get the optional size | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:42:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 42 | uint8 getSymbolId(void) const { return symbolId; } ///< Get the original Symbol id | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh: In constructor ‘NameRecommend::NameRecommend(const Address&, const Address&, int, const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:37:29: error: class ‘NameRecommend’ does not have any field named ‘size’ 37 | addr(ad), useaddr(use), size(sz), name(nm), symbolId(id) {} ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:37:49: error: class ‘NameRecommend’ does not have any field named ‘symbolId’ 37 | addr(ad), useaddr(use), size(sz), name(nm), symbolId(id) {} ///< Constructor | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void FuncProto::setParamshiftApplied(bool)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1194:41: error: ‘flags’ was not declared in this scope 1194 | void setParamshiftApplied(bool val) { flags = val ? (flags|paramshift_applied) : (flags & ~((uint4)paramshift_applied)); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:51:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 51 | uint8 hash; ///< Hash encoding the Symbols environment | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool FuncProto::isModelLocked() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1215:45: error: ‘flags’ was not declared in this scope 1215 | bool isModelLocked(void) const { return ((flags&modellock)!=0); } ///< Is the prototype model for \b this locked | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:53:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 53 | uint8 symbolId; ///< Id associated with the original Symbol | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:55:40: error: ‘uint8’ has not been declared 55 | DynamicRecommend(const Address &addr,uint8 h,const string &nm,uint8 id) : | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:55:65: error: ‘uint8’ has not been declared 55 | DynamicRecommend(const Address &addr,uint8 h,const string &nm,uint8 id) : | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1194:96: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 1194 | void setParamshiftApplied(bool val) { flags = val ? (flags|paramshift_applied) : (flags & ~((uint4)paramshift_applied)); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1194:102: error: expected ‘)’ before ‘paramshift_applied’ 1194 | void setParamshiftApplied(bool val) { flags = val ? (flags|paramshift_applied) : (flags & ~((uint4)paramshift_applied)); } | ^~~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1194:94: note: to match this ‘(’ 1194 | void setParamshiftApplied(bool val) { flags = val ? (flags|paramshift_applied) : (flags & ~((uint4)paramshift_applied)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1194:122: error: expected ‘)’ before ‘;’ token 1194 | void setParamshiftApplied(bool val) { flags = val ? (flags|paramshift_applied) : (flags & ~((uint4)paramshift_applied)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1194:84: note: to match this ‘(’ 1194 | void setParamshiftApplied(bool val) { flags = val ? (flags|paramshift_applied) : (flags & ~((uint4)paramshift_applied)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:58:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 58 | uint8 getHash(void) const { return hash; } ///< Get the dynamic hash | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:60:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 60 | uint8 getSymbolId(void) const { return symbolId; } ///< Get the original Symbol id | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh: In constructor ‘DynamicRecommend::DynamicRecommend(const Address&, int, const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:56:21: error: class ‘DynamicRecommend’ does not have any field named ‘hash’ 56 | usePoint(addr), hash(h), name(nm), symbolId(id) {} ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:56:40: error: class ‘DynamicRecommend’ does not have any field named ‘symbolId’ 56 | usePoint(addr), hash(h), name(nm), symbolId(id) {} ///< Constructor | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:868:3: error: ‘int4’ does not name a type; did you mean ‘int’? 868 | int4 finalscore; ///< The final fitness score | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool FuncProto::isUnknownModel() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1216:46: error: ‘flags’ was not declared in this scope 1216 | bool isUnknownModel(void) const { return ((flags&unknown_model)!=0); } ///< Is prototype model officially "unknown" | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:869:3: error: ‘int4’ does not name a type; did you mean ‘int’? 869 | int4 mismatch; ///< Number of trials that don't fit the prototype model at all | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:871:54: error: ‘int4’ has not been declared 871 | ScoreProtoModel(bool isinput,const ProtoModel *mod,int4 numparam); ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:872:41: error: ‘int4’ has not been declared 872 | void addParameter(const Address &addr,int4 sz); ///< Register a trial to be scored | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:94:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 94 | uintb start; ///< Starting offset of \b this range of bytes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool FuncProto::isModelLocked() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1215:45: error: ‘flags’ was not declared in this scope 1215 | bool isModelLocked(void) const { return ((flags&modellock)!=0); } ///< Is the prototype model for \b this locked | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:95:3: error: ‘int4’ does not name a type; did you mean ‘int’? 95 | int4 size; ///< Number of bytes in a single element of this range | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:874:3: error: ‘int4’ does not name a type; did you mean ‘int’? 874 | int4 getScore(void) const { return finalscore; } ///< Get the fitness score | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool FuncProto::hasCustomStorage() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1217:48: error: ‘flags’ was not declared in this scope 1217 | bool hasCustomStorage(void) const { return ((flags&custom_storage)!=0); } ///< Is \b this a "custom" function prototype | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:875:3: error: ‘int4’ does not name a type; did you mean ‘int’? 875 | int4 getNumMismatch(void) const { return mismatch; } ///< Get the number of mismatched trials | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:96:3: error: ‘intb’ does not name a type; did you mean ‘int’? 96 | intb sstart; ///< A signed version of the starting offset | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:98:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 98 | uint4 flags; ///< Additional boolean properties of this range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool FuncProto::isUnknownModel() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1216:46: error: ‘flags’ was not declared in this scope 1216 | bool isUnknownModel(void) const { return ((flags&unknown_model)!=0); } ///< Is prototype model officially "unknown" | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:100:3: error: ‘int4’ does not name a type; did you mean ‘int’? 100 | int4 highind; ///< Minimum upper bound on the array index (if \b this is \e open) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:103:18: error: expected ‘)’ before ‘st’ 103 | RangeHint(uintb st,int4 sz,intb sst,Datatype *ct,uint4 fl,RangeType rt,int4 hi) { | ~ ^~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void FuncProto::setModelLock(bool)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1226:33: error: ‘flags’ was not declared in this scope 1226 | void setModelLock(bool val) { flags = val ? (flags|modellock) : (flags & ~((uint4)modellock)); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ScoreProtoModel::PEntry::operator<(const ScoreProtoModel::PEntry&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:863:55: error: ‘slot’ was not declared in this scope 863 | bool operator<(const PEntry &op2) const { return (slot < op2.slot); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:863:66: error: ‘const class ScoreProtoModel::PEntry’ has no member named ‘slot’ 863 | bool operator<(const PEntry &op2) const { return (slot < op2.slot); } | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:18: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:110:3: error: ‘int4’ does not name a type; did you mean ‘int’? 110 | int4 compare(const RangeHint &op2) const; ///< Order \b this with another RangeHint | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh: In static member function ‘static bool RangeHint::compareRanges(const RangeHint*, const RangeHint*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:111:81: error: ‘const class RangeHint’ has no member named ‘compare’ 111 | static bool compareRanges(const RangeHint *a,const RangeHint *b) { return (a->compare(*b) < 0); } ///< Compare two RangeHint pointers | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool FuncProto::hasCustomStorage() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1217:48: error: ‘flags’ was not declared in this scope 1217 | bool hasCustomStorage(void) const { return ((flags&custom_storage)!=0); } ///< Is \b this a "custom" function prototype | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1226:79: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 1226 | void setModelLock(bool val) { flags = val ? (flags|modellock) : (flags & ~((uint4)modellock)); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1226:85: error: expected ‘)’ before ‘modellock’ 1226 | void setModelLock(bool val) { flags = val ? (flags|modellock) : (flags & ~((uint4)modellock)); } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1226:77: note: to match this ‘(’ 1226 | void setModelLock(bool val) { flags = val ? (flags|modellock) : (flags & ~((uint4)modellock)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1226:96: error: expected ‘)’ before ‘;’ token 1226 | void setModelLock(bool val) { flags = val ? (flags|modellock) : (flags & ~((uint4)modellock)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1226:67: note: to match this ‘(’ 1226 | void setModelLock(bool val) { flags = val ? (flags|modellock) : (flags & ~((uint4)modellock)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void FuncProto::setModelLock(bool)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1226:33: error: ‘flags’ was not declared in this scope 1226 | void setModelLock(bool val) { flags = val ? (flags|modellock) : (flags & ~((uint4)modellock)); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool FuncProto::isInline() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1228:40: error: ‘flags’ was not declared in this scope 1228 | bool isInline(void) const { return ((flags & is_inline)!=0); } ///< Does this function get \e in-lined during decompilation. | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:896:3: error: ‘int4’ does not name a type; did you mean ‘int’? 896 | int4 numModels(void) const { return modellist.size(); } ///< Get the number of constituent models | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:897:24: error: ‘int4’ has not been declared 897 | ProtoModel *getModel(int4 i) const { return modellist[i]; } ///< Get the i-th model | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1226:79: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 1226 | void setModelLock(bool val) { flags = val ? (flags|modellock) : (flags & ~((uint4)modellock)); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1226:85: error: expected ‘)’ before ‘modellock’ 1226 | void setModelLock(bool val) { flags = val ? (flags|modellock) : (flags & ~((uint4)modellock)); } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1226:77: note: to match this ‘(’ 1226 | void setModelLock(bool val) { flags = val ? (flags|modellock) : (flags & ~((uint4)modellock)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1226:96: error: expected ‘)’ before ‘;’ token 1226 | void setModelLock(bool val) { flags = val ? (flags|modellock) : (flags & ~((uint4)modellock)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1226:67: note: to match this ‘(’ 1226 | void setModelLock(bool val) { flags = val ? (flags|modellock) : (flags & ~((uint4)modellock)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void FuncProto::setInline(bool)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1234:30: error: ‘flags’ was not declared in this scope 1234 | void setInline(bool val) { flags = val ? (flags|is_inline) : (flags & ~((uint4)is_inline)); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:134:18: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 134 | mutable vector alias; ///< List of aliased addresses (as offsets) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:134:23: error: template argument 1 is invalid 134 | mutable vector alias; ///< List of aliased addresses (as offsets) | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:134:23: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:136:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 136 | uintb localExtreme; ///< Largest possible offset for a local variable | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool FuncProto::isInline() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1228:40: error: ‘flags’ was not declared in this scope 1228 | bool isInline(void) const { return ((flags & is_inline)!=0); } ///< Does this function get \e in-lined during decompilation. | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1234:76: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 1234 | void setInline(bool val) { flags = val ? (flags|is_inline) : (flags & ~((uint4)is_inline)); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:919:11: error: ‘int4’ does not name a type; did you mean ‘int’? 919 | virtual int4 getSize(void) const=0; ///< Get the number of bytes occupied by \b this parameter | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1234:82: error: expected ‘)’ before ‘is_inline’ 1234 | void setInline(bool val) { flags = val ? (flags|is_inline) : (flags & ~((uint4)is_inline)); } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1234:74: note: to match this ‘(’ 1234 | void setInline(bool val) { flags = val ? (flags|is_inline) : (flags & ~((uint4)is_inline)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1234:93: error: expected ‘)’ before ‘;’ token 1234 | void setInline(bool val) { flags = val ? (flags|is_inline) : (flags & ~((uint4)is_inline)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1234:64: note: to match this ‘(’ 1234 | void setInline(bool val) { flags = val ? (flags|is_inline) : (flags & ~((uint4)is_inline)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:137:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 137 | uintb localBoundary; ///< Boundary offset separating locals and parameters | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:138:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 138 | mutable uintb aliasBoundary; ///< Shallowest alias | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:139:3: error: ‘int4’ does not name a type; did you mean ‘int’? 139 | int4 direction; ///< 1=stack grows negative, -1=positive | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void FuncProto::setInline(bool)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1234:30: error: ‘flags’ was not declared in this scope 1234 | void setInline(bool val) { flags = val ? (flags|is_inline) : (flags & ~((uint4)is_inline)); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:979:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 979 | uint4 flags; ///< Lock and other properties from ParameterPieces flags | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:981:66: error: ‘uint4’ has not been declared 981 | ParameterBasic(const string &nm,const Address &ad,Datatype *tp,uint4 fl) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool FuncProto::isNoReturn() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1251:42: error: ‘flags’ was not declared in this scope 1251 | bool isNoReturn(void) const { return ((flags & no_return)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:988:11: error: ‘int4’ does not name a type; did you mean ‘int’? 988 | virtual int4 getSize(void) const { return type->getSize(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1234:76: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 1234 | void setInline(bool val) { flags = val ? (flags|is_inline) : (flags & ~((uint4)is_inline)); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1234:82: error: expected ‘)’ before ‘is_inline’ 1234 | void setInline(bool val) { flags = val ? (flags|is_inline) : (flags & ~((uint4)is_inline)); } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1234:74: note: to match this ‘(’ 1234 | void setInline(bool val) { flags = val ? (flags|is_inline) : (flags & ~((uint4)is_inline)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1234:93: error: expected ‘)’ before ‘;’ token 1234 | void setInline(bool val) { flags = val ? (flags|is_inline) : (flags & ~((uint4)is_inline)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1234:64: note: to match this ‘(’ 1234 | void setInline(bool val) { flags = val ? (flags|is_inline) : (flags & ~((uint4)is_inline)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:148:16: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 148 | const vector &getAlias(void) const { return alias; } ///< Get the list of alias starting offsets | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:148:21: error: template argument 1 is invalid 148 | const vector &getAlias(void) const { return alias; } ///< Get the list of alias starting offsets | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:148:21: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:150:10: error: ‘uintb’ does not name a type; did you mean ‘uint’? 150 | static uintb gatherOffset(Varnode *vn); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void FuncProto::setNoReturn(bool)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1256:32: error: ‘flags’ was not declared in this scope 1256 | void setNoReturn(bool val) { flags = val ? (flags|no_return) : (flags & ~((uint4)no_return)); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In constructor ‘ParameterBasic::ParameterBasic(const string&, const Address&, Datatype*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:982:38: error: ‘flags’ was not declared in this scope 982 | name = nm; addr = ad; type = tp; flags=fl; } ///< Construct from components | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool FuncProto::isNoReturn() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1251:42: error: ‘flags’ was not declared in this scope 1251 | bool isNoReturn(void) const { return ((flags & no_return)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1256:78: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 1256 | void setNoReturn(bool val) { flags = val ? (flags|no_return) : (flags & ~((uint4)no_return)); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1256:84: error: expected ‘)’ before ‘no_return’ 1256 | void setNoReturn(bool val) { flags = val ? (flags|no_return) : (flags & ~((uint4)no_return)); } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1256:76: note: to match this ‘(’ 1256 | void setNoReturn(bool val) { flags = val ? (flags|no_return) : (flags & ~((uint4)no_return)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1256:95: error: expected ‘)’ before ‘;’ token 1256 | void setNoReturn(bool val) { flags = val ? (flags|no_return) : (flags & ~((uint4)no_return)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1256:66: note: to match this ‘(’ 1256 | void setNoReturn(bool val) { flags = val ? (flags|no_return) : (flags & ~((uint4)no_return)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void FuncProto::setNoReturn(bool)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1256:32: error: ‘flags’ was not declared in this scope 1256 | void setNoReturn(bool val) { flags = val ? (flags|no_return) : (flags & ~((uint4)no_return)); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In constructor ‘ParameterBasic::ParameterBasic(Datatype*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:984:16: error: ‘flags’ was not declared in this scope 984 | type = tp; flags = 0; } ///< Construct a \e void parameter | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool FuncProto::hasThisPointer() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1259:46: error: ‘flags’ was not declared in this scope 1259 | bool hasThisPointer(void) const { return ((flags & has_thisptr)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1256:78: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 1256 | void setNoReturn(bool val) { flags = val ? (flags|no_return) : (flags & ~((uint4)no_return)); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1256:84: error: expected ‘)’ before ‘no_return’ 1256 | void setNoReturn(bool val) { flags = val ? (flags|no_return) : (flags & ~((uint4)no_return)); } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1256:76: note: to match this ‘(’ 1256 | void setNoReturn(bool val) { flags = val ? (flags|no_return) : (flags & ~((uint4)no_return)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1256:95: error: expected ‘)’ before ‘;’ token 1256 | void setNoReturn(bool val) { flags = val ? (flags|no_return) : (flags & ~((uint4)no_return)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1256:66: note: to match this ‘(’ 1256 | void setNoReturn(bool val) { flags = val ? (flags|no_return) : (flags & ~((uint4)no_return)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:167:17: error: ‘uintb’ has not been declared 167 | void addRange(uintb st,Datatype *ct,uint4 fl,RangeHint::RangeType rt,int4 hi); ///< Add a hint to the collection | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:167:39: error: ‘uint4’ has not been declared 167 | void addRange(uintb st,Datatype *ct,uint4 fl,RangeHint::RangeType rt,int4 hi); ///< Add a hint to the collection | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:167:72: error: ‘int4’ has not been declared 167 | void addRange(uintb st,Datatype *ct,uint4 fl,RangeHint::RangeType rt,int4 hi); ///< Add a hint to the collection | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘virtual bool ParameterBasic::isTypeLocked() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:989:52: error: ‘flags’ was not declared in this scope 989 | virtual bool isTypeLocked(void) const { return ((flags&ParameterPieces::typelock)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool FuncProto::isConstructor() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1262:45: error: ‘flags’ was not declared in this scope 1262 | bool isConstructor(void) const { return ((flags & is_constructor)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool FuncProto::hasThisPointer() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1259:46: error: ‘flags’ was not declared in this scope 1259 | bool hasThisPointer(void) const { return ((flags & has_thisptr)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:180:16: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 180 | const vector &getAlias(void) { return checker.getAlias(); } ///< Get the list of alias starting offsets | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:180:21: error: template argument 1 is invalid 180 | const vector &getAlias(void) { return checker.getAlias(); } ///< Get the list of alias starting offsets | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘virtual bool ParameterBasic::isNameLocked() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:990:52: error: ‘flags’ was not declared in this scope 990 | virtual bool isNameLocked(void) const { return ((flags&ParameterPieces::namelock)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:180:21: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void FuncProto::setConstructor(bool)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1267:35: error: ‘flags’ was not declared in this scope 1267 | void setConstructor(bool val) { flags = val ? (flags|is_constructor) : (flags & ~((uint4)is_constructor)); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool FuncProto::isConstructor() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1262:45: error: ‘flags’ was not declared in this scope 1262 | bool isConstructor(void) const { return ((flags & is_constructor)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1267:86: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 1267 | void setConstructor(bool val) { flags = val ? (flags|is_constructor) : (flags & ~((uint4)is_constructor)); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1267:92: error: expected ‘)’ before ‘is_constructor’ 1267 | void setConstructor(bool val) { flags = val ? (flags|is_constructor) : (flags & ~((uint4)is_constructor)); } | ^~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1267:84: note: to match this ‘(’ 1267 | void setConstructor(bool val) { flags = val ? (flags|is_constructor) : (flags & ~((uint4)is_constructor)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1267:108: error: expected ‘)’ before ‘;’ token 1267 | void setConstructor(bool val) { flags = val ? (flags|is_constructor) : (flags & ~((uint4)is_constructor)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1267:74: note: to match this ‘(’ 1267 | void setConstructor(bool val) { flags = val ? (flags|is_constructor) : (flags & ~((uint4)is_constructor)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘virtual bool ParameterBasic::isSizeTypeLocked() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:991:56: error: ‘flags’ was not declared in this scope 991 | virtual bool isSizeTypeLocked(void) const { return ((flags&ParameterPieces::sizelock)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void FuncProto::setConstructor(bool)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1267:35: error: ‘flags’ was not declared in this scope 1267 | void setConstructor(bool val) { flags = val ? (flags|is_constructor) : (flags & ~((uint4)is_constructor)); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool FuncProto::isDestructor() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1270:44: error: ‘flags’ was not declared in this scope 1270 | bool isDestructor(void) const { return ((flags & is_destructor)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘virtual bool ParameterBasic::isThisPointer() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:992:53: error: ‘flags’ was not declared in this scope 992 | virtual bool isThisPointer(void) const { return ((flags&ParameterPieces::isthis)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1267:86: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 1267 | void setConstructor(bool val) { flags = val ? (flags|is_constructor) : (flags & ~((uint4)is_constructor)); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1267:92: error: expected ‘)’ before ‘is_constructor’ 1267 | void setConstructor(bool val) { flags = val ? (flags|is_constructor) : (flags & ~((uint4)is_constructor)); } | ^~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1267:84: note: to match this ‘(’ 1267 | void setConstructor(bool val) { flags = val ? (flags|is_constructor) : (flags & ~((uint4)is_constructor)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1267:108: error: expected ‘)’ before ‘;’ token 1267 | void setConstructor(bool val) { flags = val ? (flags|is_constructor) : (flags & ~((uint4)is_constructor)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1267:74: note: to match this ‘(’ 1267 | void setConstructor(bool val) { flags = val ? (flags|is_constructor) : (flags & ~((uint4)is_constructor)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void FuncProto::setDestructor(bool)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1275:34: error: ‘flags’ was not declared in this scope 1275 | void setDestructor(bool val) { flags = val ? (flags|is_destructor) : (flags & ~((uint4)is_destructor)); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘virtual bool ParameterBasic::isIndirectStorage() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:993:57: error: ‘flags’ was not declared in this scope 993 | virtual bool isIndirectStorage(void) const { return ((flags&ParameterPieces::indirectstorage)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool FuncProto::isDestructor() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1270:44: error: ‘flags’ was not declared in this scope 1270 | bool isDestructor(void) const { return ((flags & is_destructor)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1275:84: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 1275 | void setDestructor(bool val) { flags = val ? (flags|is_destructor) : (flags & ~((uint4)is_destructor)); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1275:90: error: expected ‘)’ before ‘is_destructor’ 1275 | void setDestructor(bool val) { flags = val ? (flags|is_destructor) : (flags & ~((uint4)is_destructor)); } | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1275:82: note: to match this ‘(’ 1275 | void setDestructor(bool val) { flags = val ? (flags|is_destructor) : (flags & ~((uint4)is_destructor)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1275:105: error: expected ‘)’ before ‘;’ token 1275 | void setDestructor(bool val) { flags = val ? (flags|is_destructor) : (flags & ~((uint4)is_destructor)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1275:72: note: to match this ‘(’ 1275 | void setDestructor(bool val) { flags = val ? (flags|is_destructor) : (flags & ~((uint4)is_destructor)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘virtual bool ParameterBasic::isHiddenReturn() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:994:54: error: ‘flags’ was not declared in this scope 994 | virtual bool isHiddenReturn(void) const { return ((flags&ParameterPieces::hiddenretparm)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1023:36: error: ‘int4’ has not been declared 1023 | virtual ProtoParameter *setInput(int4 i,const string &nm,const ParameterPieces &pieces)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1030:27: error: ‘int4’ has not been declared 1030 | virtual void clearInput(int4 i)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void FuncProto::setDestructor(bool)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1275:34: error: ‘flags’ was not declared in this scope 1275 | void setDestructor(bool val) { flags = val ? (flags|is_destructor) : (flags & ~((uint4)is_destructor)); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1033:11: error: ‘int4’ does not name a type; did you mean ‘int’? 1033 | virtual int4 getNumInputs(void) const=0; ///< Get the number of input parameters for \b this prototype | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1034:36: error: ‘int4’ has not been declared 1034 | virtual ProtoParameter *getInput(int4 i)=0; ///< Get the i-th input parameter (or NULL if it doesn't exist) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool FuncProto::hasInputErrors() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1278:46: error: ‘flags’ was not declared in this scope 1278 | bool hasInputErrors(void) const { return ((flags&error_inputparam)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1275:84: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 1275 | void setDestructor(bool val) { flags = val ? (flags|is_destructor) : (flags & ~((uint4)is_destructor)); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1275:90: error: expected ‘)’ before ‘is_destructor’ 1275 | void setDestructor(bool val) { flags = val ? (flags|is_destructor) : (flags & ~((uint4)is_destructor)); } | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1275:82: note: to match this ‘(’ 1275 | void setDestructor(bool val) { flags = val ? (flags|is_destructor) : (flags & ~((uint4)is_destructor)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1275:105: error: expected ‘)’ before ‘;’ token 1275 | void setDestructor(bool val) { flags = val ? (flags|is_destructor) : (flags & ~((uint4)is_destructor)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1275:72: note: to match this ‘(’ 1275 | void setDestructor(bool val) { flags = val ? (flags|is_destructor) : (flags & ~((uint4)is_destructor)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1075:11: error: ‘int4’ does not name a type; did you mean ‘int’? 1075 | virtual int4 getSize(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool FuncProto::hasOutputErrors() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1281:47: error: ‘flags’ was not declared in this scope 1281 | bool hasOutputErrors(void) const { return ((flags&error_outputparam)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool FuncProto::hasInputErrors() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1278:46: error: ‘flags’ was not declared in this scope 1278 | bool hasInputErrors(void) const { return ((flags&error_inputparam)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void FuncProto::setInputErrors(bool)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1286:35: error: ‘flags’ was not declared in this scope 1286 | void setInputErrors(bool val) { flags = val ? (flags|error_inputparam) : (flags & ~((uint4)error_inputparam)); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool FuncProto::hasOutputErrors() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1281:47: error: ‘flags’ was not declared in this scope 1281 | bool hasOutputErrors(void) const { return ((flags&error_outputparam)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1102:36: error: ‘int4’ has not been declared 1102 | ParameterSymbol *getSymbolBacked(int4 i); ///< Fetch or allocate the parameter for the indicated slot | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1106:36: error: ‘int4’ has not been declared 1106 | virtual ProtoParameter *setInput(int4 i,const string &nm,const ParameterPieces &pieces); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1107:27: error: ‘int4’ has not been declared 1107 | virtual void clearInput(int4 i); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1286:88: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 1286 | void setInputErrors(bool val) { flags = val ? (flags|error_inputparam) : (flags & ~((uint4)error_inputparam)); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1286:94: error: expected ‘)’ before ‘error_inputparam’ 1286 | void setInputErrors(bool val) { flags = val ? (flags|error_inputparam) : (flags & ~((uint4)error_inputparam)); } | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1286:86: note: to match this ‘(’ 1286 | void setInputErrors(bool val) { flags = val ? (flags|error_inputparam) : (flags & ~((uint4)error_inputparam)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1286:112: error: expected ‘)’ before ‘;’ token 1286 | void setInputErrors(bool val) { flags = val ? (flags|error_inputparam) : (flags & ~((uint4)error_inputparam)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1286:76: note: to match this ‘(’ 1286 | void setInputErrors(bool val) { flags = val ? (flags|error_inputparam) : (flags & ~((uint4)error_inputparam)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:207:35: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 207 | void markUnaliased(const vector &alias); ///< Mark all local symbols for which there are no aliases | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:207:40: error: template argument 1 is invalid 207 | void markUnaliased(const vector &alias); ///< Mark all local symbols for which there are no aliases | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:207:40: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1109:11: error: ‘int4’ does not name a type; did you mean ‘int’? 1109 | virtual int4 getNumInputs(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1110:36: error: ‘int4’ has not been declared 1110 | virtual ProtoParameter *getInput(int4 i); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:212:19: error: expected ‘)’ before ‘id’ 212 | ScopeLocal(uint8 id,AddrSpace *spc,Funcdata *fd,Architecture *g); ///< Constructor | ~ ^~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:223:37: error: ‘uintb’ has not been declared 223 | void markNotMapped(AddrSpace *spc,uintb first,int4 sz,bool param); ///< Mark a specific address range is not mapped | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:223:49: error: ‘int4’ has not been declared 223 | void markNotMapped(AddrSpace *spc,uintb first,int4 sz,bool param); ///< Mark a specific address range is not mapped | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:231:36: error: ‘int4’ has not been declared 231 | int4 &index,uint4 flags) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:231:48: error: ‘uint4’ has not been declared 231 | int4 &index,uint4 flags) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:236:47: error: ‘uint8’ has not been declared 236 | SymbolEntry *remapSymbolDynamic(Symbol *sym,uint8 hash,const Address &usepoint); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1130:36: error: ‘int4’ has not been declared 1130 | virtual ProtoParameter *setInput(int4 i,const string &nm,const ParameterPieces &pieces); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1131:27: error: ‘int4’ has not been declared 1131 | virtual void clearInput(int4 i); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void FuncProto::setInputErrors(bool)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1286:35: error: ‘flags’ was not declared in this scope 1286 | void setInputErrors(bool val) { flags = val ? (flags|error_inputparam) : (flags & ~((uint4)error_inputparam)); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1133:11: error: ‘int4’ does not name a type; did you mean ‘int’? 1133 | virtual int4 getNumInputs(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1134:36: error: ‘int4’ has not been declared 1134 | virtual ProtoParameter *getInput(int4 i); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void FuncProto::setOutputErrors(bool)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1291:36: error: ‘flags’ was not declared in this scope 1291 | void setOutputErrors(bool val) { flags = val ? (flags|error_outputparam) : (flags & ~((uint4)error_outputparam)); } | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:18: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:49:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 49 | uintb left; ///< Left boundary of the open range [left,right) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1286:88: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 1286 | void setInputErrors(bool val) { flags = val ? (flags|error_inputparam) : (flags & ~((uint4)error_inputparam)); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1286:94: error: expected ‘)’ before ‘error_inputparam’ 1286 | void setInputErrors(bool val) { flags = val ? (flags|error_inputparam) : (flags & ~((uint4)error_inputparam)); } | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1286:86: note: to match this ‘(’ 1286 | void setInputErrors(bool val) { flags = val ? (flags|error_inputparam) : (flags & ~((uint4)error_inputparam)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1286:112: error: expected ‘)’ before ‘;’ token 1286 | void setInputErrors(bool val) { flags = val ? (flags|error_inputparam) : (flags & ~((uint4)error_inputparam)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1286:76: note: to match this ‘(’ 1286 | void setInputErrors(bool val) { flags = val ? (flags|error_inputparam) : (flags & ~((uint4)error_inputparam)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:50:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 50 | uintb right; ///< Right boundary of the open range [left,right) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1291:90: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 1291 | void setOutputErrors(bool val) { flags = val ? (flags|error_outputparam) : (flags & ~((uint4)error_outputparam)); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1291:96: error: expected ‘)’ before ‘error_outputparam’ 1291 | void setOutputErrors(bool val) { flags = val ? (flags|error_outputparam) : (flags & ~((uint4)error_outputparam)); } | ^~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1291:88: note: to match this ‘(’ 1291 | void setOutputErrors(bool val) { flags = val ? (flags|error_outputparam) : (flags & ~((uint4)error_outputparam)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1291:115: error: expected ‘)’ before ‘;’ token 1291 | void setOutputErrors(bool val) { flags = val ? (flags|error_outputparam) : (flags & ~((uint4)error_outputparam)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1291:78: note: to match this ‘(’ 1291 | void setOutputErrors(bool val) { flags = val ? (flags|error_outputparam) : (flags & ~((uint4)error_outputparam)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:51:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 51 | uintb mask; ///< Bit mask defining the size (modulus) and stop of the range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:53:3: error: ‘int4’ does not name a type; did you mean ‘int’? 53 | int4 step; ///< Explicit step size | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:58:25: error: ‘uintb’ has not been declared 58 | static bool newStride(uintb mask,int4 step,int4 oldStep,uint4 rem,uintb &myleft,uintb &myright); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:58:36: error: ‘int4’ has not been declared 58 | static bool newStride(uintb mask,int4 step,int4 oldStep,uint4 rem,uintb &myleft,uintb &myright); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:58:46: error: ‘int4’ has not been declared 58 | static bool newStride(uintb mask,int4 step,int4 oldStep,uint4 rem,uintb &myleft,uintb &myright); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:58:59: error: ‘uint4’ has not been declared 58 | static bool newStride(uintb mask,int4 step,int4 oldStep,uint4 rem,uintb &myleft,uintb &myright); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:58:69: error: ‘uintb’ has not been declared 58 | static bool newStride(uintb mask,int4 step,int4 oldStep,uint4 rem,uintb &myleft,uintb &myright); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:58:83: error: ‘uintb’ has not been declared 58 | static bool newStride(uintb mask,int4 step,int4 oldStep,uint4 rem,uintb &myleft,uintb &myright); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:59:25: error: ‘uintb’ has not been declared 59 | static bool newDomain(uintb newMask,int4 newStep,uintb &myleft,uintb &myright); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:59:39: error: ‘int4’ has not been declared 59 | static bool newDomain(uintb newMask,int4 newStep,uintb &myleft,uintb &myright); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:59:52: error: ‘uintb’ has not been declared 59 | static bool newDomain(uintb newMask,int4 newStep,uintb &myleft,uintb &myright); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void FuncProto::setOutputErrors(bool)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1291:36: error: ‘flags’ was not declared in this scope 1291 | void setOutputErrors(bool val) { flags = val ? (flags|error_outputparam) : (flags & ~((uint4)error_outputparam)); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:59:66: error: ‘uintb’ has not been declared 59 | static bool newDomain(uintb newMask,int4 newStep,uintb &myleft,uintb &myright); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1183:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1183 | int4 extrapop; ///< Extra bytes popped from stack | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:60:35: error: ‘uintb’ has not been declared 60 | static char encodeRangeOverlaps(uintb op1left,uintb op1right,uintb op2left,uintb op2right); ///< Calculate overlap code | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:60:49: error: ‘uintb’ has not been declared 60 | static char encodeRangeOverlaps(uintb op1left,uintb op1right,uintb op2left,uintb op2right); ///< Calculate overlap code | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:60:64: error: ‘uintb’ has not been declared 60 | static char encodeRangeOverlaps(uintb op1left,uintb op1right,uintb op2left,uintb op2right); ///< Calculate overlap code | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:60:78: error: ‘uintb’ has not been declared 60 | static char encodeRangeOverlaps(uintb op1left,uintb op1right,uintb op2left,uintb op2right); ///< Calculate overlap code | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:63:20: error: expected ‘)’ before ‘lft’ 63 | CircleRange(uintb lft,uintb rgt,int4 size,int4 stp); ///< Construct given specific boundaries. | ~ ^~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:65:20: error: expected ‘)’ before ‘val’ 65 | CircleRange(uintb val,int4 size); ///< Construct range with single value | ~ ^~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:66:17: error: ‘uintb’ has not been declared 66 | void setRange(uintb lft,uintb rgt,int4 size,int4 step); ///< Set directly to a specific range | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:66:27: error: ‘uintb’ has not been declared 66 | void setRange(uintb lft,uintb rgt,int4 size,int4 step); ///< Set directly to a specific range | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:66:37: error: ‘int4’ has not been declared 66 | void setRange(uintb lft,uintb rgt,int4 size,int4 step); ///< Set directly to a specific range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:66:47: error: ‘int4’ has not been declared 66 | void setRange(uintb lft,uintb rgt,int4 size,int4 step); ///< Set directly to a specific range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:67:17: error: ‘uintb’ has not been declared 67 | void setRange(uintb val,int4 size); ///< Set range with a single value | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:67:27: error: ‘int4’ has not been declared 67 | void setRange(uintb val,int4 size); ///< Set range with a single value | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:68:16: error: ‘int4’ has not been declared 68 | void setFull(int4 size); ///< Set a completely full range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1184:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 1184 | uint4 flags; ///< Boolean properties of the function prototype | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:18: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:72:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 72 | uintb getMin(void) const { return left; } ///< Get the left boundary of the range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1187:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1187 | int4 injectid; ///< (If non-negative) id of p-code snippet that should replace this function | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1291:90: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 1291 | void setOutputErrors(bool val) { flags = val ? (flags|error_outputparam) : (flags & ~((uint4)error_outputparam)); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1291:96: error: expected ‘)’ before ‘error_outputparam’ 1291 | void setOutputErrors(bool val) { flags = val ? (flags|error_outputparam) : (flags & ~((uint4)error_outputparam)); } | ^~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1291:88: note: to match this ‘(’ 1291 | void setOutputErrors(bool val) { flags = val ? (flags|error_outputparam) : (flags & ~((uint4)error_outputparam)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1291:115: error: expected ‘)’ before ‘;’ token 1291 | void setOutputErrors(bool val) { flags = val ? (flags|error_outputparam) : (flags & ~((uint4)error_outputparam)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1291:78: note: to match this ‘(’ 1291 | void setOutputErrors(bool val) { flags = val ? (flags|error_outputparam) : (flags & ~((uint4)error_outputparam)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:73:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 73 | uintb getMax(void) const { return (right-step)&mask; } ///< Get the right-most integer contained in the range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void FuncProto::setExtraPop(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1294:31: error: ‘extrapop’ was not declared in this scope; did you mean ‘setExtraPop’? 1294 | void setExtraPop(int4 ep) { extrapop = ep; } ///< Set the general \e extrapop for \b this prototype | ^~~~~~~~ | setExtraPop /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1188:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1188 | int4 returnBytesConsumed; ///< Number of bytes of return value that are consumed by callers (0 = all bytes) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1191:19: error: ‘int4’ has not been declared 1191 | void paramShift(int4 paramshift); ///< Add parameters to the front of the input parameter list | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:74:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 74 | uintb getEnd(void) const { return right; } ///< Get the right boundary of the range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1211:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1211 | int4 getModelExtraPop(void) const { return model->getExtraPop(); } ///< Get the \e extrapop of the prototype model | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:75:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 75 | uintb getMask(void) const { return mask; } ///< Get the mask | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1240:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1240 | int4 getInjectId(void) const { return injectid; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:76:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 76 | uintb getSize(void) const; ///< Get the size of this range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1246:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1246 | int4 getReturnBytesConsumed(void) const { return returnBytesConsumed; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1248:31: error: ‘int4’ has not been declared 1248 | bool setReturnBytesConsumed(int4 val); ///< Set the number of bytes consumed by callers of \b this | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:77:3: error: ‘int4’ does not name a type; did you mean ‘int’? 77 | int4 getStep(void) const { return step; } ///< Get the step for \b this range | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool FuncProto::isDotdotdot() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1356:43: error: ‘flags’ was not declared in this scope 1356 | bool isDotdotdot(void) const { return ((flags&dotdotdot)!=0); } ///< Return \b true if \b this takes a variable number of arguments | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void FuncProto::setExtraPop(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1294:31: error: ‘extrapop’ was not declared in this scope; did you mean ‘setExtraPop’? 1294 | void setExtraPop(int4 ep) { extrapop = ep; } ///< Set the general \e extrapop for \b this prototype | ^~~~~~~~ | setExtraPop /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1293:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1293 | int4 getExtraPop(void) const { return extrapop; } ///< Get the general \e extrapop setting for \b this prototype | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1294:20: error: ‘int4’ has not been declared 1294 | void setExtraPop(int4 ep) { extrapop = ep; } ///< Set the general \e extrapop for \b this prototype | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:78:3: error: ‘int4’ does not name a type; did you mean ‘int’? 78 | int4 getMaxInfo(void) const; ///< Get maximum information content of range | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:80:16: error: ‘uintb’ has not been declared 80 | bool getNext(uintb &val) const { val = (val+step)&mask; return (val!=right); } ///< Advance an integer within the range | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:82:17: error: ‘uintb’ has not been declared 82 | bool contains(uintb val) const; ///< Check containment of a specific integer. | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1295:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1295 | int4 getInjectUponEntry(void) const { return model->getInjectUponEntry(); } ///< Get any \e upon-entry injection id (or -1) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:83:3: error: ‘int4’ does not name a type; did you mean ‘int’? 83 | int4 intersect(const CircleRange &op2); ///< Intersect \b this with another range | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:84:18: error: ‘uintb’ has not been declared 84 | bool setNZMask(uintb nzmask,int4 size); ///< Set the range based on a putative mask. | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:84:31: error: ‘int4’ has not been declared 84 | bool setNZMask(uintb nzmask,int4 size); ///< Set the range based on a putative mask. | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1296:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1296 | int4 getInjectUponReturn(void) const { return model->getInjectUponReturn(); } ///< Get any \e upon-return injection id (or -1) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1329:45: error: ‘int4’ has not been declared 1329 | bool checkInputJoin(const Address &hiaddr,int4 hisz,const Address &loaddr,int4 losz) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1329:77: error: ‘int4’ has not been declared 1329 | bool checkInputJoin(const Address &hiaddr,int4 hisz,const Address &loaddr,int4 losz) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1340:43: error: ‘int4’ has not been declared 1340 | bool checkInputSplit(const Address &loc,int4 size,int4 splitpoint) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1340:53: error: ‘int4’ has not been declared 1340 | bool checkInputSplit(const Address &loc,int4 size,int4 splitpoint) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:85:3: error: ‘int4’ does not name a type; did you mean ‘int’? 85 | int4 circleUnion(const CircleRange &op2); ///< Union two ranges. | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:86:48: error: ‘int4’ has not been declared 86 | bool minimalContainer(const CircleRange &op2,int4 maxStep); ///< Construct minimal range that contains both \b this and another range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void FuncProto::setDotdotdot(bool)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1357:33: error: ‘flags’ was not declared in this scope 1357 | void setDotdotdot(bool val) { flags = val ? (flags|dotdotdot) : (flags & ~((uint4)dotdotdot)); } ///< Toggle whether \b this takes variable arguments | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1348:28: error: ‘int4’ has not been declared 1348 | ProtoParameter *getParam(int4 i) const { return store->getInput(i); } ///< Get the i-th input parameter | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1349:20: error: ‘int4’ has not been declared 1349 | void removeParam(int4 i) { store->clearInput(i); } ///< Remove the i-th input parameter | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:87:3: error: ‘int4’ does not name a type; did you mean ‘int’? 87 | int4 invert(void); ///< Convert to complementary range | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:88:18: error: ‘int4’ has not been declared 88 | void setStride(int4 newStep,uintb rem); ///< Set a new step on \b this range. | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:88:31: error: ‘uintb’ has not been declared 88 | void setStride(int4 newStep,uintb rem); ///< Set a new step on \b this range. | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:89:33: error: ‘int4’ has not been declared 89 | bool pullBackUnary(OpCode opc,int4 inSize,int4 outSize); ///< Pull-back \b this through the given unary operator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:89:45: error: ‘int4’ has not been declared 89 | bool pullBackUnary(OpCode opc,int4 inSize,int4 outSize); ///< Pull-back \b this through the given unary operator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:90:34: error: ‘uintb’ has not been declared 90 | bool pullBackBinary(OpCode opc,uintb val,int4 slot,int4 inSize,int4 outSize); ///< Pull-back \b this thru binary operator | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:90:44: error: ‘int4’ has not been declared 90 | bool pullBackBinary(OpCode opc,uintb val,int4 slot,int4 inSize,int4 outSize); ///< Pull-back \b this thru binary operator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1350:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1350 | int4 numParams(void) const { return store->getNumInputs(); } ///< Get the number of input parameters | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:90:54: error: ‘int4’ has not been declared 90 | bool pullBackBinary(OpCode opc,uintb val,int4 slot,int4 inSize,int4 outSize); ///< Pull-back \b this thru binary operator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:90:66: error: ‘int4’ has not been declared 90 | bool pullBackBinary(OpCode opc,uintb val,int4 slot,int4 inSize,int4 outSize); ///< Pull-back \b this thru binary operator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool FuncProto::isDotdotdot() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1356:43: error: ‘flags’ was not declared in this scope 1356 | bool isDotdotdot(void) const { return ((flags&dotdotdot)!=0); } ///< Return \b true if \b this takes a variable number of arguments | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:92:59: error: ‘int4’ has not been declared 92 | bool pushForwardUnary(OpCode opc,const CircleRange &in1,int4 inSize,int4 outSize); ///< Push-forward thru given unary operator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:92:71: error: ‘int4’ has not been declared 92 | bool pushForwardUnary(OpCode opc,const CircleRange &in1,int4 inSize,int4 outSize); ///< Push-forward thru given unary operator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:93:83: error: ‘int4’ has not been declared 93 | bool pushForwardBinary(OpCode opc,const CircleRange &in1,const CircleRange &in2,int4 inSize,int4 outSize,int4 maxStep); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:93:95: error: ‘int4’ has not been declared 93 | bool pushForwardBinary(OpCode opc,const CircleRange &in1,const CircleRange &in2,int4 inSize,int4 outSize,int4 maxStep); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:93:108: error: ‘int4’ has not been declared 93 | bool pushForwardBinary(OpCode opc,const CircleRange &in1,const CircleRange &in2,int4 inSize,int4 outSize,int4 maxStep); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:95:27: error: ‘int4’ has not been declared 95 | int4 inSize,int4 outSize,int4 maxStep); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:95:39: error: ‘int4’ has not been declared 95 | int4 inSize,int4 outSize,int4 maxStep); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:95:52: error: ‘int4’ has not been declared 95 | int4 inSize,int4 outSize,int4 maxStep); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1360:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 1360 | uint4 hasEffect(const Address &addr,int4 size) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:97:3: error: ‘int4’ does not name a type; did you mean ‘int’? 97 | int4 translate2Op(OpCode &opc,uintb &c,int4 &cslot) const; ///< Translate range to a comparison op | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1357:79: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 1357 | void setDotdotdot(bool val) { flags = val ? (flags|dotdotdot) : (flags & ~((uint4)dotdotdot)); } ///< Toggle whether \b this takes variable arguments | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1357:85: error: expected ‘)’ before ‘dotdotdot’ 1357 | void setDotdotdot(bool val) { flags = val ? (flags|dotdotdot) : (flags & ~((uint4)dotdotdot)); } ///< Toggle whether \b this takes variable arguments | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1357:77: note: to match this ‘(’ 1357 | void setDotdotdot(bool val) { flags = val ? (flags|dotdotdot) : (flags & ~((uint4)dotdotdot)); } ///< Toggle whether \b this takes variable arguments | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1357:96: error: expected ‘)’ before ‘;’ token 1357 | void setDotdotdot(bool val) { flags = val ? (flags|dotdotdot) : (flags & ~((uint4)dotdotdot)); } ///< Toggle whether \b this takes variable arguments | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1357:67: note: to match this ‘(’ 1357 | void setDotdotdot(bool val) { flags = val ? (flags|dotdotdot) : (flags & ~((uint4)dotdotdot)); } ///< Toggle whether \b this takes variable arguments | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1363:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1363 | int4 numLikelyTrash(void) const; ///< Get the number of \e likely-trash locations | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1364:37: error: ‘int4’ has not been declared 1364 | const VarnodeData &getLikelyTrash(int4 i) const; ///< Get the i-th \e likely-trash location | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1365:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1365 | int4 characterizeAsInputParam(const Address &addr,int4 size) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1366:47: error: ‘int4’ has not been declared 1366 | bool possibleInputParam(const Address &addr,int4 size) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void FuncProto::setDotdotdot(bool)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1357:33: error: ‘flags’ was not declared in this scope 1357 | void setDotdotdot(bool val) { flags = val ? (flags|dotdotdot) : (flags & ~((uint4)dotdotdot)); } ///< Toggle whether \b this takes variable arguments | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1367:48: error: ‘int4’ has not been declared 1367 | bool possibleOutputParam(const Address &addr,int4 size) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1375:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1375 | int4 getMaxInputDelay(void) const { return model->getMaxInputDelay(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool FuncProto::isOverride() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1358:42: error: ‘flags’ was not declared in this scope 1358 | bool isOverride(void) const { return ((flags&is_override)!=0); } ///< Return \b true if \b this is a call site override | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:18: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh: In member function ‘bool CircleRange::isFull() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:70:52: error: ‘step’ was not declared in this scope; did you mean ‘strsep’? 70 | bool isFull(void) const { return ((!isempty) && (step == 1) && (left == right)); } ///< Return \b true if \b this contains all possible values | ^~~~ | strsep /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1383:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1383 | int4 getMaxOutputDelay(void) const { return model->getMaxOutputDelay(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1385:50: error: ‘int4’ has not been declared 1385 | bool unjustifiedInputParam(const Address &addr,int4 size,VarnodeData &res) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1397:52: error: ‘int4’ has not been declared 1397 | OpCode assumedInputExtension(const Address &addr,int4 size,VarnodeData &res) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1410:53: error: ‘int4’ has not been declared 1410 | OpCode assumedOutputExtension(const Address &addr,int4 size,VarnodeData &res) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1414:57: error: ‘int4’ has not been declared 1414 | bool getBiggestContainedInputParam(const Address &loc,int4 size,VarnodeData &res) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1357:79: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 1357 | void setDotdotdot(bool val) { flags = val ? (flags|dotdotdot) : (flags & ~((uint4)dotdotdot)); } ///< Toggle whether \b this takes variable arguments | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1357:85: error: expected ‘)’ before ‘dotdotdot’ 1357 | void setDotdotdot(bool val) { flags = val ? (flags|dotdotdot) : (flags & ~((uint4)dotdotdot)); } ///< Toggle whether \b this takes variable arguments | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1357:77: note: to match this ‘(’ 1357 | void setDotdotdot(bool val) { flags = val ? (flags|dotdotdot) : (flags & ~((uint4)dotdotdot)); } ///< Toggle whether \b this takes variable arguments | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1357:96: error: expected ‘)’ before ‘;’ token 1357 | void setDotdotdot(bool val) { flags = val ? (flags|dotdotdot) : (flags & ~((uint4)dotdotdot)); } ///< Toggle whether \b this takes variable arguments | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1357:67: note: to match this ‘(’ 1357 | void setDotdotdot(bool val) { flags = val ? (flags|dotdotdot) : (flags & ~((uint4)dotdotdot)); } ///< Toggle whether \b this takes variable arguments | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1424:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 1424 | uint4 getComparableFlags(void) const { return (flags & (dotdotdot | is_constructor | is_destructor | has_thisptr )); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void FuncProto::setOverride(bool)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1359:32: error: ‘flags’ was not declared in this scope 1359 | void setOverride(bool val) { flags = val ? (flags|is_override) : (flags & ~((uint4)is_override)); } ///< Toggle whether \b this is a call site override | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:18: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh: In member function ‘bool CircleRange::isSingle() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:71:71: error: ‘step’ was not declared in this scope; did you mean ‘strsep’? 71 | bool isSingle(void) const { return (!isempty) && (right == ((left + step)& mask)); } ///< Return \b true if \b this contains single value | ^~~~ | strsep /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool FuncProto::isOverride() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1358:42: error: ‘flags’ was not declared in this scope 1358 | bool isOverride(void) const { return ((flags&is_override)!=0); } ///< Return \b true if \b this is a call site override | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool FuncProto::isParamshiftApplied() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1192:51: error: ‘flags’ was not declared in this scope 1192 | bool isParamshiftApplied(void) const { return ((flags¶mshift_applied)!=0); } ///< Has a parameter shift been applied | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1359:80: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 1359 | void setOverride(bool val) { flags = val ? (flags|is_override) : (flags & ~((uint4)is_override)); } ///< Toggle whether \b this is a call site override | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1359:86: error: expected ‘)’ before ‘is_override’ 1359 | void setOverride(bool val) { flags = val ? (flags|is_override) : (flags & ~((uint4)is_override)); } ///< Toggle whether \b this is a call site override | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1359:78: note: to match this ‘(’ 1359 | void setOverride(bool val) { flags = val ? (flags|is_override) : (flags & ~((uint4)is_override)); } ///< Toggle whether \b this is a call site override | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1359:99: error: expected ‘)’ before ‘;’ token 1359 | void setOverride(bool val) { flags = val ? (flags|is_override) : (flags & ~((uint4)is_override)); } ///< Toggle whether \b this is a call site override | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1359:68: note: to match this ‘(’ 1359 | void setOverride(bool val) { flags = val ? (flags|is_override) : (flags & ~((uint4)is_override)); } ///< Toggle whether \b this is a call site override | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:71:78: error: ‘mask’ was not declared in this scope 71 | bool isSingle(void) const { return (!isempty) && (right == ((left + step)& mask)); } ///< Return \b true if \b this contains single value | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1454:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1454 | int4 effective_extrapop; ///< Working extrapop for the CALL | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void FuncProto::setOverride(bool)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1359:32: error: ‘flags’ was not declared in this scope 1359 | void setOverride(bool val) { flags = val ? (flags|is_override) : (flags & ~((uint4)is_override)); } ///< Toggle whether \b this is a call site override | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1455:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 1455 | uintb stackoffset; ///< Relative offset of stack-pointer at time of this call | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void FuncProto::setParamshiftApplied(bool)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1194:41: error: ‘flags’ was not declared in this scope 1194 | void setParamshiftApplied(bool val) { flags = val ? (flags|paramshift_applied) : (flags & ~((uint4)paramshift_applied)); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1456:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1456 | int4 stackPlaceholderSlot; ///< Slot containing temporary stack tracing placeholder (-1 means unused) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh: In member function ‘bool CircleRange::getNext(int&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:80:47: error: ‘step’ was not declared in this scope; did you mean ‘strsep’? 80 | bool getNext(uintb &val) const { val = (val+step)&mask; return (val!=right); } ///< Advance an integer within the range | ^~~~ | strsep /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1359:80: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 1359 | void setOverride(bool val) { flags = val ? (flags|is_override) : (flags & ~((uint4)is_override)); } ///< Toggle whether \b this is a call site override | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1359:86: error: expected ‘)’ before ‘is_override’ 1359 | void setOverride(bool val) { flags = val ? (flags|is_override) : (flags & ~((uint4)is_override)); } ///< Toggle whether \b this is a call site override | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1359:78: note: to match this ‘(’ 1359 | void setOverride(bool val) { flags = val ? (flags|is_override) : (flags & ~((uint4)is_override)); } ///< Toggle whether \b this is a call site override | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1359:99: error: expected ‘)’ before ‘;’ token 1359 | void setOverride(bool val) { flags = val ? (flags|is_override) : (flags & ~((uint4)is_override)); } ///< Toggle whether \b this is a call site override | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1457:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1457 | int4 paramshift; ///< Number of input parameters to ignore before prototype | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1359:68: note: to match this ‘(’ 1359 | void setOverride(bool val) { flags = val ? (flags|is_override) : (flags & ~((uint4)is_override)); } ///< Toggle whether \b this is a call site override | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1458:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1458 | int4 matchCallCount; ///< Number of calls to this sub-function within the calling function | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1194:96: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 1194 | void setParamshiftApplied(bool val) { flags = val ? (flags|paramshift_applied) : (flags & ~((uint4)paramshift_applied)); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1194:102: error: expected ‘)’ before ‘paramshift_applied’ 1194 | void setParamshiftApplied(bool val) { flags = val ? (flags|paramshift_applied) : (flags & ~((uint4)paramshift_applied)); } | ^~~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1194:94: note: to match this ‘(’ 1194 | void setParamshiftApplied(bool val) { flags = val ? (flags|paramshift_applied) : (flags & ~((uint4)paramshift_applied)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1194:122: error: expected ‘)’ before ‘;’ token 1194 | void setParamshiftApplied(bool val) { flags = val ? (flags|paramshift_applied) : (flags & ~((uint4)paramshift_applied)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1194:84: note: to match this ‘(’ 1194 | void setParamshiftApplied(bool val) { flags = val ? (flags|paramshift_applied) : (flags & ~((uint4)paramshift_applied)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1454:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1454 | int4 effective_extrapop; ///< Working extrapop for the CALL | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1455:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 1455 | uintb stackoffset; ///< Relative offset of stack-pointer at time of this call | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:80:53: error: ‘mask’ was not declared in this scope 80 | bool getNext(uintb &val) const { val = (val+step)&mask; return (val!=right); } ///< Advance an integer within the range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:80:70: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] 80 | bool getNext(uintb &val) const { val = (val+step)&mask; return (val!=right); } ///< Advance an integer within the range | ~~~^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1456:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1456 | int4 stackPlaceholderSlot; ///< Slot containing temporary stack tracing placeholder (-1 means unused) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1461:18: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 1461 | mutable vector inputConsume; ///< Number of bytes consumed by sub-function, for each input parameter | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1461:22: error: template argument 1 is invalid 1461 | mutable vector inputConsume; ///< Number of bytes consumed by sub-function, for each input parameter | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1461:22: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1457:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1457 | int4 paramshift; ///< Number of input parameters to ignore before prototype | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:113:16: error: ‘int4’ does not name a type; did you mean ‘int’? 113 | static const int4 MAX_STEP; ///< Maximum step inferred for a value set | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1467:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1467 | int4 transferLockedInputParam(ProtoParameter *param); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1458:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1458 | int4 matchCallCount; ///< Number of calls to this sub-function within the calling function | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool FuncProto::isModelLocked() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1215:45: error: ‘flags’ was not declared in this scope 1215 | bool isModelLocked(void) const { return ((flags&modellock)!=0); } ///< Is the prototype model for \b this locked | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1486:29: error: ‘int4’ has not been declared 1486 | void setEffectiveExtraPop(int4 epop) { effective_extrapop = epop; } ///< Set the specific \e extrapop associate with \b this call site | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:121:5: error: ‘int4’ does not name a type; did you mean ‘int’? 121 | int4 slot; ///< The input parameter slot to which the constraint is attached | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1487:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1487 | int4 getEffectiveExtraPop(void) const { return effective_extrapop; } ///< Get the specific \e extrapop associate with \b this call site | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:122:5: error: ‘int4’ does not name a type; did you mean ‘int’? 122 | int4 typeCode; ///< The constraint characteristic 0=absolute 1=relative to a spacebase register | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:125:18: error: expected ‘)’ before ‘s’ 125 | Equation(int4 s,int4 tc,const CircleRange &rng) { slot=s; typeCode = tc; range = rng; } ///< Constructor | ~ ^~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1488:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 1488 | uintb getSpacebaseOffset(void) const { return stackoffset; } ///< Get the stack-pointer relative offset at the point of \b this call site | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1489:22: error: ‘int4’ has not been declared 1489 | void setParamshift(int4 val) { paramshift = val; } ///< Set a parameter shift for this call site | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:129:3: error: ‘int4’ does not name a type; did you mean ‘int’? 129 | int4 typeCode; ///< 0=pure constant 1=stack relative | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1461:18: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 1461 | mutable vector inputConsume; ///< Number of bytes consumed by sub-function, for each input parameter | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1461:22: error: template argument 1 is invalid 1461 | mutable vector inputConsume; ///< Number of bytes consumed by sub-function, for each input parameter | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1461:22: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1490:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1490 | int4 getParamshift(void) const { return paramshift; } ///< Get the parameter shift for this call site | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:130:3: error: ‘int4’ does not name a type; did you mean ‘int’? 130 | int4 numParams; ///< Number of input parameters to defining operation | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool FuncProto::isUnknownModel() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1216:46: error: ‘flags’ was not declared in this scope 1216 | bool isUnknownModel(void) const { return ((flags&unknown_model)!=0); } ///< Is prototype model officially "unknown" | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1467:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1467 | int4 transferLockedInputParam(ProtoParameter *param); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1491:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1491 | int4 getMatchCallCount(void) const { return matchCallCount; } ///< Get the number of calls the caller makes to \b this sub-function | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1486:29: error: ‘int4’ has not been declared 1486 | void setEffectiveExtraPop(int4 epop) { effective_extrapop = epop; } ///< Set the specific \e extrapop associate with \b this call site | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:131:3: error: ‘int4’ does not name a type; did you mean ‘int’? 131 | int4 count; ///< Depth first numbering / widening count | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1492:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1492 | int4 getStackPlaceholderSlot(void) const { return stackPlaceholderSlot; } ///< Get the slot of the stack-pointer placeholder | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1493:32: error: ‘int4’ has not been declared 1493 | void setStackPlaceholderSlot(int4 slot) { stackPlaceholderSlot = slot; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1487:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1487 | int4 getEffectiveExtraPop(void) const { return effective_extrapop; } ///< Get the specific \e extrapop associate with \b this call site | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1509:23: error: ‘int4’ has not been declared 1509 | bool checkInputJoin(int4 slot1,bool ishislot,Varnode *vn1,Varnode *vn2) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1510:20: error: ‘int4’ has not been declared 1510 | void doInputJoin(int4 slot1,bool ishislot); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1488:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 1488 | uintb getSpacebaseOffset(void) const { return stackoffset; } ///< Get the stack-pointer relative offset at the point of \b this call site | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1489:22: error: ‘int4’ has not been declared 1489 | void setParamshift(int4 val) { paramshift = val; } ///< Set a parameter shift for this call site | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool FuncProto::hasCustomStorage() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1217:48: error: ‘flags’ was not declared in this scope 1217 | bool hasCustomStorage(void) const { return ((flags&custom_storage)!=0); } ///< Is \b this a "custom" function prototype | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1522:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1522 | int4 getInputBytesConsumed(int4 slot) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1523:30: error: ‘int4’ has not been declared 1523 | bool setInputBytesConsumed(int4 slot,int4 val) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1523:40: error: ‘int4’ has not been declared 1523 | bool setInputBytesConsumed(int4 slot,int4 val) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1490:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1490 | int4 getParamshift(void) const { return paramshift; } ///< Get the parameter shift for this call site | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1491:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1491 | int4 getMatchCallCount(void) const { return matchCallCount; } ///< Get the number of calls the caller makes to \b this sub-function | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1526:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 1526 | uint4 hasEffectTranslate(const Address &addr,int4 size) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1492:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1492 | int4 getStackPlaceholderSlot(void) const { return stackPlaceholderSlot; } ///< Get the slot of the stack-pointer placeholder | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1493:32: error: ‘int4’ has not been declared 1493 | void setStackPlaceholderSlot(int4 slot) { stackPlaceholderSlot = slot; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1509:23: error: ‘int4’ has not been declared 1509 | bool checkInputJoin(int4 slot1,bool ishislot,Varnode *vn1,Varnode *vn2) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1510:20: error: ‘int4’ has not been declared 1510 | void doInputJoin(int4 slot1,bool ishislot); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:140:26: error: ‘int4’ has not been declared 140 | bool doesEquationApply(int4 num,int4 slot) const; ///< Does the indicated equation apply for the given input slot | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:140:35: error: ‘int4’ has not been declared 140 | bool doesEquationApply(int4 num,int4 slot) const; ///< Does the indicated equation apply for the given input slot | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void FuncProto::setModelLock(bool)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1226:33: error: ‘flags’ was not declared in this scope 1226 | void setModelLock(bool val) { flags = val ? (flags|modellock) : (flags & ~((uint4)modellock)); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:142:30: error: ‘int4’ has not been declared 142 | void setVarnode(Varnode *v,int4 tCode); ///< Attach \b this to given Varnode and set initial values | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:143:20: error: ‘int4’ has not been declared 143 | void addEquation(int4 slot,int4 type,const CircleRange &constraint); ///< Insert an equation restricting \b this value set | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:143:30: error: ‘int4’ has not been declared 143 | void addEquation(int4 slot,int4 type,const CircleRange &constraint); ///< Insert an equation restricting \b this value set | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:144:20: error: ‘int4’ has not been declared 144 | void addLandmark(int4 type,const CircleRange &constraint) { addEquation(numParams,type,constraint); } ///< Add a widening landmark | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1522:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1522 | int4 getInputBytesConsumed(int4 slot) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1523:30: error: ‘int4’ has not been declared 1523 | bool setInputBytesConsumed(int4 slot,int4 val) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1523:40: error: ‘int4’ has not been declared 1523 | bool setInputBytesConsumed(int4 slot,int4 val) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:148:3: error: ‘int4’ does not name a type; did you mean ‘int’? 148 | int4 getCount(void) const { return count; } ///< Get the current iteration count | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1526:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 1526 | uint4 hasEffectTranslate(const Address &addr,int4 size) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:150:3: error: ‘int4’ does not name a type; did you mean ‘int’? 150 | int4 getTypeCode(void) const { return typeCode; } ///< Return '0' for normal constant, '1' for spacebase relative | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1226:79: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 1226 | void setModelLock(bool val) { flags = val ? (flags|modellock) : (flags & ~((uint4)modellock)); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1226:85: error: expected ‘)’ before ‘modellock’ 1226 | void setModelLock(bool val) { flags = val ? (flags|modellock) : (flags & ~((uint4)modellock)); } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1226:77: note: to match this ‘(’ 1226 | void setModelLock(bool val) { flags = val ? (flags|modellock) : (flags & ~((uint4)modellock)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1226:96: error: expected ‘)’ before ‘;’ token 1226 | void setModelLock(bool val) { flags = val ? (flags|modellock) : (flags & ~((uint4)modellock)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1226:67: note: to match this ‘(’ 1226 | void setModelLock(bool val) { flags = val ? (flags|modellock) : (flags & ~((uint4)modellock)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh: In member function ‘void ValueSet::setFull()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:141:42: error: ‘class Varnode’ has no member named ‘getSize’ 141 | void setFull(void) { range.setFull(vn->getSize()); typeCode = 0; } ///< Mark value set as possibly containing any value | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void FuncCallSpecs::setEffectiveExtraPop(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1486:42: error: ‘effective_extrapop’ was not declared in this scope; did you mean ‘setEffectiveExtraPop’? 1486 | void setEffectiveExtraPop(int4 epop) { effective_extrapop = epop; } ///< Set the specific \e extrapop associate with \b this call site | ^~~~~~~~~~~~~~~~~~ | setEffectiveExtraPop /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool FuncProto::isInline() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1228:40: error: ‘flags’ was not declared in this scope 1228 | bool isInline(void) const { return ((flags & is_inline)!=0); } ///< Does this function get \e in-lined during decompilation. | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:141:54: error: ‘typeCode’ was not declared in this scope; did you mean ‘TypeCode’? 141 | void setFull(void) { range.setFull(vn->getSize()); typeCode = 0; } ///< Mark value set as possibly containing any value | ^~~~~~~~ | TypeCode /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void FuncCallSpecs::setParamshift(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1489:34: error: ‘paramshift’ was not declared in this scope; did you mean ‘paramShift’? 1489 | void setParamshift(int4 val) { paramshift = val; } ///< Set a parameter shift for this call site | ^~~~~~~~~~ | paramShift /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void FuncCallSpecs::setEffectiveExtraPop(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1486:42: error: ‘effective_extrapop’ was not declared in this scope; did you mean ‘setEffectiveExtraPop’? 1486 | void setEffectiveExtraPop(int4 epop) { effective_extrapop = epop; } ///< Set the specific \e extrapop associate with \b this call site | ^~~~~~~~~~~~~~~~~~ | setEffectiveExtraPop /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void FuncProto::setInline(bool)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1234:30: error: ‘flags’ was not declared in this scope 1234 | void setInline(bool val) { flags = val ? (flags|is_inline) : (flags & ~((uint4)is_inline)); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void FuncCallSpecs::setParamshift(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1489:34: error: ‘paramshift’ was not declared in this scope; did you mean ‘paramShift’? 1489 | void setParamshift(int4 val) { paramshift = val; } ///< Set a parameter shift for this call site | ^~~~~~~~~~ | paramShift /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh: In member function ‘void ValueSet::addLandmark(int, const CircleRange&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:144:75: error: ‘numParams’ was not declared in this scope 144 | void addLandmark(int4 type,const CircleRange &constraint) { addEquation(numParams,type,constraint); } ///< Add a widening landmark | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void FuncCallSpecs::setStackPlaceholderSlot(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1493:45: error: ‘stackPlaceholderSlot’ was not declared in this scope; did you mean ‘setStackPlaceholderSlot’? 1493 | void setStackPlaceholderSlot(int4 slot) { stackPlaceholderSlot = slot; | ^~~~~~~~~~~~~~~~~~~~ | setStackPlaceholderSlot /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1234:76: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 1234 | void setInline(bool val) { flags = val ? (flags|is_inline) : (flags & ~((uint4)is_inline)); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1234:82: error: expected ‘)’ before ‘is_inline’ 1234 | void setInline(bool val) { flags = val ? (flags|is_inline) : (flags & ~((uint4)is_inline)); } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1234:74: note: to match this ‘(’ 1234 | void setInline(bool val) { flags = val ? (flags|is_inline) : (flags & ~((uint4)is_inline)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1234:93: error: expected ‘)’ before ‘;’ token 1234 | void setInline(bool val) { flags = val ? (flags|is_inline) : (flags & ~((uint4)is_inline)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1234:64: note: to match this ‘(’ 1234 | void setInline(bool val) { flags = val ? (flags|is_inline) : (flags & ~((uint4)is_inline)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:178:3: error: ‘int4’ does not name a type; did you mean ‘int’? 178 | int4 typeCode; ///< 0=pure constant 1=stack relative | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:179:3: error: ‘int4’ does not name a type; did you mean ‘int’? 179 | int4 slot; ///< The slot being read | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void FuncCallSpecs::setStackPlaceholderSlot(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1493:45: error: ‘stackPlaceholderSlot’ was not declared in this scope; did you mean ‘setStackPlaceholderSlot’? 1493 | void setStackPlaceholderSlot(int4 slot) { stackPlaceholderSlot = slot; | ^~~~~~~~~~~~~~~~~~~~ | setStackPlaceholderSlot /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool FuncProto::isNoReturn() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1251:42: error: ‘flags’ was not declared in this scope 1251 | bool isNoReturn(void) const { return ((flags & no_return)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:183:3: error: ‘int4’ does not name a type; did you mean ‘int’? 183 | int4 equationTypeCode; ///< Type code of the associated equation | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:186:30: error: ‘int4’ has not been declared 186 | void setPcodeOp(PcodeOp *o,int4 slt); ///< Establish \e read this value set corresponds to | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:187:20: error: ‘int4’ has not been declared 187 | void addEquation(int4 slt,int4 type,const CircleRange &constraint); ///< Insert an equation restricting \b this value set | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:187:29: error: ‘int4’ has not been declared 187 | void addEquation(int4 slt,int4 type,const CircleRange &constraint); ///< Insert an equation restricting \b this value set | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void FuncCallSpecs::clearStackPlaceholderSlot()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1496:5: error: ‘stackPlaceholderSlot’ was not declared in this scope; did you mean ‘setStackPlaceholderSlot’? 1496 | stackPlaceholderSlot = -1; if (isinputactive) activeinput.freePlaceholderSlot(); } ///< Release the stack-pointer placeholder | ^~~~~~~~~~~~~~~~~~~~ | setStackPlaceholderSlot /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:189:3: error: ‘int4’ does not name a type; did you mean ‘int’? 189 | int4 getTypeCode(void) const { return typeCode; } ///< Return '0' for normal constant, '1' for spacebase relative | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:210:11: error: ‘int4’ does not name a type; did you mean ‘int’? 210 | virtual int4 determineIterationReset(const ValueSet &valueSet)=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void FuncProto::setNoReturn(bool)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1256:32: error: ‘flags’ was not declared in this scope 1256 | void setNoReturn(bool val) { flags = val ? (flags|no_return) : (flags & ~((uint4)no_return)); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:235:3: error: ‘int4’ does not name a type; did you mean ‘int’? 235 | int4 widenIteration; ///< The iteration at which widening is attempted | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In static member function ‘static FuncCallSpecs* FuncCallSpecs::getFspecFromConst(const Address&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1533:91: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 1533 | static FuncCallSpecs *getFspecFromConst(const Address &addr) { return (FuncCallSpecs *)(uintp)addr.getOffset(); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1533:97: error: expected ‘;’ before ‘addr’ 1533 | static FuncCallSpecs *getFspecFromConst(const Address &addr) { return (FuncCallSpecs *)(uintp)addr.getOffset(); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1533:102: error: ‘const class Address’ has no member named ‘getOffset’ 1533 | static FuncCallSpecs *getFspecFromConst(const Address &addr) { return (FuncCallSpecs *)(uintp)addr.getOffset(); } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void FuncCallSpecs::clearStackPlaceholderSlot()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1496:5: error: ‘stackPlaceholderSlot’ was not declared in this scope; did you mean ‘setStackPlaceholderSlot’? 1496 | stackPlaceholderSlot = -1; if (isinputactive) activeinput.freePlaceholderSlot(); } ///< Release the stack-pointer placeholder | ^~~~~~~~~~~~~~~~~~~~ | setStackPlaceholderSlot /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1549:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 1549 | inline const ParamTrial &ParamActive::getTrialForInputVarnode(int4 slot) const | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1549:26: error: ‘const ParamTrial& ParamActive::getTrialForInputVarnode’ is not a static data member of ‘class ParamActive’ 1549 | inline const ParamTrial &ParamActive::getTrialForInputVarnode(int4 slot) const | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:236:3: error: ‘int4’ does not name a type; did you mean ‘int’? 236 | int4 fullIteration; ///< The iteration at which a full range is produced | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:239:19: error: expected ‘)’ before ‘wide’ 239 | WidenerFull(int4 wide,int4 full) { widenIteration = wide; fullIteration = full; } ///< Constructor specifying iterations | ~ ^~~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:240:11: error: ‘int4’ does not name a type; did you mean ‘int’? 240 | virtual int4 determineIterationReset(const ValueSet &valueSet); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1256:78: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 1256 | void setNoReturn(bool val) { flags = val ? (flags|no_return) : (flags & ~((uint4)no_return)); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1256:84: error: expected ‘)’ before ‘no_return’ 1256 | void setNoReturn(bool val) { flags = val ? (flags|no_return) : (flags & ~((uint4)no_return)); } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1256:76: note: to match this ‘(’ 1256 | void setNoReturn(bool val) { flags = val ? (flags|no_return) : (flags & ~((uint4)no_return)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1256:95: error: expected ‘)’ before ‘;’ token 1256 | void setNoReturn(bool val) { flags = val ? (flags|no_return) : (flags & ~((uint4)no_return)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1256:66: note: to match this ‘(’ 1256 | void setNoReturn(bool val) { flags = val ? (flags|no_return) : (flags & ~((uint4)no_return)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1549:63: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 1549 | inline const ParamTrial &ParamActive::getTrialForInputVarnode(int4 slot) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In static member function ‘static FuncCallSpecs* FuncCallSpecs::getFspecFromConst(const Address&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1533:91: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 1533 | static FuncCallSpecs *getFspecFromConst(const Address &addr) { return (FuncCallSpecs *)(uintp)addr.getOffset(); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1533:97: error: expected ‘;’ before ‘addr’ 1533 | static FuncCallSpecs *getFspecFromConst(const Address &addr) { return (FuncCallSpecs *)(uintp)addr.getOffset(); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1533:102: error: ‘const class Address’ has no member named ‘getOffset’ 1533 | static FuncCallSpecs *getFspecFromConst(const Address &addr) { return (FuncCallSpecs *)(uintp)addr.getOffset(); } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1549:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 1549 | inline const ParamTrial &ParamActive::getTrialForInputVarnode(int4 slot) const | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1549:26: error: ‘const ParamTrial& ParamActive::getTrialForInputVarnode’ is not a static data member of ‘class ParamActive’ 1549 | inline const ParamTrial &ParamActive::getTrialForInputVarnode(int4 slot) const | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool FuncProto::hasThisPointer() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1259:46: error: ‘flags’ was not declared in this scope 1259 | bool hasThisPointer(void) const { return ((flags & has_thisptr)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1549:63: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 1549 | inline const ParamTrial &ParamActive::getTrialForInputVarnode(int4 slot) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool EffectRecord::operator<(const EffectRecord&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1564:11: error: ‘type’ was not declared in this scope; did you mean ‘wctype’? 1564 | return (type < op2.type); | ^~~~ | wctype /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1564:22: error: ‘const class EffectRecord’ has no member named ‘type’ 1564 | return (type < op2.type); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool FuncProto::isConstructor() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1262:45: error: ‘flags’ was not declared in this scope 1262 | bool isConstructor(void) const { return ((flags & is_constructor)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh: In constructor ‘WidenerFull::WidenerFull()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:238:23: error: ‘widenIteration’ was not declared in this scope 238 | WidenerFull(void) { widenIteration = 2; fullIteration = 5; } ///< Constructor with default iterations | ^~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool EffectRecord::operator<(const EffectRecord&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1564:11: error: ‘type’ was not declared in this scope; did you mean ‘wctype’? 1564 | return (type < op2.type); | ^~~~ | wctype /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool EffectRecord::operator==(const EffectRecord&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1571:11: error: ‘type’ was not declared in this scope; did you mean ‘wctype’? 1571 | return (type == op2.type); | ^~~~ | wctype /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1564:22: error: ‘const class EffectRecord’ has no member named ‘type’ 1564 | return (type < op2.type); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1571:23: error: ‘const class EffectRecord’ has no member named ‘type’ 1571 | return (type == op2.type); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void FuncProto::setConstructor(bool)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1267:35: error: ‘flags’ was not declared in this scope 1267 | void setConstructor(bool val) { flags = val ? (flags|is_constructor) : (flags & ~((uint4)is_constructor)); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool EffectRecord::operator==(const EffectRecord&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1571:11: error: ‘type’ was not declared in this scope; did you mean ‘wctype’? 1571 | return (type == op2.type); | ^~~~ | wctype /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1571:23: error: ‘const class EffectRecord’ has no member named ‘type’ 1571 | return (type == op2.type); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool EffectRecord::operator!=(const EffectRecord&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1578:11: error: ‘type’ was not declared in this scope; did you mean ‘wctype’? 1578 | return (type != op2.type); | ^~~~ | wctype /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1578:23: error: ‘const class EffectRecord’ has no member named ‘type’ 1578 | return (type != op2.type); | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:31:3: error: ‘int4’ does not name a type; did you mean ‘int’? 31 | int4 word; ///< Index of word containing this context value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1267:86: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 1267 | void setConstructor(bool val) { flags = val ? (flags|is_constructor) : (flags & ~((uint4)is_constructor)); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1267:92: error: expected ‘)’ before ‘is_constructor’ 1267 | void setConstructor(bool val) { flags = val ? (flags|is_constructor) : (flags & ~((uint4)is_constructor)); } | ^~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1267:84: note: to match this ‘(’ 1267 | void setConstructor(bool val) { flags = val ? (flags|is_constructor) : (flags & ~((uint4)is_constructor)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1267:108: error: expected ‘)’ before ‘;’ token 1267 | void setConstructor(bool val) { flags = val ? (flags|is_constructor) : (flags & ~((uint4)is_constructor)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1267:74: note: to match this ‘(’ 1267 | void setConstructor(bool val) { flags = val ? (flags|is_constructor) : (flags & ~((uint4)is_constructor)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:32:3: error: ‘int4’ does not name a type; did you mean ‘int’? 32 | int4 startbit; ///< Starting bit of the value within its word (0=most significant bit 1=least significant) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:33:3: error: ‘int4’ does not name a type; did you mean ‘int’? 33 | int4 endbit; ///< Ending bit of the value within its word | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool EffectRecord::operator!=(const EffectRecord&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1578:11: error: ‘type’ was not declared in this scope; did you mean ‘wctype’? 1578 | return (type != op2.type); | ^~~~ | wctype /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:238:43: error: ‘fullIteration’ was not declared in this scope 238 | WidenerFull(void) { widenIteration = 2; fullIteration = 5; } ///< Constructor with default iterations | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1578:23: error: ‘const class EffectRecord’ has no member named ‘type’ 1578 | return (type != op2.type); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:34:3: error: ‘int4’ does not name a type; did you mean ‘int’? 34 | int4 shift; ///< Right-shift amount to apply when unpacking this value from its word | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:31:3: error: ‘int4’ does not name a type; did you mean ‘int’? 31 | int4 word; ///< Index of word containing this context value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:253:3: error: ‘int4’ does not name a type; did you mean ‘int’? 253 | int4 freezeIteration; ///< The iteration at which all change ceases | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool FuncProto::isDestructor() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1270:44: error: ‘flags’ was not declared in this scope 1270 | bool isDestructor(void) const { return ((flags & is_destructor)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:35:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 35 | uintm mask; ///< Mask to apply (after shifting) when unpacking this value from its word | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:38:23: error: expected ‘)’ before ‘sbit’ 38 | ContextBitRange(int4 sbit,int4 ebit); ///< Construct a context value given an absolute bit range | ~ ^~~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:32:3: error: ‘int4’ does not name a type; did you mean ‘int’? 32 | int4 startbit; ///< Starting bit of the value within its word (0=most significant bit 1=least significant) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:256:11: error: ‘int4’ does not name a type; did you mean ‘int’? 256 | virtual int4 determineIterationReset(const ValueSet &valueSet); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:39:3: error: ‘int4’ does not name a type; did you mean ‘int’? 39 | int4 getShift(void) const { return shift; } ///< Return the shift-amount for \b this value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:33:3: error: ‘int4’ does not name a type; did you mean ‘int’? 33 | int4 endbit; ///< Ending bit of the value within its word | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:34:3: error: ‘int4’ does not name a type; did you mean ‘int’? 34 | int4 shift; ///< Right-shift amount to apply when unpacking this value from its word | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:40:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 40 | uintm getMask(void) const { return mask; } ///< Return the mask for \b this value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:41:3: error: ‘int4’ does not name a type; did you mean ‘int’? 41 | int4 getWord(void) const { return word; } ///< Return the word index for \b this value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:35:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 35 | uintm mask; ///< Mask to apply (after shifting) when unpacking this value from its word | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:47:17: error: ‘uintm’ has not been declared 47 | void setValue(uintm *vec,uintm val) const { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:47:28: error: ‘uintm’ has not been declared 47 | void setValue(uintm *vec,uintm val) const { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:38:23: error: expected ‘)’ before ‘sbit’ 38 | ContextBitRange(int4 sbit,int4 ebit); ///< Construct a context value given an absolute bit range | ~ ^~~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void FuncProto::setDestructor(bool)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1275:34: error: ‘flags’ was not declared in this scope 1275 | void setDestructor(bool val) { flags = val ? (flags|is_destructor) : (flags & ~((uint4)is_destructor)); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:39:3: error: ‘int4’ does not name a type; did you mean ‘int’? 39 | int4 getShift(void) const { return shift; } ///< Return the shift-amount for \b this value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:58:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 58 | uintm getValue(const uintm *vec) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:40:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 40 | uintm getMask(void) const { return mask; } ///< Return the mask for \b this value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:41:3: error: ‘int4’ does not name a type; did you mean ‘int’? 41 | int4 getWord(void) const { return word; } ///< Return the word index for \b this value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1275:84: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 1275 | void setDestructor(bool val) { flags = val ? (flags|is_destructor) : (flags & ~((uint4)is_destructor)); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:47:17: error: ‘uintm’ has not been declared 47 | void setValue(uintm *vec,uintm val) const { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1275:90: error: expected ‘)’ before ‘is_destructor’ 1275 | void setDestructor(bool val) { flags = val ? (flags|is_destructor) : (flags & ~((uint4)is_destructor)); } | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:47:28: error: ‘uintm’ has not been declared 47 | void setValue(uintm *vec,uintm val) const { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1275:82: note: to match this ‘(’ 1275 | void setDestructor(bool val) { flags = val ? (flags|is_destructor) : (flags & ~((uint4)is_destructor)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1275:105: error: expected ‘)’ before ‘;’ token 1275 | void setDestructor(bool val) { flags = val ? (flags|is_destructor) : (flags & ~((uint4)is_destructor)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1275:72: note: to match this ‘(’ 1275 | void setDestructor(bool val) { flags = val ? (flags|is_destructor) : (flags & ~((uint4)is_destructor)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: In member function ‘void ContextBitRange::setValue(int*, int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:48:5: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 48 | uintm newval = vec[word]; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:58:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 58 | uintm getValue(const uintm *vec) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh: In constructor ‘WidenerNone::WidenerNone()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:255:23: error: ‘freezeIteration’ was not declared in this scope 255 | WidenerNone(void) { freezeIteration = 3; } | ^~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:281:5: error: ‘int4’ does not name a type; did you mean ‘int’? 281 | int4 rootPos; ///< The iterator position for the simulated root node | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool FuncProto::hasInputErrors() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1278:46: error: ‘flags’ was not declared in this scope 1278 | bool hasInputErrors(void) const { return ((flags&error_inputparam)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: In member function ‘void ContextBitRange::setValue(int*, int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:48:5: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 48 | uintm newval = vec[word]; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:49:5: error: ‘newval’ was not declared in this scope 49 | newval &= ~(mask< &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 1 is invalid 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1291:90: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 1291 | void setOutputErrors(bool val) { flags = val ? (flags|error_outputparam) : (flags & ~((uint4)error_outputparam)); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1291:96: error: expected ‘)’ before ‘error_outputparam’ 1291 | void setOutputErrors(bool val) { flags = val ? (flags|error_outputparam) : (flags & ~((uint4)error_outputparam)); } | ^~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1291:88: note: to match this ‘(’ 1291 | void setOutputErrors(bool val) { flags = val ? (flags|error_outputparam) : (flags & ~((uint4)error_outputparam)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1291:115: error: expected ‘)’ before ‘;’ token 1291 | void setOutputErrors(bool val) { flags = val ? (flags|error_outputparam) : (flags & ~((uint4)error_outputparam)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1291:78: note: to match this ‘(’ 1291 | void setOutputErrors(bool val) { flags = val ? (flags|error_outputparam) : (flags & ~((uint4)error_outputparam)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 1 is invalid 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 1 is invalid 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 1 is invalid 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 1 is invalid 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:32: error: ‘vector’ is not a type 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:38: error: expected ‘,’ or ‘...’ before ‘<’ token 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void FuncProto::setExtraPop(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1294:31: error: ‘extrapop’ was not declared in this scope; did you mean ‘setExtraPop’? 1294 | void setExtraPop(int4 ep) { extrapop = ep; } ///< Set the general \e extrapop for \b this prototype | ^~~~~~~~ | setExtraPop /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 1 is invalid 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:32: error: ‘vector’ is not a type 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:38: error: expected ‘,’ or ‘...’ before ‘<’ token 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 1 is invalid 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool FuncProto::isDotdotdot() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1356:43: error: ‘flags’ was not declared in this scope 1356 | bool isDotdotdot(void) const { return ((flags&dotdotdot)!=0); } ///< Return \b true if \b this takes a variable number of arguments | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 1 is invalid 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 1 is invalid 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void FuncProto::setDotdotdot(bool)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1357:33: error: ‘flags’ was not declared in this scope 1357 | void setDotdotdot(bool val) { flags = val ? (flags|dotdotdot) : (flags & ~((uint4)dotdotdot)); } ///< Toggle whether \b this takes variable arguments | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 1 is invalid 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 1 is invalid 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:39: error: ‘vector’ is not a type 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:45: error: expected ‘,’ or ‘...’ before ‘<’ token 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:158:11: error: ‘uintm’ does not name a type; did you mean ‘uint’? 158 | virtual uintm *getDefaultValue(void)=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:295:3: error: ‘int4’ does not name a type; did you mean ‘int’? 295 | int4 depthFirstIndex; ///< (Global) depth first numbering for topological ordering | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:165:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 165 | virtual const uintm *getDefaultValue(void) const=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 1 is invalid 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:39: error: ‘vector’ is not a type 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:45: error: expected ‘,’ or ‘...’ before ‘<’ token 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1357:79: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 1357 | void setDotdotdot(bool val) { flags = val ? (flags|dotdotdot) : (flags & ~((uint4)dotdotdot)); } ///< Toggle whether \b this takes variable arguments | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1357:85: error: expected ‘)’ before ‘dotdotdot’ 1357 | void setDotdotdot(bool val) { flags = val ? (flags|dotdotdot) : (flags & ~((uint4)dotdotdot)); } ///< Toggle whether \b this takes variable arguments | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:296:3: error: ‘int4’ does not name a type; did you mean ‘int’? 296 | int4 numIterations; ///< Count of individual ValueSet iterations | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1357:77: note: to match this ‘(’ 1357 | void setDotdotdot(bool val) { flags = val ? (flags|dotdotdot) : (flags & ~((uint4)dotdotdot)); } ///< Toggle whether \b this takes variable arguments | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1357:96: error: expected ‘)’ before ‘;’ token 1357 | void setDotdotdot(bool val) { flags = val ? (flags|dotdotdot) : (flags & ~((uint4)dotdotdot)); } ///< Toggle whether \b this takes variable arguments | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1357:67: note: to match this ‘(’ 1357 | void setDotdotdot(bool val) { flags = val ? (flags|dotdotdot) : (flags & ~((uint4)dotdotdot)); } ///< Toggle whether \b this takes variable arguments | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:172:11: error: ‘int4’ does not name a type; did you mean ‘int’? 172 | virtual int4 getContextSize(void) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:183:50: error: ‘int4’ has not been declared 183 | virtual void registerVariable(const string &nm,int4 sbit,int4 ebit)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:183:60: error: ‘int4’ has not been declared 183 | virtual void registerVariable(const string &nm,int4 sbit,int4 ebit)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:158:11: error: ‘uintm’ does not name a type; did you mean ‘uint’? 158 | virtual uintm *getDefaultValue(void)=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:297:3: error: ‘int4’ does not name a type; did you mean ‘int’? 297 | int4 maxIterations; ///< Maximum number of iterations before forcing termination | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:298:32: error: ‘int4’ has not been declared 298 | void newValueSet(Varnode *vn,int4 tCode); ///< Allocate storage for a new ValueSet | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:189:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 189 | virtual const uintm *getContext(const Address &addr) const=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:165:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 165 | virtual const uintm *getDefaultValue(void) const=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:303:3: error: ‘int4’ does not name a type; did you mean ‘int’? 303 | int4 visit(ValueSet *vertex,Partition &part); ///< Recursively walk the data-flow graph finding partitions | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:305:53: error: ‘int4’ has not been declared 305 | void generateTrueEquation(Varnode *vn,PcodeOp *op,int4 slot,int4 type,const CircleRange &range); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:305:63: error: ‘int4’ has not been declared 305 | void generateTrueEquation(Varnode *vn,PcodeOp *op,int4 slot,int4 type,const CircleRange &range); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:199:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 199 | virtual const uintm *getContext(const Address &addr,uintb &first,uintb &last) const=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:306:54: error: ‘int4’ has not been declared 306 | void generateFalseEquation(Varnode *vn,PcodeOp *op,int4 slot,int4 type,const CircleRange &range); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:306:64: error: ‘int4’ has not been declared 306 | void generateFalseEquation(Varnode *vn,PcodeOp *op,int4 slot,int4 type,const CircleRange &range); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:307:37: error: ‘int4’ has not been declared 307 | void applyConstraints(Varnode *vn,int4 type,const CircleRange &range,PcodeOp *cbranch); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:308:28: error: ‘int4’ has not been declared 308 | void constraintsFromPath(int4 type,CircleRange &lift,Varnode *startVn,Varnode *endVn,PcodeOp *cbranch); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:172:11: error: ‘int4’ does not name a type; did you mean ‘int’? 172 | virtual int4 getContextSize(void) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:240:44: error: ‘uintm’ has not been declared 240 | void setVariableDefault(const string &nm,uintm val); ///< Provide a default value for a context variable | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:183:50: error: ‘int4’ has not been declared 183 | virtual void registerVariable(const string &nm,int4 sbit,int4 ebit)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:183:60: error: ‘int4’ has not been declared 183 | virtual void registerVariable(const string &nm,int4 sbit,int4 ebit)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:311:42: error: ‘int4’ has not been declared 311 | bool checkRelativeConstant(Varnode *vn,int4 &typeCode,uintb &value) const; ///< Check if the given Varnode is a \e relative constant | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:311:57: error: ‘uintb’ has not been declared 311 | bool checkRelativeConstant(Varnode *vn,int4 &typeCode,uintb &value) const; ///< Check if the given Varnode is a \e relative constant | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool FuncProto::isOverride() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1358:42: error: ‘flags’ was not declared in this scope 1358 | bool isOverride(void) const { return ((flags&is_override)!=0); } ///< Return \b true if \b this is a call site override | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:241:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 241 | uintm getDefaultValue(const string &nm) const; ///< Retrieve the default value for a context variable | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:189:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 189 | virtual const uintm *getContext(const Address &addr) const=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:242:57: error: ‘uintm’ has not been declared 242 | void setVariable(const string &nm,const Address &addr,uintm value); ///< Set a context value at the given address | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:315:3: error: ‘int4’ does not name a type; did you mean ‘int’? 315 | int4 getNumIterations(void) const { return numIterations; } ///< Get the current number of iterations | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:316:14: error: ‘int4’ has not been declared 316 | void solve(int4 max,Widener &widener); ///< Iterate the ValueSet system until it stabilizes | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:199:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 199 | virtual const uintm *getContext(const Address &addr,uintb &first,uintb &last) const=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:243:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 243 | uintm getVariable(const string &nm,const Address &addr) const; ///< Retrieve a context value at the given address | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:244:50: error: ‘int4’ has not been declared 244 | void setContextChangePoint(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:244:59: error: ‘uintm’ has not been declared 244 | void setContextChangePoint(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:244:70: error: ‘uintm’ has not been declared 244 | void setContextChangePoint(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:240:44: error: ‘uintm’ has not been declared 240 | void setVariableDefault(const string &nm,uintm val); ///< Provide a default value for a context variable | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:245:67: error: ‘int4’ has not been declared 245 | void setContextRegion(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:245:76: error: ‘uintm’ has not been declared 245 | void setContextRegion(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:245:87: error: ‘uintm’ has not been declared 245 | void setContextRegion(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:247:47: error: ‘uintm’ has not been declared 247 | const Address &endad,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:241:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 241 | uintm getDefaultValue(const string &nm) const; ///< Retrieve the default value for a context variable | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:242:57: error: ‘uintm’ has not been declared 242 | void setVariable(const string &nm,const Address &addr,uintm value); ///< Set a context value at the given address | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:248:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 248 | uintb getTrackedValue(const VarnodeData &mem,const Address &point) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void FuncProto::setOverride(bool)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1359:32: error: ‘flags’ was not declared in this scope 1359 | void setOverride(bool val) { flags = val ? (flags|is_override) : (flags & ~((uint4)is_override)); } ///< Toggle whether \b this is a call site override | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:243:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 243 | uintm getVariable(const string &nm,const Address &addr) const; ///< Retrieve a context value at the given address | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:244:50: error: ‘int4’ has not been declared 244 | void setContextChangePoint(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:244:59: error: ‘uintm’ has not been declared 244 | void setContextChangePoint(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:244:70: error: ‘uintm’ has not been declared 244 | void setContextChangePoint(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:245:67: error: ‘int4’ has not been declared 245 | void setContextRegion(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:245:76: error: ‘uintm’ has not been declared 245 | void setContextRegion(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:245:87: error: ‘uintm’ has not been declared 245 | void setContextRegion(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:247:47: error: ‘uintm’ has not been declared 247 | const Address &endad,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:264:5: error: ‘uintm’ does not name a type; did you mean ‘uint’? 264 | uintm *array; ///< The "array of words" holding context variable values | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:248:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 248 | uintb getTrackedValue(const VarnodeData &mem,const Address &point) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:265:5: error: ‘uintm’ does not name a type; did you mean ‘uint’? 265 | uintm *mask; ///< The mask array indicating which variables are explicitly set | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1359:80: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 1359 | void setOverride(bool val) { flags = val ? (flags|is_override) : (flags & ~((uint4)is_override)); } ///< Toggle whether \b this is a call site override | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1359:86: error: expected ‘)’ before ‘is_override’ 1359 | void setOverride(bool val) { flags = val ? (flags|is_override) : (flags & ~((uint4)is_override)); } ///< Toggle whether \b this is a call site override | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1359:78: note: to match this ‘(’ 1359 | void setOverride(bool val) { flags = val ? (flags|is_override) : (flags & ~((uint4)is_override)); } ///< Toggle whether \b this is a call site override | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1359:99: error: expected ‘)’ before ‘;’ token 1359 | void setOverride(bool val) { flags = val ? (flags|is_override) : (flags & ~((uint4)is_override)); } ///< Toggle whether \b this is a call site override | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1359:68: note: to match this ‘(’ 1359 | void setOverride(bool val) { flags = val ? (flags|is_override) : (flags & ~((uint4)is_override)); } ///< Toggle whether \b this is a call site override | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:266:5: error: ‘int4’ does not name a type; did you mean ‘int’? 266 | int4 size; ///< The number of words in the array | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:269:16: error: ‘int4’ has not been declared 269 | void reset(int4 sz); ///< Resize the context blob, preserving old values | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:264:5: error: ‘uintm’ does not name a type; did you mean ‘uint’? 264 | uintm *array; ///< The "array of words" holding context variable values | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:265:5: error: ‘uintm’ does not name a type; did you mean ‘uint’? 265 | uintm *mask; ///< The mask array indicating which variables are explicitly set | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:273:3: error: ‘int4’ does not name a type; did you mean ‘int’? 273 | int4 size; ///< Number of words in a context blob (for this architecture) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1454:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1454 | int4 effective_extrapop; ///< Working extrapop for the CALL | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:266:5: error: ‘int4’ does not name a type; did you mean ‘int’? 266 | int4 size; ///< The number of words in the array | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:269:16: error: ‘int4’ has not been declared 269 | void reset(int4 sz); ///< Resize the context blob, preserving old values | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh: In member function ‘bool CircleRange::operator==(const CircleRange&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:334:23: error: ‘const class CircleRange’ has no member named ‘left’ 334 | return (left == op2.left) && (right == op2.right) && (mask == op2.mask) && (step == op2.step); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:334:46: error: ‘const class CircleRange’ has no member named ‘right’ 334 | return (left == op2.left) && (right == op2.right) && (mask == op2.mask) && (step == op2.step); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1455:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 1455 | uintb stackoffset; ///< Relative offset of stack-pointer at time of this call | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:273:3: error: ‘int4’ does not name a type; did you mean ‘int’? 273 | int4 size; ///< Number of words in a context blob (for this architecture) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1456:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1456 | int4 stackPlaceholderSlot; ///< Slot containing temporary stack tracing placeholder (-1 means unused) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1457:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1457 | int4 paramshift; ///< Number of input parameters to ignore before prototype | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1458:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1458 | int4 matchCallCount; ///< Number of calls to this sub-function within the calling function | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:334:57: error: ‘mask’ was not declared in this scope 334 | return (left == op2.left) && (right == op2.right) && (mask == op2.mask) && (step == op2.step); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:334:69: error: ‘const class CircleRange’ has no member named ‘mask’ 334 | return (left == op2.left) && (right == op2.right) && (mask == op2.mask) && (step == op2.step); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1461:18: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 1461 | mutable vector inputConsume; ///< Number of bytes consumed by sub-function, for each input parameter | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1461:22: error: template argument 1 is invalid 1461 | mutable vector inputConsume; ///< Number of bytes consumed by sub-function, for each input parameter | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1461:22: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1467:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1467 | int4 transferLockedInputParam(ProtoParameter *param); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1486:29: error: ‘int4’ has not been declared 1486 | void setEffectiveExtraPop(int4 epop) { effective_extrapop = epop; } ///< Set the specific \e extrapop associate with \b this call site | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:334:79: error: ‘step’ was not declared in this scope; did you mean ‘strsep’? 334 | return (left == op2.left) && (right == op2.right) && (mask == op2.mask) && (step == op2.step); | ^~~~ | strsep /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:334:91: error: ‘const class CircleRange’ has no member named ‘step’ 334 | return (left == op2.left) && (right == op2.right) && (mask == op2.mask) && (step == op2.step); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:356:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 356 | inline char CircleRange::encodeRangeOverlaps(uintb op1left, uintb op1right, uintb op2left, uintb op2right) | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:356:13: error: ‘char CircleRange::encodeRangeOverlaps’ is not a static data member of ‘class CircleRange’ 356 | inline char CircleRange::encodeRangeOverlaps(uintb op1left, uintb op1right, uintb op2left, uintb op2right) | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1487:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1487 | int4 getEffectiveExtraPop(void) const { return effective_extrapop; } ///< Get the specific \e extrapop associate with \b this call site | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1488:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 1488 | uintb getSpacebaseOffset(void) const { return stackoffset; } ///< Get the stack-pointer relative offset at the point of \b this call site | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1489:22: error: ‘int4’ has not been declared 1489 | void setParamshift(int4 val) { paramshift = val; } ///< Set a parameter shift for this call site | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1490:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1490 | int4 getParamshift(void) const { return paramshift; } ///< Get the parameter shift for this call site | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:356:46: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 356 | inline char CircleRange::encodeRangeOverlaps(uintb op1left, uintb op1right, uintb op2left, uintb op2right) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1491:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1491 | int4 getMatchCallCount(void) const { return matchCallCount; } ///< Get the number of calls the caller makes to \b this sub-function | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1492:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1492 | int4 getStackPlaceholderSlot(void) const { return stackPlaceholderSlot; } ///< Get the slot of the stack-pointer placeholder | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1493:32: error: ‘int4’ has not been declared 1493 | void setStackPlaceholderSlot(int4 slot) { stackPlaceholderSlot = slot; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1509:23: error: ‘int4’ has not been declared 1509 | bool checkInputJoin(int4 slot1,bool ishislot,Varnode *vn1,Varnode *vn2) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1510:20: error: ‘int4’ has not been declared 1510 | void doInputJoin(int4 slot1,bool ishislot); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:356:61: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 356 | inline char CircleRange::encodeRangeOverlaps(uintb op1left, uintb op1right, uintb op2left, uintb op2right) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1522:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1522 | int4 getInputBytesConsumed(int4 slot) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1523:30: error: ‘int4’ has not been declared 1523 | bool setInputBytesConsumed(int4 slot,int4 val) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1523:40: error: ‘int4’ has not been declared 1523 | bool setInputBytesConsumed(int4 slot,int4 val) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1526:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 1526 | uint4 hasEffectTranslate(const Address &addr,int4 size) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:356:77: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 356 | inline char CircleRange::encodeRangeOverlaps(uintb op1left, uintb op1right, uintb op2left, uintb op2right) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:356:92: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 356 | inline char CircleRange::encodeRangeOverlaps(uintb op1left, uintb op1right, uintb op2left, uintb op2right) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:356:106: error: expression list treated as compound expression in initializer [-fpermissive] 356 | inline char CircleRange::encodeRangeOverlaps(uintb op1left, uintb op1right, uintb op2left, uintb op2right) | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:373:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 373 | inline bool ValueSet::doesEquationApply(int4 num,int4 slot) const | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:373:13: error: ‘bool ValueSet::doesEquationApply’ is not a static data member of ‘class ValueSet’ 373 | inline bool ValueSet::doesEquationApply(int4 num,int4 slot) const | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:373:41: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 373 | inline bool ValueSet::doesEquationApply(int4 num,int4 slot) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void FuncCallSpecs::setEffectiveExtraPop(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1486:42: error: ‘effective_extrapop’ was not declared in this scope; did you mean ‘setEffectiveExtraPop’? 1486 | void setEffectiveExtraPop(int4 epop) { effective_extrapop = epop; } ///< Set the specific \e extrapop associate with \b this call site | ^~~~~~~~~~~~~~~~~~ | setEffectiveExtraPop /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:373:50: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 373 | inline bool ValueSet::doesEquationApply(int4 num,int4 slot) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangeutil.hh:373:59: error: expression list treated as compound expression in initializer [-fpermissive] 373 | inline bool ValueSet::doesEquationApply(int4 num,int4 slot) const | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void FuncCallSpecs::setParamshift(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1489:34: error: ‘paramshift’ was not declared in this scope; did you mean ‘paramShift’? 1489 | void setParamshift(int4 val) { paramshift = val; } ///< Set a parameter shift for this call site | ^~~~~~~~~~ | paramShift In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:18: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:44:3: error: ‘int4’ does not name a type; did you mean ‘int’? 44 | int4 size; ///< Size of table entry | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:45:3: error: ‘int4’ does not name a type; did you mean ‘int’? 45 | int4 num; ///< Number of entries in table; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:48:31: error: ‘int4’ has not been declared 48 | LoadTable(const Address &ad,int4 sz) { addr = ad, size = sz; num = 1; } ///< Constructor for a single entry table | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:49:31: error: ‘int4’ has not been declared 49 | LoadTable(const Address &ad,int4 sz,int4 nm) { addr = ad; size = sz; num = nm; } ///< Construct a full table | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:49:39: error: ‘int4’ has not been declared 49 | LoadTable(const Address &ad,int4 sz,int4 nm) { addr = ad; size = sz; num = nm; } ///< Construct a full table | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void FuncCallSpecs::setStackPlaceholderSlot(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1493:45: error: ‘stackPlaceholderSlot’ was not declared in this scope; did you mean ‘setStackPlaceholderSlot’? 1493 | void setStackPlaceholderSlot(int4 slot) { stackPlaceholderSlot = slot; | ^~~~~~~~~~~~~~~~~~~~ | setStackPlaceholderSlot /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: In constructor ‘LoadTable::LoadTable(const Address&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:48:53: error: ‘size’ was not declared in this scope 48 | LoadTable(const Address &ad,int4 sz) { addr = ad, size = sz; num = 1; } ///< Constructor for a single entry table | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void FuncCallSpecs::clearStackPlaceholderSlot()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1496:5: error: ‘stackPlaceholderSlot’ was not declared in this scope; did you mean ‘setStackPlaceholderSlot’? 1496 | stackPlaceholderSlot = -1; if (isinputactive) activeinput.freePlaceholderSlot(); } ///< Release the stack-pointer placeholder | ^~~~~~~~~~~~~~~~~~~~ | setStackPlaceholderSlot /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:277:57: error: ‘uintm’ does not name a type; did you mean ‘uint’? 277 | void saveContext(ostream &s,const Address &addr,const uintm *vec) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:48:64: error: ‘num’ was not declared in this scope; did you mean ‘enum’? 48 | LoadTable(const Address &ad,int4 sz) { addr = ad, size = sz; num = 1; } ///< Constructor for a single entry table | ^~~ | enum /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:277:57: error: ‘uintm’ does not name a type; did you mean ‘uint’? 277 | void saveContext(ostream &s,const Address &addr,const uintm *vec) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 1 is invalid 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In static member function ‘static FuncCallSpecs* FuncCallSpecs::getFspecFromConst(const Address&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1533:91: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 1533 | static FuncCallSpecs *getFspecFromConst(const Address &addr) { return (FuncCallSpecs *)(uintp)addr.getOffset(); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1533:97: error: expected ‘;’ before ‘addr’ 1533 | static FuncCallSpecs *getFspecFromConst(const Address &addr) { return (FuncCallSpecs *)(uintp)addr.getOffset(); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: In constructor ‘LoadTable::LoadTable(const Address&, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:49:61: error: ‘size’ was not declared in this scope 49 | LoadTable(const Address &ad,int4 sz,int4 nm) { addr = ad; size = sz; num = nm; } ///< Construct a full table | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1533:102: error: ‘const class Address’ has no member named ‘getOffset’ 1533 | static FuncCallSpecs *getFspecFromConst(const Address &addr) { return (FuncCallSpecs *)(uintp)addr.getOffset(); } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1549:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 1549 | inline const ParamTrial &ParamActive::getTrialForInputVarnode(int4 slot) const | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1549:26: error: ‘const ParamTrial& ParamActive::getTrialForInputVarnode’ is not a static data member of ‘class ParamActive’ 1549 | inline const ParamTrial &ParamActive::getTrialForInputVarnode(int4 slot) const | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 1 is invalid 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:49:72: error: ‘num’ was not declared in this scope; did you mean ‘nm’? 49 | LoadTable(const Address &ad,int4 sz,int4 nm) { addr = ad; size = sz; num = nm; } ///< Construct a full table | ^~~ | nm /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 1 is invalid 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1549:63: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 1549 | inline const ParamTrial &ParamActive::getTrialForInputVarnode(int4 slot) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 1 is invalid 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:70:5: error: ‘int4’ does not name a type; did you mean ‘int’? 70 | int4 rootVn; ///< The index, within commonVn, of the Varnode at the split point | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:71:25: error: ‘int4’ has not been declared 71 | RootedOp(PcodeOp *o,int4 root) { op = o; rootVn = root; } ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 1 is invalid 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:32: error: ‘vector’ is not a type 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:38: error: expected ‘,’ or ‘...’ before ‘<’ token 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 1 is invalid 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:32: error: ‘vector’ is not a type 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:38: error: expected ‘,’ or ‘...’ before ‘<’ token 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool EffectRecord::operator<(const EffectRecord&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1564:11: error: ‘type’ was not declared in this scope; did you mean ‘wctype’? 1564 | return (type < op2.type); | ^~~~ | wctype /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1564:22: error: ‘const class EffectRecord’ has no member named ‘type’ 1564 | return (type < op2.type); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 1 is invalid 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 1 is invalid 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool EffectRecord::operator==(const EffectRecord&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1571:11: error: ‘type’ was not declared in this scope; did you mean ‘wctype’? 1571 | return (type == op2.type); | ^~~~ | wctype /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1571:23: error: ‘const class EffectRecord’ has no member named ‘type’ 1571 | return (type == op2.type); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 1 is invalid 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 1 is invalid 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:75:33: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 75 | void internalIntersect(vector &parentMap); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:75:37: error: template argument 1 is invalid 75 | void internalIntersect(vector &parentMap); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:75:37: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 1 is invalid 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:39: error: ‘vector’ is not a type 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:45: error: expected ‘,’ or ‘...’ before ‘<’ token 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool EffectRecord::operator!=(const EffectRecord&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1578:11: error: ‘type’ was not declared in this scope; did you mean ‘wctype’? 1578 | return (type != op2.type); | ^~~~ | wctype /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1578:23: error: ‘const class EffectRecord’ has no member named ‘type’ 1578 | return (type != op2.type); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:76:3: error: ‘int4’ does not name a type; did you mean ‘int’? 76 | int4 meldOps(const vector &path,int4 cutOff,const vector &parentMap); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:77:22: error: ‘int4’ has not been declared 77 | void truncatePaths(int4 cutPoint); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:85:27: error: ‘int4’ has not been declared 85 | void markPaths(bool val,int4 startVarnode); ///< Mark PcodeOps paths from the given start | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 1 is invalid 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:284:11: error: ‘uintm’ does not name a type; did you mean ‘uint’? 284 | virtual uintm *getDefaultValue(void) { return database.defaultValue().array; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:39: error: ‘vector’ is not a type 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:45: error: expected ‘,’ or ‘...’ before ‘<’ token 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:29, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:31:3: error: ‘int4’ does not name a type; did you mean ‘int’? 31 | int4 word; ///< Index of word containing this context value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:86:3: error: ‘int4’ does not name a type; did you mean ‘int’? 86 | int4 numCommonVarnode(void) const { return commonVn.size(); } ///< Return the number of Varnodes common to all paths | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:285:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 285 | virtual const uintm *getDefaultValue(void) const { return database.defaultValue().array; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:284:11: error: ‘uintm’ does not name a type; did you mean ‘uint’? 284 | virtual uintm *getDefaultValue(void) { return database.defaultValue().array; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:32:3: error: ‘int4’ does not name a type; did you mean ‘int’? 32 | int4 startbit; ///< Starting bit of the value within its word (0=most significant bit 1=least significant) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:87:3: error: ‘int4’ does not name a type; did you mean ‘int’? 87 | int4 numOps(void) const { return opMeld.size(); } ///< Return the number of PcodeOps across all paths | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:88:23: error: ‘int4’ has not been declared 88 | Varnode *getVarnode(int4 i) const { return commonVn[i]; } ///< Get the i-th common Varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:89:24: error: ‘int4’ has not been declared 89 | Varnode *getOpParent(int4 i) const { return commonVn[ opMeld[i].rootVn ]; } ///< Get the split-point for the i-th PcodeOp | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:285:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 285 | virtual const uintm *getDefaultValue(void) const { return database.defaultValue().array; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:90:18: error: ‘int4’ has not been declared 90 | PcodeOp *getOp(int4 i) const { return opMeld[i].op; } ///< Get the i-th PcodeOp | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:289:11: error: ‘int4’ does not name a type; did you mean ‘int’? 289 | virtual int4 getContextSize(void) const { return size; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:290:50: error: ‘int4’ has not been declared 290 | virtual void registerVariable(const string &nm,int4 sbit,int4 ebit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:91:26: error: ‘int4’ has not been declared 91 | PcodeOp *getEarliestOp(int4 pos) const; ///< Find \e earliest PcodeOp that has a specific common Varnode as input | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:290:60: error: ‘int4’ has not been declared 290 | virtual void registerVariable(const string &nm,int4 sbit,int4 ebit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:33:3: error: ‘int4’ does not name a type; did you mean ‘int’? 33 | int4 endbit; ///< Ending bit of the value within its word | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:289:11: error: ‘int4’ does not name a type; did you mean ‘int’? 289 | virtual int4 getContextSize(void) const { return size; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:290:50: error: ‘int4’ has not been declared 290 | virtual void registerVariable(const string &nm,int4 sbit,int4 ebit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:290:60: error: ‘int4’ has not been declared 290 | virtual void registerVariable(const string &nm,int4 sbit,int4 ebit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:292:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 292 | virtual const uintm *getContext(const Address &addr) const { return database.getValue(addr).array; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:34:3: error: ‘int4’ does not name a type; did you mean ‘int’? 34 | int4 shift; ///< Right-shift amount to apply when unpacking this value from its word | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:292:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 292 | virtual const uintm *getContext(const Address &addr) const { return database.getValue(addr).array; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:35:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 35 | uintm mask; ///< Mask to apply (after shifting) when unpacking this value from its word | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:293:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 293 | virtual const uintm *getContext(const Address &addr,uintb &first,uintb &last) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:38:23: error: expected ‘)’ before ‘sbit’ 38 | ContextBitRange(int4 sbit,int4 ebit); ///< Construct a context value given an absolute bit range | ~ ^~~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:293:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 293 | virtual const uintm *getContext(const Address &addr,uintb &first,uintb &last) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:39:3: error: ‘int4’ does not name a type; did you mean ‘int’? 39 | int4 getShift(void) const { return shift; } ///< Return the shift-amount for \b this value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:40:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 40 | uintm getMask(void) const { return mask; } ///< Return the mask for \b this value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: In constructor ‘PathMeld::RootedOp::RootedOp(PcodeOp*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:71:46: error: ‘rootVn’ was not declared in this scope; did you mean ‘root’? 71 | RootedOp(PcodeOp *o,int4 root) { op = o; rootVn = root; } ///< Constructor | ^~~~~~ | root /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: In member function ‘Varnode* PathMeld::getOpParent(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:89:67: error: ‘const value_type’ {aka ‘const struct PathMeld::RootedOp’} has no member named ‘rootVn’ 89 | Varnode *getOpParent(int4 i) const { return commonVn[ opMeld[i].rootVn ]; } ///< Get the split-point for the i-th PcodeOp | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:41:3: error: ‘int4’ does not name a type; did you mean ‘int’? 41 | int4 getWord(void) const { return word; } ///< Return the word index for \b this value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:47:17: error: ‘uintm’ has not been declared 47 | void setValue(uintm *vec,uintm val) const { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:47:28: error: ‘uintm’ has not been declared 47 | void setValue(uintm *vec,uintm val) const { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: In constructor ‘ContextInternal::FreeArray::FreeArray()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:23: error: ‘size’ was not declared in this scope 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:37: error: missing template arguments before ‘=’ token 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:58:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 58 | uintm getValue(const uintm *vec) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: In constructor ‘ContextInternal::FreeArray::FreeArray()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:23: error: ‘size’ was not declared in this scope 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:37: error: missing template arguments before ‘=’ token 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:102:17: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 102 | map varnodeMap; ///< Light-weight memory state based on Varnodes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:102:22: error: template argument 2 is invalid 102 | map varnodeMap; ///< Light-weight memory state based on Varnodes | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:102:22: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:40: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:47: error: expected primary-expression before ‘)’ token 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: In member function ‘void ContextBitRange::setValue(int*, int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:48:5: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 48 | uintm newval = vec[word]; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:40: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:47: error: expected primary-expression before ‘)’ token 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:51: error: ‘mask’ was not declared in this scope 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:66: error: expected primary-expression before ‘)’ token 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:51: error: ‘mask’ was not declared in this scope 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:66: error: expected primary-expression before ‘)’ token 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:49:5: error: ‘newval’ was not declared in this scope 49 | newval &= ~(mask< &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 1 is invalid 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:188:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 188 | virtual uintb getSize(void) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:189:25: error: ‘uintb’ has not been declared 189 | virtual bool contains(uintb val) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:192:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 192 | virtual uintb getValue(void) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 1 is invalid 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:204:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 204 | uintb extravalue; ///< The extra value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:209:22: error: ‘uintb’ has not been declared 209 | void setExtraValue(uintb val) { extravalue = val; } ///< Set the extra value explicitly | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: In constructor ‘ContextInternal::ContextInternal()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:287:27: error: ‘size’ was not declared in this scope 287 | ContextInternal(void) { size = 0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: In constructor ‘ContextInternal::ContextInternal()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:287:27: error: ‘size’ was not declared in this scope 287 | ContextInternal(void) { size = 0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:212:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 212 | virtual uintb getSize(void) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:213:25: error: ‘uintb’ has not been declared 213 | virtual bool contains(uintb val) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:313:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 313 | mutable uintb first; ///< Starting offset of the current valid range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:313:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 313 | mutable uintb first; ///< Starting offset of the current valid range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 1 is invalid 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:32: error: ‘vector’ is not a type 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:139:38: error: expected ‘,’ or ‘...’ before ‘<’ token 139 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:314:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 314 | mutable uintb last; ///< Ending offset of the current valid range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:314:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 314 | mutable uintb last; ///< Ending offset of the current valid range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:315:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 315 | mutable const uintm *context; ///< The current cached context blob | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:320:39: error: ‘uintm’ has not been declared 320 | void getContext(const Address &addr,uintm *buf) const; ///< Retrieve the context blob for the given address | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:315:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 315 | mutable const uintm *context; ///< The current cached context blob | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:321:39: error: ‘int4’ has not been declared 321 | void setContext(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:321:48: error: ‘uintm’ has not been declared 321 | void setContext(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:321:59: error: ‘uintm’ has not been declared 321 | void setContext(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:320:39: error: ‘uintm’ has not been declared 320 | void getContext(const Address &addr,uintm *buf) const; ///< Retrieve the context blob for the given address | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:321:39: error: ‘int4’ has not been declared 321 | void setContext(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:322:61: error: ‘int4’ has not been declared 322 | void setContext(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:321:48: error: ‘uintm’ has not been declared 321 | void setContext(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:322:70: error: ‘uintm’ has not been declared 322 | void setContext(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:321:59: error: ‘uintm’ has not been declared 321 | void setContext(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:322:81: error: ‘uintm’ has not been declared 322 | void setContext(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:322:61: error: ‘int4’ has not been declared 322 | void setContext(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:322:70: error: ‘uintm’ has not been declared 322 | void setContext(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:322:81: error: ‘uintm’ has not been declared 322 | void setContext(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 1 is invalid 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 2 is invalid In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:30, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:39:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 39 | uint4 type; ///< The properties associated with the comment | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:30, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:39:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 39 | uint4 type; ///< The properties associated with the comment | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:40:3: error: ‘int4’ does not name a type; did you mean ‘int’? 40 | int4 uniq; ///< Sub-identifier for uniqueness | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: In member function ‘void JumpValuesRangeDefault::setExtraValue(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:209:35: error: ‘extravalue’ was not declared in this scope; did you mean ‘setExtraValue’? 209 | void setExtraValue(uintb val) { extravalue = val; } ///< Set the extra value explicitly | ^~~~~~~~~~ | setExtraValue /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:40:3: error: ‘int4’ does not name a type; did you mean ‘int’? 40 | int4 uniq; ///< Sub-identifier for uniqueness | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:55:16: error: expected ‘)’ before ‘tp’ 55 | Comment(uint4 tp,const Address &fad,const Address &ad,int4 uq,const string &txt); ///< Constructor | ~ ^~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:55:16: error: expected ‘)’ before ‘tp’ 55 | Comment(uint4 tp,const Address &fad,const Address &ad,int4 uq,const string &txt); ///< Constructor | ~ ^~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 1 is invalid 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:59:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 59 | uint4 getType(void) const { return type; } ///< Get the properties associated with the comment | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:59:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 59 | uint4 getType(void) const { return type; } ///< Get the properties associated with the comment | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:239:11: error: ‘int4’ does not name a type; did you mean ‘int’? 239 | virtual int4 getTableSize(void) const=0; ///< Return the number of entries in the address table | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:249:57: error: ‘uint4’ has not been declared 249 | virtual bool recoverModel(Funcdata *fd,PcodeOp *indop,uint4 matchsize,uint4 maxtablesize)=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:249:73: error: ‘uint4’ has not been declared 249 | virtual bool recoverModel(Funcdata *fd,PcodeOp *indop,uint4 matchsize,uint4 maxtablesize)=0; | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:18: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:268:33: error: ‘uint4’ has not been declared 268 | virtual void findUnnormalized(uint4 maxaddsub,uint4 maxleftright,uint4 maxext)=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:268:49: error: ‘uint4’ has not been declared 268 | virtual void findUnnormalized(uint4 maxaddsub,uint4 maxleftright,uint4 maxext)=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:268:68: error: ‘uint4’ has not been declared 268 | virtual void findUnnormalized(uint4 maxaddsub,uint4 maxleftright,uint4 maxext)=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:62:3: error: ‘int4’ does not name a type; did you mean ‘int’? 62 | int4 getUniq(void) const { return uniq; } ///< Get the sub-sorting index | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:62:3: error: ‘int4’ does not name a type; did you mean ‘int’? 62 | int4 getUniq(void) const { return uniq; } ///< Get the sub-sorting index | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:66:10: error: ‘uint4’ does not name a type; did you mean ‘uint’? 66 | static uint4 encodeCommentType(const string &name); ///< Convert name string to comment property | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:66:10: error: ‘uint4’ does not name a type; did you mean ‘uint’? 66 | static uint4 encodeCommentType(const string &name); ///< Convert name string to comment property | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:67:35: error: ‘uint4’ has not been declared 67 | static string decodeCommentType(uint4 val); ///< Convert comment property to string | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:67:35: error: ‘uint4’ has not been declared 67 | static string decodeCommentType(uint4 val); ///< Convert comment property to string | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 1 is invalid 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:39: error: ‘vector’ is not a type 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:151:45: error: expected ‘,’ or ‘...’ before ‘<’ token 151 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask)=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:98:45: error: ‘uint4’ has not been declared 98 | virtual void clearType(const Address &fad,uint4 tp)=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:106:27: error: ‘uint4’ has not been declared 106 | virtual void addComment(uint4 tp,const Address &fad, | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:98:45: error: ‘uint4’ has not been declared 98 | virtual void clearType(const Address &fad,uint4 tp)=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:118:38: error: ‘uint4’ has not been declared 118 | virtual bool addCommentNoDuplicate(uint4 tp,const Address &fad,const Address &ad,const string &txt)=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:106:27: error: ‘uint4’ has not been declared 106 | virtual void addComment(uint4 tp,const Address &fad, | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:118:38: error: ‘uint4’ has not been declared 118 | virtual bool addCommentNoDuplicate(uint4 tp,const Address &fad,const Address &ad,const string &txt)=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:280:78: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 280 | virtual void buildLabels(Funcdata *fd,vector
&addresstable,vector &label,const JumpModel *orig) const=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:280:83: error: template argument 1 is invalid 280 | virtual void buildLabels(Funcdata *fd,vector
&addresstable,vector &label,const JumpModel *orig) const=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:280:83: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:158:11: error: ‘uintm’ does not name a type; did you mean ‘uint’? 158 | virtual uintm *getDefaultValue(void)=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:165:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 165 | virtual const uintm *getDefaultValue(void) const=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:323:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 323 | uint4 size; ///< Number of addresses in the table as reported by the JumpTable | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:172:11: error: ‘int4’ does not name a type; did you mean ‘int’? 172 | virtual int4 getContextSize(void) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:183:50: error: ‘int4’ has not been declared 183 | virtual void registerVariable(const string &nm,int4 sbit,int4 ebit)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:183:60: error: ‘int4’ has not been declared 183 | virtual void registerVariable(const string &nm,int4 sbit,int4 ebit)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:327:11: error: ‘int4’ does not name a type; did you mean ‘int’? 327 | virtual int4 getTableSize(void) const { return size; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:328:57: error: ‘uint4’ has not been declared 328 | virtual bool recoverModel(Funcdata *fd,PcodeOp *indop,uint4 matchsize,uint4 maxtablesize); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:328:73: error: ‘uint4’ has not been declared 328 | virtual bool recoverModel(Funcdata *fd,PcodeOp *indop,uint4 matchsize,uint4 maxtablesize); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:189:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 189 | virtual const uintm *getContext(const Address &addr) const=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:330:33: error: ‘uint4’ has not been declared 330 | virtual void findUnnormalized(uint4 maxaddsub,uint4 maxleftright,uint4 maxext) {} | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:330:49: error: ‘uint4’ has not been declared 330 | virtual void findUnnormalized(uint4 maxaddsub,uint4 maxleftright,uint4 maxext) {} | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:330:68: error: ‘uint4’ has not been declared 330 | virtual void findUnnormalized(uint4 maxaddsub,uint4 maxleftright,uint4 maxext) {} | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:199:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 199 | virtual const uintm *getContext(const Address &addr,uintb &first,uintb &last) const=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:240:44: error: ‘uintm’ has not been declared 240 | void setVariableDefault(const string &nm,uintm val); ///< Provide a default value for a context variable | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:241:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 241 | uintm getDefaultValue(const string &nm) const; ///< Retrieve the default value for a context variable | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:242:57: error: ‘uintm’ has not been declared 242 | void setVariable(const string &nm,const Address &addr,uintm value); ///< Set a context value at the given address | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:331:78: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 331 | virtual void buildLabels(Funcdata *fd,vector
&addresstable,vector &label,const JumpModel *orig) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:331:83: error: template argument 1 is invalid 331 | virtual void buildLabels(Funcdata *fd,vector
&addresstable,vector &label,const JumpModel *orig) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:331:83: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:243:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 243 | uintm getVariable(const string &nm,const Address &addr) const; ///< Retrieve a context value at the given address | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:244:50: error: ‘int4’ has not been declared 244 | void setContextChangePoint(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:244:59: error: ‘uintm’ has not been declared 244 | void setContextChangePoint(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:244:70: error: ‘uintm’ has not been declared 244 | void setContextChangePoint(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:245:67: error: ‘int4’ has not been declared 245 | void setContextRegion(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:245:76: error: ‘uintm’ has not been declared 245 | void setContextRegion(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:245:87: error: ‘uintm’ has not been declared 245 | void setContextRegion(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:247:47: error: ‘uintm’ has not been declared 247 | const Address &endad,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:248:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 248 | uintb getTrackedValue(const VarnodeData &mem,const Address &point) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:264:5: error: ‘uintm’ does not name a type; did you mean ‘uint’? 264 | uintm *array; ///< The "array of words" holding context variable values | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:162:45: error: ‘uint4’ has not been declared 162 | virtual void clearType(const Address &fad,uint4 tp); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:163:27: error: ‘uint4’ has not been declared 163 | virtual void addComment(uint4 tp,const Address &fad, | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:165:38: error: ‘uint4’ has not been declared 165 | virtual bool addCommentNoDuplicate(uint4 tp,const Address &fad,const Address &ad,const string &txt); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: In constructor ‘JumpModelTrivial::JumpModelTrivial(JumpTable*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:325:53: error: ‘size’ was not declared in this scope 325 | JumpModelTrivial(JumpTable *jt) : JumpModel(jt) { size = 0; } ///< Construct given a parent JumpTable | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:162:45: error: ‘uint4’ has not been declared 162 | virtual void clearType(const Address &fad,uint4 tp); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:163:27: error: ‘uint4’ has not been declared 163 | virtual void addComment(uint4 tp,const Address &fad, | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:265:5: error: ‘uintm’ does not name a type; did you mean ‘uint’? 265 | uintm *mask; ///< The mask array indicating which variables are explicitly set | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:165:38: error: ‘uint4’ has not been declared 165 | virtual bool addCommentNoDuplicate(uint4 tp,const Address &fad,const Address &ad,const string &txt); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:266:5: error: ‘int4’ does not name a type; did you mean ‘int’? 266 | int4 size; ///< The number of words in the array | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:269:16: error: ‘int4’ has not been declared 269 | void reset(int4 sz); ///< Resize the context blob, preserving old values | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:199:5: error: ‘int4’ does not name a type; did you mean ‘int’? 199 | int4 index; ///< Either the basic block index or -1 for a function header | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:199:5: error: ‘int4’ does not name a type; did you mean ‘int’? 199 | int4 index; ///< Either the basic block index or -1 for a function header | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:273:3: error: ‘int4’ does not name a type; did you mean ‘int’? 273 | int4 size; ///< Number of words in a context blob (for this architecture) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:200:5: error: ‘uint4’ does not name a type; did you mean ‘uint’? 200 | uint4 order; ///< The order index within the basic block | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:200:5: error: ‘uint4’ does not name a type; did you mean ‘uint’? 200 | uint4 order; ///< The order index within the basic block | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:201:5: error: ‘uint4’ does not name a type; did you mean ‘uint’? 201 | uint4 pos; ///< A final count to guarantee a unique sorting | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:219:20: error: ‘uint4’ has not been declared 219 | void setHeader(uint4 headerType) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:228:19: error: ‘int4’ has not been declared 228 | void setBlock(int4 i,uint4 ord) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:228:26: error: ‘uint4’ has not been declared 228 | void setBlock(int4 i,uint4 ord) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:201:5: error: ‘uint4’ does not name a type; did you mean ‘uint’? 201 | uint4 pos; ///< A final count to guarantee a unique sorting | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:219:20: error: ‘uint4’ has not been declared 219 | void setHeader(uint4 headerType) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:228:19: error: ‘int4’ has not been declared 228 | void setBlock(int4 i,uint4 ord) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:228:26: error: ‘uint4’ has not been declared 228 | void setBlock(int4 i,uint4 ord) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:349:3: error: ‘int4’ does not name a type; did you mean ‘int’? 349 | int4 varnodeIndex; ///< Position of the normalized switch Varnode within PathMeld | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:354:10: error: ‘int4’ does not name a type; did you mean ‘int’? 354 | static int4 getStride(Varnode *vn); ///< Get the step/stride associated with the Varnode | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:355:10: error: ‘uintb’ does not name a type; did you mean ‘uint’? 355 | static uintb backup2Switch(Funcdata *fd,uintb output,Varnode *outvn,Varnode *invn); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:356:44: error: ‘int4’ has not been declared 356 | void findDeterminingVarnodes(PcodeOp *op,int4 slot); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:357:37: error: ‘int4’ has not been declared 357 | void analyzeGuards(BlockBasic *bl,int4 pathout); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:359:27: error: ‘uint4’ has not been declared 359 | void findSmallestNormal(uint4 matchsize); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:360:55: error: ‘int4’ has not been declared 360 | void findNormalized(Funcdata *fd,BlockBasic *rootbl,int4 pathout,uint4 matchsize,uint4 maxtablesize); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:360:68: error: ‘uint4’ has not been declared 360 | void findNormalized(Funcdata *fd,BlockBasic *rootbl,int4 pathout,uint4 matchsize,uint4 maxtablesize); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:360:84: error: ‘uint4’ has not been declared 360 | void findNormalized(Funcdata *fd,BlockBasic *rootbl,int4 pathout,uint4 matchsize,uint4 maxtablesize); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:381:11: error: ‘int4’ does not name a type; did you mean ‘int’? 381 | virtual int4 getTableSize(void) const { return jrange->getSize(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:382:57: error: ‘uint4’ has not been declared 382 | virtual bool recoverModel(Funcdata *fd,PcodeOp *indop,uint4 matchsize,uint4 maxtablesize); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:382:73: error: ‘uint4’ has not been declared 382 | virtual bool recoverModel(Funcdata *fd,PcodeOp *indop,uint4 matchsize,uint4 maxtablesize); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:384:33: error: ‘uint4’ has not been declared 384 | virtual void findUnnormalized(uint4 maxaddsub,uint4 maxleftright,uint4 maxext); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:384:49: error: ‘uint4’ has not been declared 384 | virtual void findUnnormalized(uint4 maxaddsub,uint4 maxleftright,uint4 maxext); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:384:68: error: ‘uint4’ has not been declared 384 | virtual void findUnnormalized(uint4 maxaddsub,uint4 maxleftright,uint4 maxext); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:241:26: error: ‘uint4’ has not been declared 241 | void setupFunctionList(uint4 tp,const Funcdata *fd,const CommentDatabase &db,bool displayUnplaced); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:244:20: error: ‘uint4’ has not been declared 244 | void setupHeader(uint4 headerType); ///< Prepare to walk comments in the header | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh: In member function ‘bool CommentSorter::Subsort::operator<(const CommentSorter::Subsort&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:208:24: error: ‘const struct CommentSorter::Subsort’ has no member named ‘index’ 208 | if (index == op2.index) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:385:78: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 385 | virtual void buildLabels(Funcdata *fd,vector
&addresstable,vector &label,const JumpModel *orig) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:385:83: error: template argument 1 is invalid 385 | virtual void buildLabels(Funcdata *fd,vector
&addresstable,vector &label,const JumpModel *orig) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:385:83: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:241:26: error: ‘uint4’ has not been declared 241 | void setupFunctionList(uint4 tp,const Funcdata *fd,const CommentDatabase &db,bool displayUnplaced); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:244:20: error: ‘uint4’ has not been declared 244 | void setupHeader(uint4 headerType); ///< Prepare to walk comments in the header | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh: In member function ‘bool CommentSorter::Subsort::operator<(const CommentSorter::Subsort&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:208:24: error: ‘const struct CommentSorter::Subsort’ has no member named ‘index’ 208 | if (index == op2.index) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:209:13: error: ‘order’ was not declared in this scope 209 | if (order == op2.order) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:209:26: error: ‘const struct CommentSorter::Subsort’ has no member named ‘order’ 209 | if (order == op2.order) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:209:13: error: ‘order’ was not declared in this scope 209 | if (order == op2.order) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:209:26: error: ‘const struct CommentSorter::Subsort’ has no member named ‘order’ 209 | if (order == op2.order) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:210:19: error: ‘pos’ was not declared in this scope 210 | return (pos < op2.pos); | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:210:29: error: ‘const struct CommentSorter::Subsort’ has no member named ‘pos’ 210 | return (pos < op2.pos); | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:210:19: error: ‘pos’ was not declared in this scope 210 | return (pos < op2.pos); | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:210:29: error: ‘const struct CommentSorter::Subsort’ has no member named ‘pos’ 210 | return (pos < op2.pos); | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:413:57: error: ‘uint4’ has not been declared 413 | virtual bool recoverModel(Funcdata *fd,PcodeOp *indop,uint4 matchsize,uint4 maxtablesize); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:413:73: error: ‘uint4’ has not been declared 413 | virtual bool recoverModel(Funcdata *fd,PcodeOp *indop,uint4 matchsize,uint4 maxtablesize); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:414:33: error: ‘uint4’ has not been declared 414 | virtual void findUnnormalized(uint4 maxaddsub,uint4 maxleftright,uint4 maxext); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:414:49: error: ‘uint4’ has not been declared 414 | virtual void findUnnormalized(uint4 maxaddsub,uint4 maxleftright,uint4 maxext); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:414:68: error: ‘uint4’ has not been declared 414 | virtual void findUnnormalized(uint4 maxaddsub,uint4 maxleftright,uint4 maxext); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:211:17: error: ‘order’ was not declared in this scope 211 | return (order < op2.order); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:211:29: error: ‘const struct CommentSorter::Subsort’ has no member named ‘order’ 211 | return (order < op2.order); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:213:27: error: ‘const struct CommentSorter::Subsort’ has no member named ‘index’ 213 | return (index < op2.index); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh: In member function ‘void CommentSorter::Subsort::setHeader(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:220:16: error: overloaded function with no contextual type information 220 | index = -1; // -1 indicates a header comment | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:211:17: error: ‘order’ was not declared in this scope 211 | return (order < op2.order); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:211:29: error: ‘const struct CommentSorter::Subsort’ has no member named ‘order’ 211 | return (order < op2.order); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:213:27: error: ‘const struct CommentSorter::Subsort’ has no member named ‘index’ 213 | return (index < op2.index); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh: In member function ‘void CommentSorter::Subsort::setHeader(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:220:16: error: overloaded function with no contextual type information 220 | index = -1; // -1 indicates a header comment | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:221:7: error: ‘order’ was not declared in this scope 221 | order = headerType; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh: In member function ‘void CommentSorter::Subsort::setBlock(int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:229:15: error: overloaded function with no contextual type information 229 | index = i; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:221:7: error: ‘order’ was not declared in this scope 221 | order = headerType; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh: In member function ‘void CommentSorter::Subsort::setBlock(int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:229:15: error: overloaded function with no contextual type information 229 | index = i; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:230:7: error: ‘order’ was not declared in this scope; did you mean ‘ord’? 230 | order = ord; | ^~~~~ | ord /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:230:7: error: ‘order’ was not declared in this scope; did you mean ‘ord’? 230 | order = ord; | ^~~~~ | ord /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:427:10: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 427 | vector values; ///< Normalized switch variable values associated with addresses | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:427:15: error: template argument 1 is invalid 427 | vector values; ///< Normalized switch variable values associated with addresses | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:427:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:277:57: error: ‘uintm’ does not name a type; did you mean ‘uint’? 277 | void saveContext(ostream &s,const Address &addr,const uintm *vec) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 1 is invalid 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:429:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 429 | uintb startingvalue; ///< Possible start for guessing values that match addresses | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 1 is invalid 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:431:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 431 | uint8 hash; ///< if (hash==0) there is no normalized switch (use trivial model) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:433:3: error: ‘int4’ does not name a type; did you mean ‘int’? 433 | int4 findStartOp(Varnode *vn); | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:31, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:37:12: error: ‘uint1’ was not declared in this scope; did you mean ‘uint’? 37 | vector byteData; ///< UTF8 encoded string data | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:37:17: error: template argument 1 is invalid 37 | vector byteData; ///< UTF8 encoded string data | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:37:17: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:434:3: error: ‘int4’ does not name a type; did you mean ‘int’? 434 | int4 trialNorm(Funcdata *fd,Varnode *trialvn,uint4 tolerance); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:441:36: error: ‘uintb’ has not been declared 441 | void setNorm(const Address &addr,uintb h) { normaddress = addr; hash = h; } ///< Set the normalized switch variable | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:442:25: error: ‘uintb’ has not been declared 442 | void setStartingValue(uintb val) { startingvalue = val; } ///< Set the starting value for the normalized range | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:31, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:37:12: error: ‘uint1’ was not declared in this scope; did you mean ‘uint’? 37 | vector byteData; ///< UTF8 encoded string data | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:37:17: error: template argument 1 is invalid 37 | vector byteData; ///< UTF8 encoded string data | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:37:17: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:39: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 1 is invalid 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:46: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:32: error: ‘vector’ is not a type 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:281:38: error: expected ‘,’ or ‘...’ before ‘<’ token 281 | virtual void getRegionForSet(vector &res,const Address &addr1, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:444:11: error: ‘int4’ does not name a type; did you mean ‘int’? 444 | virtual int4 getTableSize(void) const { return addrtable.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:445:57: error: ‘uint4’ has not been declared 445 | virtual bool recoverModel(Funcdata *fd,PcodeOp *indop,uint4 matchsize,uint4 maxtablesize); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:445:73: error: ‘uint4’ has not been declared 445 | virtual bool recoverModel(Funcdata *fd,PcodeOp *indop,uint4 matchsize,uint4 maxtablesize); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 1 is invalid 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:448:78: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 448 | virtual void buildLabels(Funcdata *fd,vector
&addresstable,vector &label,const JumpModel *orig) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:448:83: error: template argument 1 is invalid 448 | virtual void buildLabels(Funcdata *fd,vector
&addresstable,vector &label,const JumpModel *orig) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:448:83: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: In member function ‘void JumpBasicOverride::setNorm(const Address&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:441:72: error: missing template arguments before ‘=’ token 441 | void setNorm(const Address &addr,uintb h) { normaddress = addr; hash = h; } ///< Set the normalized switch variable | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 1 is invalid 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:46: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 1 is invalid 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:53: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:39: error: ‘vector’ is not a type 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:283:45: error: expected ‘,’ or ‘...’ before ‘<’ token 283 | virtual void getRegionToChangePoint(vector &res,const Address &addr,int4 num,uintm mask); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:284:11: error: ‘uintm’ does not name a type; did you mean ‘uint’? 284 | virtual uintm *getDefaultValue(void) { return database.defaultValue().array; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:40:3: error: ‘int4’ does not name a type; did you mean ‘int’? 40 | int4 maximumChars; ///< Maximum characters in a string before truncating | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:42:21: error: expected ‘)’ before ‘max’ 42 | StringManager(int4 max); ///< Constructor | ~ ^~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:285:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 285 | virtual const uintm *getDefaultValue(void) const { return database.defaultValue().array; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: In member function ‘void JumpBasicOverride::setStartingValue(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:442:38: error: ‘startingvalue’ was not declared in this scope; did you mean ‘setStartingValue’? 442 | void setStartingValue(uintb val) { startingvalue = val; } ///< Set the starting value for the normalized range | ^~~~~~~~~~~~~ | setStartingValue /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:40:3: error: ‘int4’ does not name a type; did you mean ‘int’? 40 | int4 maximumChars; ///< Maximum characters in a string before truncating | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:42:21: error: expected ‘)’ before ‘max’ 42 | StringManager(int4 max); ///< Constructor | ~ ^~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:289:11: error: ‘int4’ does not name a type; did you mean ‘int’? 289 | virtual int4 getContextSize(void) const { return size; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:290:50: error: ‘int4’ has not been declared 290 | virtual void registerVariable(const string &nm,int4 sbit,int4 ebit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:290:60: error: ‘int4’ has not been declared 290 | virtual void registerVariable(const string &nm,int4 sbit,int4 ebit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:475:3: error: ‘int4’ does not name a type; did you mean ‘int’? 475 | int4 sizeIndices; ///< Total number of indices in the table (not including the defaultaddress) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:292:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 292 | virtual const uintm *getContext(const Address &addr) const { return database.getValue(addr).array; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:57:24: error: ‘uint1’ was not declared in this scope; did you mean ‘uint’? 57 | virtual const vector &getStringData(const Address &addr,Datatype *charType,bool &isTrunc)=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:57:29: error: template argument 1 is invalid 57 | virtual const vector &getStringData(const Address &addr,Datatype *charType,bool &isTrunc)=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:57:29: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:481:11: error: ‘int4’ does not name a type; did you mean ‘int’? 481 | virtual int4 getTableSize(void) const { return sizeIndices+1; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:482:57: error: ‘uint4’ has not been declared 482 | virtual bool recoverModel(Funcdata *fd,PcodeOp *indop,uint4 matchsize,uint4 maxtablesize); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:482:73: error: ‘uint4’ has not been declared 482 | virtual bool recoverModel(Funcdata *fd,PcodeOp *indop,uint4 matchsize,uint4 maxtablesize); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:484:33: error: ‘uint4’ has not been declared 484 | virtual void findUnnormalized(uint4 maxaddsub,uint4 maxleftright,uint4 maxext) {} | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:484:49: error: ‘uint4’ has not been declared 484 | virtual void findUnnormalized(uint4 maxaddsub,uint4 maxleftright,uint4 maxext) {} | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:484:68: error: ‘uint4’ has not been declared 484 | virtual void findUnnormalized(uint4 maxaddsub,uint4 maxleftright,uint4 maxext) {} | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:293:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 293 | virtual const uintm *getContext(const Address &addr,uintb &first,uintb &last) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:57:24: error: ‘uint1’ was not declared in this scope; did you mean ‘uint’? 57 | virtual const vector &getStringData(const Address &addr,Datatype *charType,bool &isTrunc)=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:57:29: error: template argument 1 is invalid 57 | virtual const vector &getStringData(const Address &addr,Datatype *charType,bool &isTrunc)=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:57:29: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:62:39: error: ‘uint1’ does not name a type; did you mean ‘uint’? 62 | static bool hasCharTerminator(const uint1 *buffer,int4 size,int4 charsize); ///< Check for a unicode string terminator | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:62:53: error: ‘int4’ has not been declared 62 | static bool hasCharTerminator(const uint1 *buffer,int4 size,int4 charsize); ///< Check for a unicode string terminator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:62:63: error: ‘int4’ has not been declared 62 | static bool hasCharTerminator(const uint1 *buffer,int4 size,int4 charsize); ///< Check for a unicode string terminator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:62:39: error: ‘uint1’ does not name a type; did you mean ‘uint’? 62 | static bool hasCharTerminator(const uint1 *buffer,int4 size,int4 charsize); ///< Check for a unicode string terminator | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:62:53: error: ‘int4’ has not been declared 62 | static bool hasCharTerminator(const uint1 *buffer,int4 size,int4 charsize); ///< Check for a unicode string terminator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:62:63: error: ‘int4’ has not been declared 62 | static bool hasCharTerminator(const uint1 *buffer,int4 size,int4 charsize); ///< Check for a unicode string terminator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:63:10: error: ‘int4’ does not name a type; did you mean ‘int’? 63 | static int4 readUtf16(const uint1 *buf,bool bigend); ///< Read a UTF16 code point from a byte array | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:64:36: error: ‘int4’ has not been declared 64 | static void writeUtf8(ostream &s,int4 codepoint); ///< Write unicode character to stream in UTF8 encoding | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:63:10: error: ‘int4’ does not name a type; did you mean ‘int’? 63 | static int4 readUtf16(const uint1 *buf,bool bigend); ///< Read a UTF16 code point from a byte array | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:64:36: error: ‘int4’ has not been declared 64 | static void writeUtf8(ostream &s,int4 codepoint); ///< Write unicode character to stream in UTF8 encoding | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:485:78: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 485 | virtual void buildLabels(Funcdata *fd,vector
&addresstable,vector &label,const JumpModel *orig) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:485:83: error: template argument 1 is invalid 485 | virtual void buildLabels(Funcdata *fd,vector
&addresstable,vector &label,const JumpModel *orig) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:485:83: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:65:10: error: ‘int4’ does not name a type; did you mean ‘int’? 65 | static int4 getCodepoint(const uint1 *buf,int4 charsize,bool bigend,int4 &skip); ///< Extract next \e unicode \e codepoint | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: In constructor ‘ContextInternal::FreeArray::FreeArray()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:23: error: ‘size’ was not declared in this scope 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:65:10: error: ‘int4’ does not name a type; did you mean ‘int’? 65 | static int4 getCodepoint(const uint1 *buf,int4 charsize,bool bigend,int4 &skip); ///< Extract next \e unicode \e codepoint | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:37: error: missing template arguments before ‘=’ token 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:74:3: error: ‘uint1’ does not name a type; did you mean ‘uint’? 74 | uint1 *testBuffer; ///< Temporary buffer for pulling in loadimage bytes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:75:3: error: ‘int4’ does not name a type; did you mean ‘int’? 75 | int4 checkCharacters(const uint1 *buf,int4 size,int4 charsize) const; ///< Make sure buffer has valid bounded set of unicode | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:74:3: error: ‘uint1’ does not name a type; did you mean ‘uint’? 74 | uint1 *testBuffer; ///< Temporary buffer for pulling in loadimage bytes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:77:40: error: ‘int4’ has not been declared 77 | StringManagerUnicode(Architecture *g,int4 max); ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:75:3: error: ‘int4’ does not name a type; did you mean ‘int’? 75 | int4 checkCharacters(const uint1 *buf,int4 size,int4 charsize) const; ///< Make sure buffer has valid bounded set of unicode | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:77:40: error: ‘int4’ has not been declared 77 | StringManagerUnicode(Architecture *g,int4 max); ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:40: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:47: error: expected primary-expression before ‘)’ token 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:80:24: error: ‘uint1’ was not declared in this scope; did you mean ‘uint’? 80 | virtual const vector &getStringData(const Address &addr,Datatype *charType,bool &isTrunc); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:80:29: error: template argument 1 is invalid 80 | virtual const vector &getStringData(const Address &addr,Datatype *charType,bool &isTrunc); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:80:29: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:81:32: error: ‘uint1’ has not been declared 81 | bool writeUnicode(ostream &s,uint1 *buffer,int4 size,int4 charsize); ///< Translate/copy unicode to UTF8 | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:81:46: error: ‘int4’ has not been declared 81 | bool writeUnicode(ostream &s,uint1 *buffer,int4 size,int4 charsize); ///< Translate/copy unicode to UTF8 | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:81:56: error: ‘int4’ has not been declared 81 | bool writeUnicode(ostream &s,uint1 *buffer,int4 size,int4 charsize); ///< Translate/copy unicode to UTF8 | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:80:24: error: ‘uint1’ was not declared in this scope; did you mean ‘uint’? 80 | virtual const vector &getStringData(const Address &addr,Datatype *charType,bool &isTrunc); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:80:29: error: template argument 1 is invalid 80 | virtual const vector &getStringData(const Address &addr,Datatype *charType,bool &isTrunc); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:80:29: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:81:32: error: ‘uint1’ has not been declared 81 | bool writeUnicode(ostream &s,uint1 *buffer,int4 size,int4 charsize); ///< Translate/copy unicode to UTF8 | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:81:46: error: ‘int4’ has not been declared 81 | bool writeUnicode(ostream &s,uint1 *buffer,int4 size,int4 charsize); ///< Translate/copy unicode to UTF8 | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:81:56: error: ‘int4’ has not been declared 81 | bool writeUnicode(ostream &s,uint1 *buffer,int4 size,int4 charsize); ///< Translate/copy unicode to UTF8 | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:32, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:39:3: error: ‘int4’ does not name a type; did you mean ‘int’? 39 | int4 useropindex; ///< Index passed in the CALLOTHER op | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:42:48: error: ‘int4’ has not been declared 42 | UserPcodeOp(Architecture *g,const string &nm,int4 ind) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: In constructor ‘JumpAssisted::JumpAssisted(JumpTable*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:478:99: error: ‘sizeIndices’ was not declared in this scope 478 | JumpAssisted(JumpTable *jt) : JumpModel(jt) { assistOp = (PcodeOp *)0; switchvn = (Varnode *)0; sizeIndices=0; } ///< Constructor | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:51: error: ‘mask’ was not declared in this scope 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:267:66: error: expected primary-expression before ‘)’ token 267 | FreeArray(void) { size=0; array = (uintm *)0; mask = (uintm *)0; } ///< Construct an empty context blob | ^ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:32, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:39:3: error: ‘int4’ does not name a type; did you mean ‘int’? 39 | int4 useropindex; ///< Index passed in the CALLOTHER op | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:45:3: error: ‘int4’ does not name a type; did you mean ‘int’? 45 | int4 getIndex(void) const { return useropindex; } ///< Get the constant id of the op | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:42:48: error: ‘int4’ has not been declared 42 | UserPcodeOp(Architecture *g,const string &nm,int4 ind) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:502:5: error: ‘int4’ does not name a type; did you mean ‘int’? 502 | int4 blockPosition; ///< Out-edge index for the basic-block | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:45:3: error: ‘int4’ does not name a type; did you mean ‘int’? 45 | int4 getIndex(void) const { return useropindex; } ///< Get the constant id of the op | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:503:5: error: ‘int4’ does not name a type; did you mean ‘int’? 503 | int4 addressIndex; ///< Index of address targeting the basic-block | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:504:19: error: expected ‘)’ before ‘pos’ 504 | IndexPair(int4 pos,int4 index) { blockPosition = pos; addressIndex = index; } ///< Constructor | ~ ^~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: In destructor ‘ContextInternal::FreeArray::~FreeArray()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:268:28: error: ‘size’ was not declared in this scope 268 | ~FreeArray(void) { if (size!=0) { delete [] array; delete [] mask; } } ///< Destructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:268:54: error: missing template arguments before ‘;’ token 268 | ~FreeArray(void) { if (size!=0) { delete [] array; delete [] mask; } } ///< Destructor | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh: In constructor ‘UserPcodeOp::UserPcodeOp(Architecture*, const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:43:16: error: ‘useropindex’ was not declared in this scope 43 | name = nm; useropindex = ind; glb = g; } ///< Construct from name and index | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:268:66: error: ‘mask’ was not declared in this scope 268 | ~FreeArray(void) { if (size!=0) { delete [] array; delete [] mask; } } ///< Destructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:72:57: error: ‘int4’ has not been declared 72 | UnspecializedPcodeOp(Architecture *g,const string &nm,int4 ind) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh: In constructor ‘UserPcodeOp::UserPcodeOp(Architecture*, const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:43:16: error: ‘useropindex’ was not declared in this scope 43 | name = nm; useropindex = ind; glb = g; } ///< Construct from name and index | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:72:57: error: ‘int4’ has not been declared 72 | UnspecializedPcodeOp(Architecture *g,const string &nm,int4 ind) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:84:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 84 | uint4 injectid; ///< The id of the injection object (to which this op maps) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:86:51: error: ‘int4’ has not been declared 86 | InjectedUserOp(Architecture *g,const string &nm,int4 ind,int4 injid) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:86:60: error: ‘int4’ has not been declared 86 | InjectedUserOp(Architecture *g,const string &nm,int4 ind,int4 injid) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:88:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 88 | uint4 getInjectId(void) const { return injectid; } ///< Get the id of the injection object | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:84:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 84 | uint4 injectid; ///< The id of the injection object (to which this op maps) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:86:51: error: ‘int4’ has not been declared 86 | InjectedUserOp(Architecture *g,const string &nm,int4 ind,int4 injid) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:86:60: error: ‘int4’ has not been declared 86 | InjectedUserOp(Architecture *g,const string &nm,int4 ind,int4 injid) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:88:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 88 | uint4 getInjectId(void) const { return injectid; } ///< Get the id of the injection object | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:513:10: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 513 | vector label; ///< The case label for each explicit target | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:513:15: error: template argument 1 is invalid 513 | vector label; ///< The case label for each explicit target | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:513:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:517:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 517 | uintb switchVarConsume; ///< Bits of the switch variable being consumed | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:518:3: error: ‘int4’ does not name a type; did you mean ‘int’? 518 | int4 defaultBlock; ///< The out-edge corresponding to the \e default switch destination (-1 = undefined) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:519:3: error: ‘int4’ does not name a type; did you mean ‘int’? 519 | int4 lastBlock; ///< Block out-edge corresponding to last entry in the address table | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh: In constructor ‘InjectedUserOp::InjectedUserOp(Architecture*, const string&, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:87:31: error: ‘injectid’ was not declared in this scope; did you mean ‘injid’? 87 | : UserPcodeOp(g,nm,ind) { injectid = injid; } ///< Constructor | ^~~~~~~~ | injid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:101:47: error: ‘int4’ has not been declared 101 | static string appendSize(const string &base,int4 size); ///< Append a suffix to a string encoding a specific size | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:103:47: error: ‘int4’ has not been declared 103 | VolatileOp(Architecture *g,const string &nm,int4 ind) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:114:51: error: ‘int4’ has not been declared 114 | VolatileReadOp(Architecture *g,const string &nm,int4 ind) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:520:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 520 | uint4 maxtablesize; ///< Maximum table size we allow to be built (sanity check) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh: In constructor ‘InjectedUserOp::InjectedUserOp(Architecture*, const string&, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:87:31: error: ‘injectid’ was not declared in this scope; did you mean ‘injid’? 87 | : UserPcodeOp(g,nm,ind) { injectid = injid; } ///< Constructor | ^~~~~~~~ | injid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:128:52: error: ‘int4’ has not been declared 128 | VolatileWriteOp(Architecture *g,const string &nm,int4 ind) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:101:47: error: ‘int4’ has not been declared 101 | static string appendSize(const string &base,int4 size); ///< Append a suffix to a string encoding a specific size | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:103:47: error: ‘int4’ has not been declared 103 | VolatileOp(Architecture *g,const string &nm,int4 ind) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:146:50: error: ‘int4’ has not been declared 146 | TermPatternOp(Architecture *g,const string &nm,int4 ind) : UserPcodeOp(g,nm,ind) {} ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:521:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 521 | uint4 maxaddsub; ///< Maximum ADDs or SUBs to normalize | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:114:51: error: ‘int4’ has not been declared 114 | VolatileReadOp(Architecture *g,const string &nm,int4 ind) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:128:52: error: ‘int4’ has not been declared 128 | VolatileWriteOp(Architecture *g,const string &nm,int4 ind) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:147:11: error: ‘int4’ does not name a type; did you mean ‘int’? 147 | virtual int4 getNumVariableTerms(void) const=0; ///< Get the number of input Varnodes expected | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:522:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 522 | uint4 maxleftright; ///< Maximum shifts to normalize | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:146:50: error: ‘int4’ has not been declared 146 | TermPatternOp(Architecture *g,const string &nm,int4 ind) : UserPcodeOp(g,nm,ind) {} ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:161:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 161 | virtual uintb execute(const vector &input) const=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:523:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 523 | uint4 maxext; ///< Maximum extensions to normalize | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: In constructor ‘ContextInternal::ContextInternal()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:287:27: error: ‘size’ was not declared in this scope 287 | ContextInternal(void) { size = 0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:147:11: error: ‘int4’ does not name a type; did you mean ‘int’? 147 | virtual int4 getNumVariableTerms(void) const=0; ///< Get the number of input Varnodes expected | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:524:3: error: ‘int4’ does not name a type; did you mean ‘int’? 524 | int4 recoverystage; ///< 0=no stages recovered, 1=additional stage needed, 2=complete | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:171:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 171 | uintb val; ///< A possible constant second input | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:161:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 161 | virtual uintb execute(const vector &input) const=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:313:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 313 | mutable uintb first; ///< Starting offset of the current valid range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:529:3: error: ‘int4’ does not name a type; did you mean ‘int’? 529 | int4 block2Position(const FlowBlock *bl) const; ///< Convert a basic-block to an out-edge index from the switch. | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:172:3: error: ‘int4’ does not name a type; did you mean ‘int’? 172 | int4 slot; ///< Slot to follow | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:171:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 171 | uintb val; ///< A possible constant second input | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:314:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 314 | mutable uintb last; ///< Ending offset of the current valid range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:539:3: error: ‘int4’ does not name a type; did you mean ‘int’? 539 | int4 getStage(void) const { return recoverystage; } ///< Return what stage of recovery this jump-table is in. | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:201:3: error: ‘int4’ does not name a type; did you mean ‘int’? 201 | int4 injectId; ///< Id of InjectPayload that emulates \b this operation | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:172:3: error: ‘int4’ does not name a type; did you mean ‘int’? 172 | int4 slot; ///< Slot to follow | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:315:17: error: ‘uintm’ does not name a type; did you mean ‘uint’? 315 | mutable const uintm *context; ///< The current cached context blob | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:320:39: error: ‘uintm’ has not been declared 320 | void getContext(const Address &addr,uintm *buf) const; ///< Retrieve the context blob for the given address | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:321:39: error: ‘int4’ has not been declared 321 | void setContext(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:321:48: error: ‘uintm’ has not been declared 321 | void setContext(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:321:59: error: ‘uintm’ has not been declared 321 | void setContext(const Address &addr,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:202:3: error: ‘int4’ does not name a type; did you mean ‘int’? 202 | int4 baseinsize; ///< The size in bytes of the \e base or \e segment value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:540:3: error: ‘int4’ does not name a type; did you mean ‘int’? 540 | int4 numEntries(void) const { return addresstable.size(); } ///< Return the size of the address table for \b this jump-table | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:322:61: error: ‘int4’ has not been declared 322 | void setContext(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:322:70: error: ‘uintm’ has not been declared 322 | void setContext(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/globalcontext.hh:322:81: error: ‘uintm’ has not been declared 322 | void setContext(const Address &addr1,const Address &addr2,int4 num,uintm mask,uintm value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:201:3: error: ‘int4’ does not name a type; did you mean ‘int’? 201 | int4 injectId; ///< Id of InjectPayload that emulates \b this operation | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:203:3: error: ‘int4’ does not name a type; did you mean ‘int’? 203 | int4 innerinsize; ///< The size in bytes of the \e near pointer value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:207:46: error: ‘int4’ has not been declared 207 | SegmentOp(Architecture *g,const string &nm,int4 ind); ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:541:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 541 | uintb getSwitchVarConsume(void) const { return switchVarConsume; } ///< Get bits of switch variable consumed by \b this table | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:30, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:39:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 39 | uint4 type; ///< The properties associated with the comment | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:202:3: error: ‘int4’ does not name a type; did you mean ‘int’? 202 | int4 baseinsize; ///< The size in bytes of the \e base or \e segment value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:542:3: error: ‘int4’ does not name a type; did you mean ‘int’? 542 | int4 getDefaultBlock(void) const { return defaultBlock; } ///< Get the out-edge corresponding to the \e default switch destination | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:32, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:210:3: error: ‘int4’ does not name a type; did you mean ‘int’? 210 | int4 getBaseSize(void) const { return baseinsize; } ///< Get size in bytes of the base/segment value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:546:24: error: ‘uint4’ has not been declared 546 | void setMaxTableSize(uint4 val) { maxtablesize = val; } ///< Set the maximum entries allowed in the address table | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:547:19: error: ‘uint4’ has not been declared 547 | void setNormMax(uint4 maddsub,uint4 mleftright,uint4 mext) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:547:33: error: ‘uint4’ has not been declared 547 | void setNormMax(uint4 maddsub,uint4 mleftright,uint4 mext) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:547:50: error: ‘uint4’ has not been declared 547 | void setNormMax(uint4 maddsub,uint4 mleftright,uint4 mext) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:40:3: error: ‘int4’ does not name a type; did you mean ‘int’? 40 | int4 uniq; ///< Sub-identifier for uniqueness | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:549:74: error: ‘uintb’ has not been declared 549 | void setOverride(const vector
&addrtable,const Address &naddr,uintb h,uintb sv); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:549:82: error: ‘uintb’ has not been declared 549 | void setOverride(const vector
&addrtable,const Address &naddr,uintb h,uintb sv); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:55:16: error: expected ‘)’ before ‘tp’ 55 | Comment(uint4 tp,const Address &fad,const Address &ad,int4 uq,const string &txt); ///< Constructor | ~ ^~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:203:3: error: ‘int4’ does not name a type; did you mean ‘int’? 203 | int4 innerinsize; ///< The size in bytes of the \e near pointer value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:207:46: error: ‘int4’ has not been declared 207 | SegmentOp(Architecture *g,const string &nm,int4 ind); ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:211:3: error: ‘int4’ does not name a type; did you mean ‘int’? 211 | int4 getInnerSize(void) const { return innerinsize; } ///< Get size in bytes of the near value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:550:3: error: ‘int4’ does not name a type; did you mean ‘int’? 550 | int4 numIndicesByBlock(const FlowBlock *bl) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:59:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 59 | uint4 getType(void) const { return type; } ///< Get the properties associated with the comment | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:32, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:210:3: error: ‘int4’ does not name a type; did you mean ‘int’? 210 | int4 getBaseSize(void) const { return baseinsize; } ///< Get size in bytes of the base/segment value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:213:11: error: ‘int4’ does not name a type; did you mean ‘int’? 213 | virtual int4 getNumVariableTerms(void) const { if (baseinsize!=0) return 2; return 1; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:551:3: error: ‘int4’ does not name a type; did you mean ‘int’? 551 | int4 getIndexByBlock(const FlowBlock *bl,int4 i) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:552:29: error: ‘int4’ has not been declared 552 | Address getAddressByIndex(int4 i) const { return addresstable[i]; } ///< Get the i-th address table entry | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:62:3: error: ‘int4’ does not name a type; did you mean ‘int’? 62 | int4 getUniq(void) const { return uniq; } ///< Get the sub-sorting index | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:554:24: error: ‘int4’ has not been declared 554 | void setDefaultBlock(int4 bl) { defaultBlock = bl; } ///< Set out-edge of the switch destination considered to be \e default | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:211:3: error: ‘int4’ does not name a type; did you mean ‘int’? 211 | int4 getInnerSize(void) const { return innerinsize; } ///< Get size in bytes of the near value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:556:40: error: ‘uintb’ has not been declared 556 | void addBlockToSwitch(BlockBasic *bl,uintb lab); ///< Force a given basic-block to be a switch destination | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:215:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 215 | virtual uintb execute(const vector &input) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:66:10: error: ‘uint4’ does not name a type; did you mean ‘uint’? 66 | static uint4 encodeCommentType(const string &name); ///< Convert name string to comment property | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:213:11: error: ‘int4’ does not name a type; did you mean ‘int’? 213 | virtual int4 getNumVariableTerms(void) const { if (baseinsize!=0) return 2; return 1; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:67:35: error: ‘uint4’ has not been declared 67 | static string decodeCommentType(uint4 val); ///< Convert comment property to string | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:558:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 558 | uintb getLabelByIndex(int4 index) const { return label[index]; } ///< Given a \e case index, get its label | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:230:3: error: ‘int4’ does not name a type; did you mean ‘int’? 230 | int4 index2case; ///< Id of p-code script performing index2case (== -1 if no script and index==case) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: In member function ‘bool JumpTable::isLabelled() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:536:47: error: request for member ‘empty’ in ‘((const JumpTable*)this)->JumpTable::label’, which is of non-class type ‘const int’ 536 | bool isLabelled(void) const { return !label.empty(); } ///< Return \b true if \e case labels are computed | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:98:45: error: ‘uint4’ has not been declared 98 | virtual void clearType(const Address &fad,uint4 tp)=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:106:27: error: ‘uint4’ has not been declared 106 | virtual void addComment(uint4 tp,const Address &fad, | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:118:38: error: ‘uint4’ has not been declared 118 | virtual bool addCommentNoDuplicate(uint4 tp,const Address &fad,const Address &ad,const string &txt)=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:215:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 215 | virtual uintb execute(const vector &input) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:231:3: error: ‘int4’ does not name a type; did you mean ‘int’? 231 | int4 index2addr; ///< Id of p-code script performing index2addr (must be present) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:230:3: error: ‘int4’ does not name a type; did you mean ‘int’? 230 | int4 index2case; ///< Id of p-code script performing index2case (== -1 if no script and index==case) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:232:3: error: ‘int4’ does not name a type; did you mean ‘int’? 232 | int4 defaultaddr; ///< Id of p-code script performing calculation of default address (must be present) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:231:3: error: ‘int4’ does not name a type; did you mean ‘int’? 231 | int4 index2addr; ///< Id of p-code script performing index2addr (must be present) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:233:3: error: ‘int4’ does not name a type; did you mean ‘int’? 233 | int4 calcsize; ///< Id of p-code script that calculates number of indices (== -1 if no script) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:232:3: error: ‘int4’ does not name a type; did you mean ‘int’? 232 | int4 defaultaddr; ///< Id of p-code script performing calculation of default address (must be present) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:236:3: error: ‘int4’ does not name a type; did you mean ‘int’? 236 | int4 getIndex2Case(void) const { return index2case; } ///< Get the injection id for \b index2case | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:233:3: error: ‘int4’ does not name a type; did you mean ‘int’? 233 | int4 calcsize; ///< Id of p-code script that calculates number of indices (== -1 if no script) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:237:3: error: ‘int4’ does not name a type; did you mean ‘int’? 237 | int4 getIndex2Addr(void) const { return index2addr; } ///< Get the injection id for \b index2addr | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:236:3: error: ‘int4’ does not name a type; did you mean ‘int’? 236 | int4 getIndex2Case(void) const { return index2case; } ///< Get the injection id for \b index2case | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:238:3: error: ‘int4’ does not name a type; did you mean ‘int’? 238 | int4 getDefaultAddr(void) const { return defaultaddr; } ///< Get the injection id for \b defaultaddr | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:237:3: error: ‘int4’ does not name a type; did you mean ‘int’? 237 | int4 getIndex2Addr(void) const { return index2addr; } ///< Get the injection id for \b index2addr | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:239:3: error: ‘int4’ does not name a type; did you mean ‘int’? 239 | int4 getCalcSize(void) const { return calcsize; } ///< Get the injection id for \b calcsize | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: In member function ‘void JumpTable::setMaxTableSize(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:546:37: error: ‘maxtablesize’ was not declared in this scope; did you mean ‘setMaxTableSize’? 546 | void setMaxTableSize(uint4 val) { maxtablesize = val; } ///< Set the maximum entries allowed in the address table | ^~~~~~~~~~~~ | setMaxTableSize /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:238:3: error: ‘int4’ does not name a type; did you mean ‘int’? 238 | int4 getDefaultAddr(void) const { return defaultaddr; } ///< Get the injection id for \b defaultaddr | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:239:3: error: ‘int4’ does not name a type; did you mean ‘int’? 239 | int4 getCalcSize(void) const { return calcsize; } ///< Get the injection id for \b calcsize | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:162:45: error: ‘uint4’ has not been declared 162 | virtual void clearType(const Address &fad,uint4 tp); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:163:27: error: ‘uint4’ has not been declared 163 | virtual void addComment(uint4 tp,const Address &fad, | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:165:38: error: ‘uint4’ has not been declared 165 | virtual bool addCommentNoDuplicate(uint4 tp,const Address &fad,const Address &ad,const string &txt); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:199:5: error: ‘int4’ does not name a type; did you mean ‘int’? 199 | int4 index; ///< Either the basic block index or -1 for a function header | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: In member function ‘void JumpTable::setNormMax(int, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:548:5: error: ‘maxaddsub’ was not declared in this scope; did you mean ‘maddsub’? 548 | maxaddsub = maddsub; maxleftright = mleftright; maxext = mext; } ///< Set the switch variable normalization model restrictions | ^~~~~~~~~ | maddsub /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:200:5: error: ‘uint4’ does not name a type; did you mean ‘uint’? 200 | uint4 order; ///< The order index within the basic block | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:201:5: error: ‘uint4’ does not name a type; did you mean ‘uint’? 201 | uint4 pos; ///< A final count to guarantee a unique sorting | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:219:20: error: ‘uint4’ has not been declared 219 | void setHeader(uint4 headerType) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:228:19: error: ‘int4’ has not been declared 228 | void setBlock(int4 i,uint4 ord) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:228:26: error: ‘uint4’ has not been declared 228 | void setBlock(int4 i,uint4 ord) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:548:26: error: ‘maxleftright’ was not declared in this scope; did you mean ‘mleftright’? 548 | maxaddsub = maddsub; maxleftright = mleftright; maxext = mext; } ///< Set the switch variable normalization model restrictions | ^~~~~~~~~~~~ | mleftright /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:548:53: error: ‘maxext’ was not declared in this scope; did you mean ‘mext’? 548 | maxaddsub = maddsub; maxleftright = mleftright; maxext = mext; } ///< Set the switch variable normalization model restrictions | ^~~~~~ | mext /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:241:26: error: ‘uint4’ has not been declared 241 | void setupFunctionList(uint4 tp,const Funcdata *fd,const CommentDatabase &db,bool displayUnplaced); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:244:20: error: ‘uint4’ has not been declared 244 | void setupHeader(uint4 headerType); ///< Prepare to walk comments in the header | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh: In member function ‘bool CommentSorter::Subsort::operator<(const CommentSorter::Subsort&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:208:24: error: ‘const struct CommentSorter::Subsort’ has no member named ‘index’ 208 | if (index == op2.index) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: In member function ‘void JumpTable::setDefaultBlock(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:554:35: error: ‘defaultBlock’ was not declared in this scope; did you mean ‘setDefaultBlock’? 554 | void setDefaultBlock(int4 bl) { defaultBlock = bl; } ///< Set out-edge of the switch destination considered to be \e default | ^~~~~~~~~~~~ | setDefaultBlock /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:209:13: error: ‘order’ was not declared in this scope 209 | if (order == op2.order) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:209:26: error: ‘const struct CommentSorter::Subsort’ has no member named ‘order’ 209 | if (order == op2.order) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:262:3: error: ‘int4’ does not name a type; did you mean ‘int’? 262 | int4 numSegmentOps(void) const { return segmentop.size(); } ///< Number of segment operations supported | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:267:22: error: ‘int4’ has not been declared 267 | UserPcodeOp *getOp(int4 i) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:277:27: error: ‘int4’ has not been declared 277 | SegmentOp *getSegmentOp(int4 i) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:210:19: error: ‘pos’ was not declared in this scope 210 | return (pos < op2.pos); | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:210:29: error: ‘const struct CommentSorter::Subsort’ has no member named ‘pos’ 210 | return (pos < op2.pos); | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:262:3: error: ‘int4’ does not name a type; did you mean ‘int’? 262 | int4 numSegmentOps(void) const { return segmentop.size(); } ///< Number of segment operations supported | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:267:22: error: ‘int4’ has not been declared 267 | UserPcodeOp *getOp(int4 i) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:277:27: error: ‘int4’ has not been declared 277 | SegmentOp *getSegmentOp(int4 i) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: In member function ‘bool JumpTable::IndexPair::operator<(const JumpTable::IndexPair&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:575:7: error: ‘blockPosition’ was not declared in this scope; did you mean ‘BlockCondition’? 575 | if (blockPosition != op2.blockPosition) return (blockPosition < op2.blockPosition); | ^~~~~~~~~~~~~ | BlockCondition /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:575:28: error: ‘const struct JumpTable::IndexPair’ has no member named ‘blockPosition’ 575 | if (blockPosition != op2.blockPosition) return (blockPosition < op2.blockPosition); | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:575:71: error: ‘const struct JumpTable::IndexPair’ has no member named ‘blockPosition’ 575 | if (blockPosition != op2.blockPosition) return (blockPosition < op2.blockPosition); | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:211:17: error: ‘order’ was not declared in this scope 211 | return (order < op2.order); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:211:29: error: ‘const struct CommentSorter::Subsort’ has no member named ‘order’ 211 | return (order < op2.order); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:213:27: error: ‘const struct CommentSorter::Subsort’ has no member named ‘index’ 213 | return (index < op2.index); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh: In member function ‘void CommentSorter::Subsort::setHeader(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:220:16: error: overloaded function with no contextual type information 220 | index = -1; // -1 indicates a header comment | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:221:7: error: ‘order’ was not declared in this scope 221 | order = headerType; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh: In member function ‘void CommentSorter::Subsort::setBlock(int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:229:15: error: overloaded function with no contextual type information 229 | index = i; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:576:11: error: ‘addressIndex’ was not declared in this scope 576 | return (addressIndex < op2.addressIndex); | ^~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:576:30: error: ‘const struct JumpTable::IndexPair’ has no member named ‘addressIndex’ 576 | return (addressIndex < op2.addressIndex); | ^~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh: In static member function ‘static bool JumpTable::IndexPair::compareByPosition(const JumpTable::IndexPair&, const JumpTable::IndexPair&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:585:15: error: ‘const struct JumpTable::IndexPair’ has no member named ‘blockPosition’ 585 | return (op1.blockPosition < op2.blockPosition); | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/jumptable.hh:585:35: error: ‘const struct JumpTable::IndexPair’ has no member named ‘blockPosition’ 585 | return (op1.blockPosition < op2.blockPosition); | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:230:7: error: ‘order’ was not declared in this scope; did you mean ‘ord’? 230 | order = ord; | ^~~~~ | ord In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:18: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:45:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 45 | uint4 label; ///< Label of the edge | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:47:3: error: ‘int4’ does not name a type; did you mean ‘int’? 47 | int4 reverse_index; ///< Index for edge coming other way | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:49:27: error: ‘uint4’ has not been declared 49 | BlockEdge(FlowBlock *pt,uint4 lab,int4 rev) { label=lab; point=pt; reverse_index = rev; } ///< Constructor | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:49:37: error: ‘int4’ has not been declared 49 | BlockEdge(FlowBlock *pt,uint4 lab,int4 rev) { label=lab; point=pt; reverse_index = rev; } ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In constructor ‘BlockEdge::BlockEdge(FlowBlock*, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:49:49: error: ‘label’ was not declared in this scope 49 | BlockEdge(FlowBlock *pt,uint4 lab,int4 rev) { label=lab; point=pt; reverse_index = rev; } ///< Constructor | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:49:70: error: ‘reverse_index’ was not declared in this scope 49 | BlockEdge(FlowBlock *pt,uint4 lab,int4 rev) { label=lab; point=pt; reverse_index = rev; } ///< Constructor | ^~~~~~~~~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:31, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:37:12: error: ‘uint1’ was not declared in this scope; did you mean ‘uint’? 37 | vector byteData; ///< UTF8 encoded string data | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:37:17: error: template argument 1 is invalid 37 | vector byteData; ///< UTF8 encoded string data | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:37:17: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:107:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 107 | uint4 flags; ///< Collection of block_flags | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:111:3: error: ‘int4’ does not name a type; did you mean ‘int’? 111 | int4 index; ///< Reference index for this block (reverse post order) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:112:3: error: ‘int4’ does not name a type; did you mean ‘int’? 112 | int4 visitcount; ///< A count of visits of this node for various algorithms | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:113:3: error: ‘int4’ does not name a type; did you mean ‘int’? 113 | int4 numdesc; ///< Number of descendants of this block in spanning tree (+1) | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:34, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:47:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 47 | uint4 type; ///< Type of new Varnode | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:48:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 48 | uint4 flags; ///< Boolean properties of the placeholder | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:34, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:47:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 47 | uint4 type; ///< Type of new Varnode | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:49:3: error: ‘int4’ does not name a type; did you mean ‘int’? 49 | int4 byteSize; ///< Size of the lane Varnode in bytes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:48:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 48 | uint4 flags; ///< Boolean properties of the placeholder | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:50:3: error: ‘int4’ does not name a type; did you mean ‘int’? 50 | int4 bitSize; ///< Size of the logical value in bits | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:49:3: error: ‘int4’ does not name a type; did you mean ‘int’? 49 | int4 byteSize; ///< Size of the lane Varnode in bytes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:121:31: error: ‘uint4’ has not been declared 121 | void addInEdge(FlowBlock *b,uint4 lab); ///< Add an edge coming into \b this | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:51:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 51 | uintb val; ///< Value of constant or (bit) position within the original big Varnode | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:123:25: error: ‘int4’ has not been declared 123 | void halfDeleteInEdge(int4 slot); ///< Delete the \e in half of an edge, correcting indices | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:54:19: error: ‘uint4’ has not been declared 54 | void initialize(uint4 tp,Varnode *v,int4 bits,int4 bytes,uintb value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:124:26: error: ‘int4’ has not been declared 124 | void halfDeleteOutEdge(int4 slot); ///< Delete the \e out half of an edge, correcting indices | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:54:39: error: ‘int4’ has not been declared 54 | void initialize(uint4 tp,Varnode *v,int4 bits,int4 bytes,uintb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:125:21: error: ‘int4’ has not been declared 125 | void removeInEdge(int4 slot); ///< Remove an incoming edge | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:54:49: error: ‘int4’ has not been declared 54 | void initialize(uint4 tp,Varnode *v,int4 bits,int4 bytes,uintb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:54:60: error: ‘uintb’ has not been declared 54 | void initialize(uint4 tp,Varnode *v,int4 bits,int4 bytes,uintb value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:126:22: error: ‘int4’ has not been declared 126 | void removeOutEdge(int4 slot); ///< Remove an outgoing edge | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:127:22: error: ‘int4’ has not been declared 127 | void replaceInEdge(int4 num,FlowBlock *b); ///< Make an incoming edge flow from a given block | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:128:23: error: ‘int4’ has not been declared 128 | void replaceOutEdge(int4 num,FlowBlock *b); ///< Make an outgoing edge flow to a given block | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:129:25: error: ‘int4’ has not been declared 129 | void replaceEdgesThru(int4 in,int4 out); ///< Remove \b this from flow between two blocks | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:129:33: error: ‘int4’ has not been declared 129 | void replaceEdgesThru(int4 in,int4 out); ///< Remove \b this from flow between two blocks | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:131:23: error: ‘int4’ has not been declared 131 | void setOutEdgeFlag(int4 i,uint4 lab); ///< Apply an \e out edge label | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:131:30: error: ‘uint4’ has not been declared 131 | void setOutEdgeFlag(int4 i,uint4 lab); ///< Apply an \e out edge label | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:50:3: error: ‘int4’ does not name a type; did you mean ‘int’? 50 | int4 bitSize; ///< Size of the logical value in bits | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:132:25: error: ‘int4’ has not been declared 132 | void clearOutEdgeFlag(int4 i,uint4 lab); ///< Remove an \e out edge label | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:132:32: error: ‘uint4’ has not been declared 132 | void clearOutEdgeFlag(int4 i,uint4 lab); ///< Remove an \e out edge label | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:142:16: error: ‘uint4’ has not been declared 142 | void setFlag(uint4 fl) { flags |= fl; } ///< Set a boolean property | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:143:18: error: ‘uint4’ has not been declared 143 | void clearFlag(uint4 fl) { flags &= ~fl; } ///< Clear a boolean property | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:40:3: error: ‘int4’ does not name a type; did you mean ‘int’? 40 | int4 maximumChars; ///< Maximum characters in a string before truncating | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:42:21: error: expected ‘)’ before ‘max’ 42 | StringManager(int4 max); ///< Constructor | ~ ^~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:76:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 76 | uint4 special; ///< Special handling code when creating | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:51:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 51 | uintb val; ///< Value of constant or (bit) position within the original big Varnode | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:54:19: error: ‘uint4’ has not been declared 54 | void initialize(uint4 tp,Varnode *v,int4 bits,int4 bytes,uintb value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:54:39: error: ‘int4’ has not been declared 54 | void initialize(uint4 tp,Varnode *v,int4 bits,int4 bytes,uintb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:54:49: error: ‘int4’ has not been declared 54 | void initialize(uint4 tp,Varnode *v,int4 bits,int4 bytes,uintb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:54:60: error: ‘uintb’ has not been declared 54 | void initialize(uint4 tp,Varnode *v,int4 bits,int4 bytes,uintb value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:147:3: error: ‘int4’ does not name a type; did you mean ‘int’? 147 | int4 getIndex(void) const { return index; } ///< Get the index assigned to \b this block | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:76:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 76 | uint4 special; ///< Special handling code when creating | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:152:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 152 | uint4 getFlags(void) const { return flags; } ///< Get the block_flags properties | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:156:31: error: ‘int4’ has not been declared 156 | virtual FlowBlock *subBlock(int4 i) const { return (FlowBlock *)0; } ///< Get the i-th component block | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:159:27: error: ‘int4’ has not been declared 159 | virtual void scopeBreak(int4 curexit,int4 curloopexit) {} ///< Mark unstructured edges that should be \e breaks | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:159:40: error: ‘int4’ has not been declared 159 | virtual void scopeBreak(int4 curexit,int4 curloopexit) {} ///< Mark unstructured edges that should be \e breaks | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:161:37: error: ‘int4’ has not been declared 161 | virtual void printTree(ostream &s,int4 level) const; ///< Print tree structure of any blocks owned by \b this | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:57:24: error: ‘uint1’ was not declared in this scope; did you mean ‘uint’? 57 | virtual const vector &getStringData(const Address &addr,Datatype *charType,bool &isTrunc)=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:57:29: error: template argument 1 is invalid 57 | virtual const vector &getStringData(const Address &addr,Datatype *charType,bool &isTrunc)=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:57:29: error: template argument 2 is invalid In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:18: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:169:11: error: ‘int4’ does not name a type; did you mean ‘int’? 169 | virtual int4 flipInPlaceTest(vector &fliplist) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:62:39: error: ‘uint1’ does not name a type; did you mean ‘uint’? 62 | static bool hasCharTerminator(const uint1 *buffer,int4 size,int4 charsize); ///< Check for a unicode string terminator | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:62:53: error: ‘int4’ has not been declared 62 | static bool hasCharTerminator(const uint1 *buffer,int4 size,int4 charsize); ///< Check for a unicode string terminator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:62:63: error: ‘int4’ has not been declared 62 | static bool hasCharTerminator(const uint1 *buffer,int4 size,int4 charsize); ///< Check for a unicode string terminator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:190:22: error: ‘int4’ has not been declared 190 | void setVisitCount(int4 i) { visitcount = i; } ///< Set the number of times this block has been visited | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:63:10: error: ‘int4’ does not name a type; did you mean ‘int’? 63 | static int4 readUtf16(const uint1 *buf,bool bigend); ///< Read a UTF16 code point from a byte array | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:64:36: error: ‘int4’ has not been declared 64 | static void writeUtf8(ostream &s,int4 codepoint); ///< Write unicode character to stream in UTF8 encoding | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:191:3: error: ‘int4’ does not name a type; did you mean ‘int’? 191 | int4 getVisitCount(void) const { return visitcount; } ///< Get the count of visits | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:192:22: error: ‘int4’ has not been declared 192 | void setGotoBranch(int4 i); ///< Mark a \e goto branch | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:193:25: error: ‘int4’ has not been declared 193 | void setDefaultSwitch(int4 i) { setOutEdgeFlag(i,f_defaultswitch_edge); } ///< Mark an edge as the switch default | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:202:20: error: ‘int4’ has not been declared 202 | void setLoopExit(int4 i) { setOutEdgeFlag(i,f_loop_exit_edge); } ///< Label the edge exiting \b this as a loop | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:203:22: error: ‘int4’ has not been declared 203 | void clearLoopExit(int4 i) { clearOutEdgeFlag(i,f_loop_exit_edge); } ///< Clear the loop exit edge | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:204:20: error: ‘int4’ has not been declared 204 | void setBackEdge(int4 i) { setOutEdgeFlag(i,f_back_edge); } ///< Label the \e back edge of a loop | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:209:21: error: ‘int4’ has not been declared 209 | FlowBlock *getOut(int4 i) { return outofthis[i].point; } ///< Get the i-th output FlowBlock | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:84:23: error: ‘int4’ has not been declared 84 | TransformVar *getIn(int4 i) const { return input[i]; } ///< Get the i-th input placeholder variable for \b this | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:210:27: error: ‘int4’ has not been declared 210 | const FlowBlock *getOut(int4 i) const { return (const FlowBlock *) outofthis[i].point; } ///< Get i-th output FlowBlock | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:65:10: error: ‘int4’ does not name a type; did you mean ‘int’? 65 | static int4 getCodepoint(const uint1 *buf,int4 charsize,bool bigend,int4 &skip); ///< Extract next \e unicode \e codepoint | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:211:3: error: ‘int4’ does not name a type; did you mean ‘int’? 211 | int4 getOutRevIndex(int4 i) const { return outofthis[i].reverse_index; } ///< Get the input index of the i-th output FlowBlock | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:212:20: error: ‘int4’ has not been declared 212 | FlowBlock *getIn(int4 i) { return intothis[i].point; } ///< Get the i-th input FlowBlock | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:213:26: error: ‘int4’ has not been declared 213 | const FlowBlock *getIn(int4 i) const { return (const FlowBlock *) intothis[i].point; } ///< Get the i-th input FlowBlock | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:74:3: error: ‘uint1’ does not name a type; did you mean ‘uint’? 74 | uint1 *testBuffer; ///< Temporary buffer for pulling in loadimage bytes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:93:5: error: ‘int4’ does not name a type; did you mean ‘int’? 93 | int4 size; ///< Current lane size | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:84:23: error: ‘int4’ has not been declared 84 | TransformVar *getIn(int4 i) const { return input[i]; } ///< Get the i-th input placeholder variable for \b this | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:214:3: error: ‘int4’ does not name a type; did you mean ‘int’? 214 | int4 getInRevIndex(int4 i) const { return intothis[i].reverse_index; } ///< Get the output index of the i-th input FlowBlock | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:75:3: error: ‘int4’ does not name a type; did you mean ‘int’? 75 | int4 checkCharacters(const uint1 *buf,int4 size,int4 charsize) const; ///< Make sure buffer has valid bounded set of unicode | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:77:40: error: ‘int4’ has not been declared 77 | StringManagerUnicode(Architecture *g,int4 max); ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:94:5: error: ‘uint4’ does not name a type; did you mean ‘uint’? 94 | uint4 mask; ///< Collection being iterated over | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:217:3: error: ‘int4’ does not name a type; did you mean ‘int’? 217 | int4 calcDepth(const FlowBlock *leaf) const; ///< Get the depth of the given component FlowBlock | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:93:5: error: ‘int4’ does not name a type; did you mean ‘int’? 93 | int4 size; ///< Current lane size | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:100:5: error: ‘int4’ does not name a type; did you mean ‘int’? 100 | int4 operator*(void) const { return size; } ///< Dereference operator | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:220:3: error: ‘int4’ does not name a type; did you mean ‘int’? 220 | int4 sizeOut(void) const { return outofthis.size(); } ///< Get the number of out edges | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:94:5: error: ‘uint4’ does not name a type; did you mean ‘uint’? 94 | uint4 mask; ///< Collection being iterated over | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:107:3: error: ‘int4’ does not name a type; did you mean ‘int’? 107 | int4 wholeSize; ///< Size of the whole register | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:80:24: error: ‘uint1’ was not declared in this scope; did you mean ‘uint’? 80 | virtual const vector &getStringData(const Address &addr,Datatype *charType,bool &isTrunc); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:80:29: error: template argument 1 is invalid 80 | virtual const vector &getStringData(const Address &addr,Datatype *charType,bool &isTrunc); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:80:29: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:81:32: error: ‘uint1’ has not been declared 81 | bool writeUnicode(ostream &s,uint1 *buffer,int4 size,int4 charsize); ///< Translate/copy unicode to UTF8 | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:221:3: error: ‘int4’ does not name a type; did you mean ‘int’? 221 | int4 sizeIn(void) const { return intothis.size(); } ///< Get the number of in edges | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:81:46: error: ‘int4’ has not been declared 81 | bool writeUnicode(ostream &s,uint1 *buffer,int4 size,int4 charsize); ///< Translate/copy unicode to UTF8 | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:81:56: error: ‘int4’ has not been declared 81 | bool writeUnicode(ostream &s,uint1 *buffer,int4 size,int4 charsize); ///< Translate/copy unicode to UTF8 | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:224:17: error: ‘int4’ has not been declared 224 | bool isLoopIn(int4 i) const { return ((intothis[i].label & f_loop_edge)!=0); } ///< Is the i-th incoming edge a \e loop edge | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:225:18: error: ‘int4’ has not been declared 225 | bool isLoopOut(int4 i) const { return ((outofthis[i].label & f_loop_edge)!=0); } ///< Is the i-th outgoing edge a \e loop edge | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:100:5: error: ‘int4’ does not name a type; did you mean ‘int’? 100 | int4 operator*(void) const { return size; } ///< Dereference operator | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:108:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 108 | uint4 sizeBitMask; ///< A 1-bit for every permissible lane size | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:111:21: error: expected ‘)’ before ‘sz’ 111 | LanedRegister(int4 sz,uint4 mask) { wholeSize = sz; sizeBitMask = mask; } ///< Constructor | ~ ^~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:226:3: error: ‘int4’ does not name a type; did you mean ‘int’? 226 | int4 getInIndex(const FlowBlock *bl) const; ///< Get the incoming edge index for the given FlowBlock | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:32, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:39:3: error: ‘int4’ does not name a type; did you mean ‘int’? 39 | int4 useropindex; ///< Index passed in the CALLOTHER op | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:42:48: error: ‘int4’ has not been declared 42 | UserPcodeOp(Architecture *g,const string &nm,int4 ind) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:107:3: error: ‘int4’ does not name a type; did you mean ‘int’? 107 | int4 wholeSize; ///< Size of the whole register | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:113:3: error: ‘int4’ does not name a type; did you mean ‘int’? 113 | int4 getWholeSize(void) const { return wholeSize; } ///< Get the size in bytes of the whole laned register | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:227:3: error: ‘int4’ does not name a type; did you mean ‘int’? 227 | int4 getOutIndex(const FlowBlock *bl) const; ///< Get the outgoing edge index for the given FlowBlock | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:228:24: error: ‘int4’ has not been declared 228 | bool isDefaultBranch(int4 i) const { return ((outofthis[i].label & f_defaultswitch_edge)!=0); } ///< Is the i-th out edge the switch default edge | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:45:3: error: ‘int4’ does not name a type; did you mean ‘int’? 45 | int4 getIndex(void) const { return useropindex; } ///< Get the constant id of the op | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:237:21: error: ‘int4’ has not been declared 237 | bool isTreeEdgeIn(int4 i) const { return ((intothis[i].label & f_tree_edge)!=0); } ///< Is the i-th incoming edge part of the spanning tree | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:238:21: error: ‘int4’ has not been declared 238 | bool isBackEdgeIn(int4 i) const { return ((intothis[i].label & f_back_edge)!=0); } ///< Is the i-th incoming edge a \e back edge | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:239:22: error: ‘int4’ has not been declared 239 | bool isBackEdgeOut(int4 i) const { return ((outofthis[i].label & f_back_edge)!=0); } ///< Is the i-th outgoing edge a \e back edge | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:240:25: error: ‘int4’ has not been declared 240 | bool isIrreducibleOut(int4 i) const { return ((outofthis[i].label & f_irreducible)!=0); } ///< Is the i-th outgoing edge an irreducible edge | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:241:24: error: ‘int4’ has not been declared 241 | bool isIrreducibleIn(int4 i) const { return ((intothis[i].label & f_irreducible)!=0); } ///< Is the i-th incoming edge an irreducible edge | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:244:22: error: ‘int4’ has not been declared 244 | bool isDecisionOut(int4 i) const { return ((outofthis[i].label & (f_irreducible|f_back_edge|f_goto_edge))==0); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:114:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 114 | uint4 getSizeBitMask(void) const { return sizeBitMask; } ///< Get the bit mask of possible lane sizes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:108:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 108 | uint4 sizeBitMask; ///< A 1-bit for every permissible lane size | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:115:20: error: ‘int4’ has not been declared 115 | void addLaneSize(int4 size) { sizeBitMask |= ((uint4)1 << size); } ///< Add a new \e size to the allowed list | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:247:21: error: ‘int4’ has not been declared 247 | bool isDecisionIn(int4 i) const { return ((intothis[i].label & (f_irreducible|f_back_edge|f_goto_edge))==0); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:116:20: error: ‘int4’ has not been declared 116 | bool allowedLane(int4 size) const { return (((sizeBitMask >> size) & 1) != 0); } ///< Is \e size among the allowed lane sizes | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:250:21: error: ‘int4’ has not been declared 250 | bool isLoopDAGOut(int4 i) const { return ((outofthis[i].label & (f_irreducible|f_back_edge|f_loop_exit_edge|f_goto_edge))==0); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:111:21: error: expected ‘)’ before ‘sz’ 111 | LanedRegister(int4 sz,uint4 mask) { wholeSize = sz; sizeBitMask = mask; } ///< Constructor | ~ ^~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:253:20: error: ‘int4’ has not been declared 253 | bool isLoopDAGIn(int4 i) const { return ((intothis[i].label & (f_irreducible|f_back_edge|f_loop_exit_edge|f_goto_edge))==0); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:254:17: error: ‘int4’ has not been declared 254 | bool isGotoIn(int4 i) const { return ((intothis[i].label & (f_irreducible|f_goto_edge))!=0); } ///< Is the i-th incoming edge unstructured | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:255:18: error: ‘int4’ has not been declared 255 | bool isGotoOut(int4 i) const { return ((outofthis[i].label & (f_irreducible|f_goto_edge))!=0); } ///< Is the i-th outgoing edge unstructured | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:113:3: error: ‘int4’ does not name a type; did you mean ‘int’? 113 | int4 getWholeSize(void) const { return wholeSize; } ///< Get the size in bytes of the whole laned register | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:114:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 114 | uint4 getSizeBitMask(void) const { return sizeBitMask; } ///< Get the bit mask of possible lane sizes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:115:20: error: ‘int4’ has not been declared 115 | void addLaneSize(int4 size) { sizeBitMask |= ((uint4)1 << size); } ///< Add a new \e size to the allowed list | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:116:20: error: ‘int4’ has not been declared 116 | bool allowedLane(int4 size) const { return (((sizeBitMask >> size) & 1) != 0); } ///< Is \e size among the allowed lane sizes | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh: In constructor ‘LanedRegister::LanedIterator::LanedIterator(const LanedRegister*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:97:50: error: ‘size’ was not declared in this scope 97 | LanedIterator(const LanedRegister *lanedR) { size = 0; mask = lanedR->sizeBitMask; normalize(); } ///< Constructor | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:18: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘void FlowBlock::setFlag(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:142:28: error: ‘flags’ was not declared in this scope 142 | void setFlag(uint4 fl) { flags |= fl; } ///< Set a boolean property | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh: In constructor ‘LanedRegister::LanedIterator::LanedIterator(const LanedRegister*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:97:50: error: ‘size’ was not declared in this scope 97 | LanedIterator(const LanedRegister *lanedR) { size = 0; mask = lanedR->sizeBitMask; normalize(); } ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:97:60: error: ‘mask’ was not declared in this scope 97 | LanedIterator(const LanedRegister *lanedR) { size = 0; mask = lanedR->sizeBitMask; normalize(); } ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:97:75: error: ‘const class LanedRegister’ has no member named ‘sizeBitMask’ 97 | LanedIterator(const LanedRegister *lanedR) { size = 0; mask = lanedR->sizeBitMask; normalize(); } ///< Constructor | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘void FlowBlock::clearFlag(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:143:30: error: ‘flags’ was not declared in this scope 143 | void clearFlag(uint4 fl) { flags &= ~fl; } ///< Clear a boolean property | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh: In constructor ‘UserPcodeOp::UserPcodeOp(Architecture*, const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:43:16: error: ‘useropindex’ was not declared in this scope 43 | name = nm; useropindex = ind; glb = g; } ///< Construct from name and index | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:97:60: error: ‘mask’ was not declared in this scope 97 | LanedIterator(const LanedRegister *lanedR) { size = 0; mask = lanedR->sizeBitMask; normalize(); } ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:72:57: error: ‘int4’ has not been declared 72 | UnspecializedPcodeOp(Architecture *g,const string &nm,int4 ind) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:97:75: error: ‘const class LanedRegister’ has no member named ‘sizeBitMask’ 97 | LanedIterator(const LanedRegister *lanedR) { size = 0; mask = lanedR->sizeBitMask; normalize(); } ///< Constructor | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh: In constructor ‘LanedRegister::LanedIterator::LanedIterator()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:98:27: error: ‘size’ was not declared in this scope 98 | LanedIterator(void) { size = -1; mask = 0; } ///< Constructor for ending iterator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:84:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 84 | uint4 injectid; ///< The id of the injection object (to which this op maps) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:86:51: error: ‘int4’ has not been declared 86 | InjectedUserOp(Architecture *g,const string &nm,int4 ind,int4 injid) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:86:60: error: ‘int4’ has not been declared 86 | InjectedUserOp(Architecture *g,const string &nm,int4 ind,int4 injid) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:88:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 88 | uint4 getInjectId(void) const { return injectid; } ///< Get the id of the injection object | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh: In constructor ‘LanedRegister::LanedIterator::LanedIterator()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:98:27: error: ‘size’ was not declared in this scope 98 | LanedIterator(void) { size = -1; mask = 0; } ///< Constructor for ending iterator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:98:38: error: ‘mask’ was not declared in this scope 98 | LanedIterator(void) { size = -1; mask = 0; } ///< Constructor for ending iterator | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:18: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘void FlowBlock::setVisitCount(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:190:32: error: ‘visitcount’ was not declared in this scope; did you mean ‘setVisitCount’? 190 | void setVisitCount(int4 i) { visitcount = i; } ///< Set the number of times this block has been visited | ^~~~~~~~~~ | setVisitCount /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:98:38: error: ‘mask’ was not declared in this scope 98 | LanedIterator(void) { size = -1; mask = 0; } ///< Constructor for ending iterator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh: In constructor ‘InjectedUserOp::InjectedUserOp(Architecture*, const string&, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:87:31: error: ‘injectid’ was not declared in this scope; did you mean ‘injid’? 87 | : UserPcodeOp(g,nm,ind) { injectid = injid; } ///< Constructor | ^~~~~~~~ | injid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh: In member function ‘LanedRegister::LanedIterator& LanedRegister::LanedIterator::operator++()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:99:39: error: ‘size’ was not declared in this scope 99 | LanedIterator &operator++(void) { size += 1; normalize(); return *this; } ///< Preincrement operator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:101:47: error: ‘int4’ has not been declared 101 | static string appendSize(const string &base,int4 size); ///< Append a suffix to a string encoding a specific size | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:103:47: error: ‘int4’ has not been declared 103 | VolatileOp(Architecture *g,const string &nm,int4 ind) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:114:51: error: ‘int4’ has not been declared 114 | VolatileReadOp(Architecture *g,const string &nm,int4 ind) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isMark() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:194:38: error: ‘flags’ was not declared in this scope 194 | bool isMark(void) const { return ((flags&f_mark)!=0); } ///< Return \b true if \b this block has been marked | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:128:52: error: ‘int4’ has not been declared 128 | VolatileWriteOp(Architecture *g,const string &nm,int4 ind) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh: In member function ‘LanedRegister::LanedIterator& LanedRegister::LanedIterator::operator++()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:99:39: error: ‘size’ was not declared in this scope 99 | LanedIterator &operator++(void) { size += 1; normalize(); return *this; } ///< Preincrement operator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:146:50: error: ‘int4’ has not been declared 146 | TermPatternOp(Architecture *g,const string &nm,int4 ind) : UserPcodeOp(g,nm,ind) {} ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh: In member function ‘LanedRegister::LanedIterator& LanedRegister::LanedIterator::operator=(const LanedRegister::LanedIterator&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:101:58: error: ‘size’ was not declared in this scope 101 | LanedIterator &operator=(const LanedIterator &op2) { size = op2.size; mask = op2.mask; return *this; } ///< Assignment | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:147:11: error: ‘int4’ does not name a type; did you mean ‘int’? 147 | virtual int4 getNumVariableTerms(void) const=0; ///< Get the number of input Varnodes expected | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:101:69: error: ‘const class LanedRegister::LanedIterator’ has no member named ‘size’ 101 | LanedIterator &operator=(const LanedIterator &op2) { size = op2.size; mask = op2.mask; return *this; } ///< Assignment | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:161:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 161 | virtual uintb execute(const vector &input) const=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘void FlowBlock::setMark()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:195:24: error: ‘flags’ was not declared in this scope 195 | void setMark(void) { flags |= f_mark; } ///< Mark \b this block | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh: In member function ‘LanedRegister::LanedIterator& LanedRegister::LanedIterator::operator=(const LanedRegister::LanedIterator&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:101:58: error: ‘size’ was not declared in this scope 101 | LanedIterator &operator=(const LanedIterator &op2) { size = op2.size; mask = op2.mask; return *this; } ///< Assignment | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:101:69: error: ‘const class LanedRegister::LanedIterator’ has no member named ‘size’ 101 | LanedIterator &operator=(const LanedIterator &op2) { size = op2.size; mask = op2.mask; return *this; } ///< Assignment | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:171:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 171 | uintb val; ///< A possible constant second input | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:172:3: error: ‘int4’ does not name a type; did you mean ‘int’? 172 | int4 slot; ///< Slot to follow | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:101:75: error: ‘mask’ was not declared in this scope 101 | LanedIterator &operator=(const LanedIterator &op2) { size = op2.size; mask = op2.mask; return *this; } ///< Assignment | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:101:86: error: ‘const class LanedRegister::LanedIterator’ has no member named ‘mask’ 101 | LanedIterator &operator=(const LanedIterator &op2) { size = op2.size; mask = op2.mask; return *this; } ///< Assignment | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:201:3: error: ‘int4’ does not name a type; did you mean ‘int’? 201 | int4 injectId; ///< Id of InjectPayload that emulates \b this operation | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘void FlowBlock::clearMark()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:196:26: error: ‘flags’ was not declared in this scope 196 | void clearMark(void) { flags &= ~f_mark; } ///< Clear any mark on \b this block | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:101:75: error: ‘mask’ was not declared in this scope 101 | LanedIterator &operator=(const LanedIterator &op2) { size = op2.size; mask = op2.mask; return *this; } ///< Assignment | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:101:86: error: ‘const class LanedRegister::LanedIterator’ has no member named ‘mask’ 101 | LanedIterator &operator=(const LanedIterator &op2) { size = op2.size; mask = op2.mask; return *this; } ///< Assignment | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:202:3: error: ‘int4’ does not name a type; did you mean ‘int’? 202 | int4 baseinsize; ///< The size in bytes of the \e base or \e segment value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:203:3: error: ‘int4’ does not name a type; did you mean ‘int’? 203 | int4 innerinsize; ///< The size in bytes of the \e near pointer value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh: In member function ‘bool LanedRegister::LanedIterator::operator==(const LanedRegister::LanedIterator&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:102:63: error: ‘size’ was not declared in this scope 102 | bool operator==(const LanedIterator &op2) const { return (size == op2.size); } ///< Equal operator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:102:75: error: ‘const class LanedRegister::LanedIterator’ has no member named ‘size’ 102 | bool operator==(const LanedIterator &op2) const { return (size == op2.size); } ///< Equal operator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:207:46: error: ‘int4’ has not been declared 207 | SegmentOp(Architecture *g,const string &nm,int4 ind); ///< Constructor | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:32, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:210:3: error: ‘int4’ does not name a type; did you mean ‘int’? 210 | int4 getBaseSize(void) const { return baseinsize; } ///< Get size in bytes of the base/segment value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh: In member function ‘bool LanedRegister::LanedIterator::operator==(const LanedRegister::LanedIterator&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:102:63: error: ‘size’ was not declared in this scope 102 | bool operator==(const LanedIterator &op2) const { return (size == op2.size); } ///< Equal operator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘void FlowBlock::setDonothingLoop()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:197:33: error: ‘flags’ was not declared in this scope 197 | void setDonothingLoop(void) { flags |= f_donothing_loop; } ///< Label \b this as a \e do \e nothing loop | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:102:75: error: ‘const class LanedRegister::LanedIterator’ has no member named ‘size’ 102 | bool operator==(const LanedIterator &op2) const { return (size == op2.size); } ///< Equal operator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:211:3: error: ‘int4’ does not name a type; did you mean ‘int’? 211 | int4 getInnerSize(void) const { return innerinsize; } ///< Get size in bytes of the near value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh: In member function ‘bool LanedRegister::LanedIterator::operator!=(const LanedRegister::LanedIterator&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:103:63: error: ‘size’ was not declared in this scope 103 | bool operator!=(const LanedIterator &op2) const { return (size != op2.size); } ///< Not-equal operator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:213:11: error: ‘int4’ does not name a type; did you mean ‘int’? 213 | virtual int4 getNumVariableTerms(void) const { if (baseinsize!=0) return 2; return 1; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:103:75: error: ‘const class LanedRegister::LanedIterator’ has no member named ‘size’ 103 | bool operator!=(const LanedIterator &op2) const { return (size != op2.size); } ///< Not-equal operator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:215:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 215 | virtual uintb execute(const vector &input) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh: In member function ‘bool LanedRegister::LanedIterator::operator!=(const LanedRegister::LanedIterator&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:103:63: error: ‘size’ was not declared in this scope 103 | bool operator!=(const LanedIterator &op2) const { return (size != op2.size); } ///< Not-equal operator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:103:75: error: ‘const class LanedRegister::LanedIterator’ has no member named ‘size’ 103 | bool operator!=(const LanedIterator &op2) const { return (size != op2.size); } ///< Not-equal operator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘void FlowBlock::setDead()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:198:24: error: ‘flags’ was not declared in this scope 198 | void setDead(void) { flags |= f_dead; } ///< Label \b this as dead | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:230:3: error: ‘int4’ does not name a type; did you mean ‘int’? 230 | int4 index2case; ///< Id of p-code script performing index2case (== -1 if no script and index==case) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:231:3: error: ‘int4’ does not name a type; did you mean ‘int’? 231 | int4 index2addr; ///< Id of p-code script performing index2addr (must be present) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:232:3: error: ‘int4’ does not name a type; did you mean ‘int’? 232 | int4 defaultaddr; ///< Id of p-code script performing calculation of default address (must be present) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:233:3: error: ‘int4’ does not name a type; did you mean ‘int’? 233 | int4 calcsize; ///< Id of p-code script that calculates number of indices (== -1 if no script) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh: In constructor ‘LanedRegister::LanedRegister()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:110:25: error: ‘wholeSize’ was not declared in this scope 110 | LanedRegister(void) { wholeSize = 0; sizeBitMask = 0; } ///< Constructor for use with restoreXml | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::hasSpecialLabel() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:199:47: error: ‘flags’ was not declared in this scope 199 | bool hasSpecialLabel(void) const { return ((flags&(f_joined_block|f_duplicate_block))!=0); } ///< Return \b true if \b this uses a different label | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:236:3: error: ‘int4’ does not name a type; did you mean ‘int’? 236 | int4 getIndex2Case(void) const { return index2case; } ///< Get the injection id for \b index2case | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:237:3: error: ‘int4’ does not name a type; did you mean ‘int’? 237 | int4 getIndex2Addr(void) const { return index2addr; } ///< Get the injection id for \b index2addr | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh: In constructor ‘LanedRegister::LanedRegister()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:110:25: error: ‘wholeSize’ was not declared in this scope 110 | LanedRegister(void) { wholeSize = 0; sizeBitMask = 0; } ///< Constructor for use with restoreXml | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:238:3: error: ‘int4’ does not name a type; did you mean ‘int’? 238 | int4 getDefaultAddr(void) const { return defaultaddr; } ///< Get the injection id for \b defaultaddr | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:239:3: error: ‘int4’ does not name a type; did you mean ‘int’? 239 | int4 getCalcSize(void) const { return calcsize; } ///< Get the injection id for \b calcsize | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isJoined() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:200:40: error: ‘flags’ was not declared in this scope 200 | bool isJoined(void) const { return ((flags&f_joined_block)!=0); } ///< Return \b true if \b this is a \e joined basic block | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:110:40: error: ‘sizeBitMask’ was not declared in this scope 110 | LanedRegister(void) { wholeSize = 0; sizeBitMask = 0; } ///< Constructor for use with restoreXml | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isDuplicated() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:201:44: error: ‘flags’ was not declared in this scope 201 | bool isDuplicated(void) const { return ((flags&f_duplicate_block)!=0); } ///< Return \b true if \b this is a \e duplicated block | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:110:40: error: ‘sizeBitMask’ was not declared in this scope 110 | LanedRegister(void) { wholeSize = 0; sizeBitMask = 0; } ///< Constructor for use with restoreXml | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::getFlipPath() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:205:43: error: ‘flags’ was not declared in this scope 205 | bool getFlipPath(void) const { return ((flags & f_flip_path)!=0); } ///< Have out edges been flipped | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isLoopIn(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:224:54: error: ‘const value_type’ {aka ‘const struct BlockEdge’} has no member named ‘label’ 224 | bool isLoopIn(int4 i) const { return ((intothis[i].label & f_loop_edge)!=0); } ///< Is the i-th incoming edge a \e loop edge | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isLoopOut(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:225:56: error: ‘const value_type’ {aka ‘const struct BlockEdge’} has no member named ‘label’ 225 | bool isLoopOut(int4 i) const { return ((outofthis[i].label & f_loop_edge)!=0); } ///< Is the i-th outgoing edge a \e loop edge | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isDefaultBranch(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:228:62: error: ‘const value_type’ {aka ‘const struct BlockEdge’} has no member named ‘label’ 228 | bool isDefaultBranch(int4 i) const { return ((outofthis[i].label & f_defaultswitch_edge)!=0); } ///< Is the i-th out edge the switch default edge | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh: In member function ‘void LanedRegister::addLaneSize(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:115:33: error: ‘sizeBitMask’ was not declared in this scope 115 | void addLaneSize(int4 size) { sizeBitMask |= ((uint4)1 << size); } ///< Add a new \e size to the allowed list | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh: In member function ‘void LanedRegister::addLaneSize(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:115:33: error: ‘sizeBitMask’ was not declared in this scope 115 | void addLaneSize(int4 size) { sizeBitMask |= ((uint4)1 << size); } ///< Add a new \e size to the allowed list | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:115:50: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 115 | void addLaneSize(int4 size) { sizeBitMask |= ((uint4)1 << size); } ///< Add a new \e size to the allowed list | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:115:56: error: expected ‘)’ before numeric constant 115 | void addLaneSize(int4 size) { sizeBitMask |= ((uint4)1 << size); } ///< Add a new \e size to the allowed list | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:115:48: note: to match this ‘(’ 115 | void addLaneSize(int4 size) { sizeBitMask |= ((uint4)1 << size); } ///< Add a new \e size to the allowed list | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isLabelBumpUp() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:229:45: error: ‘flags’ was not declared in this scope 229 | bool isLabelBumpUp(void) const { return ((flags & f_label_bumpup)!=0); } ///< Are labels for \b this printed by the parent | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:115:50: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 115 | void addLaneSize(int4 size) { sizeBitMask |= ((uint4)1 << size); } ///< Add a new \e size to the allowed list | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:115:56: error: expected ‘)’ before numeric constant 115 | void addLaneSize(int4 size) { sizeBitMask |= ((uint4)1 << size); } ///< Add a new \e size to the allowed list | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:115:48: note: to match this ‘(’ 115 | void addLaneSize(int4 size) { sizeBitMask |= ((uint4)1 << size); } ///< Add a new \e size to the allowed list | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isUnstructuredTarget() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:230:52: error: ‘flags’ was not declared in this scope 230 | bool isUnstructuredTarget(void) const { return ((flags & f_unstructured_targ)!=0); } ///< Is \b this the target of an unstructured goto | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh: In member function ‘bool LanedRegister::allowedLane(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:116:49: error: ‘sizeBitMask’ was not declared in this scope 116 | bool allowedLane(int4 size) const { return (((sizeBitMask >> size) & 1) != 0); } ///< Is \e size among the allowed lane sizes | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isInteriorGotoTarget() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:231:52: error: ‘flags’ was not declared in this scope 231 | bool isInteriorGotoTarget(void) const { return ((flags & f_interior_gotoin)!=0); } ///< Is there an unstructured goto to \b this block's interior | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:34, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:127:3: error: ‘int4’ does not name a type; did you mean ‘int’? 127 | int4 wholeSize; ///< Size of the region being split in bytes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh: In member function ‘bool LanedRegister::allowedLane(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:116:49: error: ‘sizeBitMask’ was not declared in this scope 116 | bool allowedLane(int4 size) const { return (((sizeBitMask >> size) & 1) != 0); } ///< Is \e size among the allowed lane sizes | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:128:10: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 128 | vector laneSize; ///< Size of lanes in bytes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:128:14: error: template argument 1 is invalid 128 | vector laneSize; ///< Size of lanes in bytes | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:128:14: error: template argument 2 is invalid In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:34, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:127:3: error: ‘int4’ does not name a type; did you mean ‘int’? 127 | int4 wholeSize; ///< Size of the region being split in bytes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::hasInteriorGoto() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:232:47: error: ‘flags’ was not declared in this scope 232 | bool hasInteriorGoto(void) const { return ((flags & f_interior_gotoout)!=0); } ///< Is there an unstructured goto out of \b this block's interior | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:128:10: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 128 | vector laneSize; ///< Size of lanes in bytes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:129:10: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 129 | vector lanePosition; ///< Significance positions of lanes in bytes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:128:14: error: template argument 1 is invalid 128 | vector laneSize; ///< Size of lanes in bytes | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:129:14: error: template argument 1 is invalid 129 | vector lanePosition; ///< Significance positions of lanes in bytes | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:129:14: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:128:14: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:132:23: error: expected ‘)’ before ‘origSize’ 132 | LaneDescription(int4 origSize,int4 sz); ///< Construct uniform lanes | ~ ^~~~~~~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:133:23: error: expected ‘)’ before ‘origSize’ 133 | LaneDescription(int4 origSize,int4 lo,int4 hi); ///< Construct two lanes of arbitrary size | ~ ^~~~~~~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:134:15: error: ‘int4’ has not been declared 134 | bool subset(int4 lsbOffset,int4 size); ///< Trim \b this to a subset of the original lanes | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:134:30: error: ‘int4’ has not been declared 134 | bool subset(int4 lsbOffset,int4 size); ///< Trim \b this to a subset of the original lanes | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isEntryPoint() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:233:44: error: ‘flags’ was not declared in this scope 233 | bool isEntryPoint(void) const { return ((flags&f_entry_point)!=0); } ///< Is the entry point of the function | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:135:3: error: ‘int4’ does not name a type; did you mean ‘int’? 135 | int4 getNumLanes(void) const { return laneSize.size(); } ///< Get the total number of lanes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:262:3: error: ‘int4’ does not name a type; did you mean ‘int’? 262 | int4 numSegmentOps(void) const { return segmentop.size(); } ///< Number of segment operations supported | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:267:22: error: ‘int4’ has not been declared 267 | UserPcodeOp *getOp(int4 i) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:277:27: error: ‘int4’ has not been declared 277 | SegmentOp *getSegmentOp(int4 i) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:136:3: error: ‘int4’ does not name a type; did you mean ‘int’? 136 | int4 getWholeSize(void) const { return wholeSize; } ///< Get the size of the region being split | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:129:10: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 129 | vector lanePosition; ///< Significance positions of lanes in bytes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:129:14: error: template argument 1 is invalid 129 | vector lanePosition; ///< Significance positions of lanes in bytes | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:129:14: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:132:23: error: expected ‘)’ before ‘origSize’ 132 | LaneDescription(int4 origSize,int4 sz); ///< Construct uniform lanes | ~ ^~~~~~~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:133:23: error: expected ‘)’ before ‘origSize’ 133 | LaneDescription(int4 origSize,int4 lo,int4 hi); ///< Construct two lanes of arbitrary size | ~ ^~~~~~~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:134:15: error: ‘int4’ has not been declared 134 | bool subset(int4 lsbOffset,int4 size); ///< Trim \b this to a subset of the original lanes | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:134:30: error: ‘int4’ has not been declared 134 | bool subset(int4 lsbOffset,int4 size); ///< Trim \b this to a subset of the original lanes | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:137:3: error: ‘int4’ does not name a type; did you mean ‘int’? 137 | int4 getSize(int4 i) const { return laneSize[i]; } ///< Get the size of the i-th lane | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:135:3: error: ‘int4’ does not name a type; did you mean ‘int’? 135 | int4 getNumLanes(void) const { return laneSize.size(); } ///< Get the total number of lanes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:138:3: error: ‘int4’ does not name a type; did you mean ‘int’? 138 | int4 getPosition(int4 i) const { return lanePosition[i]; } ///< Get the significance offset of the i-th lane | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isSwitchOut() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:234:43: error: ‘flags’ was not declared in this scope 234 | bool isSwitchOut(void) const { return ((flags&f_switch_out)!=0); } ///< Is \b this a switch block | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:136:3: error: ‘int4’ does not name a type; did you mean ‘int’? 136 | int4 getWholeSize(void) const { return wholeSize; } ///< Get the size of the region being split | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:139:3: error: ‘int4’ does not name a type; did you mean ‘int’? 139 | int4 getBoundary(int4 bytePos) const; ///< Get index of lane that starts at the given byte position | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:140:20: error: ‘int4’ has not been declared 140 | bool restriction(int4 numLanes,int4 skipLanes,int4 bytePos,int4 size,int4 &resNumLanes,int4 &resSkipLanes) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:140:34: error: ‘int4’ has not been declared 140 | bool restriction(int4 numLanes,int4 skipLanes,int4 bytePos,int4 size,int4 &resNumLanes,int4 &resSkipLanes) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:140:49: error: ‘int4’ has not been declared 140 | bool restriction(int4 numLanes,int4 skipLanes,int4 bytePos,int4 size,int4 &resNumLanes,int4 &resSkipLanes) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:140:62: error: ‘int4’ has not been declared 140 | bool restriction(int4 numLanes,int4 skipLanes,int4 bytePos,int4 size,int4 &resNumLanes,int4 &resSkipLanes) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:140:72: error: ‘int4’ has not been declared 140 | bool restriction(int4 numLanes,int4 skipLanes,int4 bytePos,int4 size,int4 &resNumLanes,int4 &resSkipLanes) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:140:90: error: ‘int4’ has not been declared 140 | bool restriction(int4 numLanes,int4 skipLanes,int4 bytePos,int4 size,int4 &resNumLanes,int4 &resSkipLanes) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:141:18: error: ‘int4’ has not been declared 141 | bool extension(int4 numLanes,int4 skipLanes,int4 bytePos,int4 size,int4 &resNumLanes,int4 &resSkipLanes) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:141:32: error: ‘int4’ has not been declared 141 | bool extension(int4 numLanes,int4 skipLanes,int4 bytePos,int4 size,int4 &resNumLanes,int4 &resSkipLanes) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:141:47: error: ‘int4’ has not been declared 141 | bool extension(int4 numLanes,int4 skipLanes,int4 bytePos,int4 size,int4 &resNumLanes,int4 &resSkipLanes) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:141:60: error: ‘int4’ has not been declared 141 | bool extension(int4 numLanes,int4 skipLanes,int4 bytePos,int4 size,int4 &resNumLanes,int4 &resSkipLanes) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:141:70: error: ‘int4’ has not been declared 141 | bool extension(int4 numLanes,int4 skipLanes,int4 bytePos,int4 size,int4 &resNumLanes,int4 &resSkipLanes) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:141:88: error: ‘int4’ has not been declared 141 | bool extension(int4 numLanes,int4 skipLanes,int4 bytePos,int4 size,int4 &resNumLanes,int4 &resSkipLanes) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:137:3: error: ‘int4’ does not name a type; did you mean ‘int’? 137 | int4 getSize(int4 i) const { return laneSize[i]; } ///< Get the size of the i-th lane | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:138:3: error: ‘int4’ does not name a type; did you mean ‘int’? 138 | int4 getPosition(int4 i) const { return lanePosition[i]; } ///< Get the significance offset of the i-th lane | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isDonothingLoop() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:235:47: error: ‘flags’ was not declared in this scope 235 | bool isDonothingLoop(void) const { return ((flags&f_donothing_loop)!=0); } ///< Is \b this a \e do \e nothing block | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:139:3: error: ‘int4’ does not name a type; did you mean ‘int’? 139 | int4 getBoundary(int4 bytePos) const; ///< Get index of lane that starts at the given byte position | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:140:20: error: ‘int4’ has not been declared 140 | bool restriction(int4 numLanes,int4 skipLanes,int4 bytePos,int4 size,int4 &resNumLanes,int4 &resSkipLanes) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:140:34: error: ‘int4’ has not been declared 140 | bool restriction(int4 numLanes,int4 skipLanes,int4 bytePos,int4 size,int4 &resNumLanes,int4 &resSkipLanes) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:140:49: error: ‘int4’ has not been declared 140 | bool restriction(int4 numLanes,int4 skipLanes,int4 bytePos,int4 size,int4 &resNumLanes,int4 &resSkipLanes) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:140:62: error: ‘int4’ has not been declared 140 | bool restriction(int4 numLanes,int4 skipLanes,int4 bytePos,int4 size,int4 &resNumLanes,int4 &resSkipLanes) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:140:72: error: ‘int4’ has not been declared 140 | bool restriction(int4 numLanes,int4 skipLanes,int4 bytePos,int4 size,int4 &resNumLanes,int4 &resSkipLanes) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:140:90: error: ‘int4’ has not been declared 140 | bool restriction(int4 numLanes,int4 skipLanes,int4 bytePos,int4 size,int4 &resNumLanes,int4 &resSkipLanes) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:141:18: error: ‘int4’ has not been declared 141 | bool extension(int4 numLanes,int4 skipLanes,int4 bytePos,int4 size,int4 &resNumLanes,int4 &resSkipLanes) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:152:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 152 | map pieceMap; ///< Map from large Varnodes to their new pieces | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:141:32: error: ‘int4’ has not been declared 141 | bool extension(int4 numLanes,int4 skipLanes,int4 bytePos,int4 size,int4 &resNumLanes,int4 &resSkipLanes) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:152:26: error: template argument 1 is invalid 152 | map pieceMap; ///< Map from large Varnodes to their new pieces | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:152:26: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:152:26: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:141:47: error: ‘int4’ has not been declared 141 | bool extension(int4 numLanes,int4 skipLanes,int4 bytePos,int4 size,int4 &resNumLanes,int4 &resSkipLanes) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:141:60: error: ‘int4’ has not been declared 141 | bool extension(int4 numLanes,int4 skipLanes,int4 bytePos,int4 size,int4 &resNumLanes,int4 &resSkipLanes) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:141:70: error: ‘int4’ has not been declared 141 | bool extension(int4 numLanes,int4 skipLanes,int4 bytePos,int4 size,int4 &resNumLanes,int4 &resSkipLanes) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:141:88: error: ‘int4’ has not been declared 141 | bool extension(int4 numLanes,int4 skipLanes,int4 bytePos,int4 size,int4 &resNumLanes,int4 &resSkipLanes) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:152:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 152 | map pieceMap; ///< Map from large Varnodes to their new pieces | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:152:26: error: template argument 1 is invalid 152 | map pieceMap; ///< Map from large Varnodes to their new pieces | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:152:26: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:152:26: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isDead() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:236:38: error: ‘flags’ was not declared in this scope 236 | bool isDead(void) const { return ((flags & f_dead)!=0); } ///< Is \b this block dead | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isTreeEdgeIn(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:237:58: error: ‘const value_type’ {aka ‘const struct BlockEdge’} has no member named ‘label’ 237 | bool isTreeEdgeIn(int4 i) const { return ((intothis[i].label & f_tree_edge)!=0); } ///< Is the i-th incoming edge part of the spanning tree | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isBackEdgeIn(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:238:58: error: ‘const value_type’ {aka ‘const struct BlockEdge’} has no member named ‘label’ 238 | bool isBackEdgeIn(int4 i) const { return ((intothis[i].label & f_back_edge)!=0); } ///< Is the i-th incoming edge a \e back edge | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isBackEdgeOut(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:239:60: error: ‘const value_type’ {aka ‘const struct BlockEdge’} has no member named ‘label’ 239 | bool isBackEdgeOut(int4 i) const { return ((outofthis[i].label & f_back_edge)!=0); } ///< Is the i-th outgoing edge a \e back edge | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isIrreducibleOut(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:240:63: error: ‘const value_type’ {aka ‘const struct BlockEdge’} has no member named ‘label’ 240 | bool isIrreducibleOut(int4 i) const { return ((outofthis[i].label & f_irreducible)!=0); } ///< Is the i-th outgoing edge an irreducible edge | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isIrreducibleIn(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:241:61: error: ‘const value_type’ {aka ‘const struct BlockEdge’} has no member named ‘label’ 241 | bool isIrreducibleIn(int4 i) const { return ((intothis[i].label & f_irreducible)!=0); } ///< Is the i-th incoming edge an irreducible edge | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isDecisionOut(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:244:60: error: ‘const value_type’ {aka ‘const struct BlockEdge’} has no member named ‘label’ 244 | bool isDecisionOut(int4 i) const { return ((outofthis[i].label & (f_irreducible|f_back_edge|f_goto_edge))==0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isDecisionIn(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:247:58: error: ‘const value_type’ {aka ‘const struct BlockEdge’} has no member named ‘label’ 247 | bool isDecisionIn(int4 i) const { return ((intothis[i].label & (f_irreducible|f_back_edge|f_goto_edge))==0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isLoopDAGOut(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:250:59: error: ‘const value_type’ {aka ‘const struct BlockEdge’} has no member named ‘label’ 250 | bool isLoopDAGOut(int4 i) const { return ((outofthis[i].label & (f_irreducible|f_back_edge|f_loop_exit_edge|f_goto_edge))==0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isLoopDAGIn(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:253:57: error: ‘const value_type’ {aka ‘const struct BlockEdge’} has no member named ‘label’ 253 | bool isLoopDAGIn(int4 i) const { return ((intothis[i].label & (f_irreducible|f_back_edge|f_loop_exit_edge|f_goto_edge))==0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isGotoIn(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:254:54: error: ‘const value_type’ {aka ‘const struct BlockEdge’} has no member named ‘label’ 254 | bool isGotoIn(int4 i) const { return ((intothis[i].label & (f_irreducible|f_goto_edge))!=0); } ///< Is the i-th incoming edge unstructured | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool FlowBlock::isGotoOut(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:255:56: error: ‘const value_type’ {aka ‘const struct BlockEdge’} has no member named ‘label’ 255 | bool isGotoOut(int4 i) const { return ((outofthis[i].label & (f_irreducible|f_goto_edge))!=0); } ///< Is the i-th outgoing edge unstructured | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:274:23: error: ‘int4’ has not been declared 274 | void forceOutputNum(int4 i); ///< Force number of outputs | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:277:23: error: ‘uint4’ has not been declared 277 | void clearEdgeFlags(uint4 flags); ///< Clear a set of properties from all edges in the graph | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:280:60: error: ‘int4’ has not been declared 280 | bool findIrreducible(const vector &preorder,int4 &irreduciblecount); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:283:19: error: ‘int4’ has not been declared 283 | void swapBlocks(int4 i,int4 j); ///< Swap the positions two component FlowBlocks | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:283:26: error: ‘int4’ has not been declared 283 | void swapBlocks(int4 i,int4 j); ///< Swap the positions two component FlowBlocks | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:284:43: error: ‘uint4’ has not been declared 284 | static void markCopyBlock(FlowBlock *bl,uint4 fl); ///< Set properties on the first leaf FlowBlock | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:289:3: error: ‘int4’ does not name a type; did you mean ‘int’? 289 | int4 getSize(void) const { return list.size(); } ///< Get the number of components | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:290:23: error: ‘int4’ has not been declared 290 | FlowBlock *getBlock(int4 i) const { return list[i]; } ///< Get the i-th component | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:292:31: error: ‘int4’ has not been declared 292 | virtual FlowBlock *subBlock(int4 i) const { return list[i]; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:295:27: error: ‘int4’ has not been declared 295 | virtual void scopeBreak(int4 curexit,int4 curloopexit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:295:40: error: ‘int4’ has not been declared 295 | virtual void scopeBreak(int4 curexit,int4 curloopexit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:296:37: error: ‘int4’ has not been declared 296 | virtual void printTree(ostream &s,int4 level) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:306:37: error: ‘int4’ has not been declared 306 | void addLoopEdge(FlowBlock *begin,int4 outindex); ///< Mark a given edge as a \e loop edge | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:309:37: error: ‘int4’ has not been declared 309 | void moveOutEdge(FlowBlock *blold,int4 slot,FlowBlock *blnew); ///< Move indicated \e out edge to a new FlowBlock | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:165:44: error: ‘int4’ has not been declared 165 | virtual bool preserveAddress(Varnode *vn,int4 bitSize,int4 lsbOffset) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:323:51: error: ‘int4’ has not been declared 323 | BlockMultiGoto *newBlockMultiGoto(FlowBlock *bl,int4 outedge); ///< Build a new BlockMultiGoto | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:165:57: error: ‘int4’ has not been declared 165 | virtual bool preserveAddress(Varnode *vn,int4 bitSize,int4 lsbOffset) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:169:27: error: ‘int4’ has not been declared 169 | TransformVar *newUnique(int4 size); ///< Make placeholder for new unique space Varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:170:29: error: ‘int4’ has not been declared 170 | TransformVar *newConstant(int4 size,int4 lsbOffset,uintb val); ///< Make placeholder for constant Varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:170:39: error: ‘int4’ has not been declared 170 | TransformVar *newConstant(int4 size,int4 lsbOffset,uintb val); ///< Make placeholder for constant Varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:170:54: error: ‘uintb’ has not been declared 170 | TransformVar *newConstant(int4 size,int4 lsbOffset,uintb val); ///< Make placeholder for constant Varnode | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:172:38: error: ‘int4’ has not been declared 172 | TransformVar *newPiece(Varnode *vn,int4 bitSize,int4 lsbOffset); ///< Make placeholder for piece of a Varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:172:51: error: ‘int4’ has not been declared 172 | TransformVar *newPiece(Varnode *vn,int4 bitSize,int4 lsbOffset); ///< Make placeholder for piece of a Varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:174:73: error: ‘int4’ has not been declared 174 | TransformVar *newSplit(Varnode *vn,const LaneDescription &description,int4 numLanes,int4 startLane); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:174:87: error: ‘int4’ has not been declared 174 | TransformVar *newSplit(Varnode *vn,const LaneDescription &description,int4 numLanes,int4 startLane); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:175:29: error: ‘int4’ has not been declared 175 | TransformOp *newOpReplace(int4 numParams,OpCode opc,PcodeOp *replace); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:176:22: error: ‘int4’ has not been declared 176 | TransformOp *newOp(int4 numParams,OpCode opc,TransformOp *follow); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:177:33: error: ‘int4’ has not been declared 177 | TransformOp *newPreexistingOp(int4 numParams,OpCode opc,PcodeOp *originalOp); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:180:38: error: ‘int4’ has not been declared 180 | TransformVar *getPiece(Varnode *vn,int4 bitSize,int4 lsbOffset); ///< Get (or create) placeholder piece | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:180:51: error: ‘int4’ has not been declared 180 | TransformVar *getPiece(Varnode *vn,int4 bitSize,int4 lsbOffset); ///< Get (or create) placeholder piece | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:182:73: error: ‘int4’ has not been declared 182 | TransformVar *getSplit(Varnode *vn,const LaneDescription &description,int4 numLanes,int4 startLane); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:182:87: error: ‘int4’ has not been declared 182 | TransformVar *getSplit(Varnode *vn,const LaneDescription &description,int4 numLanes,int4 startLane); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:183:54: error: ‘int4’ has not been declared 183 | void opSetInput(TransformOp *rop,TransformVar *rvn,int4 slot); ///< Mark given variable as input to given op | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:185:32: error: ‘int4’ has not been declared 185 | static bool preexistingGuard(int4 slot,TransformVar *rvn); ///< Should newPreexistingOp be called | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:340:3: error: ‘int4’ does not name a type; did you mean ‘int’? 340 | int4 buildDomDepth(vector &depth) const; ///< Calculate dominator depths | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:165:44: error: ‘int4’ has not been declared 165 | virtual bool preserveAddress(Varnode *vn,int4 bitSize,int4 lsbOffset) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:165:57: error: ‘int4’ has not been declared 165 | virtual bool preserveAddress(Varnode *vn,int4 bitSize,int4 lsbOffset) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:169:27: error: ‘int4’ has not been declared 169 | TransformVar *newUnique(int4 size); ///< Make placeholder for new unique space Varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:170:29: error: ‘int4’ has not been declared 170 | TransformVar *newConstant(int4 size,int4 lsbOffset,uintb val); ///< Make placeholder for constant Varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:170:39: error: ‘int4’ has not been declared 170 | TransformVar *newConstant(int4 size,int4 lsbOffset,uintb val); ///< Make placeholder for constant Varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:170:54: error: ‘uintb’ has not been declared 170 | TransformVar *newConstant(int4 size,int4 lsbOffset,uintb val); ///< Make placeholder for constant Varnode | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:172:38: error: ‘int4’ has not been declared 172 | TransformVar *newPiece(Varnode *vn,int4 bitSize,int4 lsbOffset); ///< Make placeholder for piece of a Varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:172:51: error: ‘int4’ has not been declared 172 | TransformVar *newPiece(Varnode *vn,int4 bitSize,int4 lsbOffset); ///< Make placeholder for piece of a Varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:174:73: error: ‘int4’ has not been declared 174 | TransformVar *newSplit(Varnode *vn,const LaneDescription &description,int4 numLanes,int4 startLane); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:174:87: error: ‘int4’ has not been declared 174 | TransformVar *newSplit(Varnode *vn,const LaneDescription &description,int4 numLanes,int4 startLane); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:175:29: error: ‘int4’ has not been declared 175 | TransformOp *newOpReplace(int4 numParams,OpCode opc,PcodeOp *replace); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:176:22: error: ‘int4’ has not been declared 176 | TransformOp *newOp(int4 numParams,OpCode opc,TransformOp *follow); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:385:31: error: ‘int4’ has not been declared 385 | virtual FlowBlock *subBlock(int4 i) const { return (FlowBlock *)0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:177:33: error: ‘int4’ has not been declared 177 | TransformOp *newPreexistingOp(int4 numParams,OpCode opc,PcodeOp *originalOp); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:180:38: error: ‘int4’ has not been declared 180 | TransformVar *getPiece(Varnode *vn,int4 bitSize,int4 lsbOffset); ///< Get (or create) placeholder piece | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:180:51: error: ‘int4’ has not been declared 180 | TransformVar *getPiece(Varnode *vn,int4 bitSize,int4 lsbOffset); ///< Get (or create) placeholder piece | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:182:73: error: ‘int4’ has not been declared 182 | TransformVar *getSplit(Varnode *vn,const LaneDescription &description,int4 numLanes,int4 startLane); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:182:87: error: ‘int4’ has not been declared 182 | TransformVar *getSplit(Varnode *vn,const LaneDescription &description,int4 numLanes,int4 startLane); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:183:54: error: ‘int4’ has not been declared 183 | void opSetInput(TransformOp *rop,TransformVar *rvn,int4 slot); ///< Mark given variable as input to given op | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:185:32: error: ‘int4’ has not been declared 185 | static bool preexistingGuard(int4 slot,TransformVar *rvn); ///< Should newPreexistingOp be called | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:197:13: error: variable or field ‘initialize’ declared void 197 | inline void TransformVar::initialize(uint4 tp,Varnode *v,int4 bits,int4 bytes,uintb value) | ^~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:395:11: error: ‘int4’ does not name a type; did you mean ‘int’? 395 | virtual int4 flipInPlaceTest(vector &fliplist) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:398:23: error: ‘int4’ has not been declared 398 | bool unblockedMulti(int4 outslot) const; ///< Check if \b this block can be removed without introducing inconsistencies | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:406:53: error: ‘int4’ has not been declared 406 | static bool noInterveningStatement(PcodeOp *first,int4 path,PcodeOp *last); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:423:31: error: ‘int4’ has not been declared 423 | virtual FlowBlock *subBlock(int4 i) const { return copy; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:426:37: error: ‘int4’ has not been declared 426 | virtual void printTree(ostream &s,int4 level) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:197:38: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 197 | inline void TransformVar::initialize(uint4 tp,Varnode *v,int4 bits,int4 bytes,uintb value) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:197:55: error: expected primary-expression before ‘*’ token 197 | inline void TransformVar::initialize(uint4 tp,Varnode *v,int4 bits,int4 bytes,uintb value) | ^ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:34, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:47:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 47 | uint4 type; ///< Type of new Varnode | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:197:13: error: variable or field ‘initialize’ declared void 197 | inline void TransformVar::initialize(uint4 tp,Varnode *v,int4 bits,int4 bytes,uintb value) | ^~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:197:56: error: ‘v’ was not declared in this scope 197 | inline void TransformVar::initialize(uint4 tp,Varnode *v,int4 bits,int4 bytes,uintb value) | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:48:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 48 | uint4 flags; ///< Boolean properties of the placeholder | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:446:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 446 | uint4 gototype; ///< The type of unstructured branch (f_goto_goto, f_break_goto, etc.) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:49:3: error: ‘int4’ does not name a type; did you mean ‘int’? 49 | int4 byteSize; ///< Size of the lane Varnode in bytes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:197:58: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 197 | inline void TransformVar::initialize(uint4 tp,Varnode *v,int4 bits,int4 bytes,uintb value) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:197:38: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 197 | inline void TransformVar::initialize(uint4 tp,Varnode *v,int4 bits,int4 bytes,uintb value) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:197:55: error: expected primary-expression before ‘*’ token 197 | inline void TransformVar::initialize(uint4 tp,Varnode *v,int4 bits,int4 bytes,uintb value) | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:50:3: error: ‘int4’ does not name a type; did you mean ‘int’? 50 | int4 bitSize; ///< Size of the logical value in bits | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:450:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 450 | uint4 getGotoType(void) const { return gototype; } ///< Get the type of unstructured branch | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:454:27: error: ‘int4’ has not been declared 454 | virtual void scopeBreak(int4 curexit,int4 curloopexit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:454:40: error: ‘int4’ has not been declared 454 | virtual void scopeBreak(int4 curexit,int4 curloopexit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:51:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 51 | uintb val; ///< Value of constant or (bit) position within the original big Varnode | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:54:19: error: ‘uint4’ has not been declared 54 | void initialize(uint4 tp,Varnode *v,int4 bits,int4 bytes,uintb value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:54:39: error: ‘int4’ has not been declared 54 | void initialize(uint4 tp,Varnode *v,int4 bits,int4 bytes,uintb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:54:49: error: ‘int4’ has not been declared 54 | void initialize(uint4 tp,Varnode *v,int4 bits,int4 bytes,uintb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:54:60: error: ‘uintb’ has not been declared 54 | void initialize(uint4 tp,Varnode *v,int4 bits,int4 bytes,uintb value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:197:68: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 197 | inline void TransformVar::initialize(uint4 tp,Varnode *v,int4 bits,int4 bytes,uintb value) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:197:56: error: ‘v’ was not declared in this scope 197 | inline void TransformVar::initialize(uint4 tp,Varnode *v,int4 bits,int4 bytes,uintb value) | ^ make[2]: *** [ghidra/CMakeFiles/ghidra_decompiler_sleigh.dir/build.make:146: ghidra/CMakeFiles/ghidra_decompiler_sleigh.dir/__/ghidra-native/src/decompiler/slghsymbol.cc.o] Error 1 /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:76:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 76 | uint4 special; ///< Special handling code when creating | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:197:79: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 197 | inline void TransformVar::initialize(uint4 tp,Varnode *v,int4 bits,int4 bytes,uintb value) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:213:77: error: ‘int4’ has not been declared 213 | inline void TransformManager::opSetInput(TransformOp *rop,TransformVar *rvn,int4 slot) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:197:58: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 197 | inline void TransformVar::initialize(uint4 tp,Varnode *v,int4 bits,int4 bytes,uintb value) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:240:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 240 | inline bool TransformManager::preexistingGuard(int4 slot,TransformVar *rvn) | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:240:13: error: ‘bool TransformManager::preexistingGuard’ is not a static data member of ‘class TransformManager’ 240 | inline bool TransformManager::preexistingGuard(int4 slot,TransformVar *rvn) | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:197:68: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 197 | inline void TransformVar::initialize(uint4 tp,Varnode *v,int4 bits,int4 bytes,uintb value) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:240:48: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 240 | inline bool TransformManager::preexistingGuard(int4 slot,TransformVar *rvn) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:240:71: error: expected primary-expression before ‘*’ token 240 | inline bool TransformManager::preexistingGuard(int4 slot,TransformVar *rvn) | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:197:79: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 197 | inline void TransformVar::initialize(uint4 tp,Varnode *v,int4 bits,int4 bytes,uintb value) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:213:77: error: ‘int4’ has not been declared 213 | inline void TransformManager::opSetInput(TransformOp *rop,TransformVar *rvn,int4 slot) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:240:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 240 | inline bool TransformManager::preexistingGuard(int4 slot,TransformVar *rvn) | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:240:13: error: ‘bool TransformManager::preexistingGuard’ is not a static data member of ‘class TransformManager’ 240 | inline bool TransformManager::preexistingGuard(int4 slot,TransformVar *rvn) | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In constructor ‘BlockGoto::BlockGoto(FlowBlock*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:448:47: error: ‘gototype’ was not declared in this scope 448 | BlockGoto(FlowBlock *bl) { gototarget = bl; gototype = f_goto_goto; } ///< Construct given target block | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:84:23: error: ‘int4’ has not been declared 84 | TransformVar *getIn(int4 i) const { return input[i]; } ///< Get the i-th input placeholder variable for \b this | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:240:72: error: ‘rvn’ was not declared in this scope 240 | inline bool TransformManager::preexistingGuard(int4 slot,TransformVar *rvn) | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:240:75: error: expression list treated as compound expression in initializer [-fpermissive] 240 | inline bool TransformManager::preexistingGuard(int4 slot,TransformVar *rvn) | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:240:48: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 240 | inline bool TransformManager::preexistingGuard(int4 slot,TransformVar *rvn) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:240:71: error: expected primary-expression before ‘*’ token 240 | inline bool TransformManager::preexistingGuard(int4 slot,TransformVar *rvn) | ^ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:35, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prefersplit.hh:25:3: error: ‘int4’ does not name a type; did you mean ‘int’? 25 | int4 splitoffset; // Number of initial bytes (in address order) to split into first piece | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:93:5: error: ‘int4’ does not name a type; did you mean ‘int’? 93 | int4 size; ///< Current lane size | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:478:3: error: ‘int4’ does not name a type; did you mean ‘int’? 478 | int4 numGotos(void) const { return gotoedges.size(); } ///< Get the number of unstructured edges | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:479:22: error: ‘int4’ has not been declared 479 | FlowBlock *getGoto(int4 i) const { return gotoedges[i]; } ///< Get the target FlowBlock along the i-th unstructured edge | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:482:27: error: ‘int4’ has not been declared 482 | virtual void scopeBreak(int4 curexit,int4 curloopexit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:482:40: error: ‘int4’ has not been declared 482 | virtual void scopeBreak(int4 curexit,int4 curloopexit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prefersplit.hh:32:5: error: ‘int4’ does not name a type; did you mean ‘int’? 32 | int4 splitoffset; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:94:5: error: ‘uint4’ does not name a type; did you mean ‘uint’? 94 | uint4 mask; ///< Collection being iterated over | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prefersplit.hh:37:30: error: ‘int4’ has not been declared 37 | SplitInstance(Varnode *v,int4 off) { vn = v; splitoffset = off; hi = (Varnode *)0; lo = (Varnode *)0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:100:5: error: ‘int4’ does not name a type; did you mean ‘int’? 100 | int4 operator*(void) const { return size; } ///< Dereference operator | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:240:72: error: ‘rvn’ was not declared in this scope 240 | inline bool TransformManager::preexistingGuard(int4 slot,TransformVar *rvn) | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:240:75: error: expression list treated as compound expression in initializer [-fpermissive] 240 | inline bool TransformManager::preexistingGuard(int4 slot,TransformVar *rvn) | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:524:27: error: ‘int4’ has not been declared 524 | virtual void scopeBreak(int4 curexit,int4 curloopexit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:524:40: error: ‘int4’ has not been declared 524 | virtual void scopeBreak(int4 curexit,int4 curloopexit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:107:3: error: ‘int4’ does not name a type; did you mean ‘int’? 107 | int4 wholeSize; ///< Size of the whole register | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:35, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prefersplit.hh:25:3: error: ‘int4’ does not name a type; did you mean ‘int’? 25 | int4 splitoffset; // Number of initial bytes (in address order) to split into first piece | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:529:11: error: ‘int4’ does not name a type; did you mean ‘int’? 529 | virtual int4 flipInPlaceTest(vector &fliplist) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:108:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 108 | uint4 sizeBitMask; ///< A 1-bit for every permissible lane size | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:111:21: error: expected ‘)’ before ‘sz’ 111 | LanedRegister(int4 sz,uint4 mask) { wholeSize = sz; sizeBitMask = mask; } ///< Constructor | ~ ^~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prefersplit.hh:32:5: error: ‘int4’ does not name a type; did you mean ‘int’? 32 | int4 splitoffset; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prefersplit.hh:37:30: error: ‘int4’ has not been declared 37 | SplitInstance(Varnode *v,int4 off) { vn = v; splitoffset = off; hi = (Varnode *)0; lo = (Varnode *)0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:113:3: error: ‘int4’ does not name a type; did you mean ‘int’? 113 | int4 getWholeSize(void) const { return wholeSize; } ///< Get the size in bytes of the whole laned register | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:556:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 556 | uint4 gototype; ///< The type of unstructured edge (if present) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:114:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 114 | uint4 getSizeBitMask(void) const { return sizeBitMask; } ///< Get the bit mask of possible lane sizes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:115:20: error: ‘int4’ has not been declared 115 | void addLaneSize(int4 size) { sizeBitMask |= ((uint4)1 << size); } ///< Add a new \e size to the allowed list | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:116:20: error: ‘int4’ has not been declared 116 | bool allowedLane(int4 size) const { return (((sizeBitMask >> size) & 1) != 0); } ///< Is \e size among the allowed lane sizes | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:562:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 562 | uint4 getGotoType(void) const { return gototype; } ///< Get the type of unstructured edge | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:565:27: error: ‘int4’ has not been declared 565 | virtual void scopeBreak(int4 curexit,int4 curloopexit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:565:40: error: ‘int4’ has not been declared 565 | virtual void scopeBreak(int4 curexit,int4 curloopexit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh: In constructor ‘LanedRegister::LanedIterator::LanedIterator(const LanedRegister*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:97:50: error: ‘size’ was not declared in this scope 97 | LanedIterator(const LanedRegister *lanedR) { size = 0; mask = lanedR->sizeBitMask; normalize(); } ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prefersplit.hh: In constructor ‘PreferSplitManager::SplitInstance::SplitInstance(Varnode*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prefersplit.hh:37:50: error: ‘splitoffset’ was not declared in this scope 37 | SplitInstance(Varnode *v,int4 off) { vn = v; splitoffset = off; hi = (Varnode *)0; lo = (Varnode *)0; } | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In constructor ‘BlockIf::BlockIf()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:559:19: error: ‘gototype’ was not declared in this scope 559 | BlockIf(void) { gototype = f_goto_goto; gototarget = (FlowBlock *)0; } ///< Constructor | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:97:60: error: ‘mask’ was not declared in this scope 97 | LanedIterator(const LanedRegister *lanedR) { size = 0; mask = lanedR->sizeBitMask; normalize(); } ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:97:75: error: ‘const class LanedRegister’ has no member named ‘sizeBitMask’ 97 | LanedIterator(const LanedRegister *lanedR) { size = 0; mask = lanedR->sizeBitMask; normalize(); } ///< Constructor | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:595:45: error: ‘int4’ has not been declared 595 | PcodeOp *findInitializer(BlockBasic *head,int4 slot) const; ///< Find the for-loop initializer op | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:596:40: error: ‘int4’ has not been declared 596 | PcodeOp *testTerminal(Funcdata &data,int4 slot) const; ///< Test that given statement is terminal and explicit | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:72:16: error: ‘uint4’ does not name a type; did you mean ‘uint’? 72 | static const uint4 majorversion; ///< Current major version of decompiler | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:606:27: error: ‘int4’ has not been declared 606 | virtual void scopeBreak(int4 curexit,int4 curloopexit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:606:40: error: ‘int4’ has not been declared 606 | virtual void scopeBreak(int4 curexit,int4 curloopexit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:73:16: error: ‘uint4’ does not name a type; did you mean ‘uint’? 73 | static const uint4 minorversion; ///< Current minor version of decompiler | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prefersplit.hh: In constructor ‘PreferSplitManager::SplitInstance::SplitInstance(Varnode*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prefersplit.hh:37:50: error: ‘splitoffset’ was not declared in this scope 37 | SplitInstance(Varnode *v,int4 off) { vn = v; splitoffset = off; hi = (Varnode *)0; lo = (Varnode *)0; } | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:109:10: error: ‘uint4’ does not name a type; did you mean ‘uint’? 109 | static uint4 getMajorVersion(void) { return majorversion; } ///< Get \e major decompiler version | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh: In constructor ‘LanedRegister::LanedIterator::LanedIterator()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:98:27: error: ‘size’ was not declared in this scope 98 | LanedIterator(void) { size = -1; mask = 0; } ///< Constructor for ending iterator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:110:10: error: ‘uint4’ does not name a type; did you mean ‘uint’? 110 | static uint4 getMinorVersion(void) { return minorversion; } ///< Get \e minor decompiler version | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:72:16: error: ‘uint4’ does not name a type; did you mean ‘uint’? 72 | static const uint4 majorversion; ///< Current major version of decompiler | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:124:3: error: ‘int4’ does not name a type; did you mean ‘int’? 124 | int4 trim_recurse_max; ///< How many levels to let parameter trims recurse | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:73:16: error: ‘uint4’ does not name a type; did you mean ‘uint’? 73 | static const uint4 minorversion; ///< Current minor version of decompiler | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In member function ‘bool BlockWhileDo::hasOverflowSyntax() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:602:49: error: ‘getFlags’ was not declared in this scope; did you mean ‘setFlag’? 602 | bool hasOverflowSyntax(void) const { return ((getFlags() & f_whiledo_overflow)!=0); } ///< Does \b this require overflow syntax | ^~~~~~~~ | setFlag /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:622:27: error: ‘int4’ has not been declared 622 | virtual void scopeBreak(int4 curexit,int4 curloopexit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:622:40: error: ‘int4’ has not been declared 622 | virtual void scopeBreak(int4 curexit,int4 curloopexit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:125:3: error: ‘int4’ does not name a type; did you mean ‘int’? 125 | int4 max_implied_ref; ///< Maximum number of references to an implied var | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:636:27: error: ‘int4’ has not been declared 636 | virtual void scopeBreak(int4 curexit,int4 curloopexit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:98:38: error: ‘mask’ was not declared in this scope 98 | LanedIterator(void) { size = -1; mask = 0; } ///< Constructor for ending iterator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:636:40: error: ‘int4’ has not been declared 636 | virtual void scopeBreak(int4 curexit,int4 curloopexit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:109:10: error: ‘uint4’ does not name a type; did you mean ‘uint’? 109 | static uint4 getMajorVersion(void) { return majorversion; } ///< Get \e major decompiler version | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:126:3: error: ‘int4’ does not name a type; did you mean ‘int’? 126 | int4 max_term_duplication; ///< Max terms duplicated without a new variable | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:110:10: error: ‘uint4’ does not name a type; did you mean ‘uint’? 110 | static uint4 getMinorVersion(void) { return minorversion; } ///< Get \e minor decompiler version | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:127:3: error: ‘int4’ does not name a type; did you mean ‘int’? 127 | int4 max_basetype_size; ///< Maximum size of an "integer" type before creating an array type | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:655:5: error: ‘uintb’ does not name a type; did you mean ‘uint’? 655 | uintb label; ///< The \e label for this case, as an untyped constant | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:124:3: error: ‘int4’ does not name a type; did you mean ‘int’? 124 | int4 trim_recurse_max; ///< How many levels to let parameter trims recurse | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:128:3: error: ‘int4’ does not name a type; did you mean ‘int’? 128 | int4 min_funcsymbol_size; ///< Minimum size of a function symbol | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:656:5: error: ‘int4’ does not name a type; did you mean ‘int’? 656 | int4 depth; ///< How deep in a fall-thru chain we are | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh: In member function ‘LanedRegister::LanedIterator& LanedRegister::LanedIterator::operator++()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:99:39: error: ‘size’ was not declared in this scope 99 | LanedIterator &operator++(void) { size += 1; normalize(); return *this; } ///< Preincrement operator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:125:3: error: ‘int4’ does not name a type; did you mean ‘int’? 125 | int4 max_implied_ref; ///< Maximum number of references to an implied var | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:134:3: error: ‘int4’ does not name a type; did you mean ‘int’? 134 | int4 funcptr_align; ///< How many bits of alignment a function ptr has | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:657:5: error: ‘int4’ does not name a type; did you mean ‘int’? 657 | int4 chain; ///< Who we immediately chain to, expressed as caseblocks index, -1 for no chaining | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:126:3: error: ‘int4’ does not name a type; did you mean ‘int’? 126 | int4 max_term_duplication; ///< Max terms duplicated without a new variable | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:135:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 135 | uint4 flowoptions; ///< options passed to flow following engine | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:658:5: error: ‘int4’ does not name a type; did you mean ‘int’? 658 | int4 outindex; ///< Index coming out of switch to this case | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:127:3: error: ‘int4’ does not name a type; did you mean ‘int’? 127 | int4 max_basetype_size; ///< Maximum size of an "integer" type before creating an array type | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:136:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 136 | uint4 max_instructions; ///< Maximum instructions that can be processed in one function | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:659:5: error: ‘uint4’ does not name a type; did you mean ‘uint’? 659 | uint4 gototype; ///< (If non-zero) What type of unstructured \e case is this? | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh: In member function ‘LanedRegister::LanedIterator& LanedRegister::LanedIterator::operator=(const LanedRegister::LanedIterator&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:101:58: error: ‘size’ was not declared in this scope 101 | LanedIterator &operator=(const LanedIterator &op2) { size = op2.size; mask = op2.mask; return *this; } ///< Assignment | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:101:69: error: ‘const class LanedRegister::LanedIterator’ has no member named ‘size’ 101 | LanedIterator &operator=(const LanedIterator &op2) { size = op2.size; mask = op2.mask; return *this; } ///< Assignment | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:128:3: error: ‘int4’ does not name a type; did you mean ‘int’? 128 | int4 min_funcsymbol_size; ///< Minimum size of a function symbol | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:137:3: error: ‘int4’ does not name a type; did you mean ‘int’? 137 | int4 alias_block_level; ///< Aliases blocked by 0=none, 1=struct, 2=array, 3=all | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:134:3: error: ‘int4’ does not name a type; did you mean ‘int’? 134 | int4 funcptr_align; ///< How many bits of alignment a function ptr has | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:135:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 135 | uint4 flowoptions; ///< options passed to flow following engine | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:136:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 136 | uint4 max_instructions; ///< Maximum instructions that can be processed in one function | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:101:75: error: ‘mask’ was not declared in this scope 101 | LanedIterator &operator=(const LanedIterator &op2) { size = op2.size; mask = op2.mask; return *this; } ///< Assignment | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:101:86: error: ‘const class LanedRegister::LanedIterator’ has no member named ‘mask’ 101 | LanedIterator &operator=(const LanedIterator &op2) { size = op2.size; mask = op2.mask; return *this; } ///< Assignment | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:137:3: error: ‘int4’ does not name a type; did you mean ‘int’? 137 | int4 alias_block_level; ///< Aliases blocked by 0=none, 1=struct, 2=array, 3=all | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:665:50: error: ‘uint4’ has not been declared 665 | void addCase(FlowBlock *switchbl,FlowBlock *bl,uint4 gt); ///< Add a new \e case to this switch | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:670:3: error: ‘int4’ does not name a type; did you mean ‘int’? 670 | int4 getNumCaseBlocks(void) const { return caseblocks.size(); } ///< Get the number of cases | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:671:27: error: ‘int4’ has not been declared 671 | FlowBlock *getCaseBlock(int4 i) const { return caseblocks[i].block; } ///< Get the i-th \e case FlowBlock | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh: In member function ‘bool LanedRegister::LanedIterator::operator==(const LanedRegister::LanedIterator&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:102:63: error: ‘size’ was not declared in this scope 102 | bool operator==(const LanedIterator &op2) const { return (size == op2.size); } ///< Equal operator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:102:75: error: ‘const class LanedRegister::LanedIterator’ has no member named ‘size’ 102 | bool operator==(const LanedIterator &op2) const { return (size == op2.size); } ///< Equal operator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:677:3: error: ‘int4’ does not name a type; did you mean ‘int’? 677 | int4 getNumLabels(int4 i) const { return jump->numIndicesByBlock(caseblocks[i].basicblock); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:684:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 684 | uintb getLabel(int4 i,int4 j) const { return jump->getLabelByIndex(jump->getIndexByBlock(caseblocks[i].basicblock,j)); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:686:22: error: ‘int4’ has not been declared 686 | bool isDefaultCase(int4 i) const { return caseblocks[i].isdefault; } ///< Is the i-th \e case the \e default case | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:687:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 687 | uint4 getGotoType(int4 i) const { return caseblocks[i].gototype; } ///< Get the edge type for the i-th \e case block | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh: In member function ‘bool LanedRegister::LanedIterator::operator!=(const LanedRegister::LanedIterator&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:103:63: error: ‘size’ was not declared in this scope 103 | bool operator!=(const LanedIterator &op2) const { return (size != op2.size); } ///< Not-equal operator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:688:15: error: ‘int4’ has not been declared 688 | bool isExit(int4 i) const { return caseblocks[i].isexit; } ///< Does the i-th \e case block exit the switch? | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:103:75: error: ‘const class LanedRegister::LanedIterator’ has no member named ‘size’ 103 | bool operator!=(const LanedIterator &op2) const { return (size != op2.size); } ///< Not-equal operator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:692:27: error: ‘int4’ has not been declared 692 | virtual void scopeBreak(int4 curexit,int4 curloopexit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:692:40: error: ‘int4’ has not been declared 692 | virtual void scopeBreak(int4 curexit,int4 curloopexit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:709:63: error: ‘int4’ has not been declared 709 | static FlowBlock *findBlock(const vector &list,int4 ind); ///< Locate a FlowBlock with a given index | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:720:29: error: ‘int4’ has not been declared 720 | FlowBlock *findLevelBlock(int4 index) const { return findBlock(sortlist,index); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:762:8: error: ‘int4’ does not name a type; did you mean ‘int’? 762 | inline int4 FlowBlock::flipInPlaceTest(vector &fliplist) const | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In static member function ‘static bool FlowBlock::compareBlockIndex(const FlowBlock*, const FlowBlock*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:797:16: error: ‘const class FlowBlock’ has no member named ‘getIndex’; did you mean ‘getIn’? 797 | return (bl1->getIndex() < bl2->getIndex()); | ^~~~~~~~ | getIn /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:797:34: error: ‘const class FlowBlock’ has no member named ‘getIndex’; did you mean ‘getIn’? 797 | return (bl1->getIndex() < bl2->getIndex()); | ^~~~~~~~ | getIn /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh: In static member function ‘static bool BlockSwitch::CaseOrder::compare(const BlockSwitch::CaseOrder&, const BlockSwitch::CaseOrder&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:807:9: error: ‘const struct BlockSwitch::CaseOrder’ has no member named ‘label’ 807 | if (a.label != b.label) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:807:20: error: ‘const struct BlockSwitch::CaseOrder’ has no member named ‘label’ 807 | if (a.label != b.label) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:808:15: error: ‘const struct BlockSwitch::CaseOrder’ has no member named ‘label’ 808 | return (a.label < b.label); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:808:25: error: ‘const struct BlockSwitch::CaseOrder’ has no member named ‘label’ 808 | return (a.label < b.label); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:809:13: error: ‘const struct BlockSwitch::CaseOrder’ has no member named ‘depth’ 809 | return (a.depth < b.depth); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/block.hh:809:23: error: ‘const struct BlockSwitch::CaseOrder’ has no member named ‘depth’ 809 | return (a.depth < b.depth); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh: In constructor ‘LanedRegister::LanedRegister()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:110:25: error: ‘wholeSize’ was not declared in this scope 110 | LanedRegister(void) { wholeSize = 0; sizeBitMask = 0; } ///< Constructor for use with restoreXml | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:110:40: error: ‘sizeBitMask’ was not declared in this scope 110 | LanedRegister(void) { wholeSize = 0; sizeBitMask = 0; } ///< Constructor for use with restoreXml | ^~~~~~~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:18: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:78:3: error: ‘int4’ does not name a type; did you mean ‘int’? 78 | int4 lcount; ///< Changes not including last call to apply() | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:79:3: error: ‘int4’ does not name a type; did you mean ‘int’? 79 | int4 count; ///< Number of changes made by this action so far | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:80:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 80 | uint4 status; ///< Current status | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:81:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 81 | uint4 breakpoint; ///< Breakpoint properties | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:82:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 82 | uint4 flags; ///< Behavior properties | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh: In member function ‘void LanedRegister::addLaneSize(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:115:33: error: ‘sizeBitMask’ was not declared in this scope 115 | void addLaneSize(int4 size) { sizeBitMask |= ((uint4)1 << size); } ///< Add a new \e size to the allowed list | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:83:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 83 | uint4 count_tests; ///< Number of times apply() has been called | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:84:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 84 | uint4 count_apply; ///< Number of times apply() made changes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:93:15: error: expected ‘)’ before ‘f’ 93 | Action(uint4 f,const string &nm,const string &g); ///< Base constructor for an Action | ~ ^~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:115:50: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 115 | void addLaneSize(int4 size) { sizeBitMask |= ((uint4)1 << size); } ///< Add a new \e size to the allowed list | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:115:56: error: expected ‘)’ before numeric constant 115 | void addLaneSize(int4 size) { sizeBitMask |= ((uint4)1 << size); } ///< Add a new \e size to the allowed list | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:115:48: note: to match this ‘(’ 115 | void addLaneSize(int4 size) { sizeBitMask |= ((uint4)1 << size); } ///< Add a new \e size to the allowed list | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:100:3: error: ‘int4’ does not name a type; did you mean ‘int’? 100 | int4 perform(Funcdata &data); ///< Perform this action (if necessary) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:101:22: error: ‘uint4’ has not been declared 101 | bool setBreakPoint(uint4 tp,const string &specify); ///< Set a breakpoint on this action | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:108:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 108 | uint4 getStatus(void) const { return status; } ///< Get the current status of \b this Action | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:176:43: error: ‘int4’ has not been declared 176 | bool highPtrPossible(const Address &loc,int4 size) const; ///< Are pointers possible to the given location? | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:177:53: error: ‘int4’ has not been declared 177 | AddrSpace *getSpaceBySpacebase(const Address &loc,int4 size) const; ///< Get space associated with a \e spacebase register | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:178:60: error: ‘int4’ has not been declared 178 | const LanedRegister *getLanedRegister(const Address &loc,int4 size) const; ///< Get LanedRegister associated with storage | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:109:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 109 | uint4 getNumTests(void) { return count_tests; } ///< Get the number of times apply() was invoked | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:179:3: error: ‘int4’ does not name a type; did you mean ‘int’? 179 | int4 getMinimumLanedRegisterSize(void) const; ///< Get the minimum size of a laned register in bytes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:110:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 110 | uint4 getNumApply(void) { return count_apply; } ///< Get the number of times apply() made changes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:207:21: error: ‘int4’ has not been declared 207 | int4 truncSize,bool isreversejustified,bool stackGrowth); ///< Create a new space and associated pointer | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:128:11: error: ‘int4’ does not name a type; did you mean ‘int’? 128 | virtual int4 apply(Funcdata &data)=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:129:11: error: ‘int4’ does not name a type; did you mean ‘int’? 129 | virtual int4 print(ostream &s,int4 num,int4 depth) const; ///< Print a description of this Action to stream | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:302:27: error: ‘uintb’ has not been declared 302 | virtual Address resolve(uintb val,int4 sz,const Address &point,uintb &fullEncoding); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:302:37: error: ‘int4’ has not been declared 302 | virtual Address resolve(uintb val,int4 sz,const Address &point,uintb &fullEncoding); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:302:66: error: ‘uintb’ has not been declared 302 | virtual Address resolve(uintb val,int4 sz,const Address &point,uintb &fullEncoding); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh: In member function ‘bool LanedRegister::allowedLane(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:116:49: error: ‘sizeBitMask’ was not declared in this scope 116 | bool allowedLane(int4 size) const { return (((sizeBitMask >> size) & 1) != 0); } ///< Is \e size among the allowed lane sizes | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:313:62: error: ‘int4’ has not been declared 313 | inline bool Architecture::highPtrPossible(const Address &loc,int4 size) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:176:43: error: ‘int4’ has not been declared 176 | bool highPtrPossible(const Address &loc,int4 size) const; ///< Are pointers possible to the given location? | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:177:53: error: ‘int4’ has not been declared 177 | AddrSpace *getSpaceBySpacebase(const Address &loc,int4 size) const; ///< Get space associated with a \e spacebase register | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:178:60: error: ‘int4’ has not been declared 178 | const LanedRegister *getLanedRegister(const Address &loc,int4 size) const; ///< Get LanedRegister associated with storage | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:34, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:127:3: error: ‘int4’ does not name a type; did you mean ‘int’? 127 | int4 wholeSize; ///< Size of the region being split in bytes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:179:3: error: ‘int4’ does not name a type; did you mean ‘int’? 179 | int4 getMinimumLanedRegisterSize(void) const; ///< Get the minimum size of a laned register in bytes | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:24:3: error: ‘int4’ does not name a type; did you mean ‘int’? 24 | int4 size; // Number of bytes in token; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:207:21: error: ‘int4’ has not been declared 207 | int4 truncSize,bool isreversejustified,bool stackGrowth); ///< Create a new space and associated pointer | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh: In member function ‘void Action::turnOnWarnings()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:90:31: error: ‘flags’ was not declared in this scope 90 | void turnOnWarnings(void) { flags |= rule_warnings_on; } ///< Enable warnings for this Action | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:25:3: error: ‘int4’ does not name a type; did you mean ‘int’? 25 | int4 index; // Index of this token, for resolving offsets | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:28:26: error: ‘int4’ has not been declared 28 | Token(const string &nm,int4 sz,bool be,int4 ind) : name(nm) { size = sz; bigendian=be; index = ind; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:28:42: error: ‘int4’ has not been declared 28 | Token(const string &nm,int4 sz,bool be,int4 ind) : name(nm) { size = sz; bigendian=be; index = ind; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:128:10: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 128 | vector laneSize; ///< Size of lanes in bytes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:128:14: error: template argument 1 is invalid 128 | vector laneSize; ///< Size of lanes in bytes | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:128:14: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:29:3: error: ‘int4’ does not name a type; did you mean ‘int’? 29 | int4 getSize(void) const { return size; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:302:27: error: ‘uintb’ has not been declared 302 | virtual Address resolve(uintb val,int4 sz,const Address &point,uintb &fullEncoding); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:302:37: error: ‘int4’ has not been declared 302 | virtual Address resolve(uintb val,int4 sz,const Address &point,uintb &fullEncoding); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:302:66: error: ‘uintb’ has not been declared 302 | virtual Address resolve(uintb val,int4 sz,const Address &point,uintb &fullEncoding); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:313:62: error: ‘int4’ has not been declared 313 | inline bool Architecture::highPtrPossible(const Address &loc,int4 size) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:31:3: error: ‘int4’ does not name a type; did you mean ‘int’? 31 | int4 getIndex(void) const { return index; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh: In member function ‘void Action::turnOffWarnings()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:91:32: error: ‘flags’ was not declared in this scope 91 | void turnOffWarnings(void) { flags &= ~rule_warnings_on; } ///< Disable warnings for this Action | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:129:10: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 129 | vector lanePosition; ///< Significance positions of lanes in bytes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:129:14: error: template argument 1 is invalid 129 | vector lanePosition; ///< Significance positions of lanes in bytes | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:129:14: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:132:23: error: expected ‘)’ before ‘origSize’ 132 | LaneDescription(int4 origSize,int4 sz); ///< Construct uniform lanes | ~ ^~~~~~~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:133:23: error: expected ‘)’ before ‘origSize’ 133 | LaneDescription(int4 origSize,int4 lo,int4 hi); ///< Construct two lanes of arbitrary size | ~ ^~~~~~~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:134:15: error: ‘int4’ has not been declared 134 | bool subset(int4 lsbOffset,int4 size); ///< Trim \b this to a subset of the original lanes | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:134:30: error: ‘int4’ has not been declared 134 | bool subset(int4 lsbOffset,int4 size); ///< Trim \b this to a subset of the original lanes | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:135:3: error: ‘int4’ does not name a type; did you mean ‘int’? 135 | int4 getNumLanes(void) const { return laneSize.size(); } ///< Get the total number of lanes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:136:3: error: ‘int4’ does not name a type; did you mean ‘int’? 136 | int4 getWholeSize(void) const { return wholeSize; } ///< Get the size of the region being split | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In constructor ‘Token::Token(const string&, int, bool, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:28:65: error: ‘size’ was not declared in this scope 28 | Token(const string &nm,int4 sz,bool be,int4 ind) : name(nm) { size = sz; bigendian=be; index = ind; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:28:98: error: overloaded function with no contextual type information 28 | Token(const string &nm,int4 sz,bool be,int4 ind) : name(nm) { size = sz; bigendian=be; index = ind; } | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:137:3: error: ‘int4’ does not name a type; did you mean ‘int’? 137 | int4 getSize(int4 i) const { return laneSize[i]; } ///< Get the size of the i-th lane | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:37:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 37 | uint4 size; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:138:3: error: ‘int4’ does not name a type; did you mean ‘int’? 138 | int4 getPosition(int4 i) const { return lanePosition[i]; } ///< Get the significance offset of the i-th lane | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:39:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 39 | uintb offset_offset; // Either static offset or ptr offset | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:139:3: error: ‘int4’ does not name a type; did you mean ‘int’? 139 | int4 getBoundary(int4 bytePos) const; ///< Get index of lane that starts at the given byte position | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:140:20: error: ‘int4’ has not been declared 140 | bool restriction(int4 numLanes,int4 skipLanes,int4 bytePos,int4 size,int4 &resNumLanes,int4 &resSkipLanes) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:140:34: error: ‘int4’ has not been declared 140 | bool restriction(int4 numLanes,int4 skipLanes,int4 bytePos,int4 size,int4 &resNumLanes,int4 &resSkipLanes) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:140:49: error: ‘int4’ has not been declared 140 | bool restriction(int4 numLanes,int4 skipLanes,int4 bytePos,int4 size,int4 &resNumLanes,int4 &resSkipLanes) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:140:62: error: ‘int4’ has not been declared 140 | bool restriction(int4 numLanes,int4 skipLanes,int4 bytePos,int4 size,int4 &resNumLanes,int4 &resSkipLanes) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:140:72: error: ‘int4’ has not been declared 140 | bool restriction(int4 numLanes,int4 skipLanes,int4 bytePos,int4 size,int4 &resNumLanes,int4 &resSkipLanes) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:140:90: error: ‘int4’ has not been declared 140 | bool restriction(int4 numLanes,int4 skipLanes,int4 bytePos,int4 size,int4 &resNumLanes,int4 &resSkipLanes) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:141:18: error: ‘int4’ has not been declared 141 | bool extension(int4 numLanes,int4 skipLanes,int4 bytePos,int4 size,int4 &resNumLanes,int4 &resSkipLanes) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:141:32: error: ‘int4’ has not been declared 141 | bool extension(int4 numLanes,int4 skipLanes,int4 bytePos,int4 size,int4 &resNumLanes,int4 &resSkipLanes) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:141:47: error: ‘int4’ has not been declared 141 | bool extension(int4 numLanes,int4 skipLanes,int4 bytePos,int4 size,int4 &resNumLanes,int4 &resSkipLanes) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:141:60: error: ‘int4’ has not been declared 141 | bool extension(int4 numLanes,int4 skipLanes,int4 bytePos,int4 size,int4 &resNumLanes,int4 &resSkipLanes) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:141:70: error: ‘int4’ has not been declared 141 | bool extension(int4 numLanes,int4 skipLanes,int4 bytePos,int4 size,int4 &resNumLanes,int4 &resSkipLanes) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:141:88: error: ‘int4’ has not been declared 141 | bool extension(int4 numLanes,int4 skipLanes,int4 bytePos,int4 size,int4 &resNumLanes,int4 &resSkipLanes) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:40:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 40 | uint4 offset_size; // Size of pointer | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:148:20: error: expected ‘)’ before ‘f’ 148 | ActionGroup(uint4 f,const string &nm) : Action(f,nm,"") {} ///< Construct given properties and a name | ~ ^~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:42:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 42 | uintb temp_offset; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:155:11: error: ‘int4’ does not name a type; did you mean ‘int’? 155 | virtual int4 apply(Funcdata &data); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:152:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 152 | map pieceMap; ///< Map from large Varnodes to their new pieces | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:152:26: error: template argument 1 is invalid 152 | map pieceMap; ///< Map from large Varnodes to their new pieces | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:152:26: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:152:26: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:156:11: error: ‘int4’ does not name a type; did you mean ‘int’? 156 | virtual int4 print(ostream &s,int4 num,int4 depth) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:174:3: error: ‘int4’ does not name a type; did you mean ‘int’? 174 | int4 maxrestarts; ///< Maximum number of restarts allowed | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:175:3: error: ‘int4’ does not name a type; did you mean ‘int’? 175 | int4 curstart; ///< Current restart iteration | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:177:27: error: expected ‘)’ before ‘f’ 177 | ActionRestartGroup(uint4 f,const string &nm,int4 max) : | ~ ^~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:181:11: error: ‘int4’ does not name a type; did you mean ‘int’? 181 | virtual int4 apply(Funcdata &data); | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/override.hh:52:10: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 52 | vector deadcodedelay; ///< Delay count indexed by address space | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/override.hh:52:14: error: template argument 1 is invalid 52 | vector deadcodedelay; ///< Delay count indexed by address space | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/override.hh:52:14: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:205:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 205 | uint4 flags; ///< Properties enabled with \b this Rule | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:51:3: error: ‘int4’ does not name a type; did you mean ‘int’? 51 | int4 length; // Length of this instantiation of the constructor | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:206:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 206 | uint4 breakpoint; ///< Breakpoint(s) enabled for \b this Rule | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:52:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 52 | uint4 offset; // Absolute offset (from start of instruction) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:209:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 209 | uint4 count_tests; ///< Number of times \b this Rule has attempted to apply | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:59:3: error: ‘int4’ does not name a type; did you mean ‘int’? 59 | int4 num; // Number of context word affected | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:210:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 210 | uint4 count_apply; ///< Number of times \b this Rule has successfully been applied | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:213:24: error: ‘uint4’ has not been declared 213 | Rule(const string &g,uint4 fl,const string &nm); ///< Construct given group, properties name | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:60:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 60 | uintm mask; // Bits within word affected | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:217:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 217 | uint4 getNumTests(void) { return count_tests; } ///< Get number of attempted applications | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:61:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 61 | uintm value; // New setting for bits | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:218:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 218 | uint4 getNumApply(void) { return count_apply; } ///< Get number of successful applications | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:219:17: error: ‘uint4’ has not been declared 219 | void setBreak(uint4 tp) { breakpoint |= tp; } ///< Set a breakpoint on \b this Rule | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:220:19: error: ‘uint4’ has not been declared 220 | void clearBreak(uint4 tp) { breakpoint &= ~tp; } ///< Clear a breakpoint on \b this Rule | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:78:3: error: ‘int4’ does not name a type; did you mean ‘int’? 78 | int4 parsestate; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:228:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 228 | uint4 getBreakPoint(void) const { return breakpoint; } ///< Return breakpoint toggles | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:80:3: error: ‘uint1’ does not name a type; did you mean ‘uint’? 80 | uint1 buf[16]; // Buffer of bytes in the instruction stream | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:81:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 81 | uintm *context; // Pointer to local context | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:82:3: error: ‘int4’ does not name a type; did you mean ‘int’? 82 | int4 contextsize; // Number of entries in context array | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:165:44: error: ‘int4’ has not been declared 165 | virtual bool preserveAddress(Varnode *vn,int4 bitSize,int4 lsbOffset) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:165:57: error: ‘int4’ has not been declared 165 | virtual bool preserveAddress(Varnode *vn,int4 bitSize,int4 lsbOffset) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:169:27: error: ‘int4’ has not been declared 169 | TransformVar *newUnique(int4 size); ///< Make placeholder for new unique space Varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:170:29: error: ‘int4’ has not been declared 170 | TransformVar *newConstant(int4 size,int4 lsbOffset,uintb val); ///< Make placeholder for constant Varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:170:39: error: ‘int4’ has not been declared 170 | TransformVar *newConstant(int4 size,int4 lsbOffset,uintb val); ///< Make placeholder for constant Varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:170:54: error: ‘uintb’ has not been declared 170 | TransformVar *newConstant(int4 size,int4 lsbOffset,uintb val); ///< Make placeholder for constant Varnode | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:237:33: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 237 | virtual void getOpList(vector &oplist) const; ///< List of op codes this rule operates on | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:237:38: error: template argument 1 is invalid 237 | virtual void getOpList(vector &oplist) const; ///< List of op codes this rule operates on | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:237:38: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:172:38: error: ‘int4’ has not been declared 172 | TransformVar *newPiece(Varnode *vn,int4 bitSize,int4 lsbOffset); ///< Make placeholder for piece of a Varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:172:51: error: ‘int4’ has not been declared 172 | TransformVar *newPiece(Varnode *vn,int4 bitSize,int4 lsbOffset); ///< Make placeholder for piece of a Varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:174:73: error: ‘int4’ has not been declared 174 | TransformVar *newSplit(Varnode *vn,const LaneDescription &description,int4 numLanes,int4 startLane); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:174:87: error: ‘int4’ has not been declared 174 | TransformVar *newSplit(Varnode *vn,const LaneDescription &description,int4 numLanes,int4 startLane); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:175:29: error: ‘int4’ has not been declared 175 | TransformOp *newOpReplace(int4 numParams,OpCode opc,PcodeOp *replace); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:176:22: error: ‘int4’ has not been declared 176 | TransformOp *newOp(int4 numParams,OpCode opc,TransformOp *follow); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:177:33: error: ‘int4’ has not been declared 177 | TransformOp *newPreexistingOp(int4 numParams,OpCode opc,PcodeOp *originalOp); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:180:38: error: ‘int4’ has not been declared 180 | TransformVar *getPiece(Varnode *vn,int4 bitSize,int4 lsbOffset); ///< Get (or create) placeholder piece | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:180:51: error: ‘int4’ has not been declared 180 | TransformVar *getPiece(Varnode *vn,int4 bitSize,int4 lsbOffset); ///< Get (or create) placeholder piece | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:182:73: error: ‘int4’ has not been declared 182 | TransformVar *getSplit(Varnode *vn,const LaneDescription &description,int4 numLanes,int4 startLane); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:182:87: error: ‘int4’ has not been declared 182 | TransformVar *getSplit(Varnode *vn,const LaneDescription &description,int4 numLanes,int4 startLane); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:183:54: error: ‘int4’ has not been declared 183 | void opSetInput(TransformOp *rop,TransformVar *rvn,int4 slot); ///< Mark given variable as input to given op | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:185:32: error: ‘int4’ has not been declared 185 | static bool preexistingGuard(int4 slot,TransformVar *rvn); ///< Should newPreexistingOp be called | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:246:11: error: ‘int4’ does not name a type; did you mean ‘int’? 246 | virtual int4 applyOp(PcodeOp *op,Funcdata &data) { return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/override.hh:56:15: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 56 | map flowoverride; ///< Override the CALL <-> BRANCH | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/override.hh:56:20: error: template argument 2 is invalid 56 | map flowoverride; ///< Override the CALL <-> BRANCH | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/override.hh:56:20: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/override.hh:58:46: error: ‘int4’ has not been declared 58 | static string generateDeadcodeDelayMessage(int4 index,Architecture *glb); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/override.hh:62:43: error: ‘int4’ has not been declared 62 | void insertDeadcodeDelay(AddrSpace *spc,int4 delay); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/override.hh:67:47: error: ‘uint4’ has not been declared 67 | void insertFlowOverride(const Address &addr,uint4 type); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/override.hh:75:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 75 | uint4 getFlowOverride(const Address &addr) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/override.hh:80:30: error: ‘uint4’ has not been declared 80 | static string typeToString(uint4 tp); ///< Convert a flow override type to a string | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/override.hh:81:10: error: ‘uint4’ does not name a type; did you mean ‘uint’? 81 | static uint4 stringToType(const string &nm); ///< Convert a string to a flow override type | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:197:13: error: variable or field ‘initialize’ declared void 197 | inline void TransformVar::initialize(uint4 tp,Varnode *v,int4 bits,int4 bytes,uintb value) | ^~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/override.hh: In member function ‘bool Override::hasFlowOverride() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/override.hh:74:60: error: request for member ‘empty’ in ‘((const Override*)this)->Override::flowoverride’, which is of non-class type ‘const int’ 74 | bool hasFlowOverride(void) const { return (!flowoverride.empty()); } ///< Are there any flow overrides | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:31:3: error: ‘int4’ does not name a type; did you mean ‘int’? 31 | int4 size; ///< Size of the range (in bytes) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:197:38: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 197 | inline void TransformVar::initialize(uint4 tp,Varnode *v,int4 bits,int4 bytes,uintb value) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:197:55: error: expected primary-expression before ‘*’ token 197 | inline void TransformVar::initialize(uint4 tp,Varnode *v,int4 bits,int4 bytes,uintb value) | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh: In member function ‘void Rule::setBreak(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:219:29: error: ‘breakpoint’ was not declared in this scope 219 | void setBreak(uint4 tp) { breakpoint |= tp; } ///< Set a breakpoint on \b this Rule | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:32:3: error: ‘int4’ does not name a type; did you mean ‘int’? 32 | int4 pass; ///< Pass when the range was heritaged | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:197:56: error: ‘v’ was not declared in this scope 197 | inline void TransformVar::initialize(uint4 tp,Varnode *v,int4 bits,int4 bytes,uintb value) | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:197:58: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 197 | inline void TransformVar::initialize(uint4 tp,Varnode *v,int4 bits,int4 bytes,uintb value) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:90:3: error: ‘int4’ does not name a type; did you mean ‘int’? 90 | int4 alloc; // Number of ConstructState's allocated | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:197:68: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 197 | inline void TransformVar::initialize(uint4 tp,Varnode *v,int4 bits,int4 bytes,uintb value) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:91:3: error: ‘int4’ does not name a type; did you mean ‘int’? 91 | int4 delayslot; // delayslot depth | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:97:3: error: ‘uint1’ does not name a type; did you mean ‘uint’? 97 | uint1 *getBuffer(void) { return buf; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:98:19: error: ‘int4’ has not been declared 98 | void initialize(int4 maxstate,int4 maxparam,AddrSpace *spc); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:98:33: error: ‘int4’ has not been declared 98 | void initialize(int4 maxstate,int4 maxparam,AddrSpace *spc); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:197:79: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 197 | inline void TransformVar::initialize(uint4 tp,Varnode *v,int4 bits,int4 bytes,uintb value) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:213:77: error: ‘int4’ has not been declared 213 | inline void TransformManager::opSetInput(TransformOp *rop,TransformVar *rvn,int4 slot) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:240:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 240 | inline bool TransformManager::preexistingGuard(int4 slot,TransformVar *rvn) | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:240:13: error: ‘bool TransformManager::preexistingGuard’ is not a static data member of ‘class TransformManager’ 240 | inline bool TransformManager::preexistingGuard(int4 slot,TransformVar *rvn) | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh: In member function ‘void Rule::clearBreak(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:220:31: error: ‘breakpoint’ was not declared in this scope 220 | void clearBreak(uint4 tp) { breakpoint &= ~tp; } ///< Clear a breakpoint on \b this Rule | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:99:3: error: ‘int4’ does not name a type; did you mean ‘int’? 99 | int4 getParserState(void) const { return parsestate; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:100:23: error: ‘int4’ has not been declared 100 | void setParserState(int4 st) { parsestate = st; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:102:24: error: ‘int4’ has not been declared 102 | void allocateOperand(int4 i,ParserWalkerChange &walker); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:106:36: error: ‘int4’ has not been declared 106 | void addCommit(TripleSymbol *sym,int4 num,uintm mask,bool flow,ConstructState *point); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:106:45: error: ‘uintm’ has not been declared 106 | void addCommit(TripleSymbol *sym,int4 num,uintm mask,bool flow,ConstructState *point); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:115:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 115 | uintm getInstructionBytes(int4 byteoff,int4 numbytes,uint4 off) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:240:48: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 240 | inline bool TransformManager::preexistingGuard(int4 slot,TransformVar *rvn) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:240:71: error: expected primary-expression before ‘*’ token 240 | inline bool TransformManager::preexistingGuard(int4 slot,TransformVar *rvn) | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:116:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 116 | uintm getContextBytes(int4 byteoff,int4 numbytes) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:49:29: error: ‘int4’ has not been declared 49 | iterator add(Address addr,int4 size,int4 pass,int4 &intersect); ///< Mark new address as \b heritaged | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:49:39: error: ‘int4’ has not been declared 49 | iterator add(Address addr,int4 size,int4 pass,int4 &intersect); ///< Mark new address as \b heritaged | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:49:49: error: ‘int4’ has not been declared 49 | iterator add(Address addr,int4 size,int4 pass,int4 &intersect); ///< Mark new address as \b heritaged | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:117:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 117 | uintm getInstructionBits(int4 startbit,int4 size,uint4 off) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:51:3: error: ‘int4’ does not name a type; did you mean ‘int’? 51 | int4 findPass(const Address &addr) const; ///< Look up if/how given address was heritaged | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:118:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 118 | uintm getContextBits(int4 startbit,int4 size) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:119:23: error: ‘int4’ has not been declared 119 | void setContextWord(int4 i,uintm val,uintm mask) { context[i] = (context[i]&(~mask))|(mask&val); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:240:72: error: ‘rvn’ was not declared in this scope 240 | inline bool TransformManager::preexistingGuard(int4 slot,TransformVar *rvn) | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:119:30: error: ‘uintm’ has not been declared 119 | void setContextWord(int4 i,uintm val,uintm mask) { context[i] = (context[i]&(~mask))|(mask&val); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:240:75: error: expression list treated as compound expression in initializer [-fpermissive] 240 | inline bool TransformManager::preexistingGuard(int4 slot,TransformVar *rvn) | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:119:40: error: ‘uintm’ has not been declared 119 | void setContextWord(int4 i,uintm val,uintm mask) { context[i] = (context[i]&(~mask))|(mask&val); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:121:3: error: ‘int4’ does not name a type; did you mean ‘int’? 121 | int4 getLength(void) const { return base_state->length; } | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:35, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prefersplit.hh:25:3: error: ‘int4’ does not name a type; did you mean ‘int’? 25 | int4 splitoffset; // Number of initial bytes (in address order) to split into first piece | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:122:21: error: ‘int4’ has not been declared 122 | void setDelaySlot(int4 val) { delayslot = val; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh: In member function ‘void Rule::clearBreakPoints()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:221:33: error: ‘breakpoint’ was not declared in this scope 221 | void clearBreakPoints(void) { breakpoint = 0; } ///< Clear all breakpoints on \b this Rule | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:123:3: error: ‘int4’ does not name a type; did you mean ‘int’? 123 | int4 getDelaySlot(void) const { return delayslot; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prefersplit.hh:32:5: error: ‘int4’ does not name a type; did you mean ‘int’? 32 | int4 splitoffset; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prefersplit.hh:37:30: error: ‘int4’ has not been declared 37 | SplitInstance(Varnode *v,int4 off) { vn = v; splitoffset = off; hi = (Varnode *)0; lo = (Varnode *)0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh: In member function ‘void Rule::turnOnWarnings()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:222:31: error: ‘flags’ was not declared in this scope 222 | void turnOnWarnings(void) { flags |= warnings_on; } ///< Enable warnings for \b this Rule | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In destructor ‘ParserContext::~ParserContext()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:30: error: ‘context’ was not declared in this scope 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:66:3: error: ‘int4’ does not name a type; did you mean ‘int’? 66 | int4 curdepth; ///< The current highest priority index with active blocks | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh: In member function ‘void Rule::turnOffWarnings()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:223:32: error: ‘flags’ was not declared in this scope 223 | void turnOffWarnings(void) { flags &= ~warnings_on; } ///< Disable warnings for \b this Rule | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:69:14: error: ‘int4’ has not been declared 69 | void reset(int4 maxdepth); ///< Reset to an empty queue | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:70:29: error: ‘int4’ has not been declared 70 | void insert(FlowBlock *bl,int4 depth); ///< Insert a block into the queue given its priority | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:42: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:49: error: expected primary-expression before ‘)’ token 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:50: error: expected ‘)’ before numeric constant 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:29: note: to match this ‘(’ 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:63: error: type ‘’ argument given to ‘delete’, expected pointer 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh: In member function ‘bool Rule::isDisabled() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:224:42: error: ‘flags’ was not declared in this scope 224 | bool isDisabled(void) const { return ((flags & type_disable)!=0); } ///< Return \b true if \b this Rule is disabled | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prefersplit.hh: In constructor ‘PreferSplitManager::SplitInstance::SplitInstance(Varnode*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prefersplit.hh:37:50: error: ‘splitoffset’ was not declared in this scope 37 | SplitInstance(Varnode *v,int4 off) { vn = v; splitoffset = off; hi = (Varnode *)0; lo = (Varnode *)0; } | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh: In member function ‘void Rule::setDisable()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:225:27: error: ‘flags’ was not declared in this scope 225 | void setDisable(void) { flags |= type_disable; } ///< Disable this Rule (within its pool) | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:72:16: error: ‘uint4’ does not name a type; did you mean ‘uint’? 72 | static const uint4 majorversion; ///< Current major version of decompiler | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserContext::setParserState(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:100:34: error: ‘parsestate’ was not declared in this scope; did you mean ‘base_state’? 100 | void setParserState(int4 st) { parsestate = st; } | ^~~~~~~~~~ | base_state /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh: In constructor ‘PriorityQueue::PriorityQueue()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:68:25: error: ‘curdepth’ was not declared in this scope 68 | PriorityQueue(void) { curdepth = -2; } ///< Constructor | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:73:16: error: ‘uint4’ does not name a type; did you mean ‘uint’? 73 | static const uint4 minorversion; ///< Current minor version of decompiler | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:109:10: error: ‘uint4’ does not name a type; did you mean ‘uint’? 109 | static uint4 getMajorVersion(void) { return majorversion; } ///< Get \e major decompiler version | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh: In member function ‘void Rule::clearDisable()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:226:29: error: ‘flags’ was not declared in this scope 226 | void clearDisable(void) { flags &= ~type_disable; } ///< Enable this Rule (within its pool) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:110:10: error: ‘uint4’ does not name a type; did you mean ‘uint’? 110 | static uint4 getMinorVersion(void) { return minorversion; } ///< Get \e minor decompiler version | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:124:3: error: ‘int4’ does not name a type; did you mean ‘int’? 124 | int4 trim_recurse_max; ///< How many levels to let parameter trims recurse | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserContext::setContextWord(int, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:119:54: error: ‘context’ was not declared in this scope 119 | void setContextWord(int4 i,uintm val,uintm mask) { context[i] = (context[i]&(~mask))|(mask&val); } | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:125:3: error: ‘int4’ does not name a type; did you mean ‘int’? 125 | int4 max_implied_ref; ///< Maximum number of references to an implied var | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh: In member function ‘bool PriorityQueue::empty() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:72:36: error: ‘curdepth’ was not declared in this scope 72 | bool empty(void) const { return (curdepth==-1); } ///< Return \b true if \b this queue is empty | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:126:3: error: ‘int4’ does not name a type; did you mean ‘int’? 126 | int4 max_term_duplication; ///< Max terms duplicated without a new variable | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:127:3: error: ‘int4’ does not name a type; did you mean ‘int’? 127 | int4 max_basetype_size; ///< Maximum size of an "integer" type before creating an array type | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:88:3: error: ‘int4’ does not name a type; did you mean ‘int’? 88 | int4 delay; ///< How many passes to delay heritage of this space | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:128:3: error: ‘int4’ does not name a type; did you mean ‘int’? 128 | int4 min_funcsymbol_size; ///< Minimum size of a function symbol | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:89:3: error: ‘int4’ does not name a type; did you mean ‘int’? 89 | int4 deadcodedelay; ///< How many passes to delay deadcode removal of this space | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserContext::loadContext()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:120:55: error: ‘context’ was not declared in this scope 120 | void loadContext(void) { contcache->getContext(addr,context); } | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:134:3: error: ‘int4’ does not name a type; did you mean ‘int’? 134 | int4 funcptr_align; ///< How many bits of alignment a function ptr has | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:90:3: error: ‘int4’ does not name a type; did you mean ‘int’? 90 | int4 deadremoved; ///< >0 if Varnodes in this space have been eliminated | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:266:3: error: ‘int4’ does not name a type; did you mean ‘int’? 266 | int4 rule_index; ///< Iterator over Rules for one OpCode | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:135:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 135 | uint4 flowoptions; ///< options passed to flow following engine | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:267:3: error: ‘int4’ does not name a type; did you mean ‘int’? 267 | int4 processOp(PcodeOp *op,Funcdata &data); ///< Apply the next possible Rule to a PcodeOp | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:269:19: error: expected ‘)’ before ‘f’ 269 | ActionPool(uint4 f,const string &nm) : Action(f,nm,"") {} ///< Construct providing properties and name | ~ ^~ | ) In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:109:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 109 | uintb pointerBase; ///< Base offset of the pointer | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:136:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 136 | uint4 max_instructions; ///< Maximum instructions that can be processed in one function | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:110:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 110 | uintb minimumOffset; ///< Minimum offset of the LOAD | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:276:11: error: ‘int4’ does not name a type; did you mean ‘int’? 276 | virtual int4 apply(Funcdata &data); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:137:3: error: ‘int4’ does not name a type; did you mean ‘int’? 137 | int4 alias_block_level; ///< Aliases blocked by 0=none, 1=struct, 2=array, 3=all | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/action.hh:277:11: error: ‘int4’ does not name a type; did you mean ‘int’? 277 | virtual int4 print(ostream &s,int4 num,int4 depth) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:111:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 111 | uintb maximumOffset; ///< Maximum offset of the LOAD | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:112:3: error: ‘int4’ does not name a type; did you mean ‘int’? 112 | int4 step; ///< Step of any access into this range (0=unknown) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserContext::setDelaySlot(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:122:33: error: ‘delayslot’ was not declared in this scope; did you mean ‘setDelaySlot’? 122 | void setDelaySlot(int4 val) { delayslot = val; } | ^~~~~~~~~ | setDelaySlot /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:113:3: error: ‘int4’ does not name a type; did you mean ‘int’? 113 | int4 analysisState; ///< 0=unanalyzed, 1=analyzed(partial result), 2=analyzed(full result) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:122:36: error: ‘uintb’ has not been declared 122 | void set(PcodeOp *o,AddrSpace *s,uintb off) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:131:3: error: ‘int4’ does not name a type; did you mean ‘int’? 131 | int4 depth; // Depth of the current node | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:127:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 127 | uintb getMinimum(void) const { return minimumOffset; } ///< Get minimum offset of the guarded range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:132:3: error: ‘int4’ does not name a type; did you mean ‘int’? 132 | int4 breadcrumb[32]; // Path of operands from root | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:138:42: error: ‘int4’ has not been declared 138 | void setOutOfBandState(Constructor *ct,int4 index,ConstructState *tempstate,const ParserWalker &otherwalker); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:140:20: error: ‘int4’ has not been declared 140 | void pushOperand(int4 i) { breadcrumb[depth++] = i+1; point = point->resolve[i]; breadcrumb[depth] = 0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:128:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 128 | uintb getMaximum(void) const { return maximumOffset; } ///< Get maximum offset of the guarded range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:142:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 142 | uint4 getOffset(int4 i) const { if (i<0) return point->offset; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:129:3: error: ‘int4’ does not name a type; did you mean ‘int’? 129 | int4 getStep(void) const { return step; } ///< Get the calculated step associated with the range (or 0) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:145:3: error: ‘int4’ does not name a type; did you mean ‘int’? 145 | int4 getOperand(void) const { return breadcrumb[depth]; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:147:37: error: ‘int4’ has not been declared 147 | const FixedHandle &getFixedHandle(int4 i) const { return point->resolve[i]->hand; } | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:154:3: error: ‘int4’ does not name a type; did you mean ‘int’? 154 | int4 getLength(void) const { return const_context->getLength(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:155:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 155 | uintm getInstructionBytes(int4 byteoff,int4 numbytes) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:157:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 157 | uintm getContextBytes(int4 byteoff,int4 numbytes) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:159:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 159 | uintm getInstructionBits(int4 startbit,int4 size) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:161:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 161 | uintm getContextBits(int4 startbit,int4 size) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh: In member function ‘void LoadGuard::set(PcodeOp*, AddrSpace*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:123:22: error: ‘pointerBase’ was not declared in this scope 123 | op = o; spc = s; pointerBase=off; minimumOffset=0; maximumOffset=s->getHighest(); step=0; analysisState=0; | ^~~~~~~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserWalker::baseState()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:137:61: error: ‘depth’ was not declared in this scope 137 | void baseState(void) { point = const_context->base_state; depth=0; breadcrumb[0] = 0; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:123:39: error: ‘minimumOffset’ was not declared in this scope 123 | op = o; spc = s; pointerBase=off; minimumOffset=0; maximumOffset=s->getHighest(); step=0; analysisState=0; | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:137:70: error: ‘breadcrumb’ was not declared in this scope 137 | void baseState(void) { point = const_context->base_state; depth=0; breadcrumb[0] = 0; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:123:56: error: ‘maximumOffset’ was not declared in this scope 123 | op = o; spc = s; pointerBase=off; minimumOffset=0; maximumOffset=s->getHighest(); step=0; analysisState=0; | ^~~~~~~~~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:18: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:62:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 62 | uint4 flags; ///< Boolean properties of the parameter | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:123:73: error: ‘class AddrSpace’ has no member named ‘getHighest’ 123 | op = o; spc = s; pointerBase=off; minimumOffset=0; maximumOffset=s->getHighest(); step=0; analysisState=0; | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:64:3: error: ‘int4’ does not name a type; did you mean ‘int’? 64 | int4 group; ///< Group of (mutually exclusive) entries that this entry belongs to | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:65:3: error: ‘int4’ does not name a type; did you mean ‘int’? 65 | int4 groupsize; ///< The number of consecutive groups taken by the entry | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserWalker::pushOperand(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:140:30: error: ‘breadcrumb’ was not declared in this scope 140 | void pushOperand(int4 i) { breadcrumb[depth++] = i+1; point = point->resolve[i]; breadcrumb[depth] = 0; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:123:87: error: ‘step’ was not declared in this scope; did you mean ‘strsep’? 123 | op = o; spc = s; pointerBase=off; minimumOffset=0; maximumOffset=s->getHighest(); step=0; analysisState=0; | ^~~~ | strsep /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:67:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 67 | uintb addressbase; ///< Starting offset of the range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:68:3: error: ‘int4’ does not name a type; did you mean ‘int’? 68 | int4 size; ///< Size of the range in bytes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:176:43: error: ‘int4’ has not been declared 176 | bool highPtrPossible(const Address &loc,int4 size) const; ///< Are pointers possible to the given location? | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:177:53: error: ‘int4’ has not been declared 177 | AddrSpace *getSpaceBySpacebase(const Address &loc,int4 size) const; ///< Get space associated with a \e spacebase register | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:178:60: error: ‘int4’ has not been declared 178 | const LanedRegister *getLanedRegister(const Address &loc,int4 size) const; ///< Get LanedRegister associated with storage | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:69:3: error: ‘int4’ does not name a type; did you mean ‘int’? 69 | int4 minsize; ///< Minimum bytes allowed for the logical value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:140:41: error: ‘depth’ was not declared in this scope 140 | void pushOperand(int4 i) { breadcrumb[depth++] = i+1; point = point->resolve[i]; breadcrumb[depth] = 0; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:70:3: error: ‘int4’ does not name a type; did you mean ‘int’? 70 | int4 alignment; ///< How much alignment (0 means only 1 logical value is allowed) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:179:3: error: ‘int4’ does not name a type; did you mean ‘int’? 179 | int4 getMinimumLanedRegisterSize(void) const; ///< Get the minimum size of a laned register in bytes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:207:21: error: ‘int4’ has not been declared 207 | int4 truncSize,bool isreversejustified,bool stackGrowth); ///< Create a new space and associated pointer | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:71:3: error: ‘int4’ does not name a type; did you mean ‘int’? 71 | int4 numslots; ///< (Maximum) number of slots that can store separate parameters | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:78:18: error: expected ‘)’ before ‘grp’ 78 | ParamEntry(int4 grp) { group=grp; } ///< Constructor for use with restoreXml | ~ ^~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:79:30: error: ‘int4’ has not been declared 79 | ParamEntry(type_metatype t,int4 grp,int4 grpsize,const Address &loc,int4 sz,int4 mnsz,int4 align,bool normalstack); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:79:39: error: ‘int4’ has not been declared 79 | ParamEntry(type_metatype t,int4 grp,int4 grpsize,const Address &loc,int4 sz,int4 mnsz,int4 align,bool normalstack); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:79:71: error: ‘int4’ has not been declared 79 | ParamEntry(type_metatype t,int4 grp,int4 grpsize,const Address &loc,int4 sz,int4 mnsz,int4 align,bool normalstack); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:79:79: error: ‘int4’ has not been declared 79 | ParamEntry(type_metatype t,int4 grp,int4 grpsize,const Address &loc,int4 sz,int4 mnsz,int4 align,bool normalstack); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:79:89: error: ‘int4’ has not been declared 79 | ParamEntry(type_metatype t,int4 grp,int4 grpsize,const Address &loc,int4 sz,int4 mnsz,int4 align,bool normalstack); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:80:3: error: ‘int4’ does not name a type; did you mean ‘int’? 80 | int4 getGroup(void) const { return group; } ///< Get the group id \b this belongs to | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:302:27: error: ‘uintb’ has not been declared 302 | virtual Address resolve(uintb val,int4 sz,const Address &point,uintb &fullEncoding); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:302:37: error: ‘int4’ has not been declared 302 | virtual Address resolve(uintb val,int4 sz,const Address &point,uintb &fullEncoding); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:302:66: error: ‘uintb’ has not been declared 302 | virtual Address resolve(uintb val,int4 sz,const Address &point,uintb &fullEncoding); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:81:3: error: ‘int4’ does not name a type; did you mean ‘int’? 81 | int4 getGroupSize(void) const { return groupsize; } ///< Get the number of groups occupied by \b this | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:313:62: error: ‘int4’ has not been declared 313 | inline bool Architecture::highPtrPossible(const Address &loc,int4 size) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:123:95: error: ‘analysisState’ was not declared in this scope 123 | op = o; spc = s; pointerBase=off; minimumOffset=0; maximumOffset=s->getHighest(); step=0; analysisState=0; | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserWalker::popOperand()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:141:50: error: ‘depth’ was not declared in this scope 141 | void popOperand(void) { point = point->parent; depth-= 1; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:82:3: error: ‘int4’ does not name a type; did you mean ‘int’? 82 | int4 getSize(void) const { return size; } ///< Get the size of the memory range in bytes. | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:172:18: error: ‘uint4’ has not been declared 172 | void setOffset(uint4 off) { point->offset = off; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:174:25: error: ‘int4’ has not been declared 174 | void setCurrentLength(int4 len) { point->length = len; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:175:26: error: ‘int4’ has not been declared 175 | void calcCurrentLength(int4 length,int4 numopers); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:175:38: error: ‘int4’ has not been declared 175 | void calcCurrentLength(int4 length,int4 numopers); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:83:3: error: ‘int4’ does not name a type; did you mean ‘int’? 83 | int4 getMinSize(void) const { return minsize; } ///< Get the minimum size of a logical value contained in \b this | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserWalkerChange::setOffset(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:172:38: error: ‘struct ConstructState’ has no member named ‘offset’ 172 | void setOffset(uint4 off) { point->offset = off; } | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserWalkerChange::setCurrentLength(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:174:44: error: ‘struct ConstructState’ has no member named ‘length’ 174 | void setCurrentLength(int4 len) { point->length = len; } | ^~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:24:3: error: ‘int4’ does not name a type; did you mean ‘int’? 24 | int4 size; // Number of bytes in token; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:84:3: error: ‘int4’ does not name a type; did you mean ‘int’? 84 | int4 getAlign(void) const { return alignment; } ///< Get the alignment of \b this entry | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:18: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:89:40: error: ‘int4’ has not been declared 89 | bool containedBy(const Address &addr,int4 sz) const; ///< Is this entry contained by the given range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:25:3: error: ‘int4’ does not name a type; did you mean ‘int’? 25 | int4 index; // Index of this token, for resolving offsets | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:28:26: error: ‘int4’ has not been declared 28 | Token(const string &nm,int4 sz,bool be,int4 ind) : name(nm) { size = sz; bigendian=be; index = ind; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:28:42: error: ‘int4’ has not been declared 28 | Token(const string &nm,int4 sz,bool be,int4 ind) : name(nm) { size = sz; bigendian=be; index = ind; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:90:3: error: ‘int4’ does not name a type; did you mean ‘int’? 90 | int4 justifiedContain(const Address &addr,int4 sz) const; ///< Calculate endian aware containment | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:91:41: error: ‘int4’ has not been declared 91 | bool getContainer(const Address &addr,int4 sz,VarnodeData &res) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:92:47: error: ‘int4’ has not been declared 92 | OpCode assumedExtension(const Address &addr,int4 sz,VarnodeData &res) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:29:3: error: ‘int4’ does not name a type; did you mean ‘int’? 29 | int4 getSize(void) const { return size; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:93:3: error: ‘int4’ does not name a type; did you mean ‘int’? 93 | int4 getSlot(const Address &addr,int4 skip) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserContext::deallocateState(ParserWalkerChange&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:183:3: error: ‘alloc’ was not declared in this scope; did you mean ‘valloc’? 183 | alloc = 1; | ^~~~~ | valloc /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:188:13: error: variable or field ‘allocateOperand’ declared void 188 | inline void ParserContext::allocateOperand(int4 i,ParserWalkerChange &walker) { | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:31:3: error: ‘int4’ does not name a type; did you mean ‘int’? 31 | int4 getIndex(void) const { return index; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:95:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 95 | uintb getBase(void) const { return addressbase; } ///< Get the starting offset of \b this entry | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:96:25: error: ‘int4’ has not been declared 96 | Address getAddrBySlot(int4 &slot,int4 sz) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:96:36: error: ‘int4’ has not been declared 96 | Address getAddrBySlot(int4 &slot,int4 sz) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh: In member function ‘bool LoadGuard::isRangeLocked() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:131:44: error: ‘analysisState’ was not declared in this scope 131 | bool isRangeLocked(void) const { return (analysisState == 2); } ///< Return \b true if the range is fully determined | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:188:44: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 188 | inline void ParserContext::allocateOperand(int4 i,ParserWalkerChange &walker) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:188:70: error: expected primary-expression before ‘&’ token 188 | inline void ParserContext::allocateOperand(int4 i,ParserWalkerChange &walker) { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:185:5: error: ‘uintb’ does not name a type; did you mean ‘uint’? 185 | uintb offset; ///< Offset relative to base | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In constructor ‘Token::Token(const string&, int, bool, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:28:65: error: ‘size’ was not declared in this scope 28 | Token(const string &nm,int4 sz,bool be,int4 ind) : name(nm) { size = sz; bigendian=be; index = ind; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:28:98: error: overloaded function with no contextual type information 28 | Token(const string &nm,int4 sz,bool be,int4 ind) : name(nm) { size = sz; bigendian=be; index = ind; } | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:188:71: error: ‘walker’ was not declared in this scope 188 | inline void ParserContext::allocateOperand(int4 i,ParserWalkerChange &walker) { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:186:5: error: ‘uint4’ does not name a type; did you mean ‘uint’? 186 | uint4 traversals; ///< What kind of operations has this pointer accumulated | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:193:26: error: ‘uintb’ has not been declared 193 | StackNode(Varnode *v,uintb o,uint4 trav) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:193:34: error: ‘uint4’ has not been declared 193 | StackNode(Varnode *v,uintb o,uint4 trav) { | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:18: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ParamEntry::isLeftJustified() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:76:48: error: ‘flags’ was not declared in this scope 76 | bool isLeftJustified(void) const { return (((flags&force_left_justify)!=0)||(!spaceid->isBigEndian())); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:37:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 37 | uint4 size; | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:42:5: error: ‘int4’ does not name a type; did you mean ‘int’? 42 | int4 handle_index; // Place holder for run-time determined value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:39:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 39 | uintb offset_offset; // Either static offset or ptr offset | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:44:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 44 | uintb value_real; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:52:26: error: ‘uintb’ has not been declared 52 | ConstTpl(const_type tp,uintb val); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:55:26: error: ‘int4’ has not been declared 55 | ConstTpl(const_type tp,int4 ht,v_field vf); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:56:26: error: ‘int4’ has not been declared 56 | ConstTpl(const_type tp,int4 ht,v_field vf,uintb plus); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:56:45: error: ‘uintb’ has not been declared 56 | ConstTpl(const_type tp,int4 ht,v_field vf,uintb plus); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:40:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 40 | uint4 offset_size; // Size of pointer | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:206:10: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 206 | vector flags; ///< Block properties for phi-node placement algorithm | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:206:15: error: template argument 1 is invalid 206 | vector flags; ///< Block properties for phi-node placement algorithm | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:206:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:42:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 42 | uintb temp_offset; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:61:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 61 | uintb getReal(void) const { return value_real; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:63:3: error: ‘int4’ does not name a type; did you mean ‘int’? 63 | int4 getHandleIndex(void) const { return value.handle_index; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:207:10: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 207 | vector depth; ///< Dominator depth of individual blocks | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:207:14: error: template argument 1 is invalid 207 | vector depth; ///< Dominator depth of individual blocks | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:207:14: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ParamEntry::isExclusion() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:86:42: error: ‘alignment’ was not declared in this scope 86 | bool isExclusion(void) const { return (alignment==0); } ///< Return \b true if this holds a single parameter exclusively | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:66:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 66 | uintb fix(const ParserWalker &walker) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:208:3: error: ‘int4’ does not name a type; did you mean ‘int’? 208 | int4 maxdepth; ///< Maximum depth of the dominator tree | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:209:3: error: ‘int4’ does not name a type; did you mean ‘int’? 209 | int4 pass; ///< Current pass being executed | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:70:39: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 70 | void changeHandleIndex(const vector &handmap); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:70:43: error: template argument 1 is invalid 70 | void changeHandleIndex(const vector &handmap); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:70:43: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ParamEntry::isReverseStack() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:87:46: error: ‘flags’ was not declared in this scope 87 | bool isReverseStack(void) const { return ((flags & reverse_stack)!=0); } ///< Return \b true if parameters are allocated in reverse order | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:51:3: error: ‘int4’ does not name a type; did you mean ‘int’? 51 | int4 length; // Length of this instantiation of the constructor | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:52:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 52 | uint4 offset; // Absolute offset (from start of instruction) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:59:3: error: ‘int4’ does not name a type; did you mean ‘int’? 59 | int4 num; // Number of context word affected | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:18: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ParamEntry::isParamCheckHigh() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:99:48: error: ‘flags’ was not declared in this scope 99 | bool isParamCheckHigh(void) const { return ((flags & extracheck_high)!=0); } ///< Return \b true if there is a high overlap | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:60:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 60 | uintm mask; // Bits within word affected | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:61:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 61 | uintm value; // New setting for bits | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: In constructor ‘ConstTpl::ConstTpl()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:49:33: error: ‘value_real’ was not declared in this scope 49 | ConstTpl(void) { type = real; value_real = 0; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:78:3: error: ‘int4’ does not name a type; did you mean ‘int’? 78 | int4 parsestate; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ParamEntry::isParamCheckLow() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:100:47: error: ‘flags’ was not declared in this scope 100 | bool isParamCheckLow(void) const { return ((flags & extracheck_low)!=0); } ///< Return \b true if there is a low overlap | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:80:3: error: ‘uint1’ does not name a type; did you mean ‘uint’? 80 | uint1 buf[16]; // Buffer of bytes in the instruction stream | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:105:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 105 | uintb first; ///< Starting offset of the ParamEntry's range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:81:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 81 | uintm *context; // Pointer to local context | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:106:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 106 | uintb last; ///< Ending offset of the ParamEntry's range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:82:3: error: ‘int4’ does not name a type; did you mean ‘int’? 82 | int4 contextsize; // Number of entries in context array | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:107:3: error: ‘int4’ does not name a type; did you mean ‘int’? 107 | int4 position; ///< Position of the ParamEntry within the entire prototype list | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:113:5: error: ‘int4’ does not name a type; did you mean ‘int’? 113 | int4 position; ///< Position (within the full list) being assigned to the ParamEntryRange | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:116:18: error: expected ‘)’ before ‘pos’ 116 | InitData(int4 pos,ParamEntry *e) { position = pos; entry = e; } ///< Constructor | ~ ^~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: In copy constructor ‘ConstTpl::ConstTpl(const ConstTpl&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:51:37: error: ‘value_real’ was not declared in this scope 51 | type=op2.type; value=op2.value; value_real=op2.value_real; select=op2.select; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:233:83: error: ‘int4’ has not been declared 233 | void removeRevisitedMarkers(const vector &remove,const Address &addr,int4 size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:121:5: error: ‘int4’ does not name a type; did you mean ‘int’? 121 | int4 position; ///< The position value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:51:52: error: ‘const class ConstTpl’ has no member named ‘value_real’ 51 | type=op2.type; value=op2.value; value_real=op2.value_real; select=op2.select; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:124:25: error: expected ‘)’ before ‘pos’ 124 | SubsortPosition(int4 pos) { position = pos; } ///< Construct given position | ~ ^~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:234:3: error: ‘int4’ does not name a type; did you mean ‘int’? 234 | int4 collect(Address addr,int4 size,vector &read,vector &write,vector &input,vector &remove) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:235:49: error: ‘int4’ has not been declared 235 | bool callOpIndirectEffect(const Address &addr,int4 size,PcodeOp *op) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:129:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 129 | typedef uintb linetype; ///< The linear element for a rangemap | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:236:62: error: ‘int4’ has not been declared 236 | Varnode *normalizeReadSize(Varnode *vn,const Address &addr,int4 size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:133:40: error: ‘uintb’ has not been declared 133 | ParamEntryRange(const inittype &data,uintb f,uintb l) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:133:48: error: ‘uintb’ has not been declared 133 | ParamEntryRange(const inittype &data,uintb f,uintb l) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:237:63: error: ‘int4’ has not been declared 237 | Varnode *normalizeWriteSize(Varnode *vn,const Address &addr,int4 size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:239:90: error: ‘int4’ has not been declared 239 | void splitPieces(const vector &vnlist,PcodeOp *insertop,const Address &addr,int4 size,Varnode *startvn); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:249:34: error: ‘int4’ has not been declared 249 | void guard(const Address &addr,int4 size,vector &read,vector &write,vector &inputvars); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:250:39: error: ‘int4’ has not been declared 250 | void guardInput(const Address &addr,int4 size,vector &input); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:251:97: error: ‘int4’ has not been declared 251 | void guardCallOverlappingInput(FuncCallSpecs *fc,const Address &addr,const Address &transAddr,int4 size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:252:19: error: ‘uint4’ has not been declared 252 | void guardCalls(uint4 flags,const Address &addr,int4 size,vector &write); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:135:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 135 | uintb getFirst(void) const { return first; } ///< Get the first address in the range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:252:51: error: ‘int4’ has not been declared 252 | void guardCalls(uint4 flags,const Address &addr,int4 size,vector &write); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:253:40: error: ‘int4’ has not been declared 253 | void guardStores(const Address &addr,int4 size,vector &write); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:254:19: error: ‘uint4’ has not been declared 254 | void guardLoads(uint4 flags,const Address &addr,int4 size,vector &write); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:254:51: error: ‘int4’ has not been declared 254 | void guardLoads(uint4 flags,const Address &addr,int4 size,vector &write); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:255:21: error: ‘uint4’ has not been declared 255 | void guardReturns(uint4 flags,const Address &addr,int4 size,vector &write); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:255:53: error: ‘int4’ has not been declared 255 | void guardReturns(uint4 flags,const Address &addr,int4 size,vector &write); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:136:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 136 | uintb getLast(void) const { return last; } ///< Get the last address in the range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:256:38: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 256 | static void buildRefinement(vector &refine,const Address &addr,int4 size,const vector &vnlist); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:256:42: error: template argument 1 is invalid 256 | static void buildRefinement(vector &refine,const Address &addr,int4 size,const vector &vnlist); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:256:42: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:256:72: error: ‘int4’ has not been declared 256 | static void buildRefinement(vector &refine,const Address &addr,int4 size,const vector &vnlist); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: In member function ‘bool ConstTpl::isZero() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:69:52: error: ‘value_real’ was not declared in this scope 69 | bool isZero(void) const { return ((type==real)&&(value_real==0)); } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:83:18: error: expected ‘)’ before ‘hand’ 83 | VarnodeTpl(int4 hand,bool zerosize); | ~ ^~~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:91:3: error: ‘int4’ does not name a type; did you mean ‘int’? 91 | int4 transfer(const vector ¶ms); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:94:18: error: ‘uintb’ has not been declared 94 | void setOffset(uintb constVal) { offset = ConstTpl(ConstTpl::real,constVal); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:95:20: error: ‘uintb’ has not been declared 95 | void setRelative(uintb constVal) { offset = ConstTpl(ConstTpl::j_relative,constVal); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:257:71: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 257 | void splitByRefinement(Varnode *vn,const Address &addr,const vector &refine,vector &split); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:257:75: error: template argument 1 is invalid 257 | void splitByRefinement(Varnode *vn,const Address &addr,const vector &refine,vector &split); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In constructor ‘ParamEntryRange::SubsortPosition::SubsortPosition(bool)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:125:33: error: ‘position’ was not declared in this scope 125 | SubsortPosition(bool val) { position = val ? 1000000 : 0; } ///< Constructor minimal/maximal subsort | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:257:75: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:90:3: error: ‘int4’ does not name a type; did you mean ‘int’? 90 | int4 alloc; // Number of ConstructState's allocated | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:91:3: error: ‘int4’ does not name a type; did you mean ‘int’? 91 | int4 delayslot; // delayslot depth | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:101:39: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 101 | void changeHandleIndex(const vector &handmap); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:101:43: error: template argument 1 is invalid 101 | void changeHandleIndex(const vector &handmap); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:101:43: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:102:25: error: ‘int4’ has not been declared 102 | bool adjustTruncation(int4 sz,bool isbigendian); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:97:3: error: ‘uint1’ does not name a type; did you mean ‘uint’? 97 | uint1 *getBuffer(void) { return buf; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:98:19: error: ‘int4’ has not been declared 98 | void initialize(int4 maxstate,int4 maxparam,AddrSpace *spc); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:98:33: error: ‘int4’ has not been declared 98 | void initialize(int4 maxstate,int4 maxparam,AddrSpace *spc); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:258:64: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 258 | void refineRead(Varnode *vn,const Address &addr,const vector &refine,vector &newvn); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:258:68: error: template argument 1 is invalid 258 | void refineRead(Varnode *vn,const Address &addr,const vector &refine,vector &newvn); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:258:68: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:99:3: error: ‘int4’ does not name a type; did you mean ‘int’? 99 | int4 getParserState(void) const { return parsestate; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:100:23: error: ‘int4’ has not been declared 100 | void setParserState(int4 st) { parsestate = st; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:102:24: error: ‘int4’ has not been declared 102 | void allocateOperand(int4 i,ParserWalkerChange &walker); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:106:36: error: ‘int4’ has not been declared 106 | void addCommit(TripleSymbol *sym,int4 num,uintm mask,bool flow,ConstructState *point); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:106:45: error: ‘uintm’ has not been declared 106 | void addCommit(TripleSymbol *sym,int4 num,uintm mask,bool flow,ConstructState *point); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:119:33: error: ‘uintb’ has not been declared 119 | AddrSpace *t_space,uintb t_offset); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:129:21: error: ‘uintb’ has not been declared 129 | void setPtrOffset(uintb val) { ptroffset = ConstTpl(ConstTpl::real,val); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:130:22: error: ‘uintb’ has not been declared 130 | void setTempOffset(uintb val) { temp_offset = ConstTpl(ConstTpl::real,val); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ParamEntryRange::SubsortPosition::operator<(const ParamEntryRange::SubsortPosition&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:126:57: error: ‘position’ was not declared in this scope 126 | bool operator<(const SubsortPosition &op2) { return position < op2.position; } ///< Compare operation | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:126:72: error: ‘const class ParamEntryRange::SubsortPosition’ has no member named ‘position’ 126 | bool operator<(const SubsortPosition &op2) { return position < op2.position; } ///< Compare operation | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:115:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 115 | uintm getInstructionBytes(int4 byteoff,int4 numbytes,uint4 off) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:259:65: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 259 | void refineWrite(Varnode *vn,const Address &addr,const vector &refine,vector &newvn); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:259:69: error: template argument 1 is invalid 259 | void refineWrite(Varnode *vn,const Address &addr,const vector &refine,vector &newvn); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:259:69: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:116:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 116 | uintm getContextBytes(int4 byteoff,int4 numbytes) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:132:39: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 132 | void changeHandleIndex(const vector &handmap); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:132:43: error: template argument 1 is invalid 132 | void changeHandleIndex(const vector &handmap); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:132:43: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:117:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 117 | uintm getInstructionBits(int4 startbit,int4 size,uint4 off) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:118:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 118 | uintm getContextBits(int4 startbit,int4 size) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:119:23: error: ‘int4’ has not been declared 119 | void setContextWord(int4 i,uintm val,uintm mask) { context[i] = (context[i]&(~mask))|(mask&val); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:119:30: error: ‘uintm’ has not been declared 119 | void setContextWord(int4 i,uintm val,uintm mask) { context[i] = (context[i]&(~mask))|(mask&val); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:119:40: error: ‘uintm’ has not been declared 119 | void setContextWord(int4 i,uintm val,uintm mask) { context[i] = (context[i]&(~mask))|(mask&val); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:260:65: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 260 | void refineInput(Varnode *vn,const Address &addr,const vector &refine,vector &newvn); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In constructor ‘ParamEntryRange::ParamEntryRange(const inittype&, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:134:5: error: ‘first’ was not declared in this scope 134 | first = f; last = l; position = data.position; entry = data.entry; } ///< Initialize the range | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:260:69: error: template argument 1 is invalid 260 | void refineInput(Varnode *vn,const Address &addr,const vector &refine,vector &newvn); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:260:69: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:121:3: error: ‘int4’ does not name a type; did you mean ‘int’? 121 | int4 getLength(void) const { return base_state->length; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:122:21: error: ‘int4’ has not been declared 122 | void setDelaySlot(int4 val) { delayslot = val; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:123:3: error: ‘int4’ does not name a type; did you mean ‘int’? 123 | int4 getDelaySlot(void) const { return delayslot; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:261:34: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 261 | void remove13Refinement(vector &refine); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:261:38: error: template argument 1 is invalid 261 | void remove13Refinement(vector &refine); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:261:38: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:134:16: error: ‘last’ was not declared in this scope 134 | first = f; last = l; position = data.position; entry = data.entry; } ///< Initialize the range | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:262:39: error: ‘int4’ has not been declared 262 | bool refinement(const Address &addr,int4 size,const vector &readvars,const vector &writevars,const vector &inputvars); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:272:3: error: ‘int4’ does not name a type; did you mean ‘int’? 272 | int4 getPass(void) const { return pass; } ///< Get overall count of heritage passes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:278:3: error: ‘int4’ does not name a type; did you mean ‘int’? 278 | int4 heritagePass(const Address &addr) const { return globaldisjoint.findPass(addr); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:279:3: error: ‘int4’ does not name a type; did you mean ‘int’? 279 | int4 numHeritagePasses(AddrSpace *spc) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:146:3: error: ‘int4’ does not name a type; did you mean ‘int’? 146 | int4 numInput(void) const { return input.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:147:21: error: ‘int4’ has not been declared 147 | VarnodeTpl *getIn(int4 i) const { return input[i]; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In destructor ‘ParserContext::~ParserContext()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:30: error: ‘context’ was not declared in this scope 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:154:32: error: ‘int4’ has not been declared 154 | void setInput(VarnodeTpl *vt,int4 slot) { input[slot] = vt; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:155:20: error: ‘int4’ has not been declared 155 | void removeInput(int4 index); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:281:3: error: ‘int4’ does not name a type; did you mean ‘int’? 281 | int4 getDeadCodeDelay(AddrSpace *spc) const; ///< Get pass delay for heritaging the given space | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:282:40: error: ‘int4’ has not been declared 282 | void setDeadCodeDelay(AddrSpace *spc,int4 delay); ///< Set delay for a specific space | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:134:26: error: ‘position’ was not declared in this scope 134 | first = f; last = l; position = data.position; entry = data.entry; } ///< Initialize the range | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:134:42: error: ‘const inittype’ {aka ‘const class ParamEntryRange::InitData’} has no member named ‘position’ 134 | first = f; last = l; position = data.position; entry = data.entry; } ///< Initialize the range | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:42: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:49: error: expected primary-expression before ‘)’ token 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:50: error: expected ‘)’ before numeric constant 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:29: note: to match this ‘(’ 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:156:39: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 156 | void changeHandleIndex(const vector &handmap); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:96:63: error: type ‘’ argument given to ‘delete’, expected pointer 96 | ~ParserContext(void) { if (context != (uintm *)0) delete [] context; } | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:156:43: error: template argument 1 is invalid 156 | void changeHandleIndex(const vector &handmap); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:156:43: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh: In constructor ‘Heritage::StackNode::StackNode(Varnode*, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:195:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 195 | offset = o; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘ParamEntryRange::subsorttype ParamEntryRange::getSubsort() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:137:63: error: ‘position’ was not declared in this scope 137 | subsorttype getSubsort(void) const { return SubsortPosition(position); } ///< Get the sub-subsort object | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:164:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 164 | uint4 delayslot; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:170:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 170 | uint4 flags; ///< Boolean properties of the trial | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:165:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 165 | uint4 numlabels; // Number of label templates | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserContext::setParserState(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:100:34: error: ‘parsestate’ was not declared in this scope; did you mean ‘base_state’? 100 | void setParserState(int4 st) { parsestate = st; } | ^~~~~~~~~~ | base_state /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:172:3: error: ‘int4’ does not name a type; did you mean ‘int’? 172 | int4 size; ///< Number of bytes in the memory range | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:173:3: error: ‘int4’ does not name a type; did you mean ‘int’? 173 | int4 slot; ///< Slot assigned to this trial | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:175:3: error: ‘int4’ does not name a type; did you mean ‘int’? 175 | int4 offset; ///< "justified" offset into entry | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:178:32: error: ‘int4’ has not been declared 178 | ParamTrial(const Address &ad,int4 sz,int4 sl) { addr = ad; size = sz; slot = sl; flags=0; entry=(ParamEntry *)0; offset=-1; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:178:40: error: ‘int4’ has not been declared 178 | ParamTrial(const Address &ad,int4 sz,int4 sl) { addr = ad; size = sz; slot = sl; flags=0; entry=(ParamEntry *)0; offset=-1; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:197:7: error: ‘traversals’ was not declared in this scope 197 | traversals = trav; | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh: In member function ‘HeritageInfo* Heritage::getInfo(AddrSpace*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:220:66: error: ‘class AddrSpace’ has no member named ‘getIndex’ 220 | HeritageInfo *getInfo(AddrSpace *spc) { return &(infolist[spc->getIndex()]); } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:180:3: error: ‘int4’ does not name a type; did you mean ‘int’? 180 | int4 getSize(void) const { return size; } ///< Get the number of bytes in \b this trial | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh: In member function ‘const HeritageInfo* Heritage::getInfo(AddrSpace*) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:223:78: error: ‘class AddrSpace’ has no member named ‘getIndex’ 223 | const HeritageInfo *getInfo(AddrSpace *spc) const { return &(infolist[spc->getIndex()]); } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:181:3: error: ‘int4’ does not name a type; did you mean ‘int’? 181 | int4 getSlot(void) const { return slot; } ///< Get the \e slot associated with \b this trial | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:182:16: error: ‘int4’ has not been declared 182 | void setSlot(int4 val) { slot = val; } ///< Set the \e slot associated with \b this trial | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserContext::setContextWord(int, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:119:54: error: ‘context’ was not declared in this scope 119 | void setContextWord(int4 i,uintm val,uintm mask) { context[i] = (context[i]&(~mask))|(mask&val); } | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:169:21: error: ‘uint4’ has not been declared 169 | void setNumLabels(uint4 val) { numlabels = val; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:184:3: error: ‘int4’ does not name a type; did you mean ‘int’? 184 | int4 getOffset(void) const { return offset; } ///< Get the offset associated with \b this trial | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:185:39: error: ‘int4’ has not been declared 185 | void setEntry(const ParamEntry *ent,int4 off) { entry=ent; offset=off; } ///< Set the model entry for this trial | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:173:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 173 | uint4 delaySlot(void) const { return delayslot; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:204:3: error: ‘int4’ does not name a type; did you mean ‘int’? 204 | int4 slotGroup(void) const { return entry->getSlot(addr,size-1); } ///< Get position of \b this within its parameter \e group | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:205:37: error: ‘int4’ has not been declared 205 | void setAddress(const Address &ad,int4 sz) { addr=ad; size=sz; } ///< Reset the memory range of \b this trial | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:206:22: error: ‘int4’ has not been declared 206 | ParamTrial splitHi(int4 sz) const; ///< Create a trial representing the first part of \b this | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:207:22: error: ‘int4’ has not been declared 207 | ParamTrial splitLo(int4 sz) const; ///< Create a trial representing the last part of \b this | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:208:42: error: ‘int4’ has not been declared 208 | bool testShrink(const Address &newaddr,int4 sz) const; ///< Test if \b this trial can be made smaller | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:174:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 174 | uint4 numLabels(void) const { return numlabels; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh: In member function ‘void Heritage::forceRestructure()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:286:33: error: ‘maxdepth’ was not declared in this scope; did you mean ‘depth’? 286 | void forceRestructure(void) { maxdepth = -1; } ///< Force regeneration of basic block structures | ^~~~~~~~ | depth /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:180:3: error: ‘int4’ does not name a type; did you mean ‘int’? 180 | int4 fillinBuild(vector &check,AddrSpace *const_space); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserContext::loadContext()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:120:55: error: ‘context’ was not declared in this scope 120 | void loadContext(void) { contcache->getContext(addr,context); } | ^~~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/merge.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/merge.hh:45:3: error: ‘int4’ does not name a type; did you mean ‘int’? 45 | int4 index; ///< Index of BlockBasic defining Varnode | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In constructor ‘ParamTrial::ParamTrial(const Address&, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:178:62: error: ‘size’ was not declared in this scope 178 | ParamTrial(const Address &ad,int4 sz,int4 sl) { addr = ad; size = sz; slot = sl; flags=0; entry=(ParamEntry *)0; offset=-1; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/merge.hh:51:3: error: ‘int4’ does not name a type; did you mean ‘int’? 51 | int4 getIndex(void) const { return index; } ///< Get the Varnode's defining block index | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:182:39: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 182 | void changeHandleIndex(const vector &handmap); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:182:43: error: template argument 1 is invalid 182 | void changeHandleIndex(const vector &handmap); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:182:43: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:183:32: error: ‘int4’ has not been declared 183 | void setInput(VarnodeTpl *vn,int4 index,int4 slot); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:183:43: error: ‘int4’ has not been declared 183 | void setInput(VarnodeTpl *vn,int4 index,int4 slot); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:184:33: error: ‘int4’ has not been declared 184 | void setOutput(VarnodeTpl *vn,int4 index); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/merge.hh:52:10: error: ‘int4’ does not name a type; did you mean ‘int’? 52 | static int4 findFront(int4 blocknum,const vector &list); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/merge.hh: In member function ‘bool BlockVarnode::operator<(const BlockVarnode&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/merge.hh:49:71: error: ‘const class BlockVarnode’ has no member named ‘index’ 49 | bool operator<(const BlockVarnode &op2) const { return (index < op2.index); } ///< Comparator | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:178:73: error: ‘slot’ was not declared in this scope 178 | ParamTrial(const Address &ad,int4 sz,int4 sl) { addr = ad; size = sz; slot = sl; flags=0; entry=(ParamEntry *)0; offset=-1; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserContext::setDelaySlot(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:122:33: error: ‘delayslot’ was not declared in this scope; did you mean ‘setDelaySlot’? 122 | void setDelaySlot(int4 val) { delayslot = val; } | ^~~~~~~~~ | setDelaySlot /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:185:31: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 185 | void deleteOps(const vector &indices); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:185:35: error: template argument 1 is invalid 185 | void deleteOps(const vector &indices); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:185:35: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:186:27: error: ‘int4’ has not been declared 186 | void saveXml(ostream &s,int4 sectionid) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:131:3: error: ‘int4’ does not name a type; did you mean ‘int’? 131 | int4 depth; // Depth of the current node | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:187:3: error: ‘int4’ does not name a type; did you mean ‘int’? 187 | int4 restoreXml(const Element *el,const AddrSpaceManager *manage); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:132:3: error: ‘int4’ does not name a type; did you mean ‘int’? 132 | int4 breadcrumb[32]; // Path of operands from root | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:138:42: error: ‘int4’ has not been declared 138 | void setOutOfBandState(Constructor *ct,int4 index,ConstructState *tempstate,const ParserWalker &otherwalker); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:140:20: error: ‘int4’ has not been declared 140 | void pushOperand(int4 i) { breadcrumb[depth++] = i+1; point = point->resolve[i]; breadcrumb[depth] = 0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:178:84: error: ‘flags’ was not declared in this scope 178 | ParamTrial(const Address &ad,int4 sz,int4 sl) { addr = ad; size = sz; slot = sl; flags=0; entry=(ParamEntry *)0; offset=-1; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:142:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 142 | uint4 getOffset(int4 i) const { if (i<0) return point->offset; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:145:3: error: ‘int4’ does not name a type; did you mean ‘int’? 145 | int4 getOperand(void) const { return breadcrumb[depth]; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:147:37: error: ‘int4’ has not been declared 147 | const FixedHandle &getFixedHandle(int4 i) const { return point->resolve[i]->hand; } | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:154:3: error: ‘int4’ does not name a type; did you mean ‘int’? 154 | int4 getLength(void) const { return const_context->getLength(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:178:116: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 178 | ParamTrial(const Address &ad,int4 sz,int4 sl) { addr = ad; size = sz; slot = sl; flags=0; entry=(ParamEntry *)0; offset=-1; } | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:155:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 155 | uintm getInstructionBytes(int4 byteoff,int4 numbytes) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: In member function ‘void ConstructTpl::setNumLabels(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:169:34: error: ‘numlabels’ was not declared in this scope; did you mean ‘setNumLabels’? 169 | void setNumLabels(uint4 val) { numlabels = val; } | ^~~~~~~~~ | setNumLabels /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:157:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 157 | uintm getContextBytes(int4 byteoff,int4 numbytes) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/merge.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/merge.hh:86:58: error: ‘int4’ has not been declared 86 | bool blockIntersection(HighVariable *a,HighVariable *b,int4 blk); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:159:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 159 | uintm getInstructionBits(int4 startbit,int4 size) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ParamTrial::setSlot(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:182:28: error: ‘slot’ was not declared in this scope 182 | void setSlot(int4 val) { slot = val; } ///< Set the \e slot associated with \b this trial | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:161:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 161 | uintm getContextBits(int4 startbit,int4 size) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/merge.hh:97:89: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 97 | bool collectCorrectable(const vector &vlist,list &oplist,vector &slotlist, | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/merge.hh:97:93: error: template argument 1 is invalid 97 | bool collectCorrectable(const vector &vlist,list &oplist,vector &slotlist, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/merge.hh:97:93: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/merge.hh:105:32: error: ‘int4’ has not been declared 105 | void trimOpInput(PcodeOp *op,int4 slot); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/merge.hh:112:69: error: ‘int4’ has not been declared 112 | void buildDominantCopy(HighVariable *high,vector ©,int4 pos,int4 size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/merge.hh:112:78: error: ‘int4’ has not been declared 112 | void buildDominantCopy(HighVariable *high,vector ©,int4 pos,int4 size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/merge.hh:113:71: error: ‘int4’ has not been declared 113 | void markRedundantCopies(HighVariable *high,vector ©,int4 pos,int4 size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/merge.hh:113:80: error: ‘int4’ has not been declared 113 | void markRedundantCopies(HighVariable *high,vector ©,int4 pos,int4 size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ParamTrial::setEntry(const ParamEntry*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:185:62: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 185 | void setEntry(const ParamEntry *ent,int4 off) { entry=ent; offset=off; } ///< Set the model entry for this trial | ^~~~~~ | off_t In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserWalker::baseState()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:137:61: error: ‘depth’ was not declared in this scope 137 | void baseState(void) { point = const_context->base_state; depth=0; breadcrumb[0] = 0; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: In constructor ‘ConstructTpl::ConstructTpl()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:171:24: error: ‘delayslot’ was not declared in this scope 171 | ConstructTpl(void) { delayslot=0; numlabels=0; result = (HandleTpl *)0; } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ParamTrial::markUsed()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:186:25: error: ‘flags’ was not declared in this scope 186 | void markUsed(void) { flags |= used; } ///< Mark the trial as a formal parameter | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:171:37: error: ‘numlabels’ was not declared in this scope; did you mean ‘setNumLabels’? 171 | ConstructTpl(void) { delayslot=0; numlabels=0; result = (HandleTpl *)0; } | ^~~~~~~~~ | setNumLabels /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ParamTrial::markActive()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:187:27: error: ‘flags’ was not declared in this scope 187 | void markActive(void) { flags |= (active|checked); } ///< Mark that trial is actively used (in data-flow) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:137:70: error: ‘breadcrumb’ was not declared in this scope 137 | void baseState(void) { point = const_context->base_state; depth=0; breadcrumb[0] = 0; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:193:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 193 | uint4 labelbase; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:194:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 194 | uint4 labelcount; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:199:21: error: expected ‘)’ before ‘lbcnt’ 199 | PcodeBuilder(uint4 lbcnt) { labelbase=labelcount=lbcnt; } | ~ ^~~~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/merge.hh: In static member function ‘static bool Merge::compareHighByBlock(const HighVariable*, const HighVariable*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/merge.hh:151:3: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 151 | int4 result = a->wholecover.compareTo(b->wholecover); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ParamTrial::markInactive()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:188:29: error: ‘flags’ was not declared in this scope 188 | void markInactive(void) { flags &= ~((uint4)active); flags |= checked; } ///< Mark that trial is not actively used | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:202:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 202 | uint4 getLabelBase(void) const { return labelbase; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:204:38: error: ‘int4’ has not been declared 204 | void build(ConstructTpl *construct,int4 secnum); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:205:39: error: ‘int4’ has not been declared 205 | virtual void appendBuild(OpTpl *bld,int4 secnum)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:208:44: error: ‘int4’ has not been declared 208 | virtual void appendCrossBuild(OpTpl *bld,int4 secnum)=0; | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:20, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:23:3: error: ‘int4’ does not name a type; did you mean ‘int’? 23 | int4 offset; // Offset to non-zero byte of mask | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:188:41: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 188 | void markInactive(void) { flags &= ~((uint4)active); flags |= checked; } ///< Mark that trial is not actively used | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:188:47: error: expected ‘)’ before ‘active’ 188 | void markInactive(void) { flags &= ~((uint4)active); flags |= checked; } ///< Mark that trial is not actively used | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:188:39: note: to match this ‘(’ 188 | void markInactive(void) { flags &= ~((uint4)active); flags |= checked; } ///< Mark that trial is not actively used | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:24:3: error: ‘int4’ does not name a type; did you mean ‘int’? 24 | int4 nonzerosize; // Last byte(+1) containing nonzero mask | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserWalker::pushOperand(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:140:30: error: ‘breadcrumb’ was not declared in this scope 140 | void pushOperand(int4 i) { breadcrumb[depth++] = i+1; point = point->resolve[i]; breadcrumb[depth] = 0; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/merge.hh:152:8: error: ‘result’ was not declared in this scope 152 | if ( result == 0 ) { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:25:10: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 25 | vector maskvec; // Mask | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:25:15: error: template argument 1 is invalid 25 | vector maskvec; // Mask | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:25:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ParamTrial::markNoUse()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:189:26: error: ‘flags’ was not declared in this scope 189 | void markNoUse(void) { flags &= ~((uint4)(active|used)); flags |= (checked|defnouse); } ///< Mark trial as definitely \e not a parameter | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:140:41: error: ‘depth’ was not declared in this scope 140 | void pushOperand(int4 i) { breadcrumb[depth++] = i+1; point = point->resolve[i]; breadcrumb[depth] = 0; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:26:10: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 26 | vector valvec; // Value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:26:15: error: template argument 1 is invalid 26 | vector valvec; // Value | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:26:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:29:20: error: expected ‘)’ before ‘off’ 29 | PatternBlock(int4 off,uintm msk,uintm val); | ~ ^~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:189:38: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 189 | void markNoUse(void) { flags &= ~((uint4)(active|used)); flags |= (checked|defnouse); } ///< Mark trial as definitely \e not a parameter | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:38:14: error: ‘int4’ has not been declared 38 | void shift(int4 sa) { offset += sa; normalize(); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/merge.hh:169:11: error: ‘result’ was not declared in this scope 169 | return (result < 0); | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:39:3: error: ‘int4’ does not name a type; did you mean ‘int’? 39 | int4 getLength(void) const { return offset+nonzerosize; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:40:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 40 | uintm getMask(int4 startbit,int4 size) const; | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/dynamic.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/dynamic.hh:32:3: error: ‘int4’ does not name a type; did you mean ‘int’? 32 | int4 slot; ///< Slot containing the input Varnode or -1 for the p-code op output | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/dynamic.hh:34:29: error: ‘int4’ has not been declared 34 | ToOpEdge(const PcodeOp *o,int4 s) { op = o; slot = s; } ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserWalker::popOperand()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:141:50: error: ‘depth’ was not declared in this scope 141 | void popOperand(void) { point = point->parent; depth-= 1; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:41:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 41 | uintm getValue(int4 startbit,int4 size) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/dynamic.hh:36:3: error: ‘int4’ does not name a type; did you mean ‘int’? 36 | int4 getSlot(void) const { return slot; } ///< Get the slot of the starting Varnode | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ParamTrial::markUnref()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:190:26: error: ‘flags’ was not declared in this scope 190 | void markUnref(void) { flags |= (unref|checked); slot = -1; } ///< Mark that \b this trial has no Varnode representative | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:172:18: error: ‘uint4’ has not been declared 172 | void setOffset(uint4 off) { point->offset = off; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:174:25: error: ‘int4’ has not been declared 174 | void setCurrentLength(int4 len) { point->length = len; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:175:26: error: ‘int4’ has not been declared 175 | void calcCurrentLength(int4 length,int4 numopers); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:175:38: error: ‘int4’ has not been declared 175 | void calcCurrentLength(int4 length,int4 numopers); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserWalkerChange::setOffset(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:172:38: error: ‘struct ConstructState’ has no member named ‘offset’ 172 | void setOffset(uint4 off) { point->offset = off; } | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserWalkerChange::setCurrentLength(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:174:44: error: ‘struct ConstructState’ has no member named ‘length’ 174 | void setCurrentLength(int4 len) { point->length = len; } | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/dynamic.hh:38:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 38 | uint4 hash(uint4 reg) const; ///< Hash \b this edge into an accumulator | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:190:52: error: ‘slot’ was not declared in this scope 190 | void markUnref(void) { flags |= (unref|checked); slot = -1; } ///< Mark that \b this trial has no Varnode representative | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh: In member function ‘void PatternBlock::shift(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:38:25: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 38 | void shift(int4 sa) { offset += sa; normalize(); } | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: In member function ‘void ParserContext::deallocateState(ParserWalkerChange&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:183:3: error: ‘alloc’ was not declared in this scope; did you mean ‘valloc’? 183 | alloc = 1; | ^~~~~ | valloc /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/dynamic.hh: In constructor ‘ToOpEdge::ToOpEdge(const PcodeOp*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/dynamic.hh:34:47: error: ‘slot’ was not declared in this scope 34 | ToOpEdge(const PcodeOp *o,int4 s) { op = o; slot = s; } ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:188:13: error: variable or field ‘allocateOperand’ declared void 188 | inline void ParserContext::allocateOperand(int4 i,ParserWalkerChange &walker) { | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/dynamic.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/dynamic.hh:61:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 61 | uint4 vnproc; ///< Number of Varnodes processed in the \b markvn list so far | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:188:44: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 188 | inline void ParserContext::allocateOperand(int4 i,ParserWalkerChange &walker) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:188:70: error: expected primary-expression before ‘&’ token 188 | inline void ParserContext::allocateOperand(int4 i,ParserWalkerChange &walker) { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ParamTrial::markKilledByCall()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:191:33: error: ‘flags’ was not declared in this scope 191 | void markKilledByCall(void) { flags |= killedbycall; } ///< Mark that \b this storage is \e killed-by-call | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/dynamic.hh:62:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 62 | uint4 opproc; ///< Number of PcodeOps processed in the \b markop list so far | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/dynamic.hh:63:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 63 | uint4 opedgeproc; ///< Number of edges processed in the \b opedge list | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/context.hh:188:71: error: ‘walker’ was not declared in this scope 188 | inline void ParserContext::allocateOperand(int4 i,ParserWalkerChange &walker) { | ^~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:42:5: error: ‘int4’ does not name a type; did you mean ‘int’? 42 | int4 handle_index; // Place holder for run-time determined value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ParamTrial::isChecked() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:192:41: error: ‘flags’ was not declared in this scope 192 | bool isChecked(void) const { return ((flags & checked)!=0); } ///< Has \b this trial been checked | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh: In member function ‘bool PatternBlock::alwaysTrue() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:42:41: error: ‘nonzerosize’ was not declared in this scope 42 | bool alwaysTrue(void) const { return (nonzerosize==0); } | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:44:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 44 | uintb value_real; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:52:26: error: ‘uintb’ has not been declared 52 | ConstTpl(const_type tp,uintb val); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:55:26: error: ‘int4’ has not been declared 55 | ConstTpl(const_type tp,int4 ht,v_field vf); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:56:26: error: ‘int4’ has not been declared 56 | ConstTpl(const_type tp,int4 ht,v_field vf,uintb plus); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:56:45: error: ‘uintb’ has not been declared 56 | ConstTpl(const_type tp,int4 ht,v_field vf,uintb plus); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:61:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 61 | uintb getReal(void) const { return value_real; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ParamTrial::isActive() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:193:40: error: ‘flags’ was not declared in this scope 193 | bool isActive(void) const { return ((flags & active)!=0); } ///< Is \b this trial actively used in data-flow | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:63:3: error: ‘int4’ does not name a type; did you mean ‘int’? 63 | int4 getHandleIndex(void) const { return value.handle_index; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:66:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 66 | uintb fix(const ParserWalker &walker) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ParamTrial::isDefinitelyNotUsed() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:194:51: error: ‘flags’ was not declared in this scope 194 | bool isDefinitelyNotUsed(void) const { return ((flags & defnouse)!=0); } ///< Is \b this trial as definitely not a parameter | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh: In member function ‘bool PatternBlock::alwaysFalse() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:43:42: error: ‘nonzerosize’ was not declared in this scope 43 | bool alwaysFalse(void) const { return (nonzerosize==-1); } | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:55:33: error: ‘int4’ has not been declared 55 | virtual void shiftInstruction(int4 sa)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:56:42: error: ‘int4’ has not been declared 56 | virtual Pattern *doOr(const Pattern *b,int4 sa) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:57:43: error: ‘int4’ has not been declared 57 | virtual Pattern *doAnd(const Pattern *b,int4 sa) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:58:54: error: ‘int4’ has not been declared 58 | virtual Pattern *commonSubPattern(const Pattern *b,int4 sa) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:70:39: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 70 | void changeHandleIndex(const vector &handmap); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:70:43: error: template argument 1 is invalid 70 | void changeHandleIndex(const vector &handmap); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:70:43: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:60:11: error: ‘int4’ does not name a type; did you mean ‘int’? 60 | virtual int4 numDisjoint(void) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:61:40: error: ‘int4’ has not been declared 61 | virtual DisjointPattern *getDisjoint(int4 i) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:72:11: error: ‘int4’ does not name a type; did you mean ‘int’? 72 | virtual int4 numDisjoint(void) const { return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ParamTrial::isUsed() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:195:38: error: ‘flags’ was not declared in this scope 195 | bool isUsed(void) const { return ((flags & used)!=0); } ///< Is \b this trial as a formal parameter | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:73:40: error: ‘int4’ has not been declared 73 | virtual DisjointPattern *getDisjoint(int4 i) const { return (DisjointPattern *)0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:74:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 74 | uintm getMask(int4 startbit,int4 size,bool context) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:75:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 75 | uintm getValue(int4 startbit,int4 size,bool context) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:76:3: error: ‘int4’ does not name a type; did you mean ‘int’? 76 | int4 getLength(bool context) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ParamTrial::isUnref() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:196:39: error: ‘flags’ was not declared in this scope 196 | bool isUnref(void) const { return ((flags & unref)!=0); } ///< Does \b this trial not have a Varnode representative | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:93:33: error: ‘int4’ has not been declared 93 | virtual void shiftInstruction(int4 sa) { maskvalue->shift(sa); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:94:42: error: ‘int4’ has not been declared 94 | virtual Pattern *doOr(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: In constructor ‘ConstTpl::ConstTpl()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:49:33: error: ‘value_real’ was not declared in this scope 49 | ConstTpl(void) { type = real; value_real = 0; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:95:43: error: ‘int4’ has not been declared 95 | virtual Pattern *doAnd(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:96:54: error: ‘int4’ has not been declared 96 | virtual Pattern *commonSubPattern(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ParamTrial::isKilledByCall() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:197:46: error: ‘flags’ was not declared in this scope 197 | bool isKilledByCall(void) const { return ((flags & killedbycall)!=0); } ///< Is \b this storage \e killed-by-call | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:114:33: error: ‘int4’ has not been declared 114 | virtual void shiftInstruction(int4 sa) { } // do nothing | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:115:42: error: ‘int4’ has not been declared 115 | virtual Pattern *doOr(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/dynamic.hh:71:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 71 | uint8 hash; ///< The calculated hash value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:116:43: error: ‘int4’ has not been declared 116 | virtual Pattern *doAnd(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:117:54: error: ‘int4’ has not been declared 117 | virtual Pattern *commonSubPattern(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/dynamic.hh:80:37: error: ‘uint4’ has not been declared 80 | void calcHash(const Varnode *root,uint4 method); ///< Calculate the hash for given Varnode and method | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/dynamic.hh:82:63: error: ‘uint8’ has not been declared 82 | Varnode *findVarnode(const Funcdata *fd,const Address &addr,uint8 h); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/dynamic.hh:83:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 83 | uint8 getHash(void) const { return hash; } ///< Get the (current) hash | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/dynamic.hh:86:102: error: ‘uint8’ has not been declared 86 | static void gatherFirstLevelVars(vector &varlist,const Funcdata *fd,const Address &addr,uint8 h); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:137:33: error: ‘int4’ has not been declared 137 | virtual void shiftInstruction(int4 sa) { instr->shiftInstruction(sa); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:142:42: error: ‘int4’ has not been declared 142 | virtual Pattern *doOr(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:143:43: error: ‘int4’ has not been declared 143 | virtual Pattern *doAnd(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:144:54: error: ‘int4’ has not been declared 144 | virtual Pattern *commonSubPattern(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/dynamic.hh:87:10: error: ‘int4’ does not name a type; did you mean ‘int’? 87 | static int4 getSlotFromHash(uint8 h); ///< Retrieve the encoded slot from a hash | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ParamTrial::setRemFormed()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:198:29: error: ‘flags’ was not declared in this scope 198 | void setRemFormed(void) { flags |= rem_formed; } ///< Mark that \b this is formed by a INT_REM operation | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: In copy constructor ‘ConstTpl::ConstTpl(const ConstTpl&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:51:37: error: ‘value_real’ was not declared in this scope 51 | type=op2.type; value=op2.value; value_real=op2.value_real; select=op2.select; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:51:52: error: ‘const class ConstTpl’ has no member named ‘value_real’ 51 | type=op2.type; value=op2.value; value_real=op2.value_real; select=op2.select; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/dynamic.hh:88:10: error: ‘uint4’ does not name a type; did you mean ‘uint’? 88 | static uint4 getMethodFromHash(uint8 h); ///< Retrieve the encoded method from a hash | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/dynamic.hh:89:35: error: ‘uint8’ has not been declared 89 | static OpCode getOpCodeFromHash(uint8 h); ///< Retrieve the encoded op-code from a hash | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/dynamic.hh:90:10: error: ‘uint4’ does not name a type; did you mean ‘uint’? 90 | static uint4 getPositionFromHash(uint8 h); ///< Retrieve the encoded position from a hash | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/dynamic.hh:91:10: error: ‘uint4’ does not name a type; did you mean ‘uint’? 91 | static uint4 getTotalFromHash(uint8 h); ///< Retrieve the encoded collision total from a hash | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ParamTrial::isRemFormed() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:199:43: error: ‘flags’ was not declared in this scope 199 | bool isRemFormed(void) const { return ((flags & rem_formed)!=0); } ///< Is \b this formed by a INT_REM operation | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/dynamic.hh:92:32: error: ‘uint8’ has not been declared 92 | static bool getIsNotAttached(uint8 h); ///< Retrieve the attachment boolean from a hash | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/dynamic.hh:93:34: error: ‘uint8’ has not been declared 93 | static void clearTotalPosition(uint8 &h); ///< Clear the collision total and position fields within a hash | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/dynamic.hh:94:10: error: ‘uint4’ does not name a type; did you mean ‘uint’? 94 | static uint4 transtable[]; ///< Translation of op-codes to hash values | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:66:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 66 | uint4 flags; ///< Boolean properties associated with \b this function | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:157:33: error: ‘int4’ has not been declared 157 | virtual void shiftInstruction(int4 sa); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ParamTrial::setIndCreateFormed()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:200:35: error: ‘flags’ was not declared in this scope 200 | void setIndCreateFormed(void) { flags |= indcreate_formed; } ///< Mark \b this trial as formed by \e indirect \e creation | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: In member function ‘bool ConstTpl::isZero() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:69:52: error: ‘value_real’ was not declared in this scope 69 | bool isZero(void) const { return ((type==real)&&(value_real==0)); } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:83:18: error: expected ‘)’ before ‘hand’ 83 | VarnodeTpl(int4 hand,bool zerosize); | ~ ^~~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:67:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 67 | uint4 clean_up_index; ///< Creation index of first Varnode created after start of cleanup | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:159:11: error: ‘int4’ does not name a type; did you mean ‘int’? 159 | virtual int4 numDisjoint(void) const { return orlist.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:160:40: error: ‘int4’ has not been declared 160 | virtual DisjointPattern *getDisjoint(int4 i) const { return orlist[i]; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:68:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 68 | uint4 high_level_index; ///< Creation index of first Varnode created after HighVariables are created | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:164:42: error: ‘int4’ has not been declared 164 | virtual Pattern *doOr(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:91:3: error: ‘int4’ does not name a type; did you mean ‘int’? 91 | int4 transfer(const vector ¶ms); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:165:43: error: ‘int4’ has not been declared 165 | virtual Pattern *doAnd(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:94:18: error: ‘uintb’ has not been declared 94 | void setOffset(uintb constVal) { offset = ConstTpl(ConstTpl::real,constVal); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:166:54: error: ‘int4’ has not been declared 166 | virtual Pattern *commonSubPattern(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:95:20: error: ‘uintb’ has not been declared 95 | void setRelative(uintb constVal) { offset = ConstTpl(ConstTpl::j_relative,constVal); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:69:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 69 | uint4 cast_phase_index; ///< Creation index of first Varnode created after ActionSetCasts | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ParamTrial::isIndCreateFormed() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:201:49: error: ‘flags’ was not declared in this scope 201 | bool isIndCreateFormed(void) const { return ((flags & indcreate_formed)!=0); } ///< Is \b this trial formed by \e indirect \e creation | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:70:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 70 | uint4 minLanedSize; ///< Minimum Varnode size to check as LanedRegister | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:101:39: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 101 | void changeHandleIndex(const vector &handmap); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:101:43: error: template argument 1 is invalid 101 | void changeHandleIndex(const vector &handmap); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:101:43: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:71:3: error: ‘int4’ does not name a type; did you mean ‘int’? 71 | int4 size; ///< Number of bytes of binary data in function body | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:102:25: error: ‘int4’ has not been declared 102 | bool adjustTruncation(int4 sz,bool isbigendian); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:119:33: error: ‘uintb’ has not been declared 119 | AddrSpace *t_space,uintb t_offset); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:129:21: error: ‘uintb’ has not been declared 129 | void setPtrOffset(uintb val) { ptroffset = ConstTpl(ConstTpl::real,val); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:130:22: error: ‘uintb’ has not been declared 130 | void setTempOffset(uintb val) { temp_offset = ConstTpl(ConstTpl::real,val); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ParamTrial::setCondExeEffect()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:202:33: error: ‘flags’ was not declared in this scope 202 | void setCondExeEffect(void) { flags |= condexe_effect; } ///< Mark \b this trial as possibly affected by conditional execution | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:132:39: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 132 | void changeHandleIndex(const vector &handmap); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:132:43: error: template argument 1 is invalid 132 | void changeHandleIndex(const vector &handmap); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:132:43: error: template argument 2 is invalid In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:20, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:26:36: error: ‘int4’ has not been declared 26 | static PatternBlock *buildSingle(int4 startbit,int4 endbit,uintm byteval); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:26:50: error: ‘int4’ has not been declared 26 | static PatternBlock *buildSingle(int4 startbit,int4 endbit,uintm byteval); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:26:62: error: ‘uintm’ has not been declared 26 | static PatternBlock *buildSingle(int4 startbit,int4 endbit,uintm byteval); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:27:38: error: ‘int4’ has not been declared 27 | static PatternBlock *buildBigBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:27:48: error: ‘int4’ has not been declared 27 | static PatternBlock *buildBigBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:27:62: error: ‘int4’ has not been declared 27 | static PatternBlock *buildBigBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:27:74: error: ‘intb’ has not been declared 27 | static PatternBlock *buildBigBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ParamTrial::hasCondExeEffect() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:203:48: error: ‘flags’ was not declared in this scope 203 | bool hasCondExeEffect(void) const { return ((flags & condexe_effect)!=0); } ///< Is \b this trial possibly affected by conditional execution | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:28:41: error: ‘int4’ has not been declared 28 | static PatternBlock *buildLittleBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:28:51: error: ‘int4’ has not been declared 28 | static PatternBlock *buildLittleBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:28:65: error: ‘int4’ has not been declared 28 | static PatternBlock *buildLittleBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:28:77: error: ‘intb’ has not been declared 28 | static PatternBlock *buildLittleBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:29:3: error: ‘int4’ does not name a type; did you mean ‘int’? 29 | int4 resolveTokens(const TokenPattern &tokpat1,const TokenPattern &tokpat2); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:35:27: error: ‘intb’ has not been declared 35 | TokenPattern(Token *tok,intb value,int4 bitstart,int4 bitend); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:35:38: error: ‘int4’ has not been declared 35 | TokenPattern(Token *tok,intb value,int4 bitstart,int4 bitend); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:35:52: error: ‘int4’ has not been declared 35 | TokenPattern(Token *tok,intb value,int4 bitstart,int4 bitend); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:36:20: error: expected ‘)’ before ‘value’ 36 | TokenPattern(intb value,int4 startbit,int4 endbit); | ~ ^~~~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ParamTrial::setAddress(const Address&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:205:57: error: ‘size’ was not declared in this scope 205 | void setAddress(const Address &ad,int4 sz) { addr=ad; size=sz; } ///< Reset the memory range of \b this trial | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:49:3: error: ‘int4’ does not name a type; did you mean ‘int’? 49 | int4 getMinimumLength(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:146:3: error: ‘int4’ does not name a type; did you mean ‘int’? 146 | int4 numInput(void) const { return input.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:147:21: error: ‘int4’ has not been declared 147 | VarnodeTpl *getIn(int4 i) const { return input[i]; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:154:32: error: ‘int4’ has not been declared 154 | void setInput(VarnodeTpl *vt,int4 slot) { input[slot] = vt; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:57:3: error: ‘int4’ does not name a type; did you mean ‘int’? 57 | int4 refcount; // Number of objects referencing this | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:155:20: error: ‘int4’ has not been declared 155 | void removeInput(int4 index); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:63:11: error: ‘intb’ does not name a type; did you mean ‘int’? 63 | virtual intb getValue(ParserWalker &walker) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:224:3: error: ‘int4’ does not name a type; did you mean ‘int’? 224 | int4 slotbase; ///< Slot where next parameter will go | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:156:39: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 156 | void changeHandleIndex(const vector &handmap); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:156:43: error: template argument 1 is invalid 156 | void changeHandleIndex(const vector &handmap); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:156:43: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:225:3: error: ‘int4’ does not name a type; did you mean ‘int’? 225 | int4 stackplaceholder; ///< Which call input slot holds the stack placeholder | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:66:33: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 66 | virtual void getMinMax(vector &minlist,vector &maxlist) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:66:37: error: template argument 1 is invalid 66 | virtual void getMinMax(vector &minlist,vector &maxlist) const=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:66:37: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:226:3: error: ‘int4’ does not name a type; did you mean ‘int’? 226 | int4 numpasses; ///< Number of attempts at evaluating parameters | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:227:3: error: ‘int4’ does not name a type; did you mean ‘int’? 227 | int4 maxpass; ///< Number of passes before we assume we have seen all params | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:234:42: error: ‘int4’ has not been declared 234 | void registerTrial(const Address &addr,int4 sz); ///< Add a new trial to the container | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:235:3: error: ‘int4’ does not name a type; did you mean ‘int’? 235 | int4 getNumTrials(void) const { return trial.size(); } ///< Get the number of trials in \b this container | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:236:24: error: ‘int4’ has not been declared 236 | ParamTrial &getTrial(int4 i) { return trial[i]; } ///< Get the i-th trial | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:66:55: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 66 | virtual void getMinMax(vector &minlist,vector &maxlist) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:66:59: error: template argument 1 is invalid 66 | virtual void getMinMax(vector &minlist,vector &maxlist) const=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:66:59: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:164:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 164 | uint4 delayslot; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:237:45: error: ‘int4’ has not been declared 237 | const ParamTrial &getTrialForInputVarnode(int4 slot) const; ///< Get trial corresponding to the given input Varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:67:11: error: ‘intb’ does not name a type; did you mean ‘int’? 67 | virtual intb getSubValue(const vector &replace,int4 &listpos) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:238:3: error: ‘int4’ does not name a type; did you mean ‘int’? 238 | int4 whichTrial(const Address &addr,int4 sz) const; ///< Get the trial overlapping with the given memory range | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:165:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 165 | uint4 numlabels; // Number of label templates | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:96:67: error: ‘uint4’ has not been declared 96 | bool syncVarnodesWithSymbol(VarnodeLocSet::const_iterator &iter,uint4 flags,Datatype *ct); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:107:44: error: ‘int4’ has not been declared 107 | void branchRemoveInternal(BlockBasic *bb,int4 num); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:70:3: error: ‘intb’ does not name a type; did you mean ‘int’? 70 | intb getSubValue(const vector &replace) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:246:3: error: ‘int4’ does not name a type; did you mean ‘int’? 246 | int4 getNumPasses(void) const { return numpasses; } ///< How many trial analysis passes were performed | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:247:3: error: ‘int4’ does not name a type; did you mean ‘int’? 247 | int4 getMaxPass(void) const { return maxpass; } ///< What is the maximum number of passes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:248:19: error: ‘int4’ has not been declared 248 | void setMaxPass(int4 val) { maxpass = val; } ///< Set the maximum number of passes | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:252:19: error: ‘int4’ has not been declared 252 | void splitTrial(int4 i,int4 sz); ///< Split the given trial in two | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:111:3: error: ‘int4’ does not name a type; did you mean ‘int’? 111 | int4 stageJumpTable(JumpTable *jt,PcodeOp *op,FlowInfo *flow); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:252:26: error: ‘int4’ has not been declared 252 | void splitTrial(int4 i,int4 sz); ///< Split the given trial in two | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:253:18: error: ‘int4’ has not been declared 253 | void joinTrial(int4 slot,const Address &addr,int4 sz); ///< Join adjacent parameter trials | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:253:48: error: ‘int4’ has not been declared 253 | void joinTrial(int4 slot,const Address &addr,int4 sz); ///< Join adjacent parameter trials | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:119:48: error: ‘int4’ has not been declared 119 | BlockBasic *nodeSplitBlockEdge(BlockBasic *b,int4 inedge); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:123:61: error: ‘int4’ has not been declared 123 | void nodeSplitInputPatch(BlockBasic *b,BlockBasic *bprime,int4 inedge); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:124:54: error: ‘uint4’ has not been declared 124 | static bool isAlternatePathValid(const Varnode *vn,uint4 flags); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:131:81: error: ‘int4’ has not been declared 131 | Funcdata(const string &nm,Scope *conf,const Address &addr,FunctionSymbol *sym,int4 sz=0); ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:254:3: error: ‘int4’ does not name a type; did you mean ‘int’? 254 | int4 getNumUsed(void) const; ///< Get number of trials marked as formal parameters | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:262:19: error: ‘int4’ has not been declared 262 | bool testShrink(int4 i,const Address &addr,int4 sz) const { return trial[i].testShrink(addr,sz); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:262:46: error: ‘int4’ has not been declared 262 | bool testShrink(int4 i,const Address &addr,int4 sz) const { return trial[i].testShrink(addr,sz); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:269:15: error: ‘int4’ has not been declared 269 | void shrink(int4 i,const Address &addr,int4 sz) { trial[i].setAddress(addr,sz); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:269:42: error: ‘int4’ has not been declared 269 | void shrink(int4 i,const Address &addr,int4 sz) { trial[i].setAddress(addr,sz); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:135:3: error: ‘int4’ does not name a type; did you mean ‘int’? 135 | int4 getSize(void) const { return size; } ///< Get the function body size in bytes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:169:21: error: ‘uint4’ has not been declared 169 | void setNumLabels(uint4 val) { numlabels = val; } | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:168:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 168 | uint4 getCastPhaseIndex(void) const { return cast_phase_index; } ///< Get creation index at the start of \b cast insertion | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:173:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 173 | uint4 delaySlot(void) const { return delayslot; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:169:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 169 | uint4 getHighLevelIndex(void) const { return high_level_index; } ///< Get creation index at the start of HighVariable creation | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In constructor ‘PatternExpression::PatternExpression()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:62:29: error: ‘refcount’ was not declared in this scope 62 | PatternExpression(void) { refcount = 0; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:174:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 174 | uint4 numLabels(void) const { return numlabels; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:171:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 171 | uint4 getCleanUpIndex(void) const { return clean_up_index; } ///< Get creation index at the start of \b clean-up phase | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:176:41: error: ‘uint4’ has not been declared 176 | void overrideFlow(const Address &addr,uint4 type); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:183:27: error: ‘uint8’ has not been declared 183 | void saveXml(ostream &s,uint8 id,bool savetree) const; ///< Emit an XML description of \b this function to stream | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:180:3: error: ‘int4’ does not name a type; did you mean ‘int’? 180 | int4 fillinBuild(vector &check,AddrSpace *const_space); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:184:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 184 | uint8 restoreXml(const Element *el); ///< Restore the state of \b this function from an XML description | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:211:38: error: ‘int4’ has not been declared 211 | void spacebaseConstant(PcodeOp *op,int4 slot,SymbolEntry *entry,const Address &rampoint,uintb origval,int4 origsize); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:211:91: error: ‘uintb’ has not been declared 211 | void spacebaseConstant(PcodeOp *op,int4 slot,SymbolEntry *entry,const Address &rampoint,uintb origval,int4 origsize); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:211:105: error: ‘int4’ has not been declared 211 | void spacebaseConstant(PcodeOp *op,int4 slot,SymbolEntry *entry,const Address &rampoint,uintb origval,int4 origsize); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:213:3: error: ‘int4’ does not name a type; did you mean ‘int’? 213 | int4 getHeritagePass(void) const { return heritage.getPass(); } ///< Get overall count of heritage passes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:182:39: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 182 | void changeHandleIndex(const vector &handmap); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:182:43: error: template argument 1 is invalid 182 | void changeHandleIndex(const vector &handmap); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:182:43: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:183:32: error: ‘int4’ has not been declared 183 | void setInput(VarnodeTpl *vn,int4 index,int4 slot); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:183:43: error: ‘int4’ has not been declared 183 | void setInput(VarnodeTpl *vn,int4 index,int4 slot); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:184:33: error: ‘int4’ has not been declared 184 | void setOutput(VarnodeTpl *vn,int4 index); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ParamActive::setPlaceholderSlot()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:244:35: error: ‘stackplaceholder’ was not declared in this scope 244 | void setPlaceholderSlot(void) { stackplaceholder = slotbase; slotbase += 1; } ///< Establish a stack placedholder slot | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:219:3: error: ‘int4’ does not name a type; did you mean ‘int’? 219 | int4 numHeritagePasses(AddrSpace *spc) { return heritage.numHeritagePasses(spc); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:230:40: error: ‘int4’ has not been declared 230 | void setDeadCodeDelay(AddrSpace *spc,int4 delay) { heritage.setDeadCodeDelay(spc,delay); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In member function ‘void PatternExpression::layClaim()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:73:25: error: ‘refcount’ was not declared in this scope 73 | void layClaim(void) { refcount += 1; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:80:35: error: ‘intb’ has not been declared 80 | virtual TokenPattern genPattern(intb val) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:255:3: error: ‘int4’ does not name a type; did you mean ‘int’? 255 | int4 numCalls(void) const { return qlst.size(); } ///< Get the number of calls made by \b this function | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:256:31: error: ‘int4’ has not been declared 256 | FuncCallSpecs *getCallSpecs(int4 i) const { return qlst[i]; } ///< Get the i-th call specification | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:258:3: error: ‘int4’ does not name a type; did you mean ‘int’? 258 | int4 fillinExtrapop(void); ///< Recover and return the \e extrapop for this function | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:185:31: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 185 | void deleteOps(const vector &indices); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:185:35: error: template argument 1 is invalid 185 | void deleteOps(const vector &indices); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:185:35: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:186:27: error: ‘int4’ has not been declared 186 | void saveXml(ostream &s,int4 sectionid) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:82:33: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 82 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:82:37: error: template argument 1 is invalid 82 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:82:37: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:261:3: error: ‘int4’ does not name a type; did you mean ‘int’? 261 | int4 numVarnodes(void) const { return vbank.numVarnodes(); } ///< Get the total number of Varnodes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:262:26: error: ‘int4’ has not been declared 262 | Varnode *newVarnodeOut(int4 s,const Address &m,PcodeOp *op); ///< Create a new output Varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:263:25: error: ‘int4’ has not been declared 263 | Varnode *newUniqueOut(int4 s,PcodeOp *op); ///< Create a new \e temporary output Varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:187:3: error: ‘int4’ does not name a type; did you mean ‘int’? 187 | int4 restoreXml(const Element *el,const AddrSpaceManager *manage); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:264:23: error: ‘int4’ has not been declared 264 | Varnode *newVarnode(int4 s,const Address &m,Datatype *ct=(Datatype *)0); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:265:24: error: ‘int4’ has not been declared 265 | Varnode *newConstant(int4 s,uintb constant_val); ///< Create a new \e constant Varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:265:31: error: ‘uintb’ has not been declared 265 | Varnode *newConstant(int4 s,uintb constant_val); ///< Create a new \e constant Varnode | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:266:23: error: ‘int4’ has not been declared 266 | Varnode *newVarnode(int4 s,AddrSpace *base,uintb off); ///< Create a new Varnode given an address space and offset | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:266:46: error: ‘uintb’ has not been declared 266 | Varnode *newVarnode(int4 s,AddrSpace *base,uintb off); ///< Create a new Varnode given an address space and offset | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:270:22: error: ‘int4’ has not been declared 270 | Varnode *newUnique(int4 s,Datatype *ct=(Datatype *)0); ///< Create a new \e temporary Varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:273:48: error: ‘int4’ has not been declared 273 | void adjustInputVarnodes(const Address &addr,int4 size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:276:41: error: ‘int4’ has not been declared 276 | Address findDisjointCover(Varnode *vn,int4 &sz); ///< Find range covering given Varnode and any intersecting Varnodes | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:283:29: error: ‘int4’ has not been declared 283 | Varnode *findCoveredInput(int4 s,const Address &loc) const { return vbank.findCoveredInput(s,loc); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:290:30: error: ‘int4’ has not been declared 290 | Varnode *findCoveringInput(int4 s,const Address &loc) const { return vbank.findCoveringInput(s,loc); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:297:29: error: ‘int4’ has not been declared 297 | Varnode *findVarnodeInput(int4 s,const Address &loc) const { return vbank.findInput(s,loc); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:306:31: error: ‘int4’ has not been declared 306 | Varnode *findVarnodeWritten(int4 s,const Address &loc,const Address &pc,uintm uniq=~((uintm)0)) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:306:75: error: ‘uintm’ has not been declared 306 | Varnode *findVarnodeWritten(int4 s,const Address &loc,const Address &pc,uintm uniq=~((uintm)0)) const { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:328:42: error: ‘int4’ has not been declared 328 | VarnodeLocSet::const_iterator beginLoc(int4 s,const Address &addr) const { return vbank.beginLoc(s,addr); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:331:40: error: ‘int4’ has not been declared 331 | VarnodeLocSet::const_iterator endLoc(int4 s,const Address &addr) const { return vbank.endLoc(s,addr); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:334:42: error: ‘int4’ has not been declared 334 | VarnodeLocSet::const_iterator beginLoc(int4 s,const Address &addr,uint4 fl) const { return vbank.beginLoc(s,addr,fl); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:334:69: error: ‘uint4’ has not been declared 334 | VarnodeLocSet::const_iterator beginLoc(int4 s,const Address &addr,uint4 fl) const { return vbank.beginLoc(s,addr,fl); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:244:54: error: ‘slotbase’ was not declared in this scope 244 | void setPlaceholderSlot(void) { stackplaceholder = slotbase; slotbase += 1; } ///< Establish a stack placedholder slot | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:337:40: error: ‘int4’ has not been declared 337 | VarnodeLocSet::const_iterator endLoc(int4 s,const Address &addr,uint4 fl) const { return vbank.endLoc(s,addr,fl); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:337:67: error: ‘uint4’ has not been declared 337 | VarnodeLocSet::const_iterator endLoc(int4 s,const Address &addr,uint4 fl) const { return vbank.endLoc(s,addr,fl); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:340:42: error: ‘int4’ has not been declared 340 | VarnodeLocSet::const_iterator beginLoc(int4 s,const Address &addr,const Address &pc,uintm uniq=~((uintm)0)) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:340:87: error: ‘uintm’ has not been declared 340 | VarnodeLocSet::const_iterator beginLoc(int4 s,const Address &addr,const Address &pc,uintm uniq=~((uintm)0)) const { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:344:40: error: ‘int4’ has not been declared 344 | VarnodeLocSet::const_iterator endLoc(int4 s,const Address &addr,const Address &pc,uintm uniq=~((uintm)0)) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:344:85: error: ‘uintm’ has not been declared 344 | VarnodeLocSet::const_iterator endLoc(int4 s,const Address &addr,const Address &pc,uintm uniq=~((uintm)0)) const { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:354:42: error: ‘uint4’ has not been declared 354 | VarnodeDefSet::const_iterator beginDef(uint4 fl) const { return vbank.beginDef(fl); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:357:40: error: ‘uint4’ has not been declared 357 | VarnodeDefSet::const_iterator endDef(uint4 fl) const { return vbank.endDef(fl); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:360:42: error: ‘uint4’ has not been declared 360 | VarnodeDefSet::const_iterator beginDef(uint4 fl,const Address &addr) const { return vbank.beginDef(fl,addr); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:82:55: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 82 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:82:59: error: template argument 1 is invalid 82 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:82:59: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:363:40: error: ‘uint4’ has not been declared 363 | VarnodeDefSet::const_iterator endDef(uint4 fl,const Address &addr) const { return vbank.endDef(fl,addr); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:365:30: error: ‘int4’ has not been declared 365 | void checkForLanedRegister(int4 size,const Address &addr); ///< Check for a potential laned register | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:372:86: error: ‘uint4’ has not been declared 372 | bool checkCallDoubleUse(const PcodeOp *opmatch,const PcodeOp *op,const Varnode *vn,uint4 flags,const ParamTrial &trial) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:373:85: error: ‘uint4’ has not been declared 373 | bool onlyOpUse(const Varnode *invn,const PcodeOp *opmatch,const ParamTrial &trial,uint4 mainFlags) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:374:22: error: ‘int4’ has not been declared 374 | bool ancestorOpUse(int4 maxlevel,const Varnode *invn,const PcodeOp *op,ParamTrial &trial,uint4 mainFlags) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:374:92: error: ‘uint4’ has not been declared 374 | bool ancestorOpUse(int4 maxlevel,const Varnode *invn,const PcodeOp *op,ParamTrial &trial,uint4 mainFlags) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:376:61: error: ‘int4’ has not been declared 376 | void transferVarnodeProperties(Varnode *vn,Varnode *newVn,int4 lsbOffset); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:381:41: error: ‘uintb’ has not been declared 381 | void totalReplaceConstant(Varnode *vn,uintb val); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:84:11: error: ‘intb’ does not name a type; did you mean ‘int’? 84 | virtual intb getSubValue(const vector &replace,int4 &listpos) const { return replace[listpos++]; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:399:76: error: ‘uint8’ has not been declared 399 | void remapDynamicVarnode(Varnode *vn,Symbol *sym,const Address &usepoint,uint8 hash); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:410:18: error: ‘int4’ has not been declared 410 | PcodeOp *newOp(int4 inputs,const Address &pc); /// Allocate a new PcodeOp with Address | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:411:18: error: ‘int4’ has not been declared 411 | PcodeOp *newOp(int4 inputs,const SeqNum &sq); /// Allocate a new PcodeOp with sequence number | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:85:11: error: ‘intb’ does not name a type; did you mean ‘int’? 85 | virtual intb minValue(void) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:415:65: error: ‘int4’ has not been declared 415 | PcodeOp *newIndirectOp(PcodeOp *indeffect,const Address &addr,int4 size,uint4 extraFlags); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:415:75: error: ‘uint4’ has not been declared 415 | PcodeOp *newIndirectOp(PcodeOp *indeffect,const Address &addr,int4 size,uint4 extraFlags); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:416:71: error: ‘int4’ has not been declared 416 | PcodeOp *newIndirectCreation(PcodeOp *indeffect,const Address &addr,int4 size,bool possibleout); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:429:31: error: ‘uint4’ has not been declared 429 | void opMarkHalt(PcodeOp *op,uint4 flag); ///< Mark given CPUI_RETURN op as a \e special halt | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:432:43: error: ‘int4’ has not been declared 432 | void opSetInput(PcodeOp *op,Varnode *vn,int4 slot); ///< Set a specific input operand for the given PcodeOp | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:433:32: error: ‘int4’ has not been declared 433 | void opSwapInput(PcodeOp *op,int4 slot1,int4 slot2); ///< Swap two input operands in the given PcodeOp | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:433:43: error: ‘int4’ has not been declared 433 | void opSwapInput(PcodeOp *op,int4 slot1,int4 slot2); ///< Swap two input operands in the given PcodeOp | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:434:33: error: ‘int4’ has not been declared 434 | void opUnsetInput(PcodeOp *op,int4 slot); ///< Clear an input operand slot for the given PcodeOp | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:86:11: error: ‘intb’ does not name a type; did you mean ‘int’? 86 | virtual intb maxValue(void) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: In member function ‘void ConstructTpl::setNumLabels(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:169:34: error: ‘numlabels’ was not declared in this scope; did you mean ‘setNumLabels’? 169 | void setNumLabels(uint4 val) { numlabels = val; } | ^~~~~~~~~ | setNumLabels /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:442:34: error: ‘int4’ has not been declared 442 | void opRemoveInput(PcodeOp *op,int4 slot); ///< Remove a specific input slot for the given PcodeOp | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:443:46: error: ‘int4’ has not been declared 443 | void opInsertInput(PcodeOp *op,Varnode *vn,int4 slot); ///< Insert a new Varnode into the operand list for the given PcodeOp | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:455:42: error: ‘uintb’ has not been declared 455 | Varnode *createStackRef(AddrSpace *spc,uintb off,PcodeOp *op,Varnode *stackptr,bool insertafter); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:456:39: error: ‘uintb’ has not been declared 456 | Varnode *opStackLoad(AddrSpace *spc,uintb off,uint4 sz,PcodeOp *op,Varnode *stackptr,bool insertafter); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:456:49: error: ‘uint4’ has not been declared 456 | Varnode *opStackLoad(AddrSpace *spc,uintb off,uint4 sz,PcodeOp *op,Varnode *stackptr,bool insertafter); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ParamActive::setMaxPass(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:248:31: error: ‘maxpass’ was not declared in this scope; did you mean ‘setMaxPass’? 248 | void setMaxPass(int4 val) { maxpass = val; } ///< Set the maximum number of passes | ^~~~~~~ | setMaxPass /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:457:40: error: ‘uintb’ has not been declared 457 | PcodeOp *opStackStore(AddrSpace *spc,uintb off,PcodeOp *op,bool insertafter); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:496:58: error: ‘int4’ has not been declared 496 | JumpTable *recoverJumpTable(PcodeOp *op,FlowInfo *flow,int4 &failuremode); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:497:3: error: ‘int4’ does not name a type; did you mean ‘int’? 497 | int4 numJumpTables(void) const { return jumpvec.size(); } ///< Get the number of jump-tables for \b this function | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:498:27: error: ‘int4’ has not been declared 498 | JumpTable *getJumpTable(int4 i) { return jumpvec[i]; } ///< Get the i-th jump-table | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:515:34: error: ‘int4’ has not been declared 515 | void pushBranch(BlockBasic *bb,int4 slot,BlockBasic *bbnew); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:516:36: error: ‘int4’ has not been declared 516 | void removeBranch(BlockBasic *bb,int4 num); ///< Remove the indicated branch from a basic block | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:519:32: error: ‘int4’ has not been declared 519 | void nodeSplit(BlockBasic *b,int4 inedge); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In member function ‘virtual void PatternValue::getMinMax(int&, int&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:83:13: error: request for member ‘push_back’ in ‘minlist’, which is of non-class type ‘int’ 83 | minlist.push_back(minValue()); maxlist.push_back(maxValue()); } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ParamActive::finishPass()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:249:27: error: ‘numpasses’ was not declared in this scope 249 | void finishPass(void) { numpasses += 1; } ///< Mark that an analysis pass has completed | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:306:89: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 306 | Varnode *findVarnodeWritten(int4 s,const Address &loc,const Address &pc,uintm uniq=~((uintm)0)) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:306:95: error: expected ‘)’ before numeric constant 306 | Varnode *findVarnodeWritten(int4 s,const Address &loc,const Address &pc,uintm uniq=~((uintm)0)) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:306:87: note: to match this ‘(’ 306 | Varnode *findVarnodeWritten(int4 s,const Address &loc,const Address &pc,uintm uniq=~((uintm)0)) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: In constructor ‘ConstructTpl::ConstructTpl()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:171:24: error: ‘delayslot’ was not declared in this scope 171 | ConstructTpl(void) { delayslot=0; numlabels=0; result = (HandleTpl *)0; } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:284:70: error: ‘int4’ has not been declared 284 | FspecSpace(AddrSpaceManager *m,const Translate *t,const string &nm,int4 ind); ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:285:45: error: ‘uintb’ has not been declared 285 | virtual void saveXmlAttributes(ostream &s,uintb offset) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:286:45: error: ‘uintb’ has not been declared 286 | virtual void saveXmlAttributes(ostream &s,uintb offset,int4 size) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:286:58: error: ‘int4’ has not been declared 286 | virtual void saveXmlAttributes(ostream &s,uintb offset,int4 size) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:287:36: error: ‘uintb’ has not been declared 287 | virtual void printRaw(ostream &s,uintb offset) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:304:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 304 | uint4 flags; ///< additional attributes of the parameter | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:340:101: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 340 | VarnodeLocSet::const_iterator beginLoc(int4 s,const Address &addr,const Address &pc,uintm uniq=~((uintm)0)) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:340:107: error: expected ‘)’ before numeric constant 340 | VarnodeLocSet::const_iterator beginLoc(int4 s,const Address &addr,const Address &pc,uintm uniq=~((uintm)0)) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:340:99: note: to match this ‘(’ 340 | VarnodeLocSet::const_iterator beginLoc(int4 s,const Address &addr,const Address &pc,uintm uniq=~((uintm)0)) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:322:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 322 | uint4 type; ///< The type of effect | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:326:36: error: ‘int4’ has not been declared 326 | EffectRecord(const Address &addr,int4 size); ///< Construct a memory range with an unknown effect | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:327:40: error: ‘uint4’ has not been declared 327 | EffectRecord(const ParamEntry &entry,uint4 t); ///< Construct an effect on a parameter storage location | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:328:40: error: ‘uint4’ has not been declared 328 | EffectRecord(const VarnodeData &addr,uint4 t); ///< Construct an effect on a memory range | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:83:23: error: ‘minValue’ was not declared in this scope; did you mean ‘listValues’? 83 | minlist.push_back(minValue()); maxlist.push_back(maxValue()); } | ^~~~~~~~ | listValues /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:83:44: error: request for member ‘push_back’ in ‘maxlist’, which is of non-class type ‘int’ 83 | minlist.push_back(minValue()); maxlist.push_back(maxValue()); } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:329:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 329 | uint4 getType(void) const { return type; } ///< Get the type of effect | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:171:37: error: ‘numlabels’ was not declared in this scope; did you mean ‘setNumLabels’? 171 | ConstructTpl(void) { delayslot=0; numlabels=0; result = (HandleTpl *)0; } | ^~~~~~~~~ | setNumLabels /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:344:99: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 344 | VarnodeLocSet::const_iterator endLoc(int4 s,const Address &addr,const Address &pc,uintm uniq=~((uintm)0)) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:344:105: error: expected ‘)’ before numeric constant 344 | VarnodeLocSet::const_iterator endLoc(int4 s,const Address &addr,const Address &pc,uintm uniq=~((uintm)0)) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:344:97: note: to match this ‘(’ 344 | VarnodeLocSet::const_iterator endLoc(int4 s,const Address &addr,const Address &pc,uintm uniq=~((uintm)0)) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:331:3: error: ‘int4’ does not name a type; did you mean ‘int’? 331 | int4 getSize(void) const { return address.size; } ///< Get the size of the affected range | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:336:19: error: ‘uint4’ has not been declared 336 | void restoreXml(uint4 grouptype,const Element *el,const AddrSpaceManager *manage); ///< Restore the record from an XML stream | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:193:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 193 | uint4 labelbase; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:194:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 194 | uint4 labelcount; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:199:21: error: expected ‘)’ before ‘lbcnt’ 199 | PcodeBuilder(uint4 lbcnt) { labelbase=labelcount=lbcnt; } | ~ ^~~~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:202:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 202 | uint4 getLabelBase(void) const { return labelbase; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:204:38: error: ‘int4’ has not been declared 204 | void build(ConstructTpl *construct,int4 secnum); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:205:39: error: ‘int4’ has not been declared 205 | virtual void appendBuild(OpTpl *bld,int4 secnum)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/semantics.hh:208:44: error: ‘int4’ has not been declared 208 | virtual void appendCrossBuild(OpTpl *bld,int4 secnum)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In copy constructor ‘EffectRecord::EffectRecord(const EffectRecord&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:325:66: error: ‘type’ was not declared in this scope; did you mean ‘wctype’? 325 | EffectRecord(const EffectRecord &op2) { address = op2.address; type = op2.type; } ///< Copy constructor | ^~~~ | wctype /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:83:54: error: ‘maxValue’ was not declared in this scope 83 | minlist.push_back(minValue()); maxlist.push_back(maxValue()); } | ^~~~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh: In member function ‘bool Funcdata::isHighOn() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:138:40: error: ‘flags’ was not declared in this scope 138 | bool isHighOn(void) const { return ((flags&highlevel_on)!=0); } ///< Are high-level variables assigned to Varnodes | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:325:77: error: ‘const class EffectRecord’ has no member named ‘type’ 325 | EffectRecord(const EffectRecord &op2) { address = op2.address; type = op2.type; } ///< Copy constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘Address EffectRecord::getAddress() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:330:73: error: ‘const struct VarnodeData’ has no member named ‘offset’ 330 | Address getAddress(void) const { return Address(address.space,address.offset); } ///< Get the starting address of the affected range | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:93:3: error: ‘int4’ does not name a type; did you mean ‘int’? 93 | int4 bitstart,bitend; // Bits within the token, 0 bit is LEAST significant | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:20, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:23:3: error: ‘int4’ does not name a type; did you mean ‘int’? 23 | int4 offset; // Offset to non-zero byte of mask | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:355:11: error: ‘uint4’ does not name a type; did you mean ‘uint’? 355 | virtual uint4 getType(void) const=0; ///< Get the type of parameter list | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:384:48: error: ‘int4’ has not been declared 384 | virtual bool checkJoin(const Address &hiaddr,int4 hisize,const Address &loaddr,int4 losize) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:384:82: error: ‘int4’ has not been declared 384 | virtual bool checkJoin(const Address &hiaddr,int4 hisize,const Address &loaddr,int4 losize) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:394:46: error: ‘int4’ has not been declared 394 | virtual bool checkSplit(const Address &loc,int4 size,int4 splitpoint) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:394:56: error: ‘int4’ has not been declared 394 | virtual bool checkSplit(const Address &loc,int4 size,int4 splitpoint) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:94:3: error: ‘int4’ does not name a type; did you mean ‘int’? 94 | int4 bytestart,byteend; // Bytes to read to get value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:24:3: error: ‘int4’ does not name a type; did you mean ‘int’? 24 | int4 nonzerosize; // Last byte(+1) containing nonzero mask | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:406:11: error: ‘int4’ does not name a type; did you mean ‘int’? 406 | virtual int4 characterizeAsParam(const Address &loc,int4 size) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:414:49: error: ‘int4’ has not been declared 414 | virtual bool possibleParam(const Address &loc,int4 size) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:425:57: error: ‘int4’ has not been declared 425 | virtual bool possibleParamWithSlot(const Address &loc,int4 size,int4 &slot,int4 &slotsize) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:425:67: error: ‘int4’ has not been declared 425 | virtual bool possibleParamWithSlot(const Address &loc,int4 size,int4 &slot,int4 &slotsize) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:425:78: error: ‘int4’ has not been declared 425 | virtual bool possibleParamWithSlot(const Address &loc,int4 size,int4 &slot,int4 &slotsize) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:95:3: error: ‘int4’ does not name a type; did you mean ‘int’? 95 | int4 shift; // Amount to shift to align value (bitstart % 8) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:433:60: error: ‘int4’ has not been declared 433 | virtual bool getBiggestContainedParam(const Address &loc,int4 size,VarnodeData &res) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:98:31: error: ‘int4’ has not been declared 98 | TokenField(Token *tk,bool s,int4 bstart,int4 bend); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:444:56: error: ‘int4’ has not been declared 444 | virtual bool unjustifiedContainer(const Address &loc,int4 size,VarnodeData &res) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:98:43: error: ‘int4’ has not been declared 98 | TokenField(Token *tk,bool s,int4 bstart,int4 bend); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:456:55: error: ‘int4’ has not been declared 456 | virtual OpCode assumedExtension(const Address &addr,int4 size,VarnodeData &res) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh: In member function ‘bool Funcdata::isProcStarted() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:139:45: error: ‘flags’ was not declared in this scope 139 | bool isProcStarted(void) const { return ((flags&processing_started)!=0); } ///< Has processing of the function started | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:99:11: error: ‘intb’ does not name a type; did you mean ‘int’? 99 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:101:35: error: ‘intb’ has not been declared 101 | virtual TokenPattern genPattern(intb val) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:476:11: error: ‘int4’ does not name a type; did you mean ‘int’? 476 | virtual int4 getMaxDelay(void) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:25:10: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 25 | vector maskvec; // Mask | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:25:15: error: template argument 1 is invalid 25 | vector maskvec; // Mask | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:25:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:102:11: error: ‘intb’ does not name a type; did you mean ‘int’? 102 | virtual intb minValue(void) const { return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:500:3: error: ‘int4’ does not name a type; did you mean ‘int’? 500 | int4 numgroup; ///< Number of \e groups in this parameter convention | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:103:11: error: ‘intb’ does not name a type; did you mean ‘int’? 103 | virtual intb maxValue(void) const { intb res=0; res=~res; zero_extend(res,bitend-bitstart); return res; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:501:3: error: ‘int4’ does not name a type; did you mean ‘int’? 501 | int4 maxdelay; ///< Maximum heritage delay across all parameters | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh: In member function ‘bool Funcdata::isProcComplete() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:140:46: error: ‘flags’ was not declared in this scope 140 | bool isProcComplete(void) const { return ((flags&processing_complete)!=0); } ///< Is processing of the function complete | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:502:3: error: ‘int4’ does not name a type; did you mean ‘int’? 502 | int4 pointermax; ///< If non-zero, maximum size of a data-type before converting to a pointer | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:26:10: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 26 | vector valvec; // Value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:26:15: error: template argument 1 is invalid 26 | vector valvec; // Value | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:26:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:29:20: error: expected ‘)’ before ‘off’ 29 | PatternBlock(int4 off,uintm msk,uintm val); | ~ ^~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:38:14: error: ‘int4’ has not been declared 38 | void shift(int4 sa) { offset += sa; normalize(); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:504:3: error: ‘int4’ does not name a type; did you mean ‘int’? 504 | int4 nonfloatgroup; ///< Group of first entry which is not marked float | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:109:3: error: ‘int4’ does not name a type; did you mean ‘int’? 109 | int4 startbit,endbit; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:110:3: error: ‘int4’ does not name a type; did you mean ‘int’? 110 | int4 startbyte,endbyte; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh: In member function ‘bool Funcdata::hasUnreachableBlocks() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:141:52: error: ‘flags’ was not declared in this scope 141 | bool hasUnreachableBlocks(void) const { return ((flags&blocks_unreachable)!=0); } ///< Did this function exhibit unreachable code | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:39:3: error: ‘int4’ does not name a type; did you mean ‘int’? 39 | int4 getLength(void) const { return offset+nonzerosize; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:111:3: error: ‘int4’ does not name a type; did you mean ‘int’? 111 | int4 shift; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:115:23: error: ‘int4’ has not been declared 115 | ContextField(bool s,int4 sbit,int4 ebit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:115:33: error: ‘int4’ has not been declared 115 | ContextField(bool s,int4 sbit,int4 ebit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:40:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 40 | uintm getMask(int4 startbit,int4 size) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:116:3: error: ‘int4’ does not name a type; did you mean ‘int’? 116 | int4 getStartBit(void) const { return startbit; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:117:3: error: ‘int4’ does not name a type; did you mean ‘int’? 117 | int4 getEndBit(void) const { return endbit; } | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh: In member function ‘bool Funcdata::isTypeRecoveryOn() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:142:48: error: ‘flags’ was not declared in this scope 142 | bool isTypeRecoveryOn(void) const { return ((flags&typerecovery_on)!=0); } ///< Has data-type recovery processes started | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:41:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 41 | uintm getValue(int4 startbit,int4 size) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:119:11: error: ‘intb’ does not name a type; did you mean ‘int’? 119 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:121:35: error: ‘intb’ has not been declared 121 | virtual TokenPattern genPattern(intb val) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:122:11: error: ‘intb’ does not name a type; did you mean ‘int’? 122 | virtual intb minValue(void) const { return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:123:11: error: ‘intb’ does not name a type; did you mean ‘int’? 123 | virtual intb maxValue(void) const { intb res=0; res=~res; zero_extend(res,(endbit-startbit)); return res; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh: In member function ‘bool Funcdata::hasNoCode() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:143:41: error: ‘flags’ was not declared in this scope 143 | bool hasNoCode(void) const { return ((flags & no_code)!=0); } ///< Return \b true if \b this function has no code body | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh: In member function ‘void PatternBlock::shift(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:38:25: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 38 | void shift(int4 sa) { offset += sa; normalize(); } | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:129:3: error: ‘intb’ does not name a type; did you mean ‘int’? 129 | intb val; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:132:21: error: expected ‘)’ before ‘v’ 132 | ConstantValue(intb v) { val = v; } | ~ ^~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:133:11: error: ‘intb’ does not name a type; did you mean ‘int’? 133 | virtual intb getValue(ParserWalker &walker) const { return val; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:135:35: error: ‘intb’ has not been declared 135 | virtual TokenPattern genPattern(intb v) const { return TokenPattern(val==v); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:136:11: error: ‘intb’ does not name a type; did you mean ‘int’? 136 | virtual intb minValue(void) const { return val; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh: In member function ‘void Funcdata::setNoCode(bool)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:144:39: error: ‘flags’ was not declared in this scope 144 | void setNoCode(bool val) { if (val) flags |= no_code; else flags &= ~no_code; } ///< Toggle whether \b this has a body | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:508:50: error: ‘int4’ has not been declared 508 | const ParamEntry *findEntry(const Address &loc,int4 size) const; ///< Given storage location find matching ParamEntry | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:137:11: error: ‘intb’ does not name a type; did you mean ‘int’? 137 | virtual intb maxValue(void) const { return val; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:509:51: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 509 | Address assignAddress(const Datatype *tp,vector &status) const; ///< Assign storage for given parameter data-type | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:509:55: error: template argument 1 is invalid 509 | Address assignAddress(const Datatype *tp,vector &status) const; ///< Assign storage for given parameter data-type | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:509:55: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:144:62: error: ‘flags’ was not declared in this scope 144 | void setNoCode(bool val) { if (val) flags |= no_code; else flags &= ~no_code; } ///< Toggle whether \b this has a body | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:511:42: error: ‘int4’ has not been declared 511 | void separateFloat(ParamActive *active,int4 &floatstart,int4 &floatstop,int4 &start,int4 &stop) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:511:59: error: ‘int4’ has not been declared 511 | void separateFloat(ParamActive *active,int4 &floatstart,int4 &floatstop,int4 &start,int4 &stop) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:511:75: error: ‘int4’ has not been declared 511 | void separateFloat(ParamActive *active,int4 &floatstart,int4 &floatstop,int4 &start,int4 &stop) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:511:87: error: ‘int4’ has not been declared 511 | void separateFloat(ParamActive *active,int4 &floatstart,int4 &floatstop,int4 &start,int4 &stop) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh: In member function ‘bool PatternBlock::alwaysTrue() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:42:41: error: ‘nonzerosize’ was not declared in this scope 42 | bool alwaysTrue(void) const { return (nonzerosize==0); } | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:513:39: error: ‘int4’ has not been declared 513 | void forceNoUse(ParamActive *active,int4 start,int4 stop) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:513:50: error: ‘int4’ has not been declared 513 | void forceNoUse(ParamActive *active,int4 start,int4 stop) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:514:47: error: ‘int4’ has not been declared 514 | void forceInactiveChain(ParamActive *active,int4 maxchain,int4 start,int4 stop) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:514:61: error: ‘int4’ has not been declared 514 | void forceInactiveChain(ParamActive *active,int4 maxchain,int4 start,int4 stop) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:514:72: error: ‘int4’ has not been declared 514 | void forceInactiveChain(ParamActive *active,int4 maxchain,int4 start,int4 stop) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In member function ‘virtual TokenPattern ConstantValue::genPattern(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:135:71: error: ‘val’ was not declared in this scope 135 | virtual TokenPattern genPattern(intb v) const { return TokenPattern(val==v); } | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:145:11: error: ‘intb’ does not name a type; did you mean ‘int’? 145 | virtual intb getValue(ParserWalker &walker) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:148:35: error: ‘intb’ has not been declared 148 | virtual TokenPattern genPattern(intb val) const { return TokenPattern(); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:522:11: error: ‘uint4’ does not name a type; did you mean ‘uint’? 522 | virtual uint4 getType(void) const { return p_standard; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:526:48: error: ‘int4’ has not been declared 526 | virtual bool checkJoin(const Address &hiaddr,int4 hisize,const Address &loaddr,int4 losize) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:526:82: error: ‘int4’ has not been declared 526 | virtual bool checkJoin(const Address &hiaddr,int4 hisize,const Address &loaddr,int4 losize) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:527:46: error: ‘int4’ has not been declared 527 | virtual bool checkSplit(const Address &loc,int4 size,int4 splitpoint) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:527:56: error: ‘int4’ has not been declared 527 | virtual bool checkSplit(const Address &loc,int4 size,int4 splitpoint) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:149:11: error: ‘intb’ does not name a type; did you mean ‘int’? 149 | virtual intb minValue(void) const { return (intb)0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:528:11: error: ‘int4’ does not name a type; did you mean ‘int’? 528 | virtual int4 characterizeAsParam(const Address &loc,int4 size) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:529:49: error: ‘int4’ has not been declared 529 | virtual bool possibleParam(const Address &loc,int4 size) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:530:57: error: ‘int4’ has not been declared 530 | virtual bool possibleParamWithSlot(const Address &loc,int4 size,int4 &slot,int4 &slotsize) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:530:67: error: ‘int4’ has not been declared 530 | virtual bool possibleParamWithSlot(const Address &loc,int4 size,int4 &slot,int4 &slotsize) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:530:78: error: ‘int4’ has not been declared 530 | virtual bool possibleParamWithSlot(const Address &loc,int4 size,int4 &slot,int4 &slotsize) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:531:60: error: ‘int4’ has not been declared 531 | virtual bool getBiggestContainedParam(const Address &loc,int4 size,VarnodeData &res) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:532:56: error: ‘int4’ has not been declared 532 | virtual bool unjustifiedContainer(const Address &loc,int4 size,VarnodeData &res) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:533:55: error: ‘int4’ has not been declared 533 | virtual OpCode assumedExtension(const Address &addr,int4 size,VarnodeData &res) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:150:11: error: ‘intb’ does not name a type; did you mean ‘int’? 150 | virtual intb maxValue(void) const { return (intb)0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:536:11: error: ‘int4’ does not name a type; did you mean ‘int’? 536 | virtual int4 getMaxDelay(void) const { return maxdelay; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:158:11: error: ‘intb’ does not name a type; did you mean ‘int’? 158 | virtual intb getValue(ParserWalker &walker) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:161:35: error: ‘intb’ has not been declared 161 | virtual TokenPattern genPattern(intb val) const { return TokenPattern(); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh: In member function ‘bool PatternBlock::alwaysFalse() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:43:42: error: ‘nonzerosize’ was not declared in this scope 43 | bool alwaysFalse(void) const { return (nonzerosize==-1); } | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:55:33: error: ‘int4’ has not been declared 55 | virtual void shiftInstruction(int4 sa)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:162:11: error: ‘intb’ does not name a type; did you mean ‘int’? 162 | virtual intb minValue(void) const { return (intb)0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:56:42: error: ‘int4’ has not been declared 56 | virtual Pattern *doOr(const Pattern *b,int4 sa) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:57:43: error: ‘int4’ has not been declared 57 | virtual Pattern *doAnd(const Pattern *b,int4 sa) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:58:54: error: ‘int4’ has not been declared 58 | virtual Pattern *commonSubPattern(const Pattern *b,int4 sa) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh: In member function ‘void Funcdata::setLanedRegGenerated()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:145:37: error: ‘minLanedSize’ was not declared in this scope 145 | void setLanedRegGenerated(void) { minLanedSize = 1000000; } ///< Mark that laned registers have been collected | ^~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:163:11: error: ‘intb’ does not name a type; did you mean ‘int’? 163 | virtual intb maxValue(void) const { return (intb)0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:60:11: error: ‘int4’ does not name a type; did you mean ‘int’? 60 | virtual int4 numDisjoint(void) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:61:40: error: ‘int4’ has not been declared 61 | virtual DisjointPattern *getDisjoint(int4 i) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:72:11: error: ‘int4’ does not name a type; did you mean ‘int’? 72 | virtual int4 numDisjoint(void) const { return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:171:3: error: ‘int4’ does not name a type; did you mean ‘int’? 171 | int4 index; // This is the defining field of expression | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:73:40: error: ‘int4’ has not been declared 73 | virtual DisjointPattern *getDisjoint(int4 i) const { return (DisjointPattern *)0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:175:20: error: expected ‘)’ before ‘ind’ 175 | OperandValue(int4 ind,Constructor *c) { index = ind; ct = c; } | ~ ^~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:176:20: error: ‘int4’ has not been declared 176 | void changeIndex(int4 newind) { index = newind; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:179:35: error: ‘intb’ has not been declared 179 | virtual TokenPattern genPattern(intb val) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:552:11: error: ‘uint4’ does not name a type; did you mean ‘uint’? 552 | virtual uint4 getType(void) const { return p_standard_out; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:556:49: error: ‘int4’ has not been declared 556 | virtual bool possibleParam(const Address &loc,int4 size) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:74:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 74 | uintm getMask(int4 startbit,int4 size,bool context) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh: In member function ‘void Funcdata::setJumptableRecovery(bool)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:150:50: error: ‘flags’ was not declared in this scope 150 | void setJumptableRecovery(bool val) { if (val) flags &= ~jumptablerecovery_dont; else flags |= jumptablerecovery_dont; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:181:11: error: ‘intb’ does not name a type; did you mean ‘int’? 181 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:75:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 75 | uintm getValue(int4 startbit,int4 size,bool context) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:182:11: error: ‘intb’ does not name a type; did you mean ‘int’? 182 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:572:11: error: ‘uint4’ does not name a type; did you mean ‘uint’? 572 | virtual uint4 getType(void) const { return p_register; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:76:3: error: ‘int4’ does not name a type; did you mean ‘int’? 76 | int4 getLength(bool context) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:183:11: error: ‘intb’ does not name a type; did you mean ‘int’? 183 | virtual intb minValue(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:93:33: error: ‘int4’ has not been declared 93 | virtual void shiftInstruction(int4 sa) { maskvalue->shift(sa); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:94:42: error: ‘int4’ has not been declared 94 | virtual Pattern *doOr(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:95:43: error: ‘int4’ has not been declared 95 | virtual Pattern *doAnd(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:96:54: error: ‘int4’ has not been declared 96 | virtual Pattern *commonSubPattern(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:591:11: error: ‘uint4’ does not name a type; did you mean ‘uint’? 591 | virtual uint4 getType(void) const { return p_merged; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:184:11: error: ‘intb’ does not name a type; did you mean ‘int’? 184 | virtual intb maxValue(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:150:89: error: ‘flags’ was not declared in this scope 150 | void setJumptableRecovery(bool val) { if (val) flags &= ~jumptablerecovery_dont; else flags |= jumptablerecovery_dont; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In member function ‘void OperandValue::changeIndex(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:176:43: error: overloaded function with no contextual type information 176 | void changeIndex(int4 newind) { index = newind; } | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:626:3: error: ‘int4’ does not name a type; did you mean ‘int’? 626 | int4 extrapop; ///< Extra bytes popped from stack | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:114:33: error: ‘int4’ has not been declared 114 | virtual void shiftInstruction(int4 sa) { } // do nothing | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:115:42: error: ‘int4’ has not been declared 115 | virtual Pattern *doOr(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:116:43: error: ‘int4’ has not been declared 116 | virtual Pattern *doAnd(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:117:54: error: ‘int4’ has not been declared 117 | virtual Pattern *commonSubPattern(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh: In member function ‘bool Funcdata::isJumptableRecoveryOn() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:152:53: error: ‘flags’ was not declared in this scope 152 | bool isJumptableRecoveryOn(void) const { return ((flags & jumptablerecovery_on)!=0); } ///< Is \b this used for jump-table recovery | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:137:33: error: ‘int4’ has not been declared 137 | virtual void shiftInstruction(int4 sa) { instr->shiftInstruction(sa); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:142:42: error: ‘int4’ has not been declared 142 | virtual Pattern *doOr(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:143:43: error: ‘int4’ has not been declared 143 | virtual Pattern *doAnd(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:144:54: error: ‘int4’ has not been declared 144 | virtual Pattern *commonSubPattern(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh: In member function ‘void Funcdata::setDoublePrecisRecovery(bool)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:157:53: error: ‘flags’ was not declared in this scope 157 | void setDoublePrecisRecovery(bool val) { if (val) flags |= double_precis_on; else flags &= ~double_precis_on; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In member function ‘virtual TokenPattern OperandValue::genMinPattern(const std::vector&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:180:89: error: no match for ‘operator[]’ (operand types are ‘const std::vector’ and ‘’) 180 | virtual TokenPattern genMinPattern(const vector &ops) const { return ops[index]; } | ^ In file included from /usr/include/c++/11.2.0/vector:67, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/filemanage.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /usr/include/c++/11.2.0/bits/stl_vector.h:1043:7: note: candidate: ‘std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) [with _Tp = TokenPattern; _Alloc = std::allocator; std::vector<_Tp, _Alloc>::reference = TokenPattern&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]’ 1043 | operator[](size_type __n) _GLIBCXX_NOEXCEPT | ^~~~~~~~ /usr/include/c++/11.2.0/bits/stl_vector.h:1043:28: note: no known conversion for argument 1 from ‘’ to ‘std::vector::size_type’ {aka ‘long unsigned int’} 1043 | operator[](size_type __n) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~^~~ /usr/include/c++/11.2.0/bits/stl_vector.h:1061:7: note: candidate: ‘std::vector<_Tp, _Alloc>::const_reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) const [with _Tp = TokenPattern; _Alloc = std::allocator; std::vector<_Tp, _Alloc>::const_reference = const TokenPattern&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]’ 1061 | operator[](size_type __n) const _GLIBCXX_NOEXCEPT | ^~~~~~~~ /usr/include/c++/11.2.0/bits/stl_vector.h:1061:28: note: no known conversion for argument 1 from ‘’ to ‘std::vector::size_type’ {aka ‘long unsigned int’} 1061 | operator[](size_type __n) const _GLIBCXX_NOEXCEPT | ~~~~~~~~~~^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:632:3: error: ‘int4’ does not name a type; did you mean ‘int’? 632 | int4 injectUponEntry; ///< Id of injection to perform at beginning of function (-1 means not used) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:633:3: error: ‘int4’ does not name a type; did you mean ‘int’? 633 | int4 injectUponReturn; ///< Id of injection to perform after a call to this function (-1 means not used) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:157:85: error: ‘flags’ was not declared in this scope 157 | void setDoublePrecisRecovery(bool val) { if (val) flags |= double_precis_on; else flags &= ~double_precis_on; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:651:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 651 | uint4 hasEffect(const Address &addr,int4 size) const; ///< Determine side-effect of \b this on the given memory range | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:20, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:201:33: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 201 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:201:37: error: template argument 1 is invalid 201 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:201:37: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:157:33: error: ‘int4’ has not been declared 157 | virtual void shiftInstruction(int4 sa); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:652:3: error: ‘int4’ does not name a type; did you mean ‘int’? 652 | int4 getExtraPop(void) const { return extrapop; } ///< Get the stack-pointer \e extrapop for \b this model | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:653:20: error: ‘int4’ has not been declared 653 | void setExtraPop(int4 ep) { extrapop = ep; } ///< Set the stack-pointer \e extrapop | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:654:3: error: ‘int4’ does not name a type; did you mean ‘int’? 654 | int4 getInjectUponEntry(void) const { return injectUponEntry; } ///< Get the inject \e uponentry id | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:159:11: error: ‘int4’ does not name a type; did you mean ‘int’? 159 | virtual int4 numDisjoint(void) const { return orlist.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:160:40: error: ‘int4’ has not been declared 160 | virtual DisjointPattern *getDisjoint(int4 i) const { return orlist[i]; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:164:42: error: ‘int4’ has not been declared 164 | virtual Pattern *doOr(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:165:43: error: ‘int4’ has not been declared 165 | virtual Pattern *doAnd(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpattern.hh:166:54: error: ‘int4’ has not been declared 166 | virtual Pattern *commonSubPattern(const Pattern *b,int4 sa) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh: In member function ‘bool Funcdata::isDoublePrecisOn() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:159:48: error: ‘flags’ was not declared in this scope 159 | bool isDoublePrecisOn(void) const { return ((flags & double_precis_on)!=0); } ///< Is double precision analysis enabled | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:201:55: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 201 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:201:59: error: template argument 1 is invalid 201 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:201:59: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh: In member function ‘bool Funcdata::hasNoStructBlocks() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:160:56: error: ‘const class BlockGraph’ has no member named ‘getSize’ 160 | bool hasNoStructBlocks(void) const { return (sblocks.getSize() == 0); } ///< Return \b true if no block structuring was performed | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:655:3: error: ‘int4’ does not name a type; did you mean ‘int’? 655 | int4 getInjectUponReturn(void) const { return injectUponReturn; } ///< Get the inject \e uponreturn id | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:683:45: error: ‘int4’ has not been declared 683 | bool checkInputJoin(const Address &hiaddr,int4 hisize,const Address &loaddr,int4 losize) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:683:79: error: ‘int4’ has not been declared 683 | bool checkInputJoin(const Address &hiaddr,int4 hisize,const Address &loaddr,int4 losize) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:695:46: error: ‘int4’ has not been declared 695 | bool checkOutputJoin(const Address &hiaddr,int4 hisize,const Address &loaddr,int4 losize) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:695:80: error: ‘int4’ has not been declared 695 | bool checkOutputJoin(const Address &hiaddr,int4 hisize,const Address &loaddr,int4 losize) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:706:43: error: ‘int4’ has not been declared 706 | bool checkInputSplit(const Address &loc,int4 size,int4 splitpoint) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:706:53: error: ‘int4’ has not been declared 706 | bool checkInputSplit(const Address &loc,int4 size,int4 splitpoint) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:713:3: error: ‘int4’ does not name a type; did you mean ‘int’? 713 | int4 numLikelyTrash(void) const { return likelytrash.size(); } ///< Get the number of \e likelytrash locations | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:714:37: error: ‘int4’ has not been declared 714 | const VarnodeData &getLikelyTrash(int4 i) const { return likelytrash[i]; } ///< Get the i-th \e likelytrashh location | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:726:3: error: ‘int4’ does not name a type; did you mean ‘int’? 726 | int4 characterizeAsInputParam(const Address &loc,int4 size) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:736:46: error: ‘int4’ has not been declared 736 | bool possibleInputParam(const Address &loc,int4 size) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:745:47: error: ‘int4’ has not been declared 745 | bool possibleOutputParam(const Address &loc,int4 size) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:757:54: error: ‘int4’ has not been declared 757 | bool possibleInputParamWithSlot(const Address &loc,int4 size,int4 &slot,int4 &slotsize) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:757:64: error: ‘int4’ has not been declared 757 | bool possibleInputParamWithSlot(const Address &loc,int4 size,int4 &slot,int4 &slotsize) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:757:75: error: ‘int4’ has not been declared 757 | bool possibleInputParamWithSlot(const Address &loc,int4 size,int4 &slot,int4 &slotsize) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:769:55: error: ‘int4’ has not been declared 769 | bool possibleOutputParamWithSlot(const Address &loc,int4 size,int4 &slot,int4 &slotsize) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:769:65: error: ‘int4’ has not been declared 769 | bool possibleOutputParamWithSlot(const Address &loc,int4 size,int4 &slot,int4 &slotsize) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:769:76: error: ‘int4’ has not been declared 769 | bool possibleOutputParamWithSlot(const Address &loc,int4 size,int4 &slot,int4 &slotsize) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:781:49: error: ‘int4’ has not been declared 781 | bool unjustifiedInputParam(const Address &loc,int4 size,VarnodeData &res) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:794:52: error: ‘int4’ has not been declared 794 | OpCode assumedInputExtension(const Address &addr,int4 size,VarnodeData &res) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:807:53: error: ‘int4’ has not been declared 807 | OpCode assumedOutputExtension(const Address &addr,int4 size,VarnodeData &res) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:816:57: error: ‘int4’ has not been declared 816 | bool getBiggestContainedInputParam(const Address &loc,int4 size,VarnodeData &res) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:218:33: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 218 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:218:37: error: template argument 1 is invalid 218 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:218:37: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:831:3: error: ‘int4’ does not name a type; did you mean ‘int’? 831 | int4 getMaxInputDelay(void) const { return input->getMaxDelay(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:839:3: error: ‘int4’ does not name a type; did you mean ‘int’? 839 | int4 getMaxOutputDelay(void) const { return output->getMaxDelay(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:218:55: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 218 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:218:59: error: template argument 1 is invalid 218 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:218:59: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:843:10: error: ‘uint4’ does not name a type; did you mean ‘uint’? 843 | static uint4 lookupEffect(const vector &efflist,const Address &addr,int4 size); | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:20, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:26:36: error: ‘int4’ has not been declared 26 | static PatternBlock *buildSingle(int4 startbit,int4 endbit,uintm byteval); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:26:50: error: ‘int4’ has not been declared 26 | static PatternBlock *buildSingle(int4 startbit,int4 endbit,uintm byteval); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:26:62: error: ‘uintm’ has not been declared 26 | static PatternBlock *buildSingle(int4 startbit,int4 endbit,uintm byteval); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:27:38: error: ‘int4’ has not been declared 27 | static PatternBlock *buildBigBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:27:48: error: ‘int4’ has not been declared 27 | static PatternBlock *buildBigBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:27:62: error: ‘int4’ has not been declared 27 | static PatternBlock *buildBigBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:27:74: error: ‘intb’ has not been declared 27 | static PatternBlock *buildBigBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:28:41: error: ‘int4’ has not been declared 28 | static PatternBlock *buildLittleBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:28:51: error: ‘int4’ has not been declared 28 | static PatternBlock *buildLittleBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:28:65: error: ‘int4’ has not been declared 28 | static PatternBlock *buildLittleBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:28:77: error: ‘intb’ has not been declared 28 | static PatternBlock *buildLittleBlock(int4 size,int4 bitstart,int4 bitend,intb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh: In member function ‘void Funcdata::startCastPhase()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:167:31: error: ‘cast_phase_index’ was not declared in this scope 167 | void startCastPhase(void) { cast_phase_index = vbank.getCreateIndex(); } ///< Start the \b cast insertion phase | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:229:11: error: ‘intb’ does not name a type; did you mean ‘int’? 229 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:167:56: error: ‘class VarnodeBank’ has no member named ‘getCreateIndex’ 167 | void startCastPhase(void) { cast_phase_index = vbank.getCreateIndex(); } ///< Start the \b cast insertion phase | ^~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:29:3: error: ‘int4’ does not name a type; did you mean ‘int’? 29 | int4 resolveTokens(const TokenPattern &tokpat1,const TokenPattern &tokpat2); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:35:27: error: ‘intb’ has not been declared 35 | TokenPattern(Token *tok,intb value,int4 bitstart,int4 bitend); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:35:38: error: ‘int4’ has not been declared 35 | TokenPattern(Token *tok,intb value,int4 bitstart,int4 bitend); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:35:52: error: ‘int4’ has not been declared 35 | TokenPattern(Token *tok,intb value,int4 bitstart,int4 bitend); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:230:11: error: ‘intb’ does not name a type; did you mean ‘int’? 230 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:36:20: error: expected ‘)’ before ‘value’ 36 | TokenPattern(intb value,int4 startbit,int4 endbit); | ~ ^~~~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:49:3: error: ‘int4’ does not name a type; did you mean ‘int’? 49 | int4 getMinimumLength(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:238:11: error: ‘intb’ does not name a type; did you mean ‘int’? 238 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:239:11: error: ‘intb’ does not name a type; did you mean ‘int’? 239 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void ProtoModel::setExtraPop(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:653:31: error: ‘extrapop’ was not declared in this scope; did you mean ‘setExtraPop’? 653 | void setExtraPop(int4 ep) { extrapop = ep; } ///< Set the stack-pointer \e extrapop | ^~~~~~~~ | setExtraPop /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:247:11: error: ‘intb’ does not name a type; did you mean ‘int’? 247 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:57:3: error: ‘int4’ does not name a type; did you mean ‘int’? 57 | int4 refcount; // Number of objects referencing this | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:248:11: error: ‘intb’ does not name a type; did you mean ‘int’? 248 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:63:11: error: ‘intb’ does not name a type; did you mean ‘int’? 63 | virtual intb getValue(ParserWalker &walker) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:856:5: error: ‘int4’ does not name a type; did you mean ‘int’? 856 | int4 origIndex; ///< Original index of trial | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:256:11: error: ‘intb’ does not name a type; did you mean ‘int’? 256 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh: In member function ‘void Funcdata::startCleanUp()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:170:29: error: ‘clean_up_index’ was not declared in this scope 170 | void startCleanUp(void) { clean_up_index = vbank.getCreateIndex(); } ///< Start \e clean-up phase | ^~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:170:52: error: ‘class VarnodeBank’ has no member named ‘getCreateIndex’ 170 | void startCleanUp(void) { clean_up_index = vbank.getCreateIndex(); } ///< Start \e clean-up phase | ^~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:857:5: error: ‘int4’ does not name a type; did you mean ‘int’? 857 | int4 slot; ///< Matching slot within the resource list | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:257:11: error: ‘intb’ does not name a type; did you mean ‘int’? 257 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:858:5: error: ‘int4’ does not name a type; did you mean ‘int’? 858 | int4 size; ///< Number of slots occupied | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:66:33: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 66 | virtual void getMinMax(vector &minlist,vector &maxlist) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:66:37: error: template argument 1 is invalid 66 | virtual void getMinMax(vector &minlist,vector &maxlist) const=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:66:37: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:265:11: error: ‘intb’ does not name a type; did you mean ‘int’? 265 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:266:11: error: ‘intb’ does not name a type; did you mean ‘int’? 266 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh: In member function ‘void Funcdata::setRestartPending(bool)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:195:38: error: ‘flags’ was not declared in this scope 195 | void setRestartPending(bool val) { flags = val ? (flags|restart_pending) : (flags & ~((uint4)restart_pending)); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:66:55: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 66 | virtual void getMinMax(vector &minlist,vector &maxlist) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:66:59: error: template argument 1 is invalid 66 | virtual void getMinMax(vector &minlist,vector &maxlist) const=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:66:59: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:274:11: error: ‘intb’ does not name a type; did you mean ‘int’? 274 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:67:11: error: ‘intb’ does not name a type; did you mean ‘int’? 67 | virtual intb getSubValue(const vector &replace,int4 &listpos) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:275:11: error: ‘intb’ does not name a type; did you mean ‘int’? 275 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:195:90: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 195 | void setRestartPending(bool val) { flags = val ? (flags|restart_pending) : (flags & ~((uint4)restart_pending)); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:195:96: error: expected ‘)’ before ‘restart_pending’ 195 | void setRestartPending(bool val) { flags = val ? (flags|restart_pending) : (flags & ~((uint4)restart_pending)); } | ^~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:195:88: note: to match this ‘(’ 195 | void setRestartPending(bool val) { flags = val ? (flags|restart_pending) : (flags & ~((uint4)restart_pending)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:195:113: error: expected ‘)’ before ‘;’ token 195 | void setRestartPending(bool val) { flags = val ? (flags|restart_pending) : (flags & ~((uint4)restart_pending)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:195:78: note: to match this ‘(’ 195 | void setRestartPending(bool val) { flags = val ? (flags|restart_pending) : (flags & ~((uint4)restart_pending)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:70:3: error: ‘intb’ does not name a type; did you mean ‘int’? 70 | intb getSubValue(const vector &replace) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:283:11: error: ‘intb’ does not name a type; did you mean ‘int’? 283 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:868:3: error: ‘int4’ does not name a type; did you mean ‘int’? 868 | int4 finalscore; ///< The final fitness score | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:284:11: error: ‘intb’ does not name a type; did you mean ‘int’? 284 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:869:3: error: ‘int4’ does not name a type; did you mean ‘int’? 869 | int4 mismatch; ///< Number of trials that don't fit the prototype model at all | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:871:54: error: ‘int4’ has not been declared 871 | ScoreProtoModel(bool isinput,const ProtoModel *mod,int4 numparam); ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:872:41: error: ‘int4’ has not been declared 872 | void addParameter(const Address &addr,int4 sz); ///< Register a trial to be scored | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh: In member function ‘bool Funcdata::hasRestartPending() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:200:49: error: ‘flags’ was not declared in this scope 200 | bool hasRestartPending(void) const { return ((flags&restart_pending)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:292:11: error: ‘intb’ does not name a type; did you mean ‘int’? 292 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:874:3: error: ‘int4’ does not name a type; did you mean ‘int’? 874 | int4 getScore(void) const { return finalscore; } ///< Get the fitness score | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:293:11: error: ‘intb’ does not name a type; did you mean ‘int’? 293 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:875:3: error: ‘int4’ does not name a type; did you mean ‘int’? 875 | int4 getNumMismatch(void) const { return mismatch; } ///< Get the number of mismatched trials | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In constructor ‘PatternExpression::PatternExpression()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:62:29: error: ‘refcount’ was not declared in this scope 62 | PatternExpression(void) { refcount = 0; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:301:11: error: ‘intb’ does not name a type; did you mean ‘int’? 301 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh: In member function ‘bool Funcdata::hasUnimplemented() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:205:48: error: ‘flags’ was not declared in this scope 205 | bool hasUnimplemented(void) const { return ((flags&unimplemented_present)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:302:11: error: ‘intb’ does not name a type; did you mean ‘int’? 302 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool ScoreProtoModel::PEntry::operator<(const ScoreProtoModel::PEntry&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:863:55: error: ‘slot’ was not declared in this scope 863 | bool operator<(const PEntry &op2) const { return (slot < op2.slot); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:863:66: error: ‘const class ScoreProtoModel::PEntry’ has no member named ‘slot’ 863 | bool operator<(const PEntry &op2) const { return (slot < op2.slot); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:310:11: error: ‘intb’ does not name a type; did you mean ‘int’? 310 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:311:11: error: ‘intb’ does not name a type; did you mean ‘int’? 311 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh: In member function ‘bool Funcdata::hasBadData() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:207:42: error: ‘flags’ was not declared in this scope 207 | bool hasBadData(void) const { return ((flags&baddata_present)!=0); } ///< Does \b this function flow into bad data | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh: In member function ‘bool Funcdata::isHeritaged(Varnode*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:248:52: error: ‘class Heritage’ has no member named ‘heritagePass’; did you mean ‘heritage’? 248 | bool isHeritaged(Varnode *vn) { return (heritage.heritagePass(vn->getAddr())>=0); } | ^~~~~~~~~~~~ | heritage /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:319:11: error: ‘intb’ does not name a type; did you mean ‘int’? 319 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In member function ‘void PatternExpression::layClaim()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:73:25: error: ‘refcount’ was not declared in this scope 73 | void layClaim(void) { refcount += 1; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:80:35: error: ‘intb’ has not been declared 80 | virtual TokenPattern genPattern(intb val) const=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:320:11: error: ‘intb’ does not name a type; did you mean ‘int’? 320 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:328:3: error: ‘int4’ does not name a type; did you mean ‘int’? 328 | int4 base; // Current base operand (as we traverse the pattern equation from left to right) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:82:33: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 82 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:82:37: error: template argument 1 is invalid 82 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:82:37: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:896:3: error: ‘int4’ does not name a type; did you mean ‘int’? 896 | int4 numModels(void) const { return modellist.size(); } ///< Get the number of constituent models | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:897:24: error: ‘int4’ has not been declared 897 | ProtoModel *getModel(int4 i) const { return modellist[i]; } ///< Get the i-th model | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:329:3: error: ‘int4’ does not name a type; did you mean ‘int’? 329 | int4 offset; // Bytes we have traversed from the LEFT edge of the current base | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:330:3: error: ‘int4’ does not name a type; did you mean ‘int’? 330 | int4 cur_rightmost; // (resulting) rightmost operand in our pattern | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:82:55: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 82 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:82:59: error: template argument 1 is invalid 82 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:331:3: error: ‘int4’ does not name a type; did you mean ‘int’? 331 | int4 size; // (resulting) bytes traversed from the LEFT edge of the rightmost | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:82:59: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:571:90: error: ‘int4’ has not been declared 571 | virtual void dump(const Address &addr,OpCode opc,VarnodeData *outvar,VarnodeData *vars,int4 isize); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:84:11: error: ‘intb’ does not name a type; did you mean ‘int’? 84 | virtual intb getSubValue(const vector &replace,int4 &listpos) const { return replace[listpos++]; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:919:11: error: ‘int4’ does not name a type; did you mean ‘int’? 919 | virtual int4 getSize(void) const=0; ///< Get the number of bytes occupied by \b this parameter | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:85:11: error: ‘intb’ does not name a type; did you mean ‘int’? 85 | virtual intb minValue(void) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:593:5: error: ‘int4’ does not name a type; did you mean ‘int’? 593 | int4 slot; ///< vn = op->getIn(slot) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:86:11: error: ‘intb’ does not name a type; did you mean ‘int’? 86 | virtual intb maxValue(void) const=0; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:594:5: error: ‘uint4’ does not name a type; did you mean ‘uint’? 594 | uint4 flags; ///< Boolean properties of the node | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:600:22: error: ‘int4’ has not been declared 600 | State(PcodeOp *o,int4 s) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In constructor ‘OperandResolve::OperandResolve(std::vector&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:327:5: error: ‘base’ was not declared in this scope 327 | base=-1; offset=0; cur_rightmost = -1; size = 0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:979:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 979 | uint4 flags; ///< Lock and other properties from ParameterPieces flags | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:981:66: error: ‘uint4’ has not been declared 981 | ParameterBasic(const string &nm,const Address &ad,Datatype *tp,uint4 fl) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:606:5: error: ‘int4’ does not name a type; did you mean ‘int’? 606 | int4 getSolidSlot(void) const { return ((flags & seen_solid0)!=0) ? 0 : 1; } ///< Get slot associated with \e solid movement | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:607:20: error: ‘int4’ has not been declared 607 | void markSolid(int4 slot) { flags |= (slot==0) ? seen_solid0 : seen_solid1; } ///< Mark slot as having \e solid movement | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:988:11: error: ‘int4’ does not name a type; did you mean ‘int’? 988 | virtual int4 getSize(void) const { return type->getSize(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:327:14: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 327 | base=-1; offset=0; cur_rightmost = -1; size = 0; } | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In member function ‘virtual void PatternValue::getMinMax(int&, int&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:83:13: error: request for member ‘push_back’ in ‘minlist’, which is of non-class type ‘int’ 83 | minlist.push_back(minValue()); maxlist.push_back(maxValue()); } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In constructor ‘ParameterBasic::ParameterBasic(const string&, const Address&, Datatype*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:982:38: error: ‘flags’ was not declared in this scope 982 | name = nm; addr = ad; type = tp; flags=fl; } ///< Construct from components | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:623:3: error: ‘int4’ does not name a type; did you mean ‘int’? 623 | int4 multiDepth; ///< Number of MULTIEQUAL ops along current traversal path | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:634:3: error: ‘int4’ does not name a type; did you mean ‘int’? 634 | int4 enterNode(State &state); ///< Traverse into a new Varnode | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In constructor ‘ParameterBasic::ParameterBasic(Datatype*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:984:16: error: ‘flags’ was not declared in this scope 984 | type = tp; flags = 0; } ///< Construct a \e void parameter | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:635:3: error: ‘int4’ does not name a type; did you mean ‘int’? 635 | int4 uponPop(State &state,int4 command); ///< Pop a Varnode from the traversal stack | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:638:28: error: ‘int4’ has not been declared 638 | bool execute(PcodeOp *op,int4 slot,ParamTrial *t,bool allowFail); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:327:24: error: ‘cur_rightmost’ was not declared in this scope 327 | base=-1; offset=0; cur_rightmost = -1; size = 0; } | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:83:23: error: ‘minValue’ was not declared in this scope; did you mean ‘listValues’? 83 | minlist.push_back(minValue()); maxlist.push_back(maxValue()); } | ^~~~~~~~ | listValues /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:83:44: error: request for member ‘push_back’ in ‘maxlist’, which is of non-class type ‘int’ 83 | minlist.push_back(minValue()); maxlist.push_back(maxValue()); } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh: In constructor ‘AncestorRealistic::State::State(PcodeOp*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:602:7: error: ‘slot’ was not declared in this scope 602 | slot = s; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘virtual bool ParameterBasic::isTypeLocked() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:989:52: error: ‘flags’ was not declared in this scope 989 | virtual bool isTypeLocked(void) const { return ((flags&ParameterPieces::typelock)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:327:44: error: ‘size’ was not declared in this scope 327 | base=-1; offset=0; cur_rightmost = -1; size = 0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:337:3: error: ‘int4’ does not name a type; did you mean ‘int’? 337 | int4 refcount; // Number of objects referencing this | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:83:54: error: ‘maxValue’ was not declared in this scope 83 | minlist.push_back(minValue()); maxlist.push_back(maxValue()); } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:604:7: error: ‘flags’ was not declared in this scope 604 | flags = 0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘virtual bool ParameterBasic::isNameLocked() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:990:52: error: ‘flags’ was not declared in this scope 990 | virtual bool isNameLocked(void) const { return ((flags&ParameterPieces::namelock)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:93:3: error: ‘int4’ does not name a type; did you mean ‘int’? 93 | int4 bitstart,bitend; // Bits within the token, 0 bit is LEAST significant | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:94:3: error: ‘int4’ does not name a type; did you mean ‘int’? 94 | int4 bytestart,byteend; // Bytes to read to get value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:95:3: error: ‘int4’ does not name a type; did you mean ‘int’? 95 | int4 shift; // Amount to shift to align value (bitstart % 8) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:98:31: error: ‘int4’ has not been declared 98 | TokenField(Token *tk,bool s,int4 bstart,int4 bend); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:98:43: error: ‘int4’ has not been declared 98 | TokenField(Token *tk,bool s,int4 bstart,int4 bend); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘virtual bool ParameterBasic::isSizeTypeLocked() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:991:56: error: ‘flags’ was not declared in this scope 991 | virtual bool isSizeTypeLocked(void) const { return ((flags&ParameterPieces::sizelock)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh: In member function ‘void AncestorRealistic::State::markSolid(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:607:33: error: ‘flags’ was not declared in this scope 607 | void markSolid(int4 slot) { flags |= (slot==0) ? seen_solid0 : seen_solid1; } ///< Mark slot as having \e solid movement | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:99:11: error: ‘intb’ does not name a type; did you mean ‘int’? 99 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:101:35: error: ‘intb’ has not been declared 101 | virtual TokenPattern genPattern(intb val) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In constructor ‘PatternEquation::PatternEquation()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:342:27: error: ‘refcount’ was not declared in this scope 342 | PatternEquation(void) { refcount = 0; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:102:11: error: ‘intb’ does not name a type; did you mean ‘int’? 102 | virtual intb minValue(void) const { return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:103:11: error: ‘intb’ does not name a type; did you mean ‘int’? 103 | virtual intb maxValue(void) const { intb res=0; res=~res; zero_extend(res,bitend-bitstart); return res; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘virtual bool ParameterBasic::isThisPointer() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:992:53: error: ‘flags’ was not declared in this scope 992 | virtual bool isThisPointer(void) const { return ((flags&ParameterPieces::isthis)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh: In member function ‘void AncestorRealistic::State::markKill()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:608:27: error: ‘flags’ was not declared in this scope 608 | void markKill(void) { flags |= seen_kill; } ///< Mark \e killedbycall seen | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:109:3: error: ‘int4’ does not name a type; did you mean ‘int’? 109 | int4 startbit,endbit; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:110:3: error: ‘int4’ does not name a type; did you mean ‘int’? 110 | int4 startbyte,endbyte; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘virtual bool ParameterBasic::isIndirectStorage() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:993:57: error: ‘flags’ was not declared in this scope 993 | virtual bool isIndirectStorage(void) const { return ((flags&ParameterPieces::indirectstorage)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh: In member function ‘bool AncestorRealistic::State::seenSolid() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:609:43: error: ‘flags’ was not declared in this scope 609 | bool seenSolid(void) const { return ((flags & (seen_solid0|seen_solid1))!=0); } ///< Has \e solid movement been seen | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In member function ‘void PatternEquation::layClaim()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:347:25: error: ‘refcount’ was not declared in this scope 347 | void layClaim(void) { refcount += 1; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:111:3: error: ‘int4’ does not name a type; did you mean ‘int’? 111 | int4 shift; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:115:23: error: ‘int4’ has not been declared 115 | ContextField(bool s,int4 sbit,int4 ebit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:115:33: error: ‘int4’ has not been declared 115 | ContextField(bool s,int4 sbit,int4 ebit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:352:3: error: ‘int4’ does not name a type; did you mean ‘int’? 352 | int4 index; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:354:23: error: expected ‘)’ before ‘ind’ 354 | OperandEquation(int4 ind) { index = ind; } | ~ ^~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:116:3: error: ‘int4’ does not name a type; did you mean ‘int’? 116 | int4 getStartBit(void) const { return startbit; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:117:3: error: ‘int4’ does not name a type; did you mean ‘int’? 117 | int4 getEndBit(void) const { return endbit; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘virtual bool ParameterBasic::isHiddenReturn() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:994:54: error: ‘flags’ was not declared in this scope 994 | virtual bool isHiddenReturn(void) const { return ((flags&ParameterPieces::hiddenretparm)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:119:11: error: ‘intb’ does not name a type; did you mean ‘int’? 119 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:121:35: error: ‘intb’ has not been declared 121 | virtual TokenPattern genPattern(intb val) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh: In member function ‘bool AncestorRealistic::State::seenKill() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:610:42: error: ‘flags’ was not declared in this scope 610 | bool seenKill(void) const { return ((flags & seen_kill)!=0); } ///< Has \e killedbycall been seen | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1023:36: error: ‘int4’ has not been declared 1023 | virtual ProtoParameter *setInput(int4 i,const string &nm,const ParameterPieces &pieces)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1030:27: error: ‘int4’ has not been declared 1030 | virtual void clearInput(int4 i)=0; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:641:8: error: ‘int4’ does not name a type; did you mean ‘int’? 641 | extern int4 opFlipInPlaceTest(PcodeOp *op,vector &fliplist); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:122:11: error: ‘intb’ does not name a type; did you mean ‘int’? 122 | virtual intb minValue(void) const { return 0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1033:11: error: ‘int4’ does not name a type; did you mean ‘int’? 1033 | virtual int4 getNumInputs(void) const=0; ///< Get the number of input parameters for \b this prototype | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1034:36: error: ‘int4’ has not been declared 1034 | virtual ProtoParameter *getInput(int4 i)=0; ///< Get the i-th input parameter (or NULL if it doesn't exist) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:123:11: error: ‘intb’ does not name a type; did you mean ‘int’? 123 | virtual intb maxValue(void) const { intb res=0; res=~res; zero_extend(res,(endbit-startbit)); return res; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:647:58: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 647 | extern void cseEliminateList(Funcdata &data,vector< pair > &list, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:647:73: error: template argument 1 is invalid 647 | extern void cseEliminateList(Funcdata &data,vector< pair > &list, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:647:75: error: template argument 1 is invalid 647 | extern void cseEliminateList(Funcdata &data,vector< pair > &list, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:647:75: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1075:11: error: ‘int4’ does not name a type; did you mean ‘int’? 1075 | virtual int4 getSize(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:129:3: error: ‘intb’ does not name a type; did you mean ‘int’? 129 | intb val; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:132:21: error: expected ‘)’ before ‘v’ 132 | ConstantValue(intb v) { val = v; } | ~ ^~ | ) In file included from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:45:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 45 | uint4 type; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:133:11: error: ‘intb’ does not name a type; did you mean ‘int’? 133 | virtual intb getValue(ParserWalker &walker) const { return val; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:135:35: error: ‘intb’ has not been declared 135 | virtual TokenPattern genPattern(intb v) const { return TokenPattern(val==v); } | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:33:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 33 | uintm id; // Unique id across all symbols | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:47:5: error: ‘uintb’ does not name a type; did you mean ‘uint’? 47 | uintb integer; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:136:11: error: ‘intb’ does not name a type; did you mean ‘int’? 136 | virtual intb minValue(void) const { return val; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:51:3: error: ‘int4’ does not name a type; did you mean ‘int’? 51 | int4 lineno; // Line number containing this token | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:34:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 34 | uintm scopeid; // Unique id of scope this symbol is in | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:137:11: error: ‘intb’ does not name a type; did you mean ‘int’? 137 | virtual intb maxValue(void) const { return val; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:52:3: error: ‘int4’ does not name a type; did you mean ‘int’? 52 | int4 colno; // Column where this token starts | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:40:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 40 | uintm getId(void) const { return id; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:53:3: error: ‘int4’ does not name a type; did you mean ‘int’? 53 | int4 filenum; // Which file were we in | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:54:12: error: ‘uint4’ has not been declared 54 | void set(uint4 tp); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:55:12: error: ‘uint4’ has not been declared 55 | void set(uint4 tp,char *ptr,int4 len); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:55:31: error: ‘int4’ has not been declared 55 | void set(uint4 tp,char *ptr,int4 len); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:56:20: error: ‘int4’ has not been declared 56 | void setPosition(int4 file,int4 line,int4 col) { filenum=file; lineno=line; colno=col; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:56:30: error: ‘int4’ has not been declared 56 | void setPosition(int4 file,int4 line,int4 col) { filenum=file; lineno=line; colno=col; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:56:40: error: ‘int4’ has not been declared 56 | void setPosition(int4 file,int4 line,int4 col) { filenum=file; lineno=line; colno=col; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1102:36: error: ‘int4’ has not been declared 1102 | ParameterSymbol *getSymbolBacked(int4 i); ///< Fetch or allocate the parameter for the indicated slot | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1106:36: error: ‘int4’ has not been declared 1106 | virtual ProtoParameter *setInput(int4 i,const string &nm,const ParameterPieces &pieces); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:59:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 59 | uint4 getType(void) const { return type; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1107:27: error: ‘int4’ has not been declared 1107 | virtual void clearInput(int4 i); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In member function ‘virtual TokenPattern ConstantValue::genPattern(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:135:71: error: ‘val’ was not declared in this scope 135 | virtual TokenPattern genPattern(intb v) const { return TokenPattern(val==v); } | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:60:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 60 | uintb getInteger(void) const { return value.integer; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘SleighSymbol::SleighSymbol(const string&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:37:47: error: ‘id’ was not declared in this scope; did you mean ‘void’? 37 | SleighSymbol(const string &nm) { name = nm; id = 0; } | ^~ | void /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1109:11: error: ‘int4’ does not name a type; did you mean ‘int’? 1109 | virtual int4 getNumInputs(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1110:36: error: ‘int4’ has not been declared 1110 | virtual ProtoParameter *getInput(int4 i); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:145:11: error: ‘intb’ does not name a type; did you mean ‘int’? 145 | virtual intb getValue(ParserWalker &walker) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1130:36: error: ‘int4’ has not been declared 1130 | virtual ProtoParameter *setInput(int4 i,const string &nm,const ParameterPieces &pieces); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:148:35: error: ‘intb’ has not been declared 148 | virtual TokenPattern genPattern(intb val) const { return TokenPattern(); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1131:27: error: ‘int4’ has not been declared 1131 | virtual void clearInput(int4 i); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:62:3: error: ‘int4’ does not name a type; did you mean ‘int’? 62 | int4 getLineNo(void) const { return lineno; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:149:11: error: ‘intb’ does not name a type; did you mean ‘int’? 149 | virtual intb minValue(void) const { return (intb)0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1133:11: error: ‘int4’ does not name a type; did you mean ‘int’? 1133 | virtual int4 getNumInputs(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1134:36: error: ‘int4’ has not been declared 1134 | virtual ProtoParameter *getInput(int4 i); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:63:3: error: ‘int4’ does not name a type; did you mean ‘int’? 63 | int4 getColNo(void) const { return colno; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:150:11: error: ‘intb’ does not name a type; did you mean ‘int’? 150 | virtual intb maxValue(void) const { return (intb)0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:64:3: error: ‘int4’ does not name a type; did you mean ‘int’? 64 | int4 getFileNum(void) const { return filenum; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:158:11: error: ‘intb’ does not name a type; did you mean ‘int’? 158 | virtual intb getValue(ParserWalker &walker) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:161:35: error: ‘intb’ has not been declared 161 | virtual TokenPattern genPattern(intb val) const { return TokenPattern(); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:162:11: error: ‘intb’ does not name a type; did you mean ‘int’? 162 | virtual intb minValue(void) const { return (intb)0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:163:11: error: ‘intb’ does not name a type; did you mean ‘int’? 163 | virtual intb maxValue(void) const { return (intb)0; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh: In member function ‘void GrammarToken::setPosition(int, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:56:52: error: ‘filenum’ was not declared in this scope; did you mean ‘fileno’? 56 | void setPosition(int4 file,int4 line,int4 col) { filenum=file; lineno=line; colno=col; } | ^~~~~~~ | fileno /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1183:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1183 | int4 extrapop; ///< Extra bytes popped from stack | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1184:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 1184 | uint4 flags; ///< Boolean properties of the function prototype | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:171:3: error: ‘int4’ does not name a type; did you mean ‘int’? 171 | int4 index; // This is the defining field of expression | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:175:20: error: expected ‘)’ before ‘ind’ 175 | OperandValue(int4 ind,Constructor *c) { index = ind; ct = c; } | ~ ^~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:176:20: error: ‘int4’ has not been declared 176 | void changeIndex(int4 newind) { index = newind; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:179:35: error: ‘intb’ has not been declared 179 | virtual TokenPattern genPattern(intb val) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1187:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1187 | int4 injectid; ///< (If non-negative) id of p-code snippet that should replace this function | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:181:11: error: ‘intb’ does not name a type; did you mean ‘int’? 181 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1188:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1188 | int4 returnBytesConsumed; ///< Number of bytes of return value that are consumed by callers (0 = all bytes) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1191:19: error: ‘int4’ has not been declared 1191 | void paramShift(int4 paramshift); ///< Add parameters to the front of the input parameter list | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:56:66: error: ‘lineno’ was not declared in this scope; did you mean ‘fileno’? 56 | void setPosition(int4 file,int4 line,int4 col) { filenum=file; lineno=line; colno=col; } | ^~~~~~ | fileno /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:182:11: error: ‘intb’ does not name a type; did you mean ‘int’? 182 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:58:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 58 | uintm id; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:60:30: error: ‘uintm’ has not been declared 60 | SymbolScope(SymbolScope *p,uintm i) { parent = p; id = i; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1211:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1211 | int4 getModelExtraPop(void) const { return model->getExtraPop(); } ///< Get the \e extrapop of the prototype model | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:183:11: error: ‘intb’ does not name a type; did you mean ‘int’? 183 | virtual intb minValue(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:66:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 66 | uintm getId(void) const { return id; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1240:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1240 | int4 getInjectId(void) const { return injectid; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:184:11: error: ‘intb’ does not name a type; did you mean ‘int’? 184 | virtual intb maxValue(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In member function ‘void OperandValue::changeIndex(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:176:43: error: overloaded function with no contextual type information 176 | void changeIndex(int4 newind) { index = newind; } | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:56:79: error: ‘colno’ was not declared in this scope 56 | void setPosition(int4 file,int4 line,int4 col) { filenum=file; lineno=line; colno=col; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1246:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1246 | int4 getReturnBytesConsumed(void) const { return returnBytesConsumed; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1248:31: error: ‘int4’ has not been declared 1248 | bool setReturnBytesConsumed(int4 val); ///< Set the number of bytes consumed by callers of \b this | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1293:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1293 | int4 getExtraPop(void) const { return extrapop; } ///< Get the general \e extrapop setting for \b this prototype | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1294:20: error: ‘int4’ has not been declared 1294 | void setExtraPop(int4 ep) { extrapop = ep; } ///< Set the general \e extrapop for \b this prototype | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1295:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1295 | int4 getInjectUponEntry(void) const { return model->getInjectUponEntry(); } ///< Get any \e upon-entry injection id (or -1) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:68:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 68 | map filenamemap; // All files ever seen | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:68:18: error: template argument 1 is invalid 68 | map filenamemap; // All files ever seen | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:68:18: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:68:18: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1296:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1296 | int4 getInjectUponReturn(void) const { return model->getInjectUponReturn(); } ///< Get any \e upon-return injection id (or -1) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1329:45: error: ‘int4’ has not been declared 1329 | bool checkInputJoin(const Address &hiaddr,int4 hisz,const Address &loaddr,int4 losz) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1329:77: error: ‘int4’ has not been declared 1329 | bool checkInputJoin(const Address &hiaddr,int4 hisz,const Address &loaddr,int4 losz) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1340:43: error: ‘int4’ has not been declared 1340 | bool checkInputSplit(const Address &loc,int4 size,int4 splitpoint) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1340:53: error: ‘int4’ has not been declared 1340 | bool checkInputSplit(const Address &loc,int4 size,int4 splitpoint) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1348:28: error: ‘int4’ has not been declared 1348 | ProtoParameter *getParam(int4 i) const { return store->getInput(i); } ///< Get the i-th input parameter | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1349:20: error: ‘int4’ has not been declared 1349 | void removeParam(int4 i) { store->clearInput(i); } ///< Remove the i-th input parameter | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1350:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1350 | int4 numParams(void) const { return store->getNumInputs(); } ///< Get the number of input parameters | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:69:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 69 | map streammap; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:69:21: error: template argument 1 is invalid 69 | map streammap; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:69:21: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:69:21: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘SymbolScope::SymbolScope(SymbolScope*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:60:53: error: ‘id’ was not declared in this scope; did you mean ‘i’? 60 | SymbolScope(SymbolScope *p,uintm i) { parent = p; id = i; } | ^~ | i /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In member function ‘virtual TokenPattern OperandValue::genMinPattern(const std::vector&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:180:89: error: no match for ‘operator[]’ (operand types are ‘const std::vector’ and ‘’) 180 | virtual TokenPattern genMinPattern(const vector &ops) const { return ops[index]; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1360:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 1360 | uint4 hasEffect(const Address &addr,int4 size) const; | ^~~~~ | uint In file included from /usr/include/c++/11.2.0/vector:67, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/capability.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:21, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /usr/include/c++/11.2.0/bits/stl_vector.h:1043:7: note: candidate: ‘std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) [with _Tp = TokenPattern; _Alloc = std::allocator; std::vector<_Tp, _Alloc>::reference = TokenPattern&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]’ 1043 | operator[](size_type __n) _GLIBCXX_NOEXCEPT | ^~~~~~~~ /usr/include/c++/11.2.0/bits/stl_vector.h:1043:28: note: no known conversion for argument 1 from ‘’ to ‘std::vector::size_type’ {aka ‘long unsigned int’} 1043 | operator[](size_type __n) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~^~~ /usr/include/c++/11.2.0/bits/stl_vector.h:1061:7: note: candidate: ‘std::vector<_Tp, _Alloc>::const_reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) const [with _Tp = TokenPattern; _Alloc = std::allocator; std::vector<_Tp, _Alloc>::const_reference = const TokenPattern&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]’ 1061 | operator[](size_type __n) const _GLIBCXX_NOEXCEPT | ^~~~~~~~ /usr/include/c++/11.2.0/bits/stl_vector.h:1061:28: note: no known conversion for argument 1 from ‘’ to ‘std::vector::size_type’ {aka ‘long unsigned int’} 1061 | operator[](size_type __n) const _GLIBCXX_NOEXCEPT | ~~~~~~~~~~^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1363:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1363 | int4 numLikelyTrash(void) const; ///< Get the number of \e likely-trash locations | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1364:37: error: ‘int4’ has not been declared 1364 | const VarnodeData &getLikelyTrash(int4 i) const; ///< Get the i-th \e likely-trash location | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:70:10: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 70 | vector filestack; // Stack of current files | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:70:14: error: template argument 1 is invalid 70 | vector filestack; // Stack of current files | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:70:14: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1365:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1365 | int4 characterizeAsInputParam(const Address &addr,int4 size) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1366:47: error: ‘int4’ has not been declared 1366 | bool possibleInputParam(const Address &addr,int4 size) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1367:48: error: ‘int4’ has not been declared 1367 | bool possibleOutputParam(const Address &addr,int4 size) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:71:3: error: ‘int4’ does not name a type; did you mean ‘int’? 71 | int4 buffersize; // maximum characters in buffer | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1375:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1375 | int4 getMaxInputDelay(void) const { return model->getMaxInputDelay(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:73:3: error: ‘int4’ does not name a type; did you mean ‘int’? 73 | int4 bufstart; // Next character to process | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:20, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:201:33: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 201 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:201:37: error: template argument 1 is invalid 201 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:201:37: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1383:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1383 | int4 getMaxOutputDelay(void) const { return model->getMaxOutputDelay(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1385:50: error: ‘int4’ has not been declared 1385 | bool unjustifiedInputParam(const Address &addr,int4 size,VarnodeData &res) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:74:3: error: ‘int4’ does not name a type; did you mean ‘int’? 74 | int4 bufend; // Next open position in buffer | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1397:52: error: ‘int4’ has not been declared 1397 | OpCode assumedInputExtension(const Address &addr,int4 size,VarnodeData &res) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1410:53: error: ‘int4’ has not been declared 1410 | OpCode assumedOutputExtension(const Address &addr,int4 size,VarnodeData &res) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1414:57: error: ‘int4’ has not been declared 1414 | bool getBiggestContainedInputParam(const Address &loc,int4 size,VarnodeData &res) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:75:3: error: ‘int4’ does not name a type; did you mean ‘int’? 75 | int4 curlineno; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1424:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 1424 | uint4 getComparableFlags(void) const { return (flags & (dotdotdot | is_constructor | is_destructor | has_thisptr )); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:201:55: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 201 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:78:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 78 | uint4 state; // State of parser | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:201:59: error: template argument 1 is invalid 201 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:201:59: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:98:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 98 | uint4 moveState(char lookahead); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:99:43: error: ‘uint4’ has not been declared 99 | void establishToken(GrammarToken &token,uint4 val); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:102:20: error: expected ‘)’ before ‘maxbuffer’ 102 | GrammarLexer(int4 maxbuffer); | ~ ^~~~~~~~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:109:33: error: ‘int4’ has not been declared 109 | void writeLocation(ostream &s,int4 line,int4 filenum); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:109:43: error: ‘int4’ has not been declared 109 | void writeLocation(ostream &s,int4 line,int4 filenum); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:110:38: error: ‘int4’ has not been declared 110 | void writeTokenLocation(ostream &s,int4 line,int4 colno); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:110:48: error: ‘int4’ has not been declared 110 | void writeTokenLocation(ostream &s,int4 line,int4 colno); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool FuncProto::isParamshiftApplied() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1192:51: error: ‘flags’ was not declared in this scope 1192 | bool isParamshiftApplied(void) const { return ((flags¶mshift_applied)!=0); } ///< Has a parameter shift been applied | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:126:11: error: ‘uint4’ does not name a type; did you mean ‘uint’? 126 | virtual uint4 getType(void) const=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:74:26: error: ‘int4’ has not been declared 74 | SymbolScope *skipScope(int4 i) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:89:45: error: ‘int4’ has not been declared 89 | SleighSymbol *findSymbol(const string &nm,int4 skip) const { return findSymbolInternal(skipScope(skip),nm); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:91:28: error: ‘uintm’ has not been declared 91 | SleighSymbol *findSymbol(uintm id) const { return symbollist[id]; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:218:33: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 218 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:218:37: error: template argument 1 is invalid 218 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:218:37: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:132:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 132 | uint4 flags; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:134:24: error: expected ‘)’ before ‘fl’ 134 | PointerModifier(uint4 fl) { flags = fl; } | ~ ^~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:135:11: error: ‘uint4’ does not name a type; did you mean ‘uint’? 135 | virtual uint4 getType(void) const { return pointer_mod; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void FuncProto::setParamshiftApplied(bool)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1194:41: error: ‘flags’ was not declared in this scope 1194 | void setParamshiftApplied(bool val) { flags = val ? (flags|paramshift_applied) : (flags & ~((uint4)paramshift_applied)); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:218:55: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 218 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:218:59: error: template argument 1 is invalid 218 | virtual void getMinMax(vector &minlist,vector &maxlist) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:218:59: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:141:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 141 | uint4 flags; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:142:3: error: ‘int4’ does not name a type; did you mean ‘int’? 142 | int4 arraysize; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:144:22: error: expected ‘)’ before ‘fl’ 144 | ArrayModifier(uint4 fl,int4 as) { flags=fl; arraysize = as; } | ~ ^~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:229:11: error: ‘intb’ does not name a type; did you mean ‘int’? 229 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1194:96: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 1194 | void setParamshiftApplied(bool val) { flags = val ? (flags|paramshift_applied) : (flags & ~((uint4)paramshift_applied)); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:145:11: error: ‘uint4’ does not name a type; did you mean ‘uint’? 145 | virtual uint4 getType(void) const { return array_mod; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1194:102: error: expected ‘)’ before ‘paramshift_applied’ 1194 | void setParamshiftApplied(bool val) { flags = val ? (flags|paramshift_applied) : (flags & ~((uint4)paramshift_applied)); } | ^~~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1194:94: note: to match this ‘(’ 1194 | void setParamshiftApplied(bool val) { flags = val ? (flags|paramshift_applied) : (flags & ~((uint4)paramshift_applied)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1194:122: error: expected ‘)’ before ‘;’ token 1194 | void setParamshiftApplied(bool val) { flags = val ? (flags|paramshift_applied) : (flags & ~((uint4)paramshift_applied)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1194:84: note: to match this ‘(’ 1194 | void setParamshiftApplied(bool val) { flags = val ? (flags|paramshift_applied) : (flags & ~((uint4)paramshift_applied)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:230:11: error: ‘intb’ does not name a type; did you mean ‘int’? 230 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:238:11: error: ‘intb’ does not name a type; did you mean ‘int’? 238 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:117:3: error: ‘int4’ does not name a type; did you mean ‘int’? 117 | int4 templateid; // Index into the ConstructTpl array | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:239:11: error: ‘intb’ does not name a type; did you mean ‘int’? 239 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:118:3: error: ‘int4’ does not name a type; did you mean ‘int’? 118 | int4 define_count; // Number of definitions of this named section | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool FuncProto::isModelLocked() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1215:45: error: ‘flags’ was not declared in this scope 1215 | bool isModelLocked(void) const { return ((flags&modellock)!=0); } ///< Is the prototype model for \b this locked | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:247:11: error: ‘intb’ does not name a type; did you mean ‘int’? 247 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:119:3: error: ‘int4’ does not name a type; did you mean ‘int’? 119 | int4 ref_count; // Number of references to this named section | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:121:34: error: ‘int4’ has not been declared 121 | SectionSymbol(const string &nm,int4 id) : SleighSymbol(nm) { templateid=id; define_count=0; ref_count=0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:248:11: error: ‘intb’ does not name a type; did you mean ‘int’? 248 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh: In member function ‘virtual bool ArrayModifier::isValid() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:146:46: error: ‘arraysize’ was not declared in this scope 146 | virtual bool isValid(void) const { return (arraysize>0); } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:122:3: error: ‘int4’ does not name a type; did you mean ‘int’? 122 | int4 getTemplateId(void) const { return templateid; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:125:3: error: ‘int4’ does not name a type; did you mean ‘int’? 125 | int4 getDefineCount(void) const { return define_count; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:256:11: error: ‘intb’ does not name a type; did you mean ‘int’? 256 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool FuncProto::isUnknownModel() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1216:46: error: ‘flags’ was not declared in this scope 1216 | bool isUnknownModel(void) const { return ((flags&unknown_model)!=0); } ///< Is prototype model officially "unknown" | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:126:3: error: ‘int4’ does not name a type; did you mean ‘int’? 126 | int4 getRefCount(void) const { return ref_count; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:257:11: error: ‘intb’ does not name a type; did you mean ‘int’? 257 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:265:11: error: ‘intb’ does not name a type; did you mean ‘int’? 265 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:266:11: error: ‘intb’ does not name a type; did you mean ‘int’? 266 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool FuncProto::hasCustomStorage() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1217:48: error: ‘flags’ was not declared in this scope 1217 | bool hasCustomStorage(void) const { return ((flags&custom_storage)!=0); } ///< Is \b this a "custom" function prototype | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:274:11: error: ‘intb’ does not name a type; did you mean ‘int’? 274 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:158:11: error: ‘uint4’ does not name a type; did you mean ‘uint’? 158 | virtual uint4 getType(void) const { return function_mod; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:275:11: error: ‘intb’ does not name a type; did you mean ‘int’? 275 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void FuncProto::setModelLock(bool)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1226:33: error: ‘flags’ was not declared in this scope 1226 | void setModelLock(bool val) { flags = val ? (flags|modellock) : (flags & ~((uint4)modellock)); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘SectionSymbol::SectionSymbol(const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:121:64: error: ‘templateid’ was not declared in this scope 121 | SectionSymbol(const string &nm,int4 id) : SleighSymbol(nm) { templateid=id; define_count=0; ref_count=0; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:283:11: error: ‘intb’ does not name a type; did you mean ‘int’? 283 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:284:11: error: ‘intb’ does not name a type; did you mean ‘int’? 284 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1226:79: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 1226 | void setModelLock(bool val) { flags = val ? (flags|modellock) : (flags & ~((uint4)modellock)); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1226:85: error: expected ‘)’ before ‘modellock’ 1226 | void setModelLock(bool val) { flags = val ? (flags|modellock) : (flags & ~((uint4)modellock)); } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1226:77: note: to match this ‘(’ 1226 | void setModelLock(bool val) { flags = val ? (flags|modellock) : (flags & ~((uint4)modellock)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1226:96: error: expected ‘)’ before ‘;’ token 1226 | void setModelLock(bool val) { flags = val ? (flags|modellock) : (flags & ~((uint4)modellock)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1226:67: note: to match this ‘(’ 1226 | void setModelLock(bool val) { flags = val ? (flags|modellock) : (flags & ~((uint4)modellock)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:292:11: error: ‘intb’ does not name a type; did you mean ‘int’? 292 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:293:11: error: ‘intb’ does not name a type; did you mean ‘int’? 293 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:169:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 169 | uint4 flags; // Specifiers qualifiers | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:301:11: error: ‘intb’ does not name a type; did you mean ‘int’? 301 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool FuncProto::isInline() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1228:40: error: ‘flags’ was not declared in this scope 1228 | bool isInline(void) const { return ((flags & is_inline)!=0); } ///< Does this function get \e in-lined during decompilation. | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:175:3: error: ‘int4’ does not name a type; did you mean ‘int’? 175 | int4 numModifiers(void) const { return mods.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:179:20: error: ‘uint4’ has not been declared 179 | bool hasProperty(uint4 mask) { return ((flags&mask)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:302:11: error: ‘intb’ does not name a type; did you mean ‘int’? 302 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:121:79: error: ‘define_count’ was not declared in this scope 121 | SectionSymbol(const string &nm,int4 id) : SleighSymbol(nm) { templateid=id; define_count=0; ref_count=0; } | ^~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:310:11: error: ‘intb’ does not name a type; did you mean ‘int’? 310 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:311:11: error: ‘intb’ does not name a type; did you mean ‘int’? 311 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void FuncProto::setInline(bool)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1234:30: error: ‘flags’ was not declared in this scope 1234 | void setInline(bool val) { flags = val ? (flags|is_inline) : (flags & ~((uint4)is_inline)); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:319:11: error: ‘intb’ does not name a type; did you mean ‘int’? 319 | virtual intb getValue(ParserWalker &walker) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:320:11: error: ‘intb’ does not name a type; did you mean ‘int’? 320 | virtual intb getSubValue(const vector &replace,int4 &listpos) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh: In constructor ‘TypeDeclarator::TypeDeclarator()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:171:50: error: ‘flags’ was not declared in this scope 171 | TypeDeclarator(void) { basetype=(Datatype *)0; flags=0; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1234:76: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 1234 | void setInline(bool val) { flags = val ? (flags|is_inline) : (flags & ~((uint4)is_inline)); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1234:82: error: expected ‘)’ before ‘is_inline’ 1234 | void setInline(bool val) { flags = val ? (flags|is_inline) : (flags & ~((uint4)is_inline)); } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1234:74: note: to match this ‘(’ 1234 | void setInline(bool val) { flags = val ? (flags|is_inline) : (flags & ~((uint4)is_inline)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1234:93: error: expected ‘)’ before ‘;’ token 1234 | void setInline(bool val) { flags = val ? (flags|is_inline) : (flags & ~((uint4)is_inline)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1234:64: note: to match this ‘(’ 1234 | void setInline(bool val) { flags = val ? (flags|is_inline) : (flags & ~((uint4)is_inline)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:121:95: error: ‘ref_count’ was not declared in this scope 121 | SectionSymbol(const string &nm,int4 id) : SleighSymbol(nm) { templateid=id; define_count=0; ref_count=0; } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:328:3: error: ‘int4’ does not name a type; did you mean ‘int’? 328 | int4 base; // Current base operand (as we traverse the pattern equation from left to right) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:329:3: error: ‘int4’ does not name a type; did you mean ‘int’? 329 | int4 offset; // Bytes we have traversed from the LEFT edge of the current base | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool FuncProto::isNoReturn() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1251:42: error: ‘flags’ was not declared in this scope 1251 | bool isNoReturn(void) const { return ((flags & no_return)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:330:3: error: ‘int4’ does not name a type; did you mean ‘int’? 330 | int4 cur_rightmost; // (resulting) rightmost operand in our pattern | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh: In constructor ‘TypeDeclarator::TypeDeclarator(const string&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:172:72: error: ‘flags’ was not declared in this scope 172 | TypeDeclarator(const string &nm) { ident=nm; basetype=(Datatype *)0; flags=0; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:331:3: error: ‘int4’ does not name a type; did you mean ‘int’? 331 | int4 size; // (resulting) bytes traversed from the LEFT edge of the rightmost | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void FuncProto::setNoReturn(bool)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1256:32: error: ‘flags’ was not declared in this scope 1256 | void setNoReturn(bool val) { flags = val ? (flags|no_return) : (flags & ~((uint4)no_return)); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh: In member function ‘bool TypeDeclarator::hasProperty(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:179:43: error: ‘flags’ was not declared in this scope 179 | bool hasProperty(uint4 mask) { return ((flags&mask)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In constructor ‘OperandResolve::OperandResolve(std::vector&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:327:5: error: ‘base’ was not declared in this scope 327 | base=-1; offset=0; cur_rightmost = -1; size = 0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:187:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 187 | uint4 flags; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void SectionSymbol::incrementDefineCount()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:123:37: error: ‘define_count’ was not declared in this scope 123 | void incrementDefineCount(void) { define_count += 1; } | ^~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1256:78: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 1256 | void setNoReturn(bool val) { flags = val ? (flags|no_return) : (flags & ~((uint4)no_return)); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1256:84: error: expected ‘)’ before ‘no_return’ 1256 | void setNoReturn(bool val) { flags = val ? (flags|no_return) : (flags & ~((uint4)no_return)); } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1256:76: note: to match this ‘(’ 1256 | void setNoReturn(bool val) { flags = val ? (flags|no_return) : (flags & ~((uint4)no_return)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1256:95: error: expected ‘)’ before ‘;’ token 1256 | void setNoReturn(bool val) { flags = val ? (flags|no_return) : (flags & ~((uint4)no_return)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1256:66: note: to match this ‘(’ 1256 | void setNoReturn(bool val) { flags = val ? (flags|no_return) : (flags & ~((uint4)no_return)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:327:14: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 327 | base=-1; offset=0; cur_rightmost = -1; size = 0; } | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh: In constructor ‘TypeSpecifiers::TypeSpecifiers()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:188:58: error: ‘flags’ was not declared in this scope 188 | TypeSpecifiers(void) { type_specifier = (Datatype *)0; flags = 0; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:194:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 194 | uintb value; // The actual constant | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool FuncProto::hasThisPointer() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1259:46: error: ‘flags’ was not declared in this scope 1259 | bool hasThisPointer(void) const { return ((flags & has_thisptr)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:196:31: error: ‘uintb’ has not been declared 196 | Enumerator(const string &nm,uintb val) { constantassigned = true; enumconstant=nm; value=val; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void SectionSymbol::incrementRefCount()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:124:34: error: ‘ref_count’ was not declared in this scope 124 | void incrementRefCount(void) { ref_count += 1; } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:132:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 132 | uint4 index; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:136:17: error: ‘uint4’ has not been declared 136 | void setIndex(uint4 ind) { index = ind; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool FuncProto::isConstructor() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1262:45: error: ‘flags’ was not declared in this scope 1262 | bool isConstructor(void) const { return ((flags & is_constructor)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh: In constructor ‘Enumerator::Enumerator(const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:196:86: error: ‘value’ was not declared in this scope; did you mean ‘val’? 196 | Enumerator(const string &nm,uintb val) { constantassigned = true; enumconstant=nm; value=val; } | ^~~~~ | val /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:137:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 137 | uint4 getIndex(void) const { return index; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘UserOpSymbol::UserOpSymbol(const string&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:135:63: error: overloaded function with no contextual type information 135 | UserOpSymbol(const string &nm) : SleighSymbol(nm) { index = 0; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void UserOpSymbol::setIndex(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:136:38: error: overloaded function with no contextual type information 136 | void setIndex(uint4 ind) { index = ind; } | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:327:24: error: ‘cur_rightmost’ was not declared in this scope 327 | base=-1; offset=0; cur_rightmost = -1; size = 0; } | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:153:11: error: ‘int4’ does not name a type; did you mean ‘int’? 153 | virtual int4 getSize(void) const { return 0; } // Size out of context | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void FuncProto::setConstructor(bool)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1267:35: error: ‘flags’ was not declared in this scope 1267 | void setConstructor(bool val) { flags = val ? (flags|is_constructor) : (flags & ~((uint4)is_constructor)); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:221:14: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 221 | map keywords; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:221:19: error: template argument 2 is invalid 221 | map keywords; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:221:19: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:223:3: error: ‘int4’ does not name a type; did you mean ‘int’? 223 | int4 lineno,colno,filenum; // Location of last token | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:327:44: error: ‘size’ was not declared in this scope 327 | base=-1; offset=0; cur_rightmost = -1; size = 0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:155:42: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 155 | virtual void collectLocalValues(vector &results) const {} | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:155:47: error: template argument 1 is invalid 155 | virtual void collectLocalValues(vector &results) const {} | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:155:47: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:337:3: error: ‘int4’ does not name a type; did you mean ‘int’? 337 | int4 refcount; // Number of objects referencing this | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1267:86: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 1267 | void setConstructor(bool val) { flags = val ? (flags|is_constructor) : (flags & ~((uint4)is_constructor)); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1267:92: error: expected ‘)’ before ‘is_constructor’ 1267 | void setConstructor(bool val) { flags = val ? (flags|is_constructor) : (flags & ~((uint4)is_constructor)); } | ^~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1267:84: note: to match this ‘(’ 1267 | void setConstructor(bool val) { flags = val ? (flags|is_constructor) : (flags & ~((uint4)is_constructor)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1267:108: error: expected ‘)’ before ‘;’ token 1267 | void setConstructor(bool val) { flags = val ? (flags|is_constructor) : (flags & ~((uint4)is_constructor)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1267:74: note: to match this ‘(’ 1267 | void setConstructor(bool val) { flags = val ? (flags|is_constructor) : (flags & ~((uint4)is_constructor)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool FuncProto::isDestructor() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1270:44: error: ‘flags’ was not declared in this scope 1270 | bool isDestructor(void) const { return ((flags & is_destructor)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In constructor ‘PatternEquation::PatternEquation()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:342:27: error: ‘refcount’ was not declared in this scope 342 | PatternEquation(void) { refcount = 0; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void FuncProto::setDestructor(bool)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1275:34: error: ‘flags’ was not declared in this scope 1275 | void setDestructor(bool val) { flags = val ? (flags|is_destructor) : (flags & ~((uint4)is_destructor)); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:215:10: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 215 | vector valuetable; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:215:14: error: template argument 1 is invalid 215 | vector valuetable; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:215:14: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1275:84: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 1275 | void setDestructor(bool val) { flags = val ? (flags|is_destructor) : (flags & ~((uint4)is_destructor)); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1275:90: error: expected ‘)’ before ‘is_destructor’ 1275 | void setDestructor(bool val) { flags = val ? (flags|is_destructor) : (flags & ~((uint4)is_destructor)); } | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1275:82: note: to match this ‘(’ 1275 | void setDestructor(bool val) { flags = val ? (flags|is_destructor) : (flags & ~((uint4)is_destructor)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1275:105: error: expected ‘)’ before ‘;’ token 1275 | void setDestructor(bool val) { flags = val ? (flags|is_destructor) : (flags & ~((uint4)is_destructor)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1275:72: note: to match this ‘(’ 1275 | void setDestructor(bool val) { flags = val ? (flags|is_destructor) : (flags & ~((uint4)is_destructor)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:220:65: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 220 | ValueMapSymbol(const string &nm,PatternValue *pv,const vector &vt) : ValueSymbol(nm,pv) { valuetable=vt; checkTableFill(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:220:69: error: template argument 1 is invalid 220 | ValueMapSymbol(const string &nm,PatternValue *pv,const vector &vt) : ValueSymbol(nm,pv) { valuetable=vt; checkTableFill(); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:220:69: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: In member function ‘void PatternEquation::layClaim()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:347:25: error: ‘refcount’ was not declared in this scope 347 | void layClaim(void) { refcount += 1; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:352:3: error: ‘int4’ does not name a type; did you mean ‘int’? 352 | int4 index; | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:250:50: error: ‘uintb’ has not been declared 250 | VarnodeSymbol(const string &nm,AddrSpace *base,uintb offset,int4 size); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:250:63: error: ‘int4’ has not been declared 250 | VarnodeSymbol(const string &nm,AddrSpace *base,uintb offset,int4 size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghpatexpress.hh:354:23: error: expected ‘)’ before ‘ind’ 354 | OperandEquation(int4 ind) { index = ind; } | ~ ^~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool FuncProto::hasInputErrors() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1278:46: error: ‘flags’ was not declared in this scope 1278 | bool hasInputErrors(void) const { return ((flags&error_inputparam)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:255:11: error: ‘int4’ does not name a type; did you mean ‘int’? 255 | virtual int4 getSize(void) const { return fix.size; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:226:15: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 226 | list *> vecuint4_alloc; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:226:20: error: template argument 1 is invalid 226 | list *> vecuint4_alloc; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:226:20: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:226:23: error: template argument 1 is invalid 226 | list *> vecuint4_alloc; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:226:23: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool FuncProto::hasOutputErrors() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1281:47: error: ‘flags’ was not declared in this scope 1281 | bool hasOutputErrors(void) const { return ((flags&error_outputparam)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:258:42: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 258 | virtual void collectLocalValues(vector &results) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:258:47: error: template argument 1 is invalid 258 | virtual void collectLocalValues(vector &results) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:258:47: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:267:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 267 | uint4 bitoffset; // least significant bit of range | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:33:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 33 | uintm id; // Unique id across all symbols | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void FuncProto::setInputErrors(bool)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1286:35: error: ‘flags’ was not declared in this scope 1286 | void setInputErrors(bool val) { flags = val ? (flags|error_inputparam) : (flags & ~((uint4)error_inputparam)); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:268:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 268 | uint4 numbits; // number of bits in the range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:271:54: error: ‘uint4’ has not been declared 271 | BitrangeSymbol(const string &nm,VarnodeSymbol *sym,uint4 bitoff,uint4 num) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:271:67: error: ‘uint4’ has not been declared 271 | BitrangeSymbol(const string &nm,VarnodeSymbol *sym,uint4 bitoff,uint4 num) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:34:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 34 | uintm scopeid; // Unique id of scope this symbol is in | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:274:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 274 | uint4 getBitOffset(void) const { return bitoffset; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:40:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 40 | uintm getId(void) const { return id; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:275:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 275 | uint4 numBits(void) const { return numbits; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1286:88: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 1286 | void setInputErrors(bool val) { flags = val ? (flags|error_inputparam) : (flags & ~((uint4)error_inputparam)); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1286:94: error: expected ‘)’ before ‘error_inputparam’ 1286 | void setInputErrors(bool val) { flags = val ? (flags|error_inputparam) : (flags & ~((uint4)error_inputparam)); } | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1286:86: note: to match this ‘(’ 1286 | void setInputErrors(bool val) { flags = val ? (flags|error_inputparam) : (flags & ~((uint4)error_inputparam)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1286:112: error: expected ‘)’ before ‘;’ token 1286 | void setInputErrors(bool val) { flags = val ? (flags|error_inputparam) : (flags & ~((uint4)error_inputparam)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1286:76: note: to match this ‘(’ 1286 | void setInputErrors(bool val) { flags = val ? (flags|error_inputparam) : (flags & ~((uint4)error_inputparam)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘SleighSymbol::SleighSymbol(const string&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:37:47: error: ‘id’ was not declared in this scope; did you mean ‘void’? 37 | SleighSymbol(const string &nm) { name = nm; id = 0; } | ^~ | void /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void FuncProto::setOutputErrors(bool)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1291:36: error: ‘flags’ was not declared in this scope 1291 | void setOutputErrors(bool val) { flags = val ? (flags|error_outputparam) : (flags & ~((uint4)error_outputparam)); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘BitrangeSymbol::BitrangeSymbol(const string&, VarnodeSymbol*, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:272:38: error: ‘bitoffset’ was not declared in this scope; did you mean ‘bitoff’? 272 | : SleighSymbol(nm) { varsym=sym; bitoffset=bitoff; numbits=num; } | ^~~~~~~~~ | bitoff /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1291:90: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 1291 | void setOutputErrors(bool val) { flags = val ? (flags|error_outputparam) : (flags & ~((uint4)error_outputparam)); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1291:96: error: expected ‘)’ before ‘error_outputparam’ 1291 | void setOutputErrors(bool val) { flags = val ? (flags|error_outputparam) : (flags & ~((uint4)error_outputparam)); } | ^~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1291:88: note: to match this ‘(’ 1291 | void setOutputErrors(bool val) { flags = val ? (flags|error_outputparam) : (flags & ~((uint4)error_outputparam)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:229:8: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 229 | list num_alloc; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1291:115: error: expected ‘)’ before ‘;’ token 1291 | void setOutputErrors(bool val) { flags = val ? (flags|error_outputparam) : (flags & ~((uint4)error_outputparam)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:229:15: error: template argument 1 is invalid 229 | list num_alloc; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1291:78: note: to match this ‘(’ 1291 | void setOutputErrors(bool val) { flags = val ? (flags|error_outputparam) : (flags & ~((uint4)error_outputparam)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:229:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:272:56: error: ‘numbits’ was not declared in this scope 272 | : SleighSymbol(nm) { varsym=sym; bitoffset=bitoff; numbits=num; } | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void FuncProto::setExtraPop(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1294:31: error: ‘extrapop’ was not declared in this scope; did you mean ‘setExtraPop’? 1294 | void setExtraPop(int4 ep) { extrapop = ep; } ///< Set the general \e extrapop for \b this prototype | ^~~~~~~~ | setExtraPop /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:281:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 281 | uint4 low,high; // into a varnode | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:285:70: error: ‘uint4’ has not been declared 285 | ContextSymbol(const string &nm,ContextField *pate,VarnodeSymbol *v,uint4 l,uint4 h,bool flow); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:285:78: error: ‘uint4’ has not been declared 285 | ContextSymbol(const string &nm,ContextField *pate,VarnodeSymbol *v,uint4 l,uint4 h,bool flow); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:287:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 287 | uint4 getLow(void) const { return low; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:58:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 58 | uintm id; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:60:30: error: ‘uintm’ has not been declared 60 | SymbolScope(SymbolScope *p,uintm i) { parent = p; id = i; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:288:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 288 | uint4 getHigh(void) const { return high; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:66:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 66 | uintm getId(void) const { return id; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool FuncProto::isDotdotdot() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1356:43: error: ‘flags’ was not declared in this scope 1356 | bool isDotdotdot(void) const { return ((flags&dotdotdot)!=0); } ///< Return \b true if \b this takes a variable number of arguments | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void FuncProto::setDotdotdot(bool)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1357:33: error: ‘flags’ was not declared in this scope 1357 | void setDotdotdot(bool val) { flags = val ? (flags|dotdotdot) : (flags & ~((uint4)dotdotdot)); } ///< Toggle whether \b this takes variable arguments | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:234:3: error: ‘int4’ does not name a type; did you mean ‘int’? 234 | int4 firsttoken; // Message to parser indicating desired object | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1357:79: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 1357 | void setDotdotdot(bool val) { flags = val ? (flags|dotdotdot) : (flags & ~((uint4)dotdotdot)); } ///< Toggle whether \b this takes variable arguments | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1357:85: error: expected ‘)’ before ‘dotdotdot’ 1357 | void setDotdotdot(bool val) { flags = val ? (flags|dotdotdot) : (flags & ~((uint4)dotdotdot)); } ///< Toggle whether \b this takes variable arguments | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1357:77: note: to match this ‘(’ 1357 | void setDotdotdot(bool val) { flags = val ? (flags|dotdotdot) : (flags & ~((uint4)dotdotdot)); } ///< Toggle whether \b this takes variable arguments | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1357:96: error: expected ‘)’ before ‘;’ token 1357 | void setDotdotdot(bool val) { flags = val ? (flags|dotdotdot) : (flags & ~((uint4)dotdotdot)); } ///< Toggle whether \b this takes variable arguments | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1357:67: note: to match this ‘(’ 1357 | void setDotdotdot(bool val) { flags = val ? (flags|dotdotdot) : (flags & ~((uint4)dotdotdot)); } ///< Toggle whether \b this takes variable arguments | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:305:11: error: ‘int4’ does not name a type; did you mean ‘int’? 305 | virtual int4 getSize(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘SymbolScope::SymbolScope(SymbolScope*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:60:53: error: ‘id’ was not declared in this scope; did you mean ‘i’? 60 | SymbolScope(SymbolScope *p,uintm i) { parent = p; id = i; } | ^~ | i /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:237:3: error: ‘int4’ does not name a type; did you mean ‘int’? 237 | int4 lookupIdentifier(const string &nm); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:238:17: error: ‘uint4’ has not been declared 238 | bool runParse(uint4 doctype); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:240:26: error: ‘int4’ has not been declared 240 | CParse(Architecture *g,int4 maxbuf); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool FuncProto::isOverride() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1358:42: error: ‘flags’ was not declared in this scope 1358 | bool isOverride(void) const { return ((flags&is_override)!=0); } ///< Return \b true if \b this is a call site override | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:250:39: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 250 | TypeDeclarator *mergePointer(vector *ptr,TypeDeclarator *dec); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:250:44: error: template argument 1 is invalid 250 | TypeDeclarator *mergePointer(vector *ptr,TypeDeclarator *dec); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:250:44: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:319:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 319 | uint4 reloffset; // Relative offset | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:320:3: error: ‘int4’ does not name a type; did you mean ‘int’? 320 | int4 offsetbase; // Base operand to which offset is relative (-1=constructor start) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:321:3: error: ‘int4’ does not name a type; did you mean ‘int’? 321 | int4 minimumlength; // Minimum size of operand (within instruction tokens) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:255:10: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 255 | vector *newPointer(void); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:255:15: error: template argument 1 is invalid 255 | vector *newPointer(void); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:255:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:256:48: error: ‘uint4’ has not been declared 256 | TypeDeclarator *newArray(TypeDeclarator *dec,uint4 flags,uintb *num); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void FuncProto::setOverride(bool)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1359:32: error: ‘flags’ was not declared in this scope 1359 | void setOverride(bool val) { flags = val ? (flags|is_override) : (flags & ~((uint4)is_override)); } ///< Toggle whether \b this is a call site override | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:256:60: error: ‘uintb’ has not been declared 256 | TypeDeclarator *newArray(TypeDeclarator *dec,uint4 flags,uintb *num); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:322:3: error: ‘int4’ does not name a type; did you mean ‘int’? 322 | int4 hand; // Handle index | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:263:49: error: ‘uintb’ has not been declared 263 | Enumerator *newEnumerator(const string &ident,uintb val); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:326:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 326 | uint4 flags; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:331:34: error: ‘int4’ has not been declared 331 | OperandSymbol(const string &nm,int4 index,Constructor *ct); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:267:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 267 | uint4 convertFlag(string *str); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:270:3: error: ‘int4’ does not name a type; did you mean ‘int’? 270 | int4 lex(void); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:272:41: error: ‘uint4’ has not been declared 272 | bool parseFile(const string &filename,uint4 doctype); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:332:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 332 | uint4 getRelativeOffset(void) const { return reloffset; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:273:31: error: ‘uint4’ has not been declared 273 | bool parseStream(istream &s,uint4 doctype); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1359:80: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 1359 | void setOverride(bool val) { flags = val ? (flags|is_override) : (flags & ~((uint4)is_override)); } ///< Toggle whether \b this is a call site override | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1359:86: error: expected ‘)’ before ‘is_override’ 1359 | void setOverride(bool val) { flags = val ? (flags|is_override) : (flags & ~((uint4)is_override)); } ///< Toggle whether \b this is a call site override | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1359:78: note: to match this ‘(’ 1359 | void setOverride(bool val) { flags = val ? (flags|is_override) : (flags & ~((uint4)is_override)); } ///< Toggle whether \b this is a call site override | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1359:99: error: expected ‘)’ before ‘;’ token 1359 | void setOverride(bool val) { flags = val ? (flags|is_override) : (flags & ~((uint4)is_override)); } ///< Toggle whether \b this is a call site override | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1359:68: note: to match this ‘(’ 1359 | void setOverride(bool val) { flags = val ? (flags|is_override) : (flags & ~((uint4)is_override)); } ///< Toggle whether \b this is a call site override | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:287:42: error: ‘int4’ has not been declared 287 | extern Address parse_machaddr(istream &s,int4 &defaultsize,const TypeFactory &typegrp,bool ignorecolon=false); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:288:41: error: ‘int4’ has not been declared 288 | extern Address parse_varnode(istream &s,int4 &size,Address &pc,uintm &uq,const TypeFactory &typegrp); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:288:64: error: ‘uintm’ has not been declared 288 | extern Address parse_varnode(istream &s,int4 &size,Address &pc,uintm &uq,const TypeFactory &typegrp); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:74:26: error: ‘int4’ has not been declared 74 | SymbolScope *skipScope(int4 i) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:289:36: error: ‘uintm’ has not been declared 289 | extern Address parse_op(istream &s,uintm &uq,const TypeFactory &typegrp); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:333:3: error: ‘int4’ does not name a type; did you mean ‘int’? 333 | int4 getOffsetBase(void) const { return offsetbase; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:89:45: error: ‘int4’ has not been declared 89 | SleighSymbol *findSymbol(const string &nm,int4 skip) const { return findSymbolInternal(skipScope(skip),nm); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:91:28: error: ‘uintm’ has not been declared 91 | SleighSymbol *findSymbol(uintm id) const { return symbollist[id]; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1454:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1454 | int4 effective_extrapop; ///< Working extrapop for the CALL | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:334:3: error: ‘int4’ does not name a type; did you mean ‘int’? 334 | int4 getMinimumLength(void) const { return minimumlength; } | ^~~~ | int src/decompile/cpp/grammar.y:26:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1455:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 1455 | uintb stackoffset; ///< Relative offset of stack-pointer at time of this call | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:337:3: error: ‘int4’ does not name a type; did you mean ‘int’? 337 | int4 getIndex(void) const { return hand; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1456:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1456 | int4 stackPlaceholderSlot; ///< Slot containing temporary stack tracing placeholder (-1 means unused) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:351:11: error: ‘int4’ does not name a type; did you mean ‘int’? 351 | virtual int4 getSize(void) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1457:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1457 | int4 paramshift; ///< Number of input parameters to ignore before prototype | ^~~~ | int src/decompile/cpp/grammar.y:30:10: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? src/decompile/cpp/grammar.y:30:15: error: template argument 1 is invalid src/decompile/cpp/grammar.y:30:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1458:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1458 | int4 matchCallCount; ///< Number of calls to this sub-function within the calling function | ^~~~ | int src/decompile/cpp/grammar.y:35:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:353:42: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 353 | virtual void collectLocalValues(vector &results) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:353:47: error: template argument 1 is invalid 353 | virtual void collectLocalValues(vector &results) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:353:47: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1461:18: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 1461 | mutable vector inputConsume; ///< Number of bytes consumed by sub-function, for each input parameter | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1461:22: error: template argument 1 is invalid 1461 | mutable vector inputConsume; ///< Number of bytes consumed by sub-function, for each input parameter | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1461:22: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:117:3: error: ‘int4’ does not name a type; did you mean ‘int’? 117 | int4 templateid; // Index into the ConstructTpl array | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1467:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1467 | int4 transferLockedInputParam(ProtoParameter *param); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:118:3: error: ‘int4’ does not name a type; did you mean ‘int’? 118 | int4 define_count; // Number of definitions of this named section | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1486:29: error: ‘int4’ has not been declared 1486 | void setEffectiveExtraPop(int4 epop) { effective_extrapop = epop; } ///< Set the specific \e extrapop associate with \b this call site | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:119:3: error: ‘int4’ does not name a type; did you mean ‘int’? 119 | int4 ref_count; // Number of references to this named section | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:121:34: error: ‘int4’ has not been declared 121 | SectionSymbol(const string &nm,int4 id) : SleighSymbol(nm) { templateid=id; define_count=0; ref_count=0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1487:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1487 | int4 getEffectiveExtraPop(void) const { return effective_extrapop; } ///< Get the specific \e extrapop associate with \b this call site | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void OperandSymbol::setVariableLength()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:327:34: error: ‘flags’ was not declared in this scope 327 | void setVariableLength(void) { flags |= variable_len; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:122:3: error: ‘int4’ does not name a type; did you mean ‘int’? 122 | int4 getTemplateId(void) const { return templateid; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1488:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 1488 | uintb getSpacebaseOffset(void) const { return stackoffset; } ///< Get the stack-pointer relative offset at the point of \b this call site | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1489:22: error: ‘int4’ has not been declared 1489 | void setParamshift(int4 val) { paramshift = val; } ///< Set a parameter shift for this call site | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:125:3: error: ‘int4’ does not name a type; did you mean ‘int’? 125 | int4 getDefineCount(void) const { return define_count; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1490:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1490 | int4 getParamshift(void) const { return paramshift; } ///< Get the parameter shift for this call site | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:126:3: error: ‘int4’ does not name a type; did you mean ‘int’? 126 | int4 getRefCount(void) const { return ref_count; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1491:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1491 | int4 getMatchCallCount(void) const { return matchCallCount; } ///< Get the number of calls the caller makes to \b this sub-function | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘bool OperandSymbol::isVariableLength() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:328:48: error: ‘flags’ was not declared in this scope 328 | bool isVariableLength(void) const { return ((flags&variable_len)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1492:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1492 | int4 getStackPlaceholderSlot(void) const { return stackPlaceholderSlot; } ///< Get the slot of the stack-pointer placeholder | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1493:32: error: ‘int4’ has not been declared 1493 | void setStackPlaceholderSlot(int4 slot) { stackPlaceholderSlot = slot; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1509:23: error: ‘int4’ has not been declared 1509 | bool checkInputJoin(int4 slot1,bool ishislot,Varnode *vn1,Varnode *vn2) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1510:20: error: ‘int4’ has not been declared 1510 | void doInputJoin(int4 slot1,bool ishislot); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1522:3: error: ‘int4’ does not name a type; did you mean ‘int’? 1522 | int4 getInputBytesConsumed(int4 slot) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1523:30: error: ‘int4’ has not been declared 1523 | bool setInputBytesConsumed(int4 slot,int4 val) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1523:40: error: ‘int4’ has not been declared 1523 | bool setInputBytesConsumed(int4 slot,int4 val) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1526:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 1526 | uint4 hasEffectTranslate(const Address &addr,int4 size) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void OperandSymbol::setCodeAddress()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:340:31: error: ‘flags’ was not declared in this scope 340 | void setCodeAddress(void) { flags |= code_address; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘SectionSymbol::SectionSymbol(const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:121:64: error: ‘templateid’ was not declared in this scope 121 | SectionSymbol(const string &nm,int4 id) : SleighSymbol(nm) { templateid=id; define_count=0; ref_count=0; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘bool OperandSymbol::isCodeAddress() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:341:45: error: ‘flags’ was not declared in this scope 341 | bool isCodeAddress(void) const { return ((flags&code_address)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void OperandSymbol::setOffsetIrrelevant()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:342:36: error: ‘flags’ was not declared in this scope 342 | void setOffsetIrrelevant(void) { flags |= offset_irrel; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void FuncCallSpecs::setEffectiveExtraPop(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1486:42: error: ‘effective_extrapop’ was not declared in this scope; did you mean ‘setEffectiveExtraPop’? 1486 | void setEffectiveExtraPop(int4 epop) { effective_extrapop = epop; } ///< Set the specific \e extrapop associate with \b this call site | ^~~~~~~~~~~~~~~~~~ | setEffectiveExtraPop /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:121:79: error: ‘define_count’ was not declared in this scope 121 | SectionSymbol(const string &nm,int4 id) : SleighSymbol(nm) { templateid=id; define_count=0; ref_count=0; } | ^~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void FuncCallSpecs::setParamshift(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1489:34: error: ‘paramshift’ was not declared in this scope; did you mean ‘paramShift’? 1489 | void setParamshift(int4 val) { paramshift = val; } ///< Set a parameter shift for this call site | ^~~~~~~~~~ | paramShift src/decompile/cpp/grammar.y: In function ‘int grammarparse()’: src/decompile/cpp/grammar.y:146:73: error: ‘YYSTYPE’ {aka ‘union YYSTYPE’} has no member named ‘i’ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘bool OperandSymbol::isOffsetIrrelevant() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:343:50: error: ‘flags’ was not declared in this scope 343 | bool isOffsetIrrelevant(void) const { return ((flags&offset_irrel)!=0); } | ^~~~~ src/decompile/cpp/grammar.y:157:64: error: ‘YYSTYPE’ {aka ‘union YYSTYPE’} has no member named ‘flags’ src/decompile/cpp/grammar.y:157:82: error: ‘YYSTYPE’ {aka ‘union YYSTYPE’} has no member named ‘i’ src/decompile/cpp/grammar.y:158:66: error: ‘YYSTYPE’ {aka ‘union YYSTYPE’} has no member named ‘i’ src/decompile/cpp/grammar.y:165:63: error: request for member ‘push_back’ in ‘* yyval.YYSTYPE::ptrspec’, which is of non-class type ‘int’ src/decompile/cpp/grammar.y:166:63: error: request for member ‘push_back’ in ‘* yyval.YYSTYPE::ptrspec’, which is of non-class type ‘int’ src/decompile/cpp/grammar.y:166:83: error: ‘YYSTYPE’ {aka ‘union YYSTYPE’} has no member named ‘flags’ src/decompile/cpp/grammar.y:167:62: error: request for member ‘push_back’ in ‘* yyval.YYSTYPE::ptrspec’, which is of non-class type ‘int’ src/decompile/cpp/grammar.y:168:62: error: request for member ‘push_back’ in ‘* yyval.YYSTYPE::ptrspec’, which is of non-class type ‘int’ src/decompile/cpp/grammar.y:168:83: error: ‘YYSTYPE’ {aka ‘union YYSTYPE’} has no member named ‘flags’ src/decompile/cpp/grammar.y:172:14: error: ‘YYSTYPE’ {aka ‘union YYSTYPE’} has no member named ‘flags’ src/decompile/cpp/grammar.y:172:30: error: ‘class CParse’ has no member named ‘convertFlag’ src/decompile/cpp/grammar.y:173:14: error: ‘YYSTYPE’ {aka ‘union YYSTYPE’} has no member named ‘flags’ src/decompile/cpp/grammar.y:173:34: error: ‘YYSTYPE’ {aka ‘union YYSTYPE’} has no member named ‘flags’ src/decompile/cpp/grammar.y:173:49: error: ‘YYSTYPE’ {aka ‘union YYSTYPE’} has no member named ‘flags’ src/decompile/cpp/grammar.y:173:66: error: ‘class CParse’ has no member named ‘convertFlag’ src/decompile/cpp/grammar.y:201:66: error: ‘YYSTYPE’ {aka ‘union YYSTYPE’} has no member named ‘i’ src/decompile/cpp/grammar.y:207:14: error: ‘YYSTYPE’ {aka ‘union YYSTYPE’} has no member named ‘i’ src/decompile/cpp/grammar.y:207:29: error: ‘YYSTYPE’ {aka ‘union YYSTYPE’} has no member named ‘i’ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void OperandSymbol::setMark()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:344:24: error: ‘flags’ was not declared in this scope 344 | void setMark(void) { flags |= marked; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void FuncCallSpecs::setStackPlaceholderSlot(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1493:45: error: ‘stackPlaceholderSlot’ was not declared in this scope; did you mean ‘setStackPlaceholderSlot’? 1493 | void setStackPlaceholderSlot(int4 slot) { stackPlaceholderSlot = slot; | ^~~~~~~~~~~~~~~~~~~~ | setStackPlaceholderSlot /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:121:95: error: ‘ref_count’ was not declared in this scope 121 | SectionSymbol(const string &nm,int4 id) : SleighSymbol(nm) { templateid=id; define_count=0; ref_count=0; } | ^~~~~~~~~ src/decompile/cpp/grammar.y: At global scope: src/decompile/cpp/grammar.y:212:6: error: variable or field ‘set’ declared void /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void OperandSymbol::clearMark()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:345:26: error: ‘flags’ was not declared in this scope 345 | void clearMark(void) { flags &= ~((uint4)marked); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘void FuncCallSpecs::clearStackPlaceholderSlot()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1496:5: error: ‘stackPlaceholderSlot’ was not declared in this scope; did you mean ‘setStackPlaceholderSlot’? 1496 | stackPlaceholderSlot = -1; if (isinputactive) activeinput.freePlaceholderSlot(); } ///< Release the stack-pointer placeholder | ^~~~~~~~~~~~~~~~~~~~ | setStackPlaceholderSlot src/decompile/cpp/grammar.y:212:24: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? src/decompile/cpp/grammar.y:218:6: error: variable or field ‘set’ declared void /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:345:38: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 345 | void clearMark(void) { flags &= ~((uint4)marked); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:345:44: error: expected ‘)’ before ‘marked’ 345 | void clearMark(void) { flags &= ~((uint4)marked); } | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:345:36: note: to match this ‘(’ 345 | void clearMark(void) { flags &= ~((uint4)marked); } | ^ src/decompile/cpp/grammar.y:218:24: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? src/decompile/cpp/grammar.y:218:33: error: expected primary-expression before ‘char’ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void SectionSymbol::incrementDefineCount()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:123:37: error: ‘define_count’ was not declared in this scope 123 | void incrementDefineCount(void) { define_count += 1; } | ^~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In static member function ‘static FuncCallSpecs* FuncCallSpecs::getFspecFromConst(const Address&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1533:91: error: ‘uintp’ was not declared in this scope; did you mean ‘uint’? 1533 | static FuncCallSpecs *getFspecFromConst(const Address &addr) { return (FuncCallSpecs *)(uintp)addr.getOffset(); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1533:97: error: expected ‘;’ before ‘addr’ 1533 | static FuncCallSpecs *getFspecFromConst(const Address &addr) { return (FuncCallSpecs *)(uintp)addr.getOffset(); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1533:102: error: ‘const class Address’ has no member named ‘getOffset’ 1533 | static FuncCallSpecs *getFspecFromConst(const Address &addr) { return (FuncCallSpecs *)(uintp)addr.getOffset(); } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1549:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 1549 | inline const ParamTrial &ParamActive::getTrialForInputVarnode(int4 slot) const | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1549:26: error: ‘const ParamTrial& ParamActive::getTrialForInputVarnode’ is not a static data member of ‘class ParamActive’ 1549 | inline const ParamTrial &ParamActive::getTrialForInputVarnode(int4 slot) const | ^~~~~~~~~~~ src/decompile/cpp/grammar.y:218:43: error: ‘int4’ was not declared in this scope; did you mean ‘int’? /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘bool OperandSymbol::isMarked() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:346:40: error: ‘flags’ was not declared in this scope 346 | bool isMarked(void) const { return ((flags&marked)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1549:63: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 1549 | inline const ParamTrial &ParamActive::getTrialForInputVarnode(int4 slot) const | ^~~~ | int src/decompile/cpp/grammar.y: In constructor ‘GrammarToken::GrammarToken()’: src/decompile/cpp/grammar.y:280:3: error: ‘type’ was not declared in this scope; did you mean ‘wctype’? src/decompile/cpp/grammar.y:281:9: error: ‘union GrammarToken::tokenvalue’ has no member named ‘integer’ src/decompile/cpp/grammar.y: At global scope: src/decompile/cpp/grammar.y:284:27: error: expected constructor, destructor, or type conversion before ‘(’ token /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void SectionSymbol::incrementRefCount()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:124:34: error: ‘ref_count’ was not declared in this scope 124 | void incrementRefCount(void) { ref_count += 1; } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool EffectRecord::operator<(const EffectRecord&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1564:11: error: ‘type’ was not declared in this scope; did you mean ‘wctype’? 1564 | return (type < op2.type); | ^~~~ | wctype /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:132:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 132 | uint4 index; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1564:22: error: ‘const class EffectRecord’ has no member named ‘type’ 1564 | return (type < op2.type); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:136:17: error: ‘uint4’ has not been declared 136 | void setIndex(uint4 ind) { index = ind; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:436:3: error: ‘int4’ does not name a type; did you mean ‘int’? 436 | int4 num; // index of word containing context variable to set | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:137:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 137 | uint4 getIndex(void) const { return index; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:437:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 437 | uintm mask; // Mask off size of variable | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘UserOpSymbol::UserOpSymbol(const string&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:135:63: error: overloaded function with no contextual type information 135 | UserOpSymbol(const string &nm) : SleighSymbol(nm) { index = 0; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void UserOpSymbol::setIndex(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:136:38: error: overloaded function with no contextual type information 136 | void setIndex(uint4 ind) { index = ind; } | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:438:3: error: ‘int4’ does not name a type; did you mean ‘int’? 438 | int4 shift; // Number of bits to shift value into place | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:440:17: error: expected ‘)’ before ‘startbit’ 440 | ContextOp(int4 startbit,int4 endbit,PatternExpression *pe); | ~ ^~~~~~~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:153:11: error: ‘int4’ does not name a type; did you mean ‘int’? 153 | virtual int4 getSize(void) const { return 0; } // Size out of context | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool EffectRecord::operator==(const EffectRecord&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1571:11: error: ‘type’ was not declared in this scope; did you mean ‘wctype’? 1571 | return (type == op2.type); | ^~~~ | wctype /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1571:23: error: ‘const class EffectRecord’ has no member named ‘type’ 1571 | return (type == op2.type); | ^~~~ src/decompile/cpp/grammar.y: In member function ‘void GrammarLexer::bumpLine()’: src/decompile/cpp/grammar.y:306:3: error: ‘curlineno’ was not declared in this scope /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:452:3: error: ‘int4’ does not name a type; did you mean ‘int’? 452 | int4 num; // Index of word containing context commit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:453:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 453 | uintm mask; // mask of bits in word being committed | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:457:33: error: ‘int4’ has not been declared 457 | ContextCommit(TripleSymbol *s,int4 sbit,int4 ebit,bool fl); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:457:43: error: ‘int4’ has not been declared 457 | ContextCommit(TripleSymbol *s,int4 sbit,int4 ebit,bool fl); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:155:42: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 155 | virtual void collectLocalValues(vector &results) const {} | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:155:47: error: template argument 1 is invalid 155 | virtual void collectLocalValues(vector &results) const {} | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:155:47: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh: In member function ‘bool EffectRecord::operator!=(const EffectRecord&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1578:11: error: ‘type’ was not declared in this scope; did you mean ‘wctype’? 1578 | return (type != op2.type); | ^~~~ | wctype /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:1578:23: error: ‘const class EffectRecord’ has no member named ‘type’ 1578 | return (type != op2.type); | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:30, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:18: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:39:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 39 | uint4 type; ///< The properties associated with the comment | ^~~~~ | uint src/decompile/cpp/grammar.y:307:3: error: ‘bufstart’ was not declared in this scope; did you mean ‘start’? /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:40:3: error: ‘int4’ does not name a type; did you mean ‘int’? 40 | int4 uniq; ///< Sub-identifier for uniqueness | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:55:16: error: expected ‘)’ before ‘tp’ 55 | Comment(uint4 tp,const Address &fad,const Address &ad,int4 uq,const string &txt); ///< Constructor | ~ ^~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:59:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 59 | uint4 getType(void) const { return type; } ///< Get the properties associated with the comment | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:62:3: error: ‘int4’ does not name a type; did you mean ‘int’? 62 | int4 getUniq(void) const { return uniq; } ///< Get the sub-sorting index | ^~~~ | int src/decompile/cpp/grammar.y:308:3: error: ‘bufend’ was not declared in this scope /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:66:10: error: ‘uint4’ does not name a type; did you mean ‘uint’? 66 | static uint4 encodeCommentType(const string &name); ///< Convert name string to comment property | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:67:35: error: ‘uint4’ has not been declared 67 | static string decodeCommentType(uint4 val); ///< Convert comment property to string | ^~~~~ src/decompile/cpp/grammar.y: At global scope: src/decompile/cpp/grammar.y:311:1: error: ‘uint4’ does not name a type; did you mean ‘uint’? src/decompile/cpp/grammar.y:543:55: error: ‘uint4’ has not been declared /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:98:45: error: ‘uint4’ has not been declared 98 | virtual void clearType(const Address &fad,uint4 tp)=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:106:27: error: ‘uint4’ has not been declared 106 | virtual void addComment(uint4 tp,const Address &fad, | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:118:38: error: ‘uint4’ has not been declared 118 | virtual bool addCommentNoDuplicate(uint4 tp,const Address &fad,const Address &ad,const string &txt)=0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:215:10: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 215 | vector valuetable; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:215:14: error: template argument 1 is invalid 215 | vector valuetable; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:215:14: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:220:65: error: ‘intb’ was not declared in this scope; did you mean ‘int’? 220 | ValueMapSymbol(const string &nm,PatternValue *pv,const vector &vt) : ValueSymbol(nm,pv) { valuetable=vt; checkTableFill(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:220:69: error: template argument 1 is invalid 220 | ValueMapSymbol(const string &nm,PatternValue *pv,const vector &vt) : ValueSymbol(nm,pv) { valuetable=vt; checkTableFill(); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:220:69: error: template argument 2 is invalid src/decompile/cpp/grammar.y: In member function ‘void GrammarLexer::establishToken(GrammarToken&, int)’: src/decompile/cpp/grammar.y:549:26: error: ‘bufstart’ was not declared in this scope; did you mean ‘start’? In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:250:50: error: ‘uintb’ has not been declared 250 | VarnodeSymbol(const string &nm,AddrSpace *base,uintb offset,int4 size); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:250:63: error: ‘int4’ has not been declared 250 | VarnodeSymbol(const string &nm,AddrSpace *base,uintb offset,int4 size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:255:11: error: ‘int4’ does not name a type; did you mean ‘int’? 255 | virtual int4 getSize(void) const { return fix.size; } | ^~~~ | int src/decompile/cpp/grammar.y:549:36: error: ‘bufend’ was not declared in this scope src/decompile/cpp/grammar.y:551:31: error: request for member ‘back’ in ‘((GrammarLexer*)this)->GrammarLexer::filestack’, which is of non-class type ‘int’ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:258:42: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 258 | virtual void collectLocalValues(vector &results) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:258:47: error: template argument 1 is invalid 258 | virtual void collectLocalValues(vector &results) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:258:47: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:475:3: error: ‘int4’ does not name a type; did you mean ‘int’? 475 | int4 minimumlength; // Minimum length taken up by this constructor in bytes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:162:45: error: ‘uint4’ has not been declared 162 | virtual void clearType(const Address &fad,uint4 tp); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:163:27: error: ‘uint4’ has not been declared 163 | virtual void addComment(uint4 tp,const Address &fad, | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:165:38: error: ‘uint4’ has not been declared 165 | virtual bool addCommentNoDuplicate(uint4 tp,const Address &fad,const Address &ad,const string &txt); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:476:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 476 | uintm id; // Unique id of constructor within subtable | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:267:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 267 | uint4 bitoffset; // least significant bit of range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:477:3: error: ‘int4’ does not name a type; did you mean ‘int’? 477 | int4 firstwhitespace; // Index of first whitespace piece in -printpiece- | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:199:5: error: ‘int4’ does not name a type; did you mean ‘int’? 199 | int4 index; ///< Either the basic block index or -1 for a function header | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:268:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 268 | uint4 numbits; // number of bits in the range | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:271:54: error: ‘uint4’ has not been declared 271 | BitrangeSymbol(const string &nm,VarnodeSymbol *sym,uint4 bitoff,uint4 num) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:271:67: error: ‘uint4’ has not been declared 271 | BitrangeSymbol(const string &nm,VarnodeSymbol *sym,uint4 bitoff,uint4 num) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:478:3: error: ‘int4’ does not name a type; did you mean ‘int’? 478 | int4 flowthruindex; // if >=0 then print only a single operand no markup | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:200:5: error: ‘uint4’ does not name a type; did you mean ‘uint’? 200 | uint4 order; ///< The order index within the basic block | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:274:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 274 | uint4 getBitOffset(void) const { return bitoffset; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:479:3: error: ‘int4’ does not name a type; did you mean ‘int’? 479 | int4 lineno; | ^~~~ | int src/decompile/cpp/grammar.y:551:38: error: ‘curlineno’ was not declared in this scope /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:201:5: error: ‘uint4’ does not name a type; did you mean ‘uint’? 201 | uint4 pos; ///< A final count to guarantee a unique sorting | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:219:20: error: ‘uint4’ has not been declared 219 | void setHeader(uint4 headerType) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:228:19: error: ‘int4’ has not been declared 228 | void setBlock(int4 i,uint4 ord) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:228:26: error: ‘uint4’ has not been declared 228 | void setBlock(int4 i,uint4 ord) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:275:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 275 | uint4 numBits(void) const { return numbits; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:480:3: error: ‘int4’ does not name a type; did you mean ‘int’? 480 | int4 src_index; //source file index | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:489:25: error: ‘int4’ has not been declared 489 | void setMinimumLength(int4 l) { minimumlength = l; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:490:3: error: ‘int4’ does not name a type; did you mean ‘int’? 490 | int4 getMinimumLength(void) const { return minimumlength; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:491:14: error: ‘uintm’ has not been declared 491 | void setId(uintm i) { id = i; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:492:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 492 | uintm getId(void) const { return id; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:493:18: error: ‘int4’ has not been declared 493 | void setLineno(int4 ln) { lineno = ln; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:494:3: error: ‘int4’ does not name a type; did you mean ‘int’? 494 | int4 getLineno(void) const { return lineno; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:495:20: error: ‘int4’ has not been declared 495 | void setSrcIndex(int4 index) {src_index = index;} | ^~~~ src/decompile/cpp/grammar.y:551:48: error: ‘bufstart’ was not declared in this scope; did you mean ‘start’? src/decompile/cpp/grammar.y: In member function ‘void GrammarLexer::clear()’: src/decompile/cpp/grammar.y:557:15: error: request for member ‘clear’ in ‘((GrammarLexer*)this)->GrammarLexer::filenamemap’, which is of non-class type ‘int’ src/decompile/cpp/grammar.y:558:13: error: request for member ‘clear’ in ‘((GrammarLexer*)this)->GrammarLexer::streammap’, which is of non-class type ‘int’ src/decompile/cpp/grammar.y:559:13: error: request for member ‘clear’ in ‘((GrammarLexer*)this)->GrammarLexer::filestack’, which is of non-class type ‘int’ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:496:3: error: ‘int4’ does not name a type; did you mean ‘int’? 496 | int4 getSrcIndex(void) {return src_index;} | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:503:42: error: ‘int4’ has not been declared 503 | void setNamedSection(ConstructTpl *tpl,int4 id); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘BitrangeSymbol::BitrangeSymbol(const string&, VarnodeSymbol*, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:272:38: error: ‘bitoffset’ was not declared in this scope; did you mean ‘bitoff’? 272 | : SleighSymbol(nm) { varsym=sym; bitoffset=bitoff; numbits=num; } | ^~~~~~~~~ | bitoff /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:505:3: error: ‘int4’ does not name a type; did you mean ‘int’? 505 | int4 getNumOperands(void) const { return operands.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:506:29: error: ‘int4’ has not been declared 506 | OperandSymbol *getOperand(int4 i) const { return operands[i]; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:509:31: error: ‘int4’ has not been declared 509 | ConstructTpl *getNamedTempl(int4 secnum) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:510:3: error: ‘int4’ does not name a type; did you mean ‘int’? 510 | int4 getNumSections(void) const { return namedtempl.size(); } | ^~~~ | int src/decompile/cpp/grammar.y:560:3: error: ‘bufstart’ was not declared in this scope; did you mean ‘start’? /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:241:26: error: ‘uint4’ has not been declared 241 | void setupFunctionList(uint4 tp,const Funcdata *fd,const CommentDatabase &db,bool displayUnplaced); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:244:20: error: ‘uint4’ has not been declared 244 | void setupHeader(uint4 headerType); ///< Prepare to walk comments in the header | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:521:36: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 521 | void markSubtableOperands(vector &check) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh: In member function ‘bool CommentSorter::Subsort::operator<(const CommentSorter::Subsort&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:208:24: error: ‘const struct CommentSorter::Subsort’ has no member named ‘index’ 208 | if (index == op2.index) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:521:40: error: template argument 1 is invalid 521 | void markSubtableOperands(vector &check) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:272:56: error: ‘numbits’ was not declared in this scope 272 | : SleighSymbol(nm) { varsym=sym; bitoffset=bitoff; numbits=num; } | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:521:40: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:281:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 281 | uint4 low,high; // into a varnode | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:285:70: error: ‘uint4’ has not been declared 285 | ContextSymbol(const string &nm,ContextField *pate,VarnodeSymbol *v,uint4 l,uint4 h,bool flow); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:285:78: error: ‘uint4’ has not been declared 285 | ContextSymbol(const string &nm,ContextField *pate,VarnodeSymbol *v,uint4 l,uint4 h,bool flow); | ^~~~~ src/decompile/cpp/grammar.y:561:3: error: ‘bufend’ was not declared in this scope /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:287:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 287 | uint4 getLow(void) const { return low; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:522:35: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 522 | void collectLocalExports(vector &results) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:522:40: error: template argument 1 is invalid 522 | void collectLocalExports(vector &results) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:522:40: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:288:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 288 | uint4 getHigh(void) const { return high; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:209:13: error: ‘order’ was not declared in this scope 209 | if (order == op2.order) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:209:26: error: ‘const struct CommentSorter::Subsort’ has no member named ‘order’ 209 | if (order == op2.order) | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:210:19: error: ‘pos’ was not declared in this scope 210 | return (pos < op2.pos); | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:210:29: error: ‘const struct CommentSorter::Subsort’ has no member named ‘pos’ 210 | return (pos < op2.pos); | ^~~ src/decompile/cpp/grammar.y:562:3: error: ‘curlineno’ was not declared in this scope /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void Constructor::setMinimumLength(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:489:35: error: ‘minimumlength’ was not declared in this scope; did you mean ‘setMinimumLength’? 489 | void setMinimumLength(int4 l) { minimumlength = l; } | ^~~~~~~~~~~~~ | setMinimumLength /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:211:17: error: ‘order’ was not declared in this scope 211 | return (order < op2.order); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:211:29: error: ‘const struct CommentSorter::Subsort’ has no member named ‘order’ 211 | return (order < op2.order); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:213:27: error: ‘const struct CommentSorter::Subsort’ has no member named ‘index’ 213 | return (index < op2.index); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh: In member function ‘void CommentSorter::Subsort::setHeader(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:220:16: error: overloaded function with no contextual type information 220 | index = -1; // -1 indicates a header comment | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:305:11: error: ‘int4’ does not name a type; did you mean ‘int’? 305 | virtual int4 getSize(void) const; | ^~~~ | int src/decompile/cpp/grammar.y:563:3: error: ‘state’ was not declared in this scope; did you mean ‘static’? /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void Constructor::setId(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:491:25: error: ‘id’ was not declared in this scope; did you mean ‘i’? 491 | void setId(uintm i) { id = i; } | ^~ | i src/decompile/cpp/grammar.y: At global scope: src/decompile/cpp/grammar.y:569:45: error: ‘int4’ has not been declared src/decompile/cpp/grammar.y:569:55: error: ‘int4’ has not been declared src/decompile/cpp/grammar.y: In member function ‘void GrammarLexer::writeLocation(std::ostream&, int, int)’: src/decompile/cpp/grammar.y:573:29: error: invalid types ‘int[int]’ for array subscript src/decompile/cpp/grammar.y: At global scope: src/decompile/cpp/grammar.y:576:50: error: ‘int4’ has not been declared src/decompile/cpp/grammar.y:576:60: error: ‘int4’ has not been declared /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:221:7: error: ‘order’ was not declared in this scope 221 | order = headerType; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh: In member function ‘void CommentSorter::Subsort::setBlock(int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:229:15: error: overloaded function with no contextual type information 229 | index = i; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:319:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 319 | uint4 reloffset; // Relative offset | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void Constructor::setLineno(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:493:29: error: ‘lineno’ was not declared in this scope; did you mean ‘fileno’? 493 | void setLineno(int4 ln) { lineno = ln; } | ^~~~~~ | fileno /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:320:3: error: ‘int4’ does not name a type; did you mean ‘int’? 320 | int4 offsetbase; // Base operand to which offset is relative (-1=constructor start) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:321:3: error: ‘int4’ does not name a type; did you mean ‘int’? 321 | int4 minimumlength; // Minimum size of operand (within instruction tokens) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/comment.hh:230:7: error: ‘order’ was not declared in this scope; did you mean ‘ord’? 230 | order = ord; | ^~~~~ | ord /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:322:3: error: ‘int4’ does not name a type; did you mean ‘int’? 322 | int4 hand; // Handle index | ^~~~ | int src/decompile/cpp/grammar.y: In member function ‘void GrammarLexer::writeTokenLocation(std::ostream&, int, int)’: src/decompile/cpp/grammar.y:579:13: error: ‘curlineno’ was not declared in this scope /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:326:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 326 | uint4 flags; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:331:34: error: ‘int4’ has not been declared 331 | OperandSymbol(const string &nm,int4 index,Constructor *ct); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:332:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 332 | uint4 getRelativeOffset(void) const { return reloffset; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void Constructor::setSrcIndex(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:495:33: error: ‘src_index’ was not declared in this scope; did you mean ‘rindex’? 495 | void setSrcIndex(int4 index) {src_index = index;} | ^~~~~~~~~ | rindex src/decompile/cpp/grammar.y:580:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:333:3: error: ‘int4’ does not name a type; did you mean ‘int’? 333 | int4 getOffsetBase(void) const { return offsetbase; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:334:3: error: ‘int4’ does not name a type; did you mean ‘int’? 334 | int4 getMinimumLength(void) const { return minimumlength; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:337:3: error: ‘int4’ does not name a type; did you mean ‘int’? 337 | int4 getIndex(void) const { return hand; } | ^~~~ | int src/decompile/cpp/grammar.y:580:16: error: ‘i’ was not declared in this scope; did you mean ‘in’? /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:351:11: error: ‘int4’ does not name a type; did you mean ‘int’? 351 | virtual int4 getSize(void) const; | ^~~~ | int src/decompile/cpp/grammar.y:580:18: error: ‘bufend’ was not declared in this scope /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:353:42: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 353 | virtual void collectLocalValues(vector &results) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:353:47: error: template argument 1 is invalid 353 | virtual void collectLocalValues(vector &results) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:353:47: error: template argument 2 is invalid In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:31, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:18: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:37:12: error: ‘uint1’ was not declared in this scope; did you mean ‘uint’? 37 | vector byteData; ///< UTF8 encoded string data | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:37:17: error: template argument 1 is invalid 37 | vector byteData; ///< UTF8 encoded string data | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:37:17: error: template argument 2 is invalid src/decompile/cpp/grammar.y:583:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void OperandSymbol::setVariableLength()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:327:34: error: ‘flags’ was not declared in this scope 327 | void setVariableLength(void) { flags |= variable_len; } | ^~~~~ src/decompile/cpp/grammar.y:583:16: error: ‘i’ was not declared in this scope; did you mean ‘in’? /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘bool OperandSymbol::isVariableLength() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:328:48: error: ‘flags’ was not declared in this scope 328 | bool isVariableLength(void) const { return ((flags&variable_len)!=0); } | ^~~~~ src/decompile/cpp/grammar.y: In member function ‘void GrammarLexer::pushFile(const string&, std::istream*)’: src/decompile/cpp/grammar.y:591:3: error: ‘int4’ was not declared in this scope; did you mean ‘int’? /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void OperandSymbol::setCodeAddress()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:340:31: error: ‘flags’ was not declared in this scope 340 | void setCodeAddress(void) { flags |= code_address; } | ^~~~~ src/decompile/cpp/grammar.y:592:15: error: ‘filenum’ was not declared in this scope; did you mean ‘fileno’? src/decompile/cpp/grammar.y:594:13: error: request for member ‘push_back’ in ‘((GrammarLexer*)this)->GrammarLexer::filestack’, which is of non-class type ‘int’ src/decompile/cpp/grammar.y: In member function ‘void GrammarLexer::popFile()’: src/decompile/cpp/grammar.y:602:13: error: request for member ‘pop_back’ in ‘((GrammarLexer*)this)->GrammarLexer::filestack’, which is of non-class type ‘int’ src/decompile/cpp/grammar.y:603:17: error: request for member ‘empty’ in ‘((GrammarLexer*)this)->GrammarLexer::filestack’, which is of non-class type ‘int’ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:40:3: error: ‘int4’ does not name a type; did you mean ‘int’? 40 | int4 maximumChars; ///< Maximum characters in a string before truncating | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:42:21: error: expected ‘)’ before ‘max’ 42 | StringManager(int4 max); ///< Constructor | ~ ^~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:543:3: error: ‘int4’ does not name a type; did you mean ‘int’? 543 | int4 num; // Total number of patterns we distinguish | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:545:3: error: ‘int4’ does not name a type; did you mean ‘int’? 545 | int4 startbit,bitsize; // Bits in the stream on which to base the decision | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘bool OperandSymbol::isCodeAddress() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:341:45: error: ‘flags’ was not declared in this scope 341 | bool isCodeAddress(void) const { return ((flags&code_address)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:548:19: error: ‘int4’ has not been declared 548 | double getScore(int4 low,int4 size,bool context); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:548:28: error: ‘int4’ has not been declared 548 | double getScore(int4 low,int4 size,bool context); | ^~~~ src/decompile/cpp/grammar.y:607:3: error: ‘int4’ was not declared in this scope; did you mean ‘int’? /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:549:3: error: ‘int4’ does not name a type; did you mean ‘int’? 549 | int4 getNumFixed(int4 low,int4 size,bool context); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:57:24: error: ‘uint1’ was not declared in this scope; did you mean ‘uint’? 57 | virtual const vector &getStringData(const Address &addr,Datatype *charType,bool &isTrunc)=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:57:29: error: template argument 1 is invalid 57 | virtual const vector &getStringData(const Address &addr,Datatype *charType,bool &isTrunc)=0; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:57:29: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:550:3: error: ‘int4’ does not name a type; did you mean ‘int’? 550 | int4 getMaximumLength(bool context); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:62:39: error: ‘uint1’ does not name a type; did you mean ‘uint’? 62 | static bool hasCharTerminator(const uint1 *buffer,int4 size,int4 charsize); ///< Check for a unicode string terminator | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:62:53: error: ‘int4’ has not been declared 62 | static bool hasCharTerminator(const uint1 *buffer,int4 size,int4 charsize); ///< Check for a unicode string terminator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:62:63: error: ‘int4’ has not been declared 62 | static bool hasCharTerminator(const uint1 *buffer,int4 size,int4 charsize); ///< Check for a unicode string terminator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void OperandSymbol::setOffsetIrrelevant()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:342:36: error: ‘flags’ was not declared in this scope 342 | void setOffsetIrrelevant(void) { flags |= offset_irrel; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:63:10: error: ‘int4’ does not name a type; did you mean ‘int’? 63 | static int4 readUtf16(const uint1 *buf,bool bigend); ///< Read a UTF16 code point from a byte array | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:64:36: error: ‘int4’ has not been declared 64 | static void writeUtf8(ostream &s,int4 codepoint); ///< Write unicode character to stream in UTF8 encoding | ^~~~ src/decompile/cpp/grammar.y:608:18: error: ‘filenum’ was not declared in this scope; did you mean ‘fileno’? /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:65:10: error: ‘int4’ does not name a type; did you mean ‘int’? 65 | static int4 getCodepoint(const uint1 *buf,int4 charsize,bool bigend,int4 &skip); ///< Extract next \e unicode \e codepoint | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:551:32: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 551 | void consistentValues(vector &bins,DisjointPattern *pat); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:551:37: error: template argument 1 is invalid 551 | void consistentValues(vector &bins,DisjointPattern *pat); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:551:37: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:74:3: error: ‘uint1’ does not name a type; did you mean ‘uint’? 74 | uint1 *testBuffer; ///< Temporary buffer for pulling in loadimage bytes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘bool OperandSymbol::isOffsetIrrelevant() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:343:50: error: ‘flags’ was not declared in this scope 343 | bool isOffsetIrrelevant(void) const { return ((flags&offset_irrel)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:75:3: error: ‘int4’ does not name a type; did you mean ‘int’? 75 | int4 checkCharacters(const uint1 *buf,int4 size,int4 charsize) const; ///< Make sure buffer has valid bounded set of unicode | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:77:40: error: ‘int4’ has not been declared 77 | StringManagerUnicode(Architecture *g,int4 max); ///< Constructor | ^~~~ src/decompile/cpp/grammar.y: In member function ‘void GrammarLexer::getNextToken(GrammarToken&)’: src/decompile/cpp/grammar.y:615:3: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:80:24: error: ‘uint1’ was not declared in this scope; did you mean ‘uint’? 80 | virtual const vector &getStringData(const Address &addr,Datatype *charType,bool &isTrunc); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:80:29: error: template argument 1 is invalid 80 | virtual const vector &getStringData(const Address &addr,Datatype *charType,bool &isTrunc); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:80:29: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:81:32: error: ‘uint1’ has not been declared 81 | bool writeUnicode(ostream &s,uint1 *buffer,int4 size,int4 charsize); ///< Translate/copy unicode to UTF8 | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:81:46: error: ‘int4’ has not been declared 81 | bool writeUnicode(ostream &s,uint1 *buffer,int4 size,int4 charsize); ///< Translate/copy unicode to UTF8 | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/stringmanage.hh:81:56: error: ‘int4’ has not been declared 81 | bool writeUnicode(ostream &s,uint1 *buffer,int4 size,int4 charsize); ///< Translate/copy unicode to UTF8 | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void OperandSymbol::setMark()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:344:24: error: ‘flags’ was not declared in this scope 344 | void setMark(void) { flags |= marked; } | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:32, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:18: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:39:3: error: ‘int4’ does not name a type; did you mean ‘int’? 39 | int4 useropindex; ///< Index passed in the CALLOTHER op | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:42:48: error: ‘int4’ has not been declared 42 | UserPcodeOp(Architecture *g,const string &nm,int4 ind) { | ^~~~ src/decompile/cpp/grammar.y:623:28: error: ‘bufend’ was not declared in this scope /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:45:3: error: ‘int4’ does not name a type; did you mean ‘int’? 45 | int4 getIndex(void) const { return useropindex; } ///< Get the constant id of the op | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void OperandSymbol::clearMark()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:345:26: error: ‘flags’ was not declared in this scope 345 | void clearMark(void) { flags &= ~((uint4)marked); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:579:3: error: ‘int4’ does not name a type; did you mean ‘int’? 579 | int4 getNumConstructors(void) const { return construct.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:580:31: error: ‘uintm’ has not been declared 580 | Constructor *getConstructor(uintm id) const { return construct[id]; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:345:38: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 345 | void clearMark(void) { flags &= ~((uint4)marked); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:345:44: error: expected ‘)’ before ‘marked’ 345 | void clearMark(void) { flags &= ~((uint4)marked); } | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:345:36: note: to match this ‘(’ 345 | void clearMark(void) { flags &= ~((uint4)marked); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:585:11: error: ‘int4’ does not name a type; did you mean ‘int’? 585 | virtual int4 getSize(void) const { return -1; } | ^~~~ | int src/decompile/cpp/grammar.y:624:21: error: ‘buffersize’ was not declared in this scope; did you mean ‘buffer’? /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh: In constructor ‘UserPcodeOp::UserPcodeOp(Architecture*, const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:43:16: error: ‘useropindex’ was not declared in this scope 43 | name = nm; useropindex = ind; glb = g; } ///< Construct from name and index | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:72:57: error: ‘int4’ has not been declared 72 | UnspecializedPcodeOp(Architecture *g,const string &nm,int4 ind) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘bool OperandSymbol::isMarked() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:346:40: error: ‘flags’ was not declared in this scope 346 | bool isMarked(void) const { return ((flags&marked)!=0); } | ^~~~~ src/decompile/cpp/grammar.y:626:2: error: ‘tok’ was not declared in this scope /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:588:42: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 588 | virtual void collectLocalValues(vector &results) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:588:47: error: template argument 1 is invalid 588 | virtual void collectLocalValues(vector &results) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:588:47: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:84:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 84 | uint4 injectid; ///< The id of the injection object (to which this op maps) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:86:51: error: ‘int4’ has not been declared 86 | InjectedUserOp(Architecture *g,const string &nm,int4 ind,int4 injid) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:86:60: error: ‘int4’ has not been declared 86 | InjectedUserOp(Architecture *g,const string &nm,int4 ind,int4 injid) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:88:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 88 | uint4 getInjectId(void) const { return injectid; } ///< Get the id of the injection object | ^~~~~ | uint src/decompile/cpp/grammar.y:638:5: error: ‘tok’ was not declared in this scope /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:596:3: error: ‘int4’ does not name a type; did you mean ‘int’? 596 | int4 index; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:600:32: error: ‘int4’ has not been declared 600 | MacroSymbol(const string &nm,int4 i) : SleighSymbol(nm) { index = i; construct = (ConstructTpl *)0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:436:3: error: ‘int4’ does not name a type; did you mean ‘int’? 436 | int4 num; // index of word containing context variable to set | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:601:3: error: ‘int4’ does not name a type; did you mean ‘int’? 601 | int4 getIndex(void) const { return index; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:437:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 437 | uintm mask; // Mask off size of variable | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh: In constructor ‘InjectedUserOp::InjectedUserOp(Architecture*, const string&, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:87:31: error: ‘injectid’ was not declared in this scope; did you mean ‘injid’? 87 | : UserPcodeOp(g,nm,ind) { injectid = injid; } ///< Constructor | ^~~~~~~~ | injid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:605:3: error: ‘int4’ does not name a type; did you mean ‘int’? 605 | int4 getNumOperands(void) const { return operands.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:606:29: error: ‘int4’ has not been declared 606 | OperandSymbol *getOperand(int4 i) const { return operands[i]; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:438:3: error: ‘int4’ does not name a type; did you mean ‘int’? 438 | int4 shift; // Number of bits to shift value into place | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:440:17: error: expected ‘)’ before ‘startbit’ 440 | ContextOp(int4 startbit,int4 endbit,PatternExpression *pe); | ~ ^~~~~~~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:101:47: error: ‘int4’ has not been declared 101 | static string appendSize(const string &base,int4 size); ///< Append a suffix to a string encoding a specific size | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:103:47: error: ‘int4’ has not been declared 103 | VolatileOp(Architecture *g,const string &nm,int4 ind) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:114:51: error: ‘int4’ has not been declared 114 | VolatileReadOp(Architecture *g,const string &nm,int4 ind) | ^~~~ src/decompile/cpp/grammar.y:638:11: error: ‘moveState’ was not declared in this scope /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:128:52: error: ‘int4’ has not been declared 128 | VolatileWriteOp(Architecture *g,const string &nm,int4 ind) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:146:50: error: ‘int4’ has not been declared 146 | TermPatternOp(Architecture *g,const string &nm,int4 ind) : UserPcodeOp(g,nm,ind) {} ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:452:3: error: ‘int4’ does not name a type; did you mean ‘int’? 452 | int4 num; // Index of word containing context commit | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘MacroSymbol::MacroSymbol(const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:600:69: error: overloaded function with no contextual type information 600 | MacroSymbol(const string &nm,int4 i) : SleighSymbol(nm) { index = i; construct = (ConstructTpl *)0; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:147:11: error: ‘int4’ does not name a type; did you mean ‘int’? 147 | virtual int4 getNumVariableTerms(void) const=0; ///< Get the number of input Varnodes expected | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:453:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 453 | uintm mask; // mask of bits in word being committed | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:457:33: error: ‘int4’ has not been declared 457 | ContextCommit(TripleSymbol *s,int4 sbit,int4 ebit,bool fl); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:457:43: error: ‘int4’ has not been declared 457 | ContextCommit(TripleSymbol *s,int4 sbit,int4 ebit,bool fl); | ^~~~ src/decompile/cpp/grammar.y:640:11: error: ‘tok’ was not declared in this scope /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:612:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 612 | uint4 index; // Local 1 up index of label | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:161:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 161 | virtual uintb execute(const vector &input) const=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:614:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 614 | uint4 refcount; // Number of references to this label | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:616:32: error: ‘uint4’ has not been declared 616 | LabelSymbol(const string &nm,uint4 i) : SleighSymbol(nm) { index = i; refcount = 0; isplaced=false; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:171:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 171 | uintb val; ///< A possible constant second input | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:617:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 617 | uint4 getIndex(void) const { return index; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:172:3: error: ‘int4’ does not name a type; did you mean ‘int’? 172 | int4 slot; ///< Slot to follow | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:619:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 619 | uint4 getRefCount(void) const { return refcount; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:201:3: error: ‘int4’ does not name a type; did you mean ‘int’? 201 | int4 injectId; ///< Id of InjectPayload that emulates \b this operation | ^~~~ | int src/decompile/cpp/grammar.y:642:12: error: ‘bufend’ was not declared in this scope /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘LabelSymbol::LabelSymbol(const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:616:70: error: overloaded function with no contextual type information 616 | LabelSymbol(const string &nm,uint4 i) : SleighSymbol(nm) { index = i; refcount = 0; isplaced=false; } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:202:3: error: ‘int4’ does not name a type; did you mean ‘int’? 202 | int4 baseinsize; ///< The size in bytes of the \e base or \e segment value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:203:3: error: ‘int4’ does not name a type; did you mean ‘int’? 203 | int4 innerinsize; ///< The size in bytes of the \e near pointer value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:207:46: error: ‘int4’ has not been declared 207 | SegmentOp(Architecture *g,const string &nm,int4 ind); ///< Constructor | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:32, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:18: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:210:3: error: ‘int4’ does not name a type; did you mean ‘int’? 210 | int4 getBaseSize(void) const { return baseinsize; } ///< Get size in bytes of the base/segment value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:211:3: error: ‘int4’ does not name a type; did you mean ‘int’? 211 | int4 getInnerSize(void) const { return innerinsize; } ///< Get size in bytes of the near value | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:213:11: error: ‘int4’ does not name a type; did you mean ‘int’? 213 | virtual int4 getNumVariableTerms(void) const { if (baseinsize!=0) return 2; return 1; } | ^~~~ | int src/decompile/cpp/grammar.y:643:11: error: ‘moveState’ was not declared in this scope /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:616:73: error: ‘refcount’ was not declared in this scope 616 | LabelSymbol(const string &nm,uint4 i) : SleighSymbol(nm) { index = i; refcount = 0; isplaced=false; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:215:11: error: ‘uintb’ does not name a type; did you mean ‘uint’? 215 | virtual uintb execute(const vector &input) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:230:3: error: ‘int4’ does not name a type; did you mean ‘int’? 230 | int4 index2case; ///< Id of p-code script performing index2case (== -1 if no script and index==case) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:231:3: error: ‘int4’ does not name a type; did you mean ‘int’? 231 | int4 index2addr; ///< Id of p-code script performing index2addr (must be present) | ^~~~ | int src/decompile/cpp/grammar.y:644:20: error: ‘state’ was not declared in this scope; did you mean ‘static’? /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:232:3: error: ‘int4’ does not name a type; did you mean ‘int’? 232 | int4 defaultaddr; ///< Id of p-code script performing calculation of default address (must be present) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:233:3: error: ‘int4’ does not name a type; did you mean ‘int’? 233 | int4 calcsize; ///< Id of p-code script that calculates number of indices (== -1 if no script) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void LabelSymbol::incrementRefCount()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:618:34: error: ‘refcount’ was not declared in this scope 618 | void incrementRefCount(void) { refcount += 1; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:236:3: error: ‘int4’ does not name a type; did you mean ‘int’? 236 | int4 getIndex2Case(void) const { return index2case; } ///< Get the injection id for \b index2case | ^~~~ | int src/decompile/cpp/grammar.y: In member function ‘virtual Datatype* PointerModifier::modType(Datatype*, const TypeDeclarator*, Architecture*) const’: src/decompile/cpp/grammar.y:655:3: error: ‘int4’ was not declared in this scope; did you mean ‘int’? /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:237:3: error: ‘int4’ does not name a type; did you mean ‘int’? 237 | int4 getIndex2Addr(void) const { return index2addr; } ///< Get the injection id for \b index2addr | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:39:5: error: ‘int4’ does not name a type; did you mean ‘int’? 39 | int4 index(const string filename); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:475:3: error: ‘int4’ does not name a type; did you mean ‘int’? 475 | int4 minimumlength; // Minimum length taken up by this constructor in bytes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:238:3: error: ‘int4’ does not name a type; did you mean ‘int’? 238 | int4 getDefaultAddr(void) const { return defaultaddr; } ///< Get the injection id for \b defaultaddr | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:40:9: error: ‘int4’ does not name a type; did you mean ‘int’? 40 | int4 getIndex(const string); ///< get the index of a file. Error if the file is not in the index. | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:41:28: error: ‘int4’ has not been declared 41 | string getFilename(int4); ///< get the filename corresponding to an index | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:476:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 476 | uintm id; // Unique id of constructor within subtable | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:239:3: error: ‘int4’ does not name a type; did you mean ‘int’? 239 | int4 getCalcSize(void) const { return calcsize; } ///< Get the injection id for \b calcsize | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:477:3: error: ‘int4’ does not name a type; did you mean ‘int’? 477 | int4 firstwhitespace; // Index of first whitespace piece in -printpiece- | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:46:9: error: ‘int4’ does not name a type; did you mean ‘int’? 46 | int4 leastUnusedIndex; ///< one-up count for assigning indices to files | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:478:3: error: ‘int4’ does not name a type; did you mean ‘int’? 478 | int4 flowthruindex; // if >=0 then print only a single operand no markup | ^~~~ | int src/decompile/cpp/grammar.y:657:40: error: ‘addrsize’ was not declared in this scope; did you mean ‘dysize’? src/decompile/cpp/grammar.y:657:82: error: ‘class AddrSpace’ has no member named ‘getWordSize’ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:479:3: error: ‘int4’ does not name a type; did you mean ‘int’? 479 | int4 lineno; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:47:13: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 47 | map indexToFile; ///< map from indices to files | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:47:25: error: template argument 1 is invalid 47 | map indexToFile; ///< map from indices to files | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:47:25: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:47:25: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:480:3: error: ‘int4’ does not name a type; did you mean ‘int’? 480 | int4 src_index; //source file index | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:489:25: error: ‘int4’ has not been declared 489 | void setMinimumLength(int4 l) { minimumlength = l; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:490:3: error: ‘int4’ does not name a type; did you mean ‘int’? 490 | int4 getMinimumLength(void) const { return minimumlength; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:491:14: error: ‘uintm’ has not been declared 491 | void setId(uintm i) { id = i; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:48:21: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 48 | map fileToIndex; ///< map from files to indices | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:48:25: error: template argument 2 is invalid 48 | map fileToIndex; ///< map from files to indices | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:48:25: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:492:3: error: ‘uintm’ does not name a type; did you mean ‘uint’? 492 | uintm getId(void) const { return id; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:493:18: error: ‘int4’ has not been declared 493 | void setLineno(int4 ln) { lineno = ln; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:494:3: error: ‘int4’ does not name a type; did you mean ‘int’? 494 | int4 getLineno(void) const { return lineno; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:495:20: error: ‘int4’ has not been declared 495 | void setSrcIndex(int4 index) {src_index = index;} | ^~~~ src/decompile/cpp/grammar.y: In member function ‘virtual Datatype* ArrayModifier::modType(Datatype*, const TypeDeclarator*, Architecture*) const’: src/decompile/cpp/grammar.y:664:48: error: ‘arraysize’ was not declared in this scope /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:496:3: error: ‘int4’ does not name a type; did you mean ‘int’? 496 | int4 getSrcIndex(void) {return src_index;} | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:503:42: error: ‘int4’ has not been declared 503 | void setNamedSection(ConstructTpl *tpl,int4 id); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:505:3: error: ‘int4’ does not name a type; did you mean ‘int’? 505 | int4 getNumOperands(void) const { return operands.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:506:29: error: ‘int4’ has not been declared 506 | OperandSymbol *getOperand(int4 i) const { return operands[i]; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:509:31: error: ‘int4’ has not been declared 509 | ConstructTpl *getNamedTempl(int4 secnum) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:510:3: error: ‘int4’ does not name a type; did you mean ‘int’? 510 | int4 getNumSections(void) const { return namedtempl.size(); } | ^~~~ | int src/decompile/cpp/grammar.y: In constructor ‘FunctionModifier::FunctionModifier(const std::vector*, bool)’: src/decompile/cpp/grammar.y:674:15: error: ‘class TypeDeclarator’ has no member named ‘numModifiers’ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:521:36: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 521 | void markSubtableOperands(vector &check) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:521:40: error: template argument 1 is invalid 521 | void markSubtableOperands(vector &check) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:521:40: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh: In constructor ‘SourceFileIndexer::SourceFileIndexer()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:36:26: error: ‘leastUnusedIndex’ was not declared in this scope 36 | SourceFileIndexer() {leastUnusedIndex = 0;} | ^~~~~~~~~~~~~~~~ src/decompile/cpp/grammar.y: In member function ‘void FunctionModifier::getInTypes(std::vector&, Architecture*) const’: src/decompile/cpp/grammar.y:686:7: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:58:16: error: ‘int4’ does not name a type; did you mean ‘int’? 58 | static const int4 SLA_FORMAT_VERSION; ///< Current version of the .sla file read/written by SleighBash | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:522:35: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 522 | void collectLocalExports(vector &results) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:522:40: error: template argument 1 is invalid 522 | void collectLocalExports(vector &results) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:522:40: error: template argument 2 is invalid src/decompile/cpp/grammar.y:686:17: error: ‘i’ was not declared in this scope src/decompile/cpp/grammar.y: In member function ‘void FunctionModifier::getInNames(std::vector >&) const’: src/decompile/cpp/grammar.y:695:7: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:262:3: error: ‘int4’ does not name a type; did you mean ‘int’? 262 | int4 numSegmentOps(void) const { return segmentop.size(); } ///< Number of segment operations supported | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:267:22: error: ‘int4’ has not been declared 267 | UserPcodeOp *getOp(int4 i) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/userop.hh:277:27: error: ‘int4’ has not been declared 277 | SegmentOp *getSegmentOp(int4 i) const { | ^~~~ src/decompile/cpp/grammar.y:695:17: error: ‘i’ was not declared in this scope /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void Constructor::setMinimumLength(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:489:35: error: ‘minimumlength’ was not declared in this scope; did you mean ‘setMinimumLength’? 489 | void setMinimumLength(int4 l) { minimumlength = l; } | ^~~~~~~~~~~~~ | setMinimumLength src/decompile/cpp/grammar.y: In member function ‘virtual bool FunctionModifier::isValid() const’: src/decompile/cpp/grammar.y:702:7: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void Constructor::setId(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:491:25: error: ‘id’ was not declared in this scope; did you mean ‘i’? 491 | void setId(uintm i) { id = i; } | ^~ | i /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:64:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 64 | uint4 maxdelayslotbytes; ///< Maximum number of bytes in a delay-slot directive | ^~~~~ | uint src/decompile/cpp/grammar.y:702:17: error: ‘i’ was not declared in this scope /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:65:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 65 | uint4 unique_allocatemask; ///< Bits that are guaranteed to be zero in the unique allocation scheme | ^~~~~ | uint src/decompile/cpp/grammar.y:705:15: error: ‘class TypeDeclarator’ has no member named ‘numModifiers’ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:66:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 66 | uint4 numSections; ///< Number of \e named sections | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void Constructor::setLineno(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:493:29: error: ‘lineno’ was not declared in this scope; did you mean ‘fileno’? 493 | void setLineno(int4 ln) { lineno = ln; } | ^~~~~~ | fileno /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:72:16: error: ‘uintb’ does not name a type; did you mean ‘uint’? 72 | static const uintb MAX_UNIQUE_SIZE; ///< Maximum size of a varnode in the unique space (should match value in SleighBase.java) | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:76:61: error: ‘uintb’ has not been declared 76 | virtual void addRegister(const string &nm,AddrSpace *base,uintb offset,int4 size); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:76:74: error: ‘int4’ has not been declared 76 | virtual void addRegister(const string &nm,AddrSpace *base,uintb offset,int4 size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:78:50: error: ‘uintb’ has not been declared 78 | virtual string getRegisterName(AddrSpace *base,uintb off,int4 size) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:78:60: error: ‘int4’ has not been declared 78 | virtual string getRegisterName(AddrSpace *base,uintb off,int4 size) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:83:28: error: ‘uintm’ has not been declared 83 | SleighSymbol *findSymbol(uintm id) const { return symtab.findSymbol(id); } ///< Find a specific SLEIGH symbol by id | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:36:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 36 | uintb calling_index; ///< Index of instruction containing relative offset | ^~~~~ | uint src/decompile/cpp/grammar.y: In destructor ‘TypeDeclarator::~TypeDeclarator()’: src/decompile/cpp/grammar.y:734:7: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:46:3: error: ‘int4’ does not name a type; did you mean ‘int’? 46 | int4 isize; ///< Number of input Varnodes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void Constructor::setSrcIndex(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:495:33: error: ‘src_index’ was not declared in this scope; did you mean ‘rindex’? 495 | void setSrcIndex(int4 index) {src_index = index;} | ^~~~~~~~~ | rindex src/decompile/cpp/grammar.y:734:17: error: ‘i’ was not declared in this scope src/decompile/cpp/grammar.y: In member function ‘bool TypeDeclarator::getPrototype(PrototypePieces&, Architecture*) const’: src/decompile/cpp/grammar.y:769:41: error: ‘class TypeModifier’ has no member named ‘getType’ src/decompile/cpp/grammar.y: In member function ‘bool TypeDeclarator::isValid() const’: src/decompile/cpp/grammar.y:799:3: error: ‘int4’ was not declared in this scope; did you mean ‘int’? src/decompile/cpp/grammar.y:800:8: error: ‘flags’ was not declared in this scope src/decompile/cpp/grammar.y:801:14: error: overloaded function with no contextual type information In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:34, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:18: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:47:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 47 | uint4 type; ///< Type of new Varnode | ^~~~~ | uint src/decompile/cpp/grammar.y:802:8: error: ‘flags’ was not declared in this scope src/decompile/cpp/grammar.y:803:14: error: overloaded function with no contextual type information /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:62:10: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 62 | vector labels; ///< Locations of labels | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:62:15: error: template argument 1 is invalid 62 | vector labels; ///< Locations of labels | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:62:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:63:27: error: ‘uint4’ has not been declared 63 | VarnodeData *expandPool(uint4 size); ///< Expand the memory pool | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:48:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 48 | uint4 flags; ///< Boolean properties of the placeholder | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:72:33: error: ‘uint4’ has not been declared 72 | VarnodeData *allocateVarnodes(uint4 size) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:93:17: error: ‘uint4’ has not been declared 93 | void addLabel(uint4 id); ///< Attach a label to the \e next p-code instruction | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:49:3: error: ‘int4’ does not name a type; did you mean ‘int’? 49 | int4 byteSize; ///< Size of the lane Varnode in bytes | ^~~~ | int src/decompile/cpp/grammar.y:804:8: error: ‘flags’ was not declared in this scope src/decompile/cpp/grammar.y:805:14: error: overloaded function with no contextual type information /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:50:3: error: ‘int4’ does not name a type; did you mean ‘int’? 50 | int4 bitSize; ///< Size of the logical value in bits | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:108:3: error: ‘int4’ does not name a type; did you mean ‘int’? 108 | int4 minimumreuse; ///< Can call getParserContext this many times, before a ParserContext is reused | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:51:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 51 | uintb val; ///< Value of constant or (bit) position within the original big Varnode | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:54:19: error: ‘uint4’ has not been declared 54 | void initialize(uint4 tp,Varnode *v,int4 bits,int4 bytes,uintb value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:54:39: error: ‘int4’ has not been declared 54 | void initialize(uint4 tp,Varnode *v,int4 bits,int4 bytes,uintb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:54:49: error: ‘int4’ has not been declared 54 | void initialize(uint4 tp,Varnode *v,int4 bits,int4 bytes,uintb value); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:54:60: error: ‘uintb’ has not been declared 54 | void initialize(uint4 tp,Varnode *v,int4 bits,int4 bytes,uintb value); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:109:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 109 | uint4 mask; ///< Size of the hashtable in form 2^n-1 | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:111:3: error: ‘int4’ does not name a type; did you mean ‘int’? 111 | int4 nextfree; ///< Current end/beginning of circular list | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:113:19: error: ‘int4’ has not been declared 113 | void initialize(int4 min,int4 hashsize); ///< Initialize the hash-table of ParserContexts | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:113:28: error: ‘int4’ has not been declared 113 | void initialize(int4 min,int4 hashsize); ///< Initialize the hash-table of ParserContexts | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:116:59: error: ‘int4’ has not been declared 116 | DisassemblyCache(ContextCache *ccache,AddrSpace *cspace,int4 cachesize,int4 windowsize); ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:116:74: error: ‘int4’ has not been declared 116 | DisassemblyCache(ContextCache *ccache,AddrSpace *cspace,int4 cachesize,int4 windowsize); ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:76:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 76 | uint4 special; ///< Special handling code when creating | ^~~~~ | uint src/decompile/cpp/grammar.y:806:8: error: ‘flags’ was not declared in this scope src/decompile/cpp/grammar.y:807:14: error: overloaded function with no contextual type information /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:132:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 132 | uintb uniquemask; ///< Mask of address bits to use to uniquify temporary registers | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:543:3: error: ‘int4’ does not name a type; did you mean ‘int’? 543 | int4 num; // Total number of patterns we distinguish | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:133:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 133 | uintb uniqueoffset; ///< Uniquifier bits for \b this instruction | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:136:35: error: ‘int4’ has not been declared 136 | void buildEmpty(Constructor *ct,int4 secnum); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:141:106: error: ‘uint4’ has not been declared 141 | SleighBuilder(ParserWalker *w,DisassemblyCache *dcache,PcodeCacher *pc,AddrSpace *cspc,AddrSpace *uspc,uint4 umask); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:142:39: error: ‘int4’ has not been declared 142 | virtual void appendBuild(OpTpl *bld,int4 secnum); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:145:44: error: ‘int4’ has not been declared 145 | virtual void appendCrossBuild(OpTpl *bld,int4 secnum); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:166:52: error: ‘int4’ has not been declared 166 | ParserContext *obtainContext(const Address &addr,int4 state) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:545:3: error: ‘int4’ does not name a type; did you mean ‘int’? 545 | int4 startbit,bitsize; // Bits in the stream on which to base the decision | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:175:51: error: ‘int4’ has not been declared 175 | virtual void registerContext(const string &name,int4 sbit,int4 ebit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:175:61: error: ‘int4’ has not been declared 175 | virtual void registerContext(const string &name,int4 sbit,int4 ebit); | ^~~~ src/decompile/cpp/grammar.y:808:8: error: ‘flags’ was not declared in this scope /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:548:19: error: ‘int4’ has not been declared 548 | double getScore(int4 low,int4 size,bool context); | ^~~~ src/decompile/cpp/grammar.y:809:14: error: overloaded function with no contextual type information /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:176:51: error: ‘uintm’ has not been declared 176 | virtual void setContextDefault(const string &nm,uintm val); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:548:28: error: ‘int4’ has not been declared 548 | double getScore(int4 low,int4 size,bool context); | ^~~~ src/decompile/cpp/grammar.y:810:13: error: invalid operands of types ‘’ and ‘int’ to binary ‘operator>’ src/decompile/cpp/grammar.y:813:11: error: overloaded function with no contextual type information /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:549:3: error: ‘int4’ does not name a type; did you mean ‘int’? 549 | int4 getNumFixed(int4 low,int4 size,bool context); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:178:11: error: ‘int4’ does not name a type; did you mean ‘int’? 178 | virtual int4 instructionLength(const Address &baseaddr) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:84:23: error: ‘int4’ has not been declared 84 | TransformVar *getIn(int4 i) const { return input[i]; } ///< Get the i-th input placeholder variable for \b this | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:550:3: error: ‘int4’ does not name a type; did you mean ‘int’? 550 | int4 getMaximumLength(bool context); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:179:11: error: ‘int4’ does not name a type; did you mean ‘int’? 179 | virtual int4 oneInstruction(PcodeEmit &emit,const Address &baseaddr) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:180:11: error: ‘int4’ does not name a type; did you mean ‘int’? 180 | virtual int4 printAssembly(AssemblyEmit &emit,const Address &baseaddr) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:93:5: error: ‘int4’ does not name a type; did you mean ‘int’? 93 | int4 size; ///< Current lane size | ^~~~ | int src/decompile/cpp/grammar.y:814:8: error: ‘flags’ was not declared in this scope /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:94:5: error: ‘uint4’ does not name a type; did you mean ‘uint’? 94 | uint4 mask; ///< Collection being iterated over | ^~~~~ | uint src/decompile/cpp/grammar.y:815:14: error: overloaded function with no contextual type information /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:551:32: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 551 | void consistentValues(vector &bins,DisjointPattern *pat); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:551:37: error: template argument 1 is invalid 551 | void consistentValues(vector &bins,DisjointPattern *pat); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:551:37: error: template argument 2 is invalid In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:52:3: error: ‘int4’ does not name a type; did you mean ‘int’? 52 | int4 size; ///< Size of address bus in bits | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:100:5: error: ‘int4’ does not name a type; did you mean ‘int’? 100 | int4 operator*(void) const { return size; } ///< Dereference operator | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:107:3: error: ‘int4’ does not name a type; did you mean ‘int’? 107 | int4 wholeSize; ///< Size of the whole register | ^~~~ | int src/decompile/cpp/grammar.y:816:8: error: ‘flags’ was not declared in this scope src/decompile/cpp/grammar.y:817:14: error: overloaded function with no contextual type information /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:108:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 108 | uint4 sizeBitMask; ///< A 1-bit for every permissible lane size | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:111:21: error: expected ‘)’ before ‘sz’ 111 | LanedRegister(int4 sz,uint4 mask) { wholeSize = sz; sizeBitMask = mask; } ///< Constructor | ~ ^~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:113:3: error: ‘int4’ does not name a type; did you mean ‘int’? 113 | int4 getWholeSize(void) const { return wholeSize; } ///< Get the size in bytes of the whole laned register | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:114:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 114 | uint4 getSizeBitMask(void) const { return sizeBitMask; } ///< Get the bit mask of possible lane sizes | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:115:20: error: ‘int4’ has not been declared 115 | void addLaneSize(int4 size) { sizeBitMask |= ((uint4)1 << size); } ///< Add a new \e size to the allowed list | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:116:20: error: ‘int4’ has not been declared 116 | bool allowedLane(int4 size) const { return (((sizeBitMask >> size) & 1) != 0); } ///< Is \e size among the allowed lane sizes | ^~~~ src/decompile/cpp/grammar.y:818:8: error: ‘flags’ was not declared in this scope src/decompile/cpp/grammar.y:819:14: error: overloaded function with no contextual type information src/decompile/cpp/grammar.y:820:13: error: invalid operands of types ‘’ and ‘int’ to binary ‘operator>’ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh: In constructor ‘LanedRegister::LanedIterator::LanedIterator(const LanedRegister*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:97:50: error: ‘size’ was not declared in this scope 97 | LanedIterator(const LanedRegister *lanedR) { size = 0; mask = lanedR->sizeBitMask; normalize(); } ///< Constructor | ^~~~ src/decompile/cpp/grammar.y:823:7: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:579:3: error: ‘int4’ does not name a type; did you mean ‘int’? 579 | int4 getNumConstructors(void) const { return construct.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:580:31: error: ‘uintm’ has not been declared 580 | Constructor *getConstructor(uintm id) const { return construct[id]; } | ^~~~~ src/decompile/cpp/grammar.y:823:17: error: ‘i’ was not declared in this scope src/decompile/cpp/grammar.y: At global scope: src/decompile/cpp/grammar.y:830:32: error: ‘int4’ has not been declared src/decompile/cpp/grammar.y: In constructor ‘CParse::CParse(Architecture*, int)’: src/decompile/cpp/grammar.y:831:5: error: no matching function for call to ‘GrammarLexer::GrammarLexer(int&)’ In file included from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:67:7: note: candidate: ‘GrammarLexer::GrammarLexer()’ 67 | class GrammarLexer { | ^~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:67:7: note: candidate expects 0 arguments, 1 provided /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:97:60: error: ‘mask’ was not declared in this scope 97 | LanedIterator(const LanedRegister *lanedR) { size = 0; mask = lanedR->sizeBitMask; normalize(); } ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:67:7: note: candidate: ‘GrammarLexer::GrammarLexer(const GrammarLexer&)’ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:97:75: error: ‘const class LanedRegister’ has no member named ‘sizeBitMask’ 97 | LanedIterator(const LanedRegister *lanedR) { size = 0; mask = lanedR->sizeBitMask; normalize(); } ///< Constructor | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:585:11: error: ‘int4’ does not name a type; did you mean ‘int’? 585 | virtual int4 getSize(void) const { return -1; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:67:7: note: no known conversion for argument 1 from ‘int’ to ‘const GrammarLexer&’ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:67:3: error: ‘int4’ does not name a type; did you mean ‘int’? 67 | int4 getSize(void) const { return size; } ///< Get the size of the address bus | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:76:3: error: ‘int4’ does not name a type; did you mean ‘int’? 76 | int4 numTruncations(void) const { return truncations.size(); } ///< Get the number of truncation records | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:77:38: error: ‘int4’ has not been declared 77 | const TruncationTag &getTruncation(int4 i) const { return truncations[i]; } ///< Get the i-th truncation record | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:588:42: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 588 | virtual void collectLocalValues(vector &results) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:588:47: error: template argument 1 is invalid 588 | virtual void collectLocalValues(vector &results) const; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:588:47: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh: In constructor ‘LanedRegister::LanedIterator::LanedIterator()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:98:27: error: ‘size’ was not declared in this scope 98 | LanedIterator(void) { size = -1; mask = 0; } ///< Constructor for ending iterator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:98:38: error: ‘mask’ was not declared in this scope 98 | LanedIterator(void) { size = -1; mask = 0; } ///< Constructor for ending iterator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:91:10: error: ‘int4’ does not name a type; did you mean ‘int’? 91 | static int4 last_languageindex; ///< Index of the LanguageDescription associated with the last Translate object | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:596:3: error: ‘int4’ does not name a type; did you mean ‘int’? 596 | int4 index; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:600:32: error: ‘int4’ has not been declared 600 | MacroSymbol(const string &nm,int4 i) : SleighSymbol(nm) { index = i; construct = (ConstructTpl *)0; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:93:3: error: ‘int4’ does not name a type; did you mean ‘int’? 93 | int4 languageindex; ///< Index (within LanguageDescription array) of the active language | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:601:3: error: ‘int4’ does not name a type; did you mean ‘int’? 601 | int4 getIndex(void) const { return index; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh: In member function ‘LanedRegister::LanedIterator& LanedRegister::LanedIterator::operator++()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:99:39: error: ‘size’ was not declared in this scope 99 | LanedIterator &operator++(void) { size += 1; normalize(); return *this; } ///< Preincrement operator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:605:3: error: ‘int4’ does not name a type; did you mean ‘int’? 605 | int4 getNumOperands(void) const { return operands.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:606:29: error: ‘int4’ has not been declared 606 | OperandSymbol *getOperand(int4 i) const { return operands[i]; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘MacroSymbol::MacroSymbol(const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:600:69: error: overloaded function with no contextual type information 600 | MacroSymbol(const string &nm,int4 i) : SleighSymbol(nm) { index = i; construct = (ConstructTpl *)0; } | ^ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:37:58: error: ‘int4’ has not been declared 37 | InjectPayloadSleigh(const string &src,const string &nm,int4 tp); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh: In member function ‘LanedRegister::LanedIterator& LanedRegister::LanedIterator::operator=(const LanedRegister::LanedIterator&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:101:58: error: ‘size’ was not declared in this scope 101 | LanedIterator &operator=(const LanedIterator &op2) { size = op2.size; mask = op2.mask; return *this; } ///< Assignment | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:101:69: error: ‘const class LanedRegister::LanedIterator’ has no member named ‘size’ 101 | LanedIterator &operator=(const LanedIterator &op2) { size = op2.size; mask = op2.mask; return *this; } ///< Assignment | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:612:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 612 | uint4 index; // Local 1 up index of label | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:614:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 614 | uint4 refcount; // Number of references to this label | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:616:32: error: ‘uint4’ has not been declared 616 | LabelSymbol(const string &nm,uint4 i) : SleighSymbol(nm) { index = i; refcount = 0; isplaced=false; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:617:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 617 | uint4 getIndex(void) const { return index; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:101:75: error: ‘mask’ was not declared in this scope 101 | LanedIterator &operator=(const LanedIterator &op2) { size = op2.size; mask = op2.mask; return *this; } ///< Assignment | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:101:86: error: ‘const class LanedRegister::LanedIterator’ has no member named ‘mask’ 101 | LanedIterator &operator=(const LanedIterator &op2) { size = op2.size; mask = op2.mask; return *this; } ///< Assignment | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:619:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 619 | uint4 getRefCount(void) const { return refcount; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In constructor ‘LabelSymbol::LabelSymbol(const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:616:70: error: overloaded function with no contextual type information 616 | LabelSymbol(const string &nm,uint4 i) : SleighSymbol(nm) { index = i; refcount = 0; isplaced=false; } | ^ src/decompile/cpp/grammar.y:834:3: error: ‘firsttoken’ was not declared in this scope src/decompile/cpp/grammar.y:836:23: error: assignment of read-only location ‘"typedef"[((CParse*)this)->CParse::keywords]’ src/decompile/cpp/grammar.y:837:22: error: assignment of read-only location ‘"extern"[((CParse*)this)->CParse::keywords]’ src/decompile/cpp/grammar.y:838:22: error: assignment of read-only location ‘"static"[((CParse*)this)->CParse::keywords]’ src/decompile/cpp/grammar.y:839:20: error: assignment of read-only location ‘"auto"[((CParse*)this)->CParse::keywords]’ src/decompile/cpp/grammar.y:840:24: error: assignment of read-only location ‘"register"[((CParse*)this)->CParse::keywords]’ src/decompile/cpp/grammar.y:841:21: error: assignment of read-only location ‘"const"[((CParse*)this)->CParse::keywords]’ src/decompile/cpp/grammar.y:842:24: error: assignment of read-only location ‘"restrict"[((CParse*)this)->CParse::keywords]’ src/decompile/cpp/grammar.y:843:24: error: assignment of read-only location ‘"volatile"[((CParse*)this)->CParse::keywords]’ src/decompile/cpp/grammar.y:844:22: error: assignment of read-only location ‘"inline"[((CParse*)this)->CParse::keywords]’ src/decompile/cpp/grammar.y:845:22: error: assignment of read-only location ‘"struct"[((CParse*)this)->CParse::keywords]’ src/decompile/cpp/grammar.y:846:21: error: assignment of read-only location ‘"union"[((CParse*)this)->CParse::keywords]’ src/decompile/cpp/grammar.y:847:20: error: assignment of read-only location ‘"enum"[((CParse*)this)->CParse::keywords]’ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh: In member function ‘bool LanedRegister::LanedIterator::operator==(const LanedRegister::LanedIterator&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:102:63: error: ‘size’ was not declared in this scope 102 | bool operator==(const LanedIterator &op2) const { return (size == op2.size); } ///< Equal operator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:102:75: error: ‘const class LanedRegister::LanedIterator’ has no member named ‘size’ 102 | bool operator==(const LanedIterator &op2) const { return (size == op2.size); } ///< Equal operator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh: In member function ‘bool LanedRegister::LanedIterator::operator!=(const LanedRegister::LanedIterator&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:103:63: error: ‘size’ was not declared in this scope 103 | bool operator!=(const LanedIterator &op2) const { return (size != op2.size); } ///< Not-equal operator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:103:75: error: ‘const class LanedRegister::LanedIterator’ has no member named ‘size’ 103 | bool operator!=(const LanedIterator &op2) const { return (size != op2.size); } ///< Not-equal operator | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:616:73: error: ‘refcount’ was not declared in this scope 616 | LabelSymbol(const string &nm,uint4 i) : SleighSymbol(nm) { index = i; refcount = 0; isplaced=false; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:81:57: error: ‘int4’ has not been declared 81 | InjectPayloadDynamic(Architecture *g,const string &nm,int4 tp) : InjectPayload(nm,tp) { glb = g; dynamic = true; } | ^~~~ src/decompile/cpp/grammar.y: In member function ‘void CParse::clear()’: src/decompile/cpp/grammar.y:863:3: error: ‘firsttoken’ was not declared in this scope src/decompile/cpp/grammar.y: In member function ‘TypeDeclarator* CParse::mergeSpecDec(TypeSpecifiers*, TypeDeclarator*)’: src/decompile/cpp/grammar.y:871:8: error: ‘class TypeDeclarator’ has no member named ‘flags’ src/decompile/cpp/grammar.y:871:23: error: ‘struct TypeSpecifiers’ has no member named ‘flags’ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh: In constructor ‘LanedRegister::LanedRegister()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:110:25: error: ‘wholeSize’ was not declared in this scope 110 | LanedRegister(void) { wholeSize = 0; sizeBitMask = 0; } ///< Constructor for use with restoreXml | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:93:3: error: ‘int4’ does not name a type; did you mean ‘int’? 93 | int4 registerDynamicInject(InjectPayload *payload); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:94:43: error: ‘int4’ has not been declared 94 | InjectPayloadDynamic *forceDebugDynamic(int4 injectid); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh: In member function ‘void LabelSymbol::incrementRefCount()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/slghsymbol.hh:618:34: error: ‘refcount’ was not declared in this scope 618 | void incrementRefCount(void) { refcount += 1; } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:97:11: error: ‘int4’ does not name a type; did you mean ‘int’? 97 | virtual int4 allocateInject(const string &sourceName,const string &name,int4 type); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:98:31: error: ‘int4’ has not been declared 98 | virtual void registerInject(int4 injectid); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:100:44: error: ‘uintb’ has not been declared 100 | PcodeInjectLibrarySleigh(Architecture *g,uintb tmpbase); | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:39:5: error: ‘int4’ does not name a type; did you mean ‘int’? 39 | int4 index(const string filename); | ^~~~ | int src/decompile/cpp/grammar.y: In member function ‘std::vector* CParse::mergeSpecDecVec(TypeSpecifiers*, std::vector*)’: src/decompile/cpp/grammar.y:886:7: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:102:11: error: ‘int4’ does not name a type; did you mean ‘int’? 102 | virtual int4 manualCallFixup(const string &name,const string &snippetstring); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:40:9: error: ‘int4’ does not name a type; did you mean ‘int’? 40 | int4 getIndex(const string); ///< get the index of a file. Error if the file is not in the index. | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:41:28: error: ‘int4’ has not been declared 41 | string getFilename(int4); ///< get the filename corresponding to an index | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.hh:103:11: error: ‘int4’ does not name a type; did you mean ‘int’? 103 | virtual int4 manualCallOtherFixup(const string &name,const string &outname,const vector &inname, | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:46:9: error: ‘int4’ does not name a type; did you mean ‘int’? 46 | int4 leastUnusedIndex; ///< one-up count for assigning indices to files | ^~~~ | int src/decompile/cpp/grammar.y:886:17: error: ‘i’ was not declared in this scope /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:20:1: error: ‘int4’ does not name a type; did you mean ‘int’? 20 | int4 SleighArchitecture::last_languageindex; | ^~~~ | int src/decompile/cpp/grammar.y: At global scope: src/decompile/cpp/grammar.y:903:1: error: ‘uint4’ does not name a type; did you mean ‘uint’? /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:110:40: error: ‘sizeBitMask’ was not declared in this scope 110 | LanedRegister(void) { wholeSize = 0; sizeBitMask = 0; } ///< Constructor for use with restoreXml | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:47:13: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 47 | map indexToFile; ///< map from indices to files | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:47:25: error: template argument 1 is invalid 47 | map indexToFile; ///< map from indices to files | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:47:25: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:47:25: error: template argument 4 is invalid src/decompile/cpp/grammar.y: In member function ‘TypeSpecifiers* CParse::addSpecifier(TypeSpecifiers*, std::string*)’: src/decompile/cpp/grammar.y:918:3: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? src/decompile/cpp/grammar.y:919:9: error: ‘struct TypeSpecifiers’ has no member named ‘flags’ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:48:21: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 48 | map fileToIndex; ///< map from files to indices | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:48:25: error: template argument 2 is invalid 48 | map fileToIndex; ///< map from files to indices | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:48:25: error: template argument 4 is invalid src/decompile/cpp/grammar.y:919:18: error: ‘flag’ was not declared in this scope /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh: In member function ‘void LanedRegister::addLaneSize(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:115:33: error: ‘sizeBitMask’ was not declared in this scope 115 | void addLaneSize(int4 size) { sizeBitMask |= ((uint4)1 << size); } ///< Add a new \e size to the allowed list | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:115:50: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 115 | void addLaneSize(int4 size) { sizeBitMask |= ((uint4)1 << size); } ///< Add a new \e size to the allowed list | ^~~~~ | uint src/decompile/cpp/grammar.y: In member function ‘TypeSpecifiers* CParse::addFuncSpecifier(TypeSpecifiers*, std::string*)’: src/decompile/cpp/grammar.y:935:14: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:115:56: error: expected ‘)’ before numeric constant 115 | void addLaneSize(int4 size) { sizeBitMask |= ((uint4)1 << size); } ///< Add a new \e size to the allowed list | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:115:48: note: to match this ‘(’ 115 | void addLaneSize(int4 size) { sizeBitMask |= ((uint4)1 << size); } ///< Add a new \e size to the allowed list | ^ src/decompile/cpp/grammar.y:935:19: error: template argument 2 is invalid src/decompile/cpp/grammar.y:935:19: error: template argument 4 is invalid src/decompile/cpp/grammar.y:935:37: error: expected initializer before ‘iter’ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh: In constructor ‘SourceFileIndexer::SourceFileIndexer()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:36:26: error: ‘leastUnusedIndex’ was not declared in this scope 36 | SourceFileIndexer() {leastUnusedIndex = 0;} | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc: In member function ‘void LanguageDescription::restoreXml(const Element*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:44:9: error: ‘size’ was not declared in this scope 44 | s1 >> size; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:58:16: error: ‘int4’ does not name a type; did you mean ‘int’? 58 | static const int4 SLA_FORMAT_VERSION; ///< Current version of the .sla file read/written by SleighBash | ^~~~ | int src/decompile/cpp/grammar.y:937:3: error: ‘iter’ was not declared in this scope src/decompile/cpp/grammar.y:937:19: error: request for member ‘find’ in ‘((CParse*)this)->CParse::keywords’, which is of non-class type ‘int’ src/decompile/cpp/grammar.y:938:24: error: request for member ‘end’ in ‘((CParse*)this)->CParse::keywords’, which is of non-class type ‘int’ src/decompile/cpp/grammar.y:939:11: error: ‘struct TypeSpecifiers’ has no member named ‘flags’ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:51:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 51 | for(int4 i=0;igetNumAttributes();++i) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh: In member function ‘bool LanedRegister::allowedLane(int) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:116:49: error: ‘sizeBitMask’ was not declared in this scope 116 | bool allowedLane(int4 size) const { return (((sizeBitMask >> size) & 1) != 0); } ///< Is \e size among the allowed lane sizes | ^~~~~~~~~~~ src/decompile/cpp/grammar.y: At global scope: src/decompile/cpp/grammar.y:948:45: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? src/decompile/cpp/grammar.y:948:50: error: template argument 1 is invalid src/decompile/cpp/grammar.y:948:50: error: template argument 2 is invalid In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:34, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:18: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:127:3: error: ‘int4’ does not name a type; did you mean ‘int’? 127 | int4 wholeSize; ///< Size of the region being split in bytes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:51:16: error: ‘i’ was not declared in this scope; did you mean ‘id’? 51 | for(int4 i=0;igetNumAttributes();++i) { | ^ | id /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:51:22: error: ‘const class Element’ has no member named ‘getNumAttributes’ 51 | for(int4 i=0;igetNumAttributes();++i) { | ^~~~~~~~~~~~~~~~ src/decompile/cpp/grammar.y: In member function ‘TypeDeclarator* CParse::mergePointer(int*, TypeDeclarator*)’: src/decompile/cpp/grammar.y:951:7: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:128:10: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 128 | vector laneSize; ///< Size of lanes in bytes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:128:14: error: template argument 1 is invalid 128 | vector laneSize; ///< Size of lanes in bytes | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:128:14: error: template argument 2 is invalid src/decompile/cpp/grammar.y:951:17: error: ‘i’ was not declared in this scope src/decompile/cpp/grammar.y:951:24: error: request for member ‘size’ in ‘* ptr’, which is of non-class type ‘int’ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc: In member function ‘const CompilerTag& LanguageDescription::getCompiler(const string&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:78:3: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 78 | int4 defaultind = -1; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:129:10: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 129 | vector lanePosition; ///< Significance positions of lanes in bytes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:129:14: error: template argument 1 is invalid 129 | vector lanePosition; ///< Significance positions of lanes in bytes | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:129:14: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:79:11: error: expected ‘;’ before ‘i’ 79 | for(int4 i=0;iCParse::vecuint4_alloc’, which is of non-class type ‘int’ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:78:50: error: ‘uintb’ has not been declared 78 | virtual string getRegisterName(AddrSpace *base,uintb off,int4 size) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:78:60: error: ‘int4’ has not been declared 78 | virtual string getRegisterName(AddrSpace *base,uintb off,int4 size) const; | ^~~~ src/decompile/cpp/grammar.y: At global scope: src/decompile/cpp/grammar.y:998:54: error: ‘uint4’ has not been declared src/decompile/cpp/grammar.y:998:66: error: ‘uintb’ has not been declared /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleighbase.hh:83:28: error: ‘uintm’ has not been declared 83 | SleighSymbol *findSymbol(uintm id) const { return symtab.findSymbol(id); } ///< Find a specific SLEIGH symbol by id | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:139:3: error: ‘int4’ does not name a type; did you mean ‘int’? 139 | int4 getBoundary(int4 bytePos) const; ///< Get index of lane that starts at the given byte position | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:140:20: error: ‘int4’ has not been declared 140 | bool restriction(int4 numLanes,int4 skipLanes,int4 bytePos,int4 size,int4 &resNumLanes,int4 &resSkipLanes) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:140:34: error: ‘int4’ has not been declared 140 | bool restriction(int4 numLanes,int4 skipLanes,int4 bytePos,int4 size,int4 &resNumLanes,int4 &resSkipLanes) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:140:49: error: ‘int4’ has not been declared 140 | bool restriction(int4 numLanes,int4 skipLanes,int4 bytePos,int4 size,int4 &resNumLanes,int4 &resSkipLanes) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:140:62: error: ‘int4’ has not been declared 140 | bool restriction(int4 numLanes,int4 skipLanes,int4 bytePos,int4 size,int4 &resNumLanes,int4 &resSkipLanes) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:140:72: error: ‘int4’ has not been declared 140 | bool restriction(int4 numLanes,int4 skipLanes,int4 bytePos,int4 size,int4 &resNumLanes,int4 &resSkipLanes) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:140:90: error: ‘int4’ has not been declared 140 | bool restriction(int4 numLanes,int4 skipLanes,int4 bytePos,int4 size,int4 &resNumLanes,int4 &resSkipLanes) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:141:18: error: ‘int4’ has not been declared 141 | bool extension(int4 numLanes,int4 skipLanes,int4 bytePos,int4 size,int4 &resNumLanes,int4 &resSkipLanes) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:141:32: error: ‘int4’ has not been declared 141 | bool extension(int4 numLanes,int4 skipLanes,int4 bytePos,int4 size,int4 &resNumLanes,int4 &resSkipLanes) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:141:47: error: ‘int4’ has not been declared 141 | bool extension(int4 numLanes,int4 skipLanes,int4 bytePos,int4 size,int4 &resNumLanes,int4 &resSkipLanes) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:141:60: error: ‘int4’ has not been declared 141 | bool extension(int4 numLanes,int4 skipLanes,int4 bytePos,int4 size,int4 &resNumLanes,int4 &resSkipLanes) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:141:70: error: ‘int4’ has not been declared 141 | bool extension(int4 numLanes,int4 skipLanes,int4 bytePos,int4 size,int4 &resNumLanes,int4 &resSkipLanes) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:141:88: error: ‘int4’ has not been declared 141 | bool extension(int4 numLanes,int4 skipLanes,int4 bytePos,int4 size,int4 &resNumLanes,int4 &resSkipLanes) const; | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:36:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 36 | uintb calling_index; ///< Index of instruction containing relative offset | ^~~~~ | uint src/decompile/cpp/grammar.y: In member function ‘TypeDeclarator* CParse::newArray(TypeDeclarator*, int, int*)’: src/decompile/cpp/grammar.y:1001:52: error: ‘int4’ was not declared in this scope; did you mean ‘int’? /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:152:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 152 | map pieceMap; ///< Map from large Varnodes to their new pieces | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:46:3: error: ‘int4’ does not name a type; did you mean ‘int’? 46 | int4 isize; ///< Number of input Varnodes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:152:26: error: template argument 1 is invalid 152 | map pieceMap; ///< Map from large Varnodes to their new pieces | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:152:26: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:152:26: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:83:7: error: ‘defaultind’ was not declared in this scope 83 | defaultind = i; | ^~~~~~~~~~ src/decompile/cpp/grammar.y: In member function ‘Datatype* CParse::newStruct(const string&, std::vector*)’: src/decompile/cpp/grammar.y:1027:7: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? src/decompile/cpp/grammar.y:1027:17: error: ‘i’ was not declared in this scope src/decompile/cpp/grammar.y:1037:20: error: ‘__gnu_cxx::__alloc_traits, TypeField>::value_type’ {aka ‘struct TypeField’} has no member named ‘offset’ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:85:7: error: ‘defaultind’ was not declared in this scope 85 | if (defaultind != -1) // If can't match compiler, return default | ^~~~~~~~~~ src/decompile/cpp/grammar.y: At global scope: src/decompile/cpp/grammar.y:1079:55: error: ‘uintb’ has not been declared src/decompile/cpp/grammar.y: In member function ‘Datatype* CParse::newEnum(const string&, std::vector*)’: src/decompile/cpp/grammar.y:1100:10: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? src/decompile/cpp/grammar.y:1100:15: error: template argument 1 is invalid src/decompile/cpp/grammar.y:1100:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:165:44: error: ‘int4’ has not been declared 165 | virtual bool preserveAddress(Varnode *vn,int4 bitSize,int4 lsbOffset) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:165:57: error: ‘int4’ has not been declared 165 | virtual bool preserveAddress(Varnode *vn,int4 bitSize,int4 lsbOffset) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:169:27: error: ‘int4’ has not been declared 169 | TransformVar *newUnique(int4 size); ///< Make placeholder for new unique space Varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:170:29: error: ‘int4’ has not been declared 170 | TransformVar *newConstant(int4 size,int4 lsbOffset,uintb val); ///< Make placeholder for constant Varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:170:39: error: ‘int4’ has not been declared 170 | TransformVar *newConstant(int4 size,int4 lsbOffset,uintb val); ///< Make placeholder for constant Varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:170:54: error: ‘uintb’ has not been declared 170 | TransformVar *newConstant(int4 size,int4 lsbOffset,uintb val); ///< Make placeholder for constant Varnode | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:172:38: error: ‘int4’ has not been declared 172 | TransformVar *newPiece(Varnode *vn,int4 bitSize,int4 lsbOffset); ///< Make placeholder for piece of a Varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:172:51: error: ‘int4’ has not been declared 172 | TransformVar *newPiece(Varnode *vn,int4 bitSize,int4 lsbOffset); ///< Make placeholder for piece of a Varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:174:73: error: ‘int4’ has not been declared 174 | TransformVar *newSplit(Varnode *vn,const LaneDescription &description,int4 numLanes,int4 startLane); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:174:87: error: ‘int4’ has not been declared 174 | TransformVar *newSplit(Varnode *vn,const LaneDescription &description,int4 numLanes,int4 startLane); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:175:29: error: ‘int4’ has not been declared 175 | TransformOp *newOpReplace(int4 numParams,OpCode opc,PcodeOp *replace); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:176:22: error: ‘int4’ has not been declared 176 | TransformOp *newOp(int4 numParams,OpCode opc,TransformOp *follow); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:177:33: error: ‘int4’ has not been declared 177 | TransformOp *newPreexistingOp(int4 numParams,OpCode opc,PcodeOp *originalOp); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:180:38: error: ‘int4’ has not been declared 180 | TransformVar *getPiece(Varnode *vn,int4 bitSize,int4 lsbOffset); ///< Get (or create) placeholder piece | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:180:51: error: ‘int4’ has not been declared 180 | TransformVar *getPiece(Varnode *vn,int4 bitSize,int4 lsbOffset); ///< Get (or create) placeholder piece | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:62:10: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 62 | vector labels; ///< Locations of labels | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:182:73: error: ‘int4’ has not been declared 182 | TransformVar *getSplit(Varnode *vn,const LaneDescription &description,int4 numLanes,int4 startLane); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:62:15: error: template argument 1 is invalid 62 | vector labels; ///< Locations of labels | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:62:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:182:87: error: ‘int4’ has not been declared 182 | TransformVar *getSplit(Varnode *vn,const LaneDescription &description,int4 numLanes,int4 startLane); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:63:27: error: ‘uint4’ has not been declared 63 | VarnodeData *expandPool(uint4 size); ///< Expand the memory pool | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:183:54: error: ‘int4’ has not been declared 183 | void opSetInput(TransformOp *rop,TransformVar *rvn,int4 slot); ///< Mark given variable as input to given op | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:72:33: error: ‘uint4’ has not been declared 72 | VarnodeData *allocateVarnodes(uint4 size) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:185:32: error: ‘int4’ has not been declared 185 | static bool preexistingGuard(int4 slot,TransformVar *rvn); ///< Should newPreexistingOp be called | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:93:17: error: ‘uint4’ has not been declared 93 | void addLabel(uint4 id); ///< Attach a label to the \e next p-code instruction | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:108:3: error: ‘int4’ does not name a type; did you mean ‘int’? 108 | int4 minimumreuse; ///< Can call getParserContext this many times, before a ParserContext is reused | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc: In member function ‘virtual std::string SleighArchitecture::getDescription() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:131:22: error: ‘languageindex’ was not declared in this scope 131 | return description[languageindex].getDescription(); | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:109:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 109 | uint4 mask; ///< Size of the hashtable in form 2^n-1 | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:111:3: error: ‘int4’ does not name a type; did you mean ‘int’? 111 | int4 nextfree; ///< Current end/beginning of circular list | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:113:19: error: ‘int4’ has not been declared 113 | void initialize(int4 min,int4 hashsize); ///< Initialize the hash-table of ParserContexts | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:197:13: error: variable or field ‘initialize’ declared void 197 | inline void TransformVar::initialize(uint4 tp,Varnode *v,int4 bits,int4 bytes,uintb value) | ^~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:113:28: error: ‘int4’ has not been declared 113 | void initialize(int4 min,int4 hashsize); ///< Initialize the hash-table of ParserContexts | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:116:59: error: ‘int4’ has not been declared 116 | DisassemblyCache(ContextCache *ccache,AddrSpace *cspace,int4 cachesize,int4 windowsize); ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:116:74: error: ‘int4’ has not been declared 116 | DisassemblyCache(ContextCache *ccache,AddrSpace *cspace,int4 cachesize,int4 windowsize); ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:132:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 132 | uintb uniquemask; ///< Mask of address bits to use to uniquify temporary registers | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:197:38: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 197 | inline void TransformVar::initialize(uint4 tp,Varnode *v,int4 bits,int4 bytes,uintb value) | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:197:55: error: expected primary-expression before ‘*’ token 197 | inline void TransformVar::initialize(uint4 tp,Varnode *v,int4 bits,int4 bytes,uintb value) | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:133:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 133 | uintb uniqueoffset; ///< Uniquifier bits for \b this instruction | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:136:35: error: ‘int4’ has not been declared 136 | void buildEmpty(Constructor *ct,int4 secnum); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:141:106: error: ‘uint4’ has not been declared 141 | SleighBuilder(ParserWalker *w,DisassemblyCache *dcache,PcodeCacher *pc,AddrSpace *cspc,AddrSpace *uspc,uint4 umask); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:142:39: error: ‘int4’ has not been declared 142 | virtual void appendBuild(OpTpl *bld,int4 secnum); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:145:44: error: ‘int4’ has not been declared 145 | virtual void appendCrossBuild(OpTpl *bld,int4 secnum); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:166:52: error: ‘int4’ has not been declared 166 | ParserContext *obtainContext(const Address &addr,int4 state) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:197:56: error: ‘v’ was not declared in this scope 197 | inline void TransformVar::initialize(uint4 tp,Varnode *v,int4 bits,int4 bytes,uintb value) | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:175:51: error: ‘int4’ has not been declared 175 | virtual void registerContext(const string &name,int4 sbit,int4 ebit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:175:61: error: ‘int4’ has not been declared 175 | virtual void registerContext(const string &name,int4 sbit,int4 ebit); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:176:51: error: ‘uintm’ has not been declared 176 | virtual void setContextDefault(const string &nm,uintm val); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:178:11: error: ‘int4’ does not name a type; did you mean ‘int’? 178 | virtual int4 instructionLength(const Address &baseaddr) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:197:58: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 197 | inline void TransformVar::initialize(uint4 tp,Varnode *v,int4 bits,int4 bytes,uintb value) | ^~~~ | int src/decompile/cpp/grammar.y:1102:7: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:179:11: error: ‘int4’ does not name a type; did you mean ‘int’? 179 | virtual int4 oneInstruction(PcodeEmit &emit,const Address &baseaddr) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc: In member function ‘bool SleighArchitecture::isTranslateReused()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:142:7: error: ‘last_languageindex’ was not declared in this scope 142 | if (last_languageindex == languageindex) return true; | ^~~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:197:68: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 197 | inline void TransformVar::initialize(uint4 tp,Varnode *v,int4 bits,int4 bytes,uintb value) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh.hh:180:11: error: ‘int4’ does not name a type; did you mean ‘int’? 180 | virtual int4 printAssembly(AssemblyEmit &emit,const Address &baseaddr) const; | ^~~~ | int src/decompile/cpp/grammar.y:1102:17: error: ‘i’ was not declared in this scope /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:197:79: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 197 | inline void TransformVar::initialize(uint4 tp,Varnode *v,int4 bits,int4 bytes,uintb value) | ^~~~~ | uint src/decompile/cpp/grammar.y:1105:13: error: request for member ‘push_back’ in ‘vallist’, which is of non-class type ‘int’ src/decompile/cpp/grammar.y:1105:31: error: ‘struct Enumerator’ has no member named ‘value’ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:213:77: error: ‘int4’ has not been declared 213 | inline void TransformManager::opSetInput(TransformOp *rop,TransformVar *rvn,int4 slot) | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:240:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ 240 | inline bool TransformManager::preexistingGuard(int4 slot,TransformVar *rvn) | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:240:13: error: ‘bool TransformManager::preexistingGuard’ is not a static data member of ‘class TransformManager’ 240 | inline bool TransformManager::preexistingGuard(int4 slot,TransformVar *rvn) | ^~~~~~~~~~~~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:52:3: error: ‘int4’ does not name a type; did you mean ‘int’? 52 | int4 size; ///< Size of address bus in bits | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:240:48: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 240 | inline bool TransformManager::preexistingGuard(int4 slot,TransformVar *rvn) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:240:71: error: expected primary-expression before ‘*’ token 240 | inline bool TransformManager::preexistingGuard(int4 slot,TransformVar *rvn) | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:142:29: error: ‘languageindex’ was not declared in this scope 142 | if (last_languageindex == languageindex) return true; | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:240:72: error: ‘rvn’ was not declared in this scope 240 | inline bool TransformManager::preexistingGuard(int4 slot,TransformVar *rvn) | ^~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/transform.hh:240:75: error: expression list treated as compound expression in initializer [-fpermissive] 240 | inline bool TransformManager::preexistingGuard(int4 slot,TransformVar *rvn) | ^ src/decompile/cpp/grammar.y: In member function ‘void CParse::clearAllocation()’: src/decompile/cpp/grammar.y:1139:15: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? src/decompile/cpp/grammar.y:1139:20: error: template argument 1 is invalid src/decompile/cpp/grammar.y:1139:20: error: template argument 2 is invalid src/decompile/cpp/grammar.y:1139:23: error: template argument 1 is invalid src/decompile/cpp/grammar.y:1139:23: error: template argument 2 is invalid src/decompile/cpp/grammar.y:1139:35: error: qualified-id in declaration before ‘iter3’ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:35, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:18: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prefersplit.hh:25:3: error: ‘int4’ does not name a type; did you mean ‘int’? 25 | int4 splitoffset; // Number of initial bytes (in address order) to split into first piece | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prefersplit.hh:32:5: error: ‘int4’ does not name a type; did you mean ‘int’? 32 | int4 splitoffset; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prefersplit.hh:37:30: error: ‘int4’ has not been declared 37 | SplitInstance(Varnode *v,int4 off) { vn = v; splitoffset = off; hi = (Varnode *)0; lo = (Varnode *)0; } | ^~~~ src/decompile/cpp/grammar.y:1140:7: error: ‘iter3’ was not declared in this scope; did you mean ‘iter2’? src/decompile/cpp/grammar.y:1140:28: error: request for member ‘begin’ in ‘((CParse*)this)->CParse::vecuint4_alloc’, which is of non-class type ‘int’ src/decompile/cpp/grammar.y:1140:58: error: request for member ‘end’ in ‘((CParse*)this)->CParse::vecuint4_alloc’, which is of non-class type ‘int’ src/decompile/cpp/grammar.y:1142:18: error: request for member ‘clear’ in ‘((CParse*)this)->CParse::vecuint4_alloc’, which is of non-class type ‘int’ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:67:3: error: ‘int4’ does not name a type; did you mean ‘int’? 67 | int4 getSize(void) const { return size; } ///< Get the size of the address bus | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:76:3: error: ‘int4’ does not name a type; did you mean ‘int’? 76 | int4 numTruncations(void) const { return truncations.size(); } ///< Get the number of truncation records | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:77:38: error: ‘int4’ has not been declared 77 | const TruncationTag &getTruncation(int4 i) const { return truncations[i]; } ///< Get the i-th truncation record | ^~~~ src/decompile/cpp/grammar.y:1154:8: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? src/decompile/cpp/grammar.y:1154:15: error: template argument 1 is invalid src/decompile/cpp/grammar.y:1154:15: error: template argument 2 is invalid src/decompile/cpp/grammar.y:1154:27: error: qualified-id in declaration before ‘iter6’ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc: In member function ‘virtual Translate* SleighArchitecture::buildTranslator(DocumentStorage&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:157:5: error: ‘last_languageindex’ was not declared in this scope 157 | last_languageindex = languageindex; | ^~~~~~~~~~~~~~~~~~ src/decompile/cpp/grammar.y:1155:7: error: ‘iter6’ was not declared in this scope; did you mean ‘iter5’? src/decompile/cpp/grammar.y:1155:23: error: request for member ‘begin’ in ‘((CParse*)this)->CParse::num_alloc’, which is of non-class type ‘int’ src/decompile/cpp/grammar.y:1155:48: error: request for member ‘end’ in ‘((CParse*)this)->CParse::num_alloc’, which is of non-class type ‘int’ src/decompile/cpp/grammar.y:1157:13: error: request for member ‘clear’ in ‘((CParse*)this)->CParse::num_alloc’, which is of non-class type ‘int’ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:91:10: error: ‘int4’ does not name a type; did you mean ‘int’? 91 | static int4 last_languageindex; ///< Index of the LanguageDescription associated with the last Translate object | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prefersplit.hh: In constructor ‘PreferSplitManager::SplitInstance::SplitInstance(Varnode*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/prefersplit.hh:37:50: error: ‘splitoffset’ was not declared in this scope 37 | SplitInstance(Varnode *v,int4 off) { vn = v; splitoffset = off; hi = (Varnode *)0; lo = (Varnode *)0; } | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:93:3: error: ‘int4’ does not name a type; did you mean ‘int’? 93 | int4 languageindex; ///< Index (within LanguageDescription array) of the active language | ^~~~ | int src/decompile/cpp/grammar.y: At global scope: src/decompile/cpp/grammar.y:1170:1: error: ‘int4’ does not name a type; did you mean ‘int’? In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:18: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:72:16: error: ‘uint4’ does not name a type; did you mean ‘uint’? 72 | static const uint4 majorversion; ///< Current major version of decompiler | ^~~~~ | uint src/decompile/cpp/grammar.y:1208:1: error: ‘int4’ does not name a type; did you mean ‘int’? /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:73:16: error: ‘uint4’ does not name a type; did you mean ‘uint’? 73 | static const uint4 minorversion; ///< Current minor version of decompiler | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:157:26: error: ‘languageindex’ was not declared in this scope 157 | last_languageindex = languageindex; | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc: In member function ‘virtual PcodeInjectLibrary* SleighArchitecture::buildPcodeInjectLibrary()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:167:54: error: ‘const class Translate’ has no member named ‘getUniqueBase’; did you mean ‘setUniqueBase’? 167 | res = new PcodeInjectLibrarySleigh(this,translate->getUniqueBase()); | ^~~~~~~~~~~~~ | setUniqueBase /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:109:10: error: ‘uint4’ does not name a type; did you mean ‘uint’? 109 | static uint4 getMajorVersion(void) { return majorversion; } ///< Get \e major decompiler version | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/ifaceterm.hh:19, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/ifacedecomp.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/interface.hh:131:32: error: ‘int4’ has not been declared 131 | const string &getCommandWord(int4 i) const { return com[i]; } ///< Get the i-th command token | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:110:10: error: ‘uint4’ does not name a type; did you mean ‘uint’? 110 | static uint4 getMinorVersion(void) { return minorversion; } ///< Get \e minor decompiler version | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/interface.hh:133:3: error: ‘int4’ does not name a type; did you mean ‘int’? 133 | int4 numWords(void) const { return com.size(); } ///< Return the number of tokens in the command line string | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:124:3: error: ‘int4’ does not name a type; did you mean ‘int’? 124 | int4 trim_recurse_max; ///< How many levels to let parameter trims recurse | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/interface.hh:135:3: error: ‘int4’ does not name a type; did you mean ‘int’? 135 | int4 compare(const IfaceCommand &op2) const; ///< Order two commands by their command line strings | ^~~~ | int src/decompile/cpp/grammar.y: In member function ‘void CParse::setError(const string&)’: src/decompile/cpp/grammar.y:1256:25: error: ‘lineno’ was not declared in this scope; did you mean ‘fileno’? /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:125:3: error: ‘int4’ does not name a type; did you mean ‘int’? 125 | int4 max_implied_ref; ///< Maximum number of references to an implied var | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/interface.hh: In function ‘bool compare_ifacecommand(const IfaceCommand*, const IfaceCommand*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/interface.hh:153:16: error: ‘const class IfaceCommand’ has no member named ‘compare’ 153 | return (0>a->compare(*b)); | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:126:3: error: ‘int4’ does not name a type; did you mean ‘int’? 126 | int4 max_term_duplication; ///< Max terms duplicated without a new variable | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc: In member function ‘virtual void SleighArchitecture::resolveArchitecture()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:187:3: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 187 | int4 i; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:127:3: error: ‘int4’ does not name a type; did you mean ‘int’? 127 | int4 max_basetype_size; ///< Maximum size of an "integer" type before creating an array type | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:128:3: error: ‘int4’ does not name a type; did you mean ‘int’? 128 | int4 min_funcsymbol_size; ///< Minimum size of a function symbol | ^~~~ | int src/decompile/cpp/grammar.y:1256:32: error: ‘filenum’ was not declared in this scope; did you mean ‘f_enum’? /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/interface.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/interface.hh:197:10: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 197 | vector flagstack; ///< Stack of flag state corresponding to script nesting level | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/interface.hh:197:15: error: template argument 1 is invalid 197 | vector flagstack; ///< Stack of flag state corresponding to script nesting level | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/interface.hh:197:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:134:3: error: ‘int4’ does not name a type; did you mean ‘int’? 134 | int4 funcptr_align; ///< How many bits of alignment a function ptr has | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/interface.hh:199:3: error: ‘int4’ does not name a type; did you mean ‘int’? 199 | int4 maxhistory; ///< Maximum number of command lines to store in history | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:135:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 135 | uint4 flowoptions; ///< options passed to flow following engine | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/interface.hh:200:3: error: ‘int4’ does not name a type; did you mean ‘int’? 200 | int4 curhistory; ///< Most recent history | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:136:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 136 | uint4 max_instructions; ///< Maximum instructions that can be processed in one function | ^~~~~ | uint src/decompile/cpp/grammar.y:1258:37: error: ‘colno’ was not declared in this scope /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:137:3: error: ‘int4’ does not name a type; did you mean ‘int’? 137 | int4 alias_block_level; ///< Aliases blocked by 0=none, 1=struct, 2=array, 3=all | ^~~~ | int src/decompile/cpp/grammar.y: At global scope: src/decompile/cpp/grammar.y:1262:6: error: ‘bool CParse::runParse’ is not a static data member of ‘class CParse’ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:188:3: error: ‘languageindex’ was not declared in this scope 188 | languageindex = -1; | ^~~~~~~~~~~~~ src/decompile/cpp/grammar.y:1262:23: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? src/decompile/cpp/grammar.y:1285:41: error: ‘uint4’ has not been declared /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:189:7: error: ‘i’ was not declared in this scope 189 | for(i=0;i &expand,istream &s, | ^~~~ | int src/decompile/cpp/grammar.y: In function ‘Address parse_varnode(std::istream&, int&, Address&, int&, const TypeFactory&)’: src/decompile/cpp/grammar.y:1418:3: error: ‘int4’ was not declared in this scope; did you mean ‘int’? /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/interface.hh:224:47: error: ‘int4’ has not been declared 224 | IfaceStatus(const string &prmpt,ostream &os,int4 mxhist=10); ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/interface.hh:230:3: error: ‘int4’ does not name a type; did you mean ‘int’? 230 | int4 getNumInputStreamSize(void) const { return promptstack.size(); } ///< Get depth of script nesting | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/interface.hh:239:32: error: ‘int4’ has not been declared 239 | void getHistory(string &line,int4 i) const; ///< Get the i-th command line from history | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/interface.hh:240:3: error: ‘int4’ does not name a type; did you mean ‘int’? 240 | int4 getHistorySize(void) const { return history.size(); } ///< Get the number of command lines in history | ^~~~ | int src/decompile/cpp/grammar.y:1431:27: error: ‘discard’ was not declared in this scope src/decompile/cpp/grammar.y:1438:13: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? src/decompile/cpp/grammar.y:1438:19: error: expected ‘)’ before numeric constant src/decompile/cpp/grammar.y: At global scope: src/decompile/cpp/grammar.y:1445:29: error: ‘uintm’ has not been declared src/decompile/cpp/grammar.y: In function ‘Address parse_op(std::istream&, int&, const TypeFactory&)’: src/decompile/cpp/grammar.y:1448:3: error: ‘int4’ was not declared in this scope; did you mean ‘int’? In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/ifacedecomp.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/ifaceterm.hh:42:3: error: ‘int4’ does not name a type; did you mean ‘int’? 42 | int4 doCompletion(string &line,int4 cursor); ///< 'Complete' the current command line | ^~~~ | int src/decompile/cpp/grammar.y:1450:32: error: ‘size’ was not declared in this scope src/decompile/cpp/grammar.y: At global scope: src/decompile/cpp/grammar.y:1458:35: error: ‘int4’ has not been declared src/decompile/cpp/grammar.y: In function ‘Address parse_machaddr(std::istream&, int&, const TypeFactory&, bool)’: src/decompile/cpp/grammar.y:1463:3: error: ‘int4’ was not declared in this scope; did you mean ‘int’? src/decompile/cpp/grammar.y:1464:7: error: expected ‘;’ before ‘oversize’ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc: In member function ‘virtual void SleighArchitecture::modifySpaces(Translate*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:276:51: error: ‘languageindex’ was not declared in this scope; did you mean ‘language’? 276 | const LanguageDescription &language(description[languageindex]); | ^~~~~~~~~~~~~ | language /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:176:43: error: ‘int4’ has not been declared 176 | bool highPtrPossible(const Address &loc,int4 size) const; ///< Are pointers possible to the given location? | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:177:53: error: ‘int4’ has not been declared 177 | AddrSpace *getSpaceBySpacebase(const Address &loc,int4 size) const; ///< Get space associated with a \e spacebase register | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:178:60: error: ‘int4’ has not been declared 178 | const LanedRegister *getLanedRegister(const Address &loc,int4 size) const; ///< Get LanedRegister associated with storage | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:179:3: error: ‘int4’ does not name a type; did you mean ‘int’? 179 | int4 getMinimumLanedRegisterSize(void) const; ///< Get the minimum size of a laned register in bytes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:277:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 277 | for(int4 i=0;i LanguageDescription::truncations’? (not accessible from this context) 277 | for(int4 i=0;i truncations; ///< Address space truncations required by this processor | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:313:62: error: ‘int4’ has not been declared 313 | inline bool Architecture::highPtrPossible(const Address &loc,int4 size) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:34:77: error: ‘int4’ has not been declared 34 | InjectPayloadSleigh::InjectPayloadSleigh(const string &src,const string &nm,int4 tp) | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/graph.hh:17, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/ifacedecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/override.hh:52:10: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 52 | vector deadcodedelay; ///< Delay count indexed by address space | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/override.hh:52:14: error: template argument 1 is invalid 52 | vector deadcodedelay; ///< Delay count indexed by address space | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/override.hh:52:14: error: template argument 2 is invalid src/decompile/cpp/grammar.y:1531:3: error: ‘oversize’ was not declared in this scope src/decompile/cpp/grammar.y:1531:18: error: ‘class Address’ has no member named ‘read’ src/decompile/cpp/grammar.y:1535:18: error: ‘size’ was not declared in this scope /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc: In constructor ‘InjectPayloadSleigh::InjectPayloadSleigh(const string&, const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:39:3: error: ‘paramshift’ was not declared in this scope 39 | paramshift = 0; | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc: In static member function ‘static std::string SleighArchitecture::normalizeArchitecture(const string&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:389:3: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 389 | int4 i; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:391:7: error: ‘i’ was not declared in this scope 391 | for(i=0;i<4;++i) { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:396:8: error: ‘i’ was not declared in this scope 396 | if ((i!=3)&&(i!=4)) | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc: In static member function ‘static void InjectPayloadSleigh::checkParameterRestrictions(InjectContextSleigh&, const std::vector&, const std::vector&, const string&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:93:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 93 | for(int4 i=0;i flowoverride; ///< Override the CALL <-> BRANCH | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/override.hh:56:20: error: template argument 2 is invalid 56 | map flowoverride; ///< Override the CALL <-> BRANCH | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/override.hh:56:20: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/override.hh:58:46: error: ‘int4’ has not been declared 58 | static string generateDeadcodeDelayMessage(int4 index,Architecture *glb); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/override.hh:62:43: error: ‘int4’ has not been declared 62 | void insertDeadcodeDelay(AddrSpace *spc,int4 delay); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/override.hh:67:47: error: ‘uint4’ has not been declared 67 | void insertFlowOverride(const Address &addr,uint4 type); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/override.hh:75:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 75 | uint4 getFlowOverride(const Address &addr) const; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:93:16: error: ‘i’ was not declared in this scope 93 | for(int4 i=0;iOverride::flowoverride’, which is of non-class type ‘const int’ 74 | bool hasFlowOverride(void) const { return (!flowoverride.empty()); } ///< Are there any flow overrides | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:94:5: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 94 | uint4 sz = inputlist[i].getSize(); | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/graph.hh:17, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/ifacedecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:31:3: error: ‘int4’ does not name a type; did you mean ‘int’? 31 | int4 size; ///< Size of the range (in bytes) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:32:3: error: ‘int4’ does not name a type; did you mean ‘int’? 32 | int4 pass; ///< Pass when the range was heritaged | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc: In static member function ‘static void SleighArchitecture::scanForSleighDirectories(const string&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:431:7: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 431 | for(uint4 i=0;i&, const std::vector&, const string&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:114:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 114 | for(int4 i=0;i0 if Varnodes in this space have been eliminated | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:459:17: error: ‘i’ was not declared in this scope 459 | for(uint4 i=0;isizeInput();++i) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh: In member function ‘void LoadGuard::set(PcodeOp*, AddrSpace*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:123:22: error: ‘pointerBase’ was not declared in this scope 123 | op = o; spc = s; pointerBase=off; minimumOffset=0; maximumOffset=s->getHighest(); step=0; analysisState=0; | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:329:16: error: ‘i’ was not declared in this scope 329 | for(int4 i=0;isizeInput();++i) { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:329:27: error: ‘class InjectPayload’ has no member named ‘sizeInput’ 329 | for(int4 i=0;isizeInput();++i) { | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:331:47: error: ‘class InjectParameter’ has no member named ‘getIndex’ 331 | compiler.addOperand(param.getName(),param.getIndex()); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:333:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 333 | for(int4 i=0;isizeOutput();++i) { | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:123:39: error: ‘minimumOffset’ was not declared in this scope 123 | op = o; spc = s; pointerBase=off; minimumOffset=0; maximumOffset=s->getHighest(); step=0; analysisState=0; | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:333:16: error: ‘i’ was not declared in this scope 333 | for(int4 i=0;isizeOutput();++i) { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:333:27: error: ‘class InjectPayload’ has no member named ‘sizeOutput’ 333 | for(int4 i=0;isizeOutput();++i) { | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:335:47: error: ‘class InjectParameter’ has no member named ‘getIndex’ 335 | compiler.addOperand(param.getName(),param.getIndex()); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:337:16: error: ‘class InjectPayload’ has no member named ‘getType’ 337 | if (payload->getType() == InjectPayload::EXECUTABLEPCODE_TYPE) { | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:347:28: error: ‘tempbase’ was not declared in this scope 347 | compiler.setUniqueBase(tempbase); | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:352:25: error: ‘class PcodeSnippet’ has no member named ‘getUniqueBase’; did you mean ‘setUniqueBase’? 352 | tempbase = compiler.getUniqueBase(); | ^~~~~~~~~~~~~ | setUniqueBase /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:123:56: error: ‘maximumOffset’ was not declared in this scope 123 | op = o; spc = s; pointerBase=off; minimumOffset=0; maximumOffset=s->getHighest(); step=0; analysisState=0; | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:123:73: error: ‘class AddrSpace’ has no member named ‘getHighest’ 123 | op = o; spc = s; pointerBase=off; minimumOffset=0; maximumOffset=s->getHighest(); step=0; analysisState=0; | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:358:1: error: ‘int4’ does not name a type; did you mean ‘int’? 358 | int4 PcodeInjectLibrarySleigh::allocateInject(const string &sourceName,const string &name,int4 type) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:373:6: error: variable or field ‘registerInject’ declared void 373 | void PcodeInjectLibrarySleigh::registerInject(int4 injectid) | ^~~~~~~~~~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:373:47: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 373 | void PcodeInjectLibrarySleigh::registerInject(int4 injectid) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:123:87: error: ‘step’ was not declared in this scope; did you mean ‘strsep’? 123 | op = o; spc = s; pointerBase=off; minimumOffset=0; maximumOffset=s->getHighest(); step=0; analysisState=0; | ^~~~ | strsep /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc: In member function ‘virtual void PcodeInjectLibrarySleigh::restoreDebug(const Element*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:415:5: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 415 | int4 type = -1; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:417:10: error: ‘type’ was not declared in this scope; did you mean ‘wctype’? 417 | s >> type; | ^~~~ | wctype /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:418:9: error: expected ‘;’ before ‘id’ 418 | int4 id = getPayloadId(type,name); | ^~~ | ; /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:123:95: error: ‘analysisState’ was not declared in this scope 123 | op = o; spc = s; pointerBase=off; minimumOffset=0; maximumOffset=s->getHighest(); step=0; analysisState=0; | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:419:85: error: ‘id’ was not declared in this scope; did you mean ‘void’? 419 | InjectPayloadDynamic *payload = dynamic_cast(getPayload(id)); | ^~ | void /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:435:1: error: ‘int4’ does not name a type; did you mean ‘int’? 435 | int4 PcodeInjectLibrarySleigh::manualCallFixup(const string &name,const string &snippetstring) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:446:1: error: ‘int4’ does not name a type; did you mean ‘int’? 446 | int4 PcodeInjectLibrarySleigh::manualCallOtherFixup(const string &name,const string &outname, | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh: In member function ‘bool LoadGuard::isRangeLocked() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:131:44: error: ‘analysisState’ was not declared in this scope 131 | bool isRangeLocked(void) const { return (analysisState == 2); } ///< Return \b true if the range is fully determined | ^~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:185:5: error: ‘uintb’ does not name a type; did you mean ‘uint’? 185 | uintb offset; ///< Offset relative to base | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:186:5: error: ‘uint4’ does not name a type; did you mean ‘uint’? 186 | uint4 traversals; ///< What kind of operations has this pointer accumulated | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:193:26: error: ‘uintb’ has not been declared 193 | StackNode(Varnode *v,uintb o,uint4 trav) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:193:34: error: ‘uint4’ has not been declared 193 | StackNode(Varnode *v,uintb o,uint4 trav) { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:206:10: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 206 | vector flags; ///< Block properties for phi-node placement algorithm | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:206:15: error: template argument 1 is invalid 206 | vector flags; ///< Block properties for phi-node placement algorithm | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:206:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:207:10: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 207 | vector depth; ///< Dominator depth of individual blocks | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:207:14: error: template argument 1 is invalid 207 | vector depth; ///< Dominator depth of individual blocks | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:207:14: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:208:3: error: ‘int4’ does not name a type; did you mean ‘int’? 208 | int4 maxdepth; ///< Maximum depth of the dominator tree | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:209:3: error: ‘int4’ does not name a type; did you mean ‘int’? 209 | int4 pass; ///< Current pass being executed | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:233:83: error: ‘int4’ has not been declared 233 | void removeRevisitedMarkers(const vector &remove,const Address &addr,int4 size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:234:3: error: ‘int4’ does not name a type; did you mean ‘int’? 234 | int4 collect(Address addr,int4 size,vector &read,vector &write,vector &input,vector &remove) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:235:49: error: ‘int4’ has not been declared 235 | bool callOpIndirectEffect(const Address &addr,int4 size,PcodeOp *op) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:236:62: error: ‘int4’ has not been declared 236 | Varnode *normalizeReadSize(Varnode *vn,const Address &addr,int4 size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:237:63: error: ‘int4’ has not been declared 237 | Varnode *normalizeWriteSize(Varnode *vn,const Address &addr,int4 size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:239:90: error: ‘int4’ has not been declared 239 | void splitPieces(const vector &vnlist,PcodeOp *insertop,const Address &addr,int4 size,Varnode *startvn); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:249:34: error: ‘int4’ has not been declared 249 | void guard(const Address &addr,int4 size,vector &read,vector &write,vector &inputvars); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:250:39: error: ‘int4’ has not been declared 250 | void guardInput(const Address &addr,int4 size,vector &input); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:251:97: error: ‘int4’ has not been declared 251 | void guardCallOverlappingInput(FuncCallSpecs *fc,const Address &addr,const Address &transAddr,int4 size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:252:19: error: ‘uint4’ has not been declared 252 | void guardCalls(uint4 flags,const Address &addr,int4 size,vector &write); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:252:51: error: ‘int4’ has not been declared 252 | void guardCalls(uint4 flags,const Address &addr,int4 size,vector &write); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:253:40: error: ‘int4’ has not been declared 253 | void guardStores(const Address &addr,int4 size,vector &write); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:254:19: error: ‘uint4’ has not been declared 254 | void guardLoads(uint4 flags,const Address &addr,int4 size,vector &write); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:254:51: error: ‘int4’ has not been declared 254 | void guardLoads(uint4 flags,const Address &addr,int4 size,vector &write); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:255:21: error: ‘uint4’ has not been declared 255 | void guardReturns(uint4 flags,const Address &addr,int4 size,vector &write); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:255:53: error: ‘int4’ has not been declared 255 | void guardReturns(uint4 flags,const Address &addr,int4 size,vector &write); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:256:38: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 256 | static void buildRefinement(vector &refine,const Address &addr,int4 size,const vector &vnlist); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:256:42: error: template argument 1 is invalid 256 | static void buildRefinement(vector &refine,const Address &addr,int4 size,const vector &vnlist); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:256:42: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:256:72: error: ‘int4’ has not been declared 256 | static void buildRefinement(vector &refine,const Address &addr,int4 size,const vector &vnlist); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:257:71: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 257 | void splitByRefinement(Varnode *vn,const Address &addr,const vector &refine,vector &split); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:257:75: error: template argument 1 is invalid 257 | void splitByRefinement(Varnode *vn,const Address &addr,const vector &refine,vector &split); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:257:75: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:258:64: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 258 | void refineRead(Varnode *vn,const Address &addr,const vector &refine,vector &newvn); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:258:68: error: template argument 1 is invalid 258 | void refineRead(Varnode *vn,const Address &addr,const vector &refine,vector &newvn); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:258:68: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:259:65: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 259 | void refineWrite(Varnode *vn,const Address &addr,const vector &refine,vector &newvn); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:259:69: error: template argument 1 is invalid 259 | void refineWrite(Varnode *vn,const Address &addr,const vector &refine,vector &newvn); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:259:69: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:260:65: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 260 | void refineInput(Varnode *vn,const Address &addr,const vector &refine,vector &newvn); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:260:69: error: template argument 1 is invalid 260 | void refineInput(Varnode *vn,const Address &addr,const vector &refine,vector &newvn); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:260:69: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:261:34: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 261 | void remove13Refinement(vector &refine); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:261:38: error: template argument 1 is invalid 261 | void remove13Refinement(vector &refine); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:261:38: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:262:39: error: ‘int4’ has not been declared 262 | bool refinement(const Address &addr,int4 size,const vector &readvars,const vector &writevars,const vector &inputvars); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:272:3: error: ‘int4’ does not name a type; did you mean ‘int’? 272 | int4 getPass(void) const { return pass; } ///< Get overall count of heritage passes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:278:3: error: ‘int4’ does not name a type; did you mean ‘int’? 278 | int4 heritagePass(const Address &addr) const { return globaldisjoint.findPass(addr); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:279:3: error: ‘int4’ does not name a type; did you mean ‘int’? 279 | int4 numHeritagePasses(AddrSpace *spc) const; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:281:3: error: ‘int4’ does not name a type; did you mean ‘int’? 281 | int4 getDeadCodeDelay(AddrSpace *spc) const; ///< Get pass delay for heritaging the given space | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:282:40: error: ‘int4’ has not been declared 282 | void setDeadCodeDelay(AddrSpace *spc,int4 delay); ///< Set delay for a specific space | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh: In constructor ‘Heritage::StackNode::StackNode(Varnode*, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:195:7: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 195 | offset = o; | ^~~~~~ | off_t /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:197:7: error: ‘traversals’ was not declared in this scope 197 | traversals = trav; | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh: In member function ‘HeritageInfo* Heritage::getInfo(AddrSpace*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:220:66: error: ‘class AddrSpace’ has no member named ‘getIndex’ 220 | HeritageInfo *getInfo(AddrSpace *spc) { return &(infolist[spc->getIndex()]); } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh: In member function ‘const HeritageInfo* Heritage::getInfo(AddrSpace*) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:223:78: error: ‘class AddrSpace’ has no member named ‘getIndex’ 223 | const HeritageInfo *getInfo(AddrSpace *spc) const { return &(infolist[spc->getIndex()]); } | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh: In member function ‘void Heritage::forceRestructure()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/heritage.hh:286:33: error: ‘maxdepth’ was not declared in this scope; did you mean ‘depth’? 286 | void forceRestructure(void) { maxdepth = -1; } ///< Force regeneration of basic block structures | ^~~~~~~~ | depth In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/graph.hh:17, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/ifacedecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/merge.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/merge.hh:45:3: error: ‘int4’ does not name a type; did you mean ‘int’? 45 | int4 index; ///< Index of BlockBasic defining Varnode | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/merge.hh:51:3: error: ‘int4’ does not name a type; did you mean ‘int’? 51 | int4 getIndex(void) const { return index; } ///< Get the Varnode's defining block index | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/merge.hh:52:10: error: ‘int4’ does not name a type; did you mean ‘int’? 52 | static int4 findFront(int4 blocknum,const vector &list); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/merge.hh: In member function ‘bool BlockVarnode::operator<(const BlockVarnode&) const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/merge.hh:49:71: error: ‘const class BlockVarnode’ has no member named ‘index’ 49 | bool operator<(const BlockVarnode &op2) const { return (index < op2.index); } ///< Comparator | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/merge.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/merge.hh:86:58: error: ‘int4’ has not been declared 86 | bool blockIntersection(HighVariable *a,HighVariable *b,int4 blk); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/merge.hh:97:89: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 97 | bool collectCorrectable(const vector &vlist,list &oplist,vector &slotlist, | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/merge.hh:97:93: error: template argument 1 is invalid 97 | bool collectCorrectable(const vector &vlist,list &oplist,vector &slotlist, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/merge.hh:97:93: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/merge.hh:105:32: error: ‘int4’ has not been declared 105 | void trimOpInput(PcodeOp *op,int4 slot); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/merge.hh:112:69: error: ‘int4’ has not been declared 112 | void buildDominantCopy(HighVariable *high,vector ©,int4 pos,int4 size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/merge.hh:112:78: error: ‘int4’ has not been declared 112 | void buildDominantCopy(HighVariable *high,vector ©,int4 pos,int4 size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/merge.hh:113:71: error: ‘int4’ has not been declared 113 | void markRedundantCopies(HighVariable *high,vector ©,int4 pos,int4 size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/merge.hh:113:80: error: ‘int4’ has not been declared 113 | void markRedundantCopies(HighVariable *high,vector ©,int4 pos,int4 size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/merge.hh: In static member function ‘static bool Merge::compareHighByBlock(const HighVariable*, const HighVariable*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/merge.hh:151:3: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 151 | int4 result = a->wholecover.compareTo(b->wholecover); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/merge.hh:152:8: error: ‘result’ was not declared in this scope 152 | if ( result == 0 ) { | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/merge.hh:169:11: error: ‘result’ was not declared in this scope 169 | return (result < 0); | ^~~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/graph.hh:17, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/ifacedecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/dynamic.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/dynamic.hh:32:3: error: ‘int4’ does not name a type; did you mean ‘int’? 32 | int4 slot; ///< Slot containing the input Varnode or -1 for the p-code op output | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/dynamic.hh:34:29: error: ‘int4’ has not been declared 34 | ToOpEdge(const PcodeOp *o,int4 s) { op = o; slot = s; } ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/dynamic.hh:36:3: error: ‘int4’ does not name a type; did you mean ‘int’? 36 | int4 getSlot(void) const { return slot; } ///< Get the slot of the starting Varnode | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/dynamic.hh:38:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 38 | uint4 hash(uint4 reg) const; ///< Hash \b this edge into an accumulator | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/dynamic.hh: In constructor ‘ToOpEdge::ToOpEdge(const PcodeOp*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/dynamic.hh:34:47: error: ‘slot’ was not declared in this scope 34 | ToOpEdge(const PcodeOp *o,int4 s) { op = o; slot = s; } ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/dynamic.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/dynamic.hh:61:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 61 | uint4 vnproc; ///< Number of Varnodes processed in the \b markvn list so far | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/dynamic.hh:62:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 62 | uint4 opproc; ///< Number of PcodeOps processed in the \b markop list so far | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/dynamic.hh:63:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 63 | uint4 opedgeproc; ///< Number of edges processed in the \b opedge list | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/dynamic.hh:71:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 71 | uint8 hash; ///< The calculated hash value | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/dynamic.hh:80:37: error: ‘uint4’ has not been declared 80 | void calcHash(const Varnode *root,uint4 method); ///< Calculate the hash for given Varnode and method | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/dynamic.hh:82:63: error: ‘uint8’ has not been declared 82 | Varnode *findVarnode(const Funcdata *fd,const Address &addr,uint8 h); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/dynamic.hh:83:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 83 | uint8 getHash(void) const { return hash; } ///< Get the (current) hash | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/dynamic.hh:86:102: error: ‘uint8’ has not been declared 86 | static void gatherFirstLevelVars(vector &varlist,const Funcdata *fd,const Address &addr,uint8 h); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/dynamic.hh:87:10: error: ‘int4’ does not name a type; did you mean ‘int’? 87 | static int4 getSlotFromHash(uint8 h); ///< Retrieve the encoded slot from a hash | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/dynamic.hh:88:10: error: ‘uint4’ does not name a type; did you mean ‘uint’? 88 | static uint4 getMethodFromHash(uint8 h); ///< Retrieve the encoded method from a hash | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/dynamic.hh:89:35: error: ‘uint8’ has not been declared 89 | static OpCode getOpCodeFromHash(uint8 h); ///< Retrieve the encoded op-code from a hash | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/dynamic.hh:90:10: error: ‘uint4’ does not name a type; did you mean ‘uint’? 90 | static uint4 getPositionFromHash(uint8 h); ///< Retrieve the encoded position from a hash | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/dynamic.hh:91:10: error: ‘uint4’ does not name a type; did you mean ‘uint’? 91 | static uint4 getTotalFromHash(uint8 h); ///< Retrieve the encoded collision total from a hash | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/dynamic.hh:92:32: error: ‘uint8’ has not been declared 92 | static bool getIsNotAttached(uint8 h); ///< Retrieve the attachment boolean from a hash | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/dynamic.hh:93:34: error: ‘uint8’ has not been declared 93 | static void clearTotalPosition(uint8 &h); ///< Clear the collision total and position fields within a hash | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/dynamic.hh:94:10: error: ‘uint4’ does not name a type; did you mean ‘uint’? 94 | static uint4 transtable[]; ///< Translation of op-codes to hash values | ^~~~~ | uint In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/graph.hh:17, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/ifacedecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:66:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 66 | uint4 flags; ///< Boolean properties associated with \b this function | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:67:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 67 | uint4 clean_up_index; ///< Creation index of first Varnode created after start of cleanup | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:68:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 68 | uint4 high_level_index; ///< Creation index of first Varnode created after HighVariables are created | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:69:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 69 | uint4 cast_phase_index; ///< Creation index of first Varnode created after ActionSetCasts | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:70:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 70 | uint4 minLanedSize; ///< Minimum Varnode size to check as LanedRegister | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:71:3: error: ‘int4’ does not name a type; did you mean ‘int’? 71 | int4 size; ///< Number of bytes of binary data in function body | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:28, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:19, from src/decompile/cpp/grammar.y:17: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangemap.hh: In instantiation of ‘class rangemap’: /usr/include/c++/11.2.0/bits/alloc_traits.h:746:15: required from ‘void std::_Destroy(_ForwardIterator, _ForwardIterator, std::allocator<_T2>&) [with _ForwardIterator = rangemap**; _Tp = rangemap*]’ /usr/include/c++/11.2.0/bits/stl_vector.h:680:15: required from ‘std::vector<_Tp, _Alloc>::~vector() [with _Tp = rangemap*; _Alloc = std::allocator*>]’ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:518:27: required from here /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangemap.hh:66:42: error: no type named ‘linetype’ in ‘class ParamEntryRange’ 66 | typedef typename _recordtype::linetype linetype; ///< Integer data-type defining the linear domain | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:96:67: error: ‘uint4’ has not been declared 96 | bool syncVarnodesWithSymbol(VarnodeLocSet::const_iterator &iter,uint4 flags,Datatype *ct); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:107:44: error: ‘int4’ has not been declared 107 | void branchRemoveInternal(BlockBasic *bb,int4 num); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:111:3: error: ‘int4’ does not name a type; did you mean ‘int’? 111 | int4 stageJumpTable(JumpTable *jt,PcodeOp *op,FlowInfo *flow); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:119:48: error: ‘int4’ has not been declared 119 | BlockBasic *nodeSplitBlockEdge(BlockBasic *b,int4 inedge); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:123:61: error: ‘int4’ has not been declared 123 | void nodeSplitInputPatch(BlockBasic *b,BlockBasic *bprime,int4 inedge); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:124:54: error: ‘uint4’ has not been declared 124 | static bool isAlternatePathValid(const Varnode *vn,uint4 flags); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:131:81: error: ‘int4’ has not been declared 131 | Funcdata(const string &nm,Scope *conf,const Address &addr,FunctionSymbol *sym,int4 sz=0); ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:135:3: error: ‘int4’ does not name a type; did you mean ‘int’? 135 | int4 getSize(void) const { return size; } ///< Get the function body size in bytes | ^~~~ | int In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/graph.hh:17, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/ifacedecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:168:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 168 | uint4 getCastPhaseIndex(void) const { return cast_phase_index; } ///< Get creation index at the start of \b cast insertion | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:169:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 169 | uint4 getHighLevelIndex(void) const { return high_level_index; } ///< Get creation index at the start of HighVariable creation | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:171:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 171 | uint4 getCleanUpIndex(void) const { return clean_up_index; } ///< Get creation index at the start of \b clean-up phase | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:176:41: error: ‘uint4’ has not been declared 176 | void overrideFlow(const Address &addr,uint4 type); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:183:27: error: ‘uint8’ has not been declared 183 | void saveXml(ostream &s,uint8 id,bool savetree) const; ///< Emit an XML description of \b this function to stream | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:184:3: error: ‘uint8’ does not name a type; did you mean ‘uint’? 184 | uint8 restoreXml(const Element *el); ///< Restore the state of \b this function from an XML description | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:211:38: error: ‘int4’ has not been declared 211 | void spacebaseConstant(PcodeOp *op,int4 slot,SymbolEntry *entry,const Address &rampoint,uintb origval,int4 origsize); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:211:91: error: ‘uintb’ has not been declared 211 | void spacebaseConstant(PcodeOp *op,int4 slot,SymbolEntry *entry,const Address &rampoint,uintb origval,int4 origsize); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:211:105: error: ‘int4’ has not been declared 211 | void spacebaseConstant(PcodeOp *op,int4 slot,SymbolEntry *entry,const Address &rampoint,uintb origval,int4 origsize); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:213:3: error: ‘int4’ does not name a type; did you mean ‘int’? 213 | int4 getHeritagePass(void) const { return heritage.getPass(); } ///< Get overall count of heritage passes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:219:3: error: ‘int4’ does not name a type; did you mean ‘int’? 219 | int4 numHeritagePasses(AddrSpace *spc) { return heritage.numHeritagePasses(spc); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:230:40: error: ‘int4’ has not been declared 230 | void setDeadCodeDelay(AddrSpace *spc,int4 delay) { heritage.setDeadCodeDelay(spc,delay); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:255:3: error: ‘int4’ does not name a type; did you mean ‘int’? 255 | int4 numCalls(void) const { return qlst.size(); } ///< Get the number of calls made by \b this function | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:256:31: error: ‘int4’ has not been declared 256 | FuncCallSpecs *getCallSpecs(int4 i) const { return qlst[i]; } ///< Get the i-th call specification | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:258:3: error: ‘int4’ does not name a type; did you mean ‘int’? 258 | int4 fillinExtrapop(void); ///< Recover and return the \e extrapop for this function | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:261:3: error: ‘int4’ does not name a type; did you mean ‘int’? 261 | int4 numVarnodes(void) const { return vbank.numVarnodes(); } ///< Get the total number of Varnodes | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:262:26: error: ‘int4’ has not been declared 262 | Varnode *newVarnodeOut(int4 s,const Address &m,PcodeOp *op); ///< Create a new output Varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:263:25: error: ‘int4’ has not been declared 263 | Varnode *newUniqueOut(int4 s,PcodeOp *op); ///< Create a new \e temporary output Varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:264:23: error: ‘int4’ has not been declared 264 | Varnode *newVarnode(int4 s,const Address &m,Datatype *ct=(Datatype *)0); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:265:24: error: ‘int4’ has not been declared 265 | Varnode *newConstant(int4 s,uintb constant_val); ///< Create a new \e constant Varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:265:31: error: ‘uintb’ has not been declared 265 | Varnode *newConstant(int4 s,uintb constant_val); ///< Create a new \e constant Varnode | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:266:23: error: ‘int4’ has not been declared 266 | Varnode *newVarnode(int4 s,AddrSpace *base,uintb off); ///< Create a new Varnode given an address space and offset | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:266:46: error: ‘uintb’ has not been declared 266 | Varnode *newVarnode(int4 s,AddrSpace *base,uintb off); ///< Create a new Varnode given an address space and offset | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:270:22: error: ‘int4’ has not been declared 270 | Varnode *newUnique(int4 s,Datatype *ct=(Datatype *)0); ///< Create a new \e temporary Varnode | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:273:48: error: ‘int4’ has not been declared 273 | void adjustInputVarnodes(const Address &addr,int4 size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:276:41: error: ‘int4’ has not been declared 276 | Address findDisjointCover(Varnode *vn,int4 &sz); ///< Find range covering given Varnode and any intersecting Varnodes | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:283:29: error: ‘int4’ has not been declared 283 | Varnode *findCoveredInput(int4 s,const Address &loc) const { return vbank.findCoveredInput(s,loc); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:290:30: error: ‘int4’ has not been declared 290 | Varnode *findCoveringInput(int4 s,const Address &loc) const { return vbank.findCoveringInput(s,loc); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:297:29: error: ‘int4’ has not been declared 297 | Varnode *findVarnodeInput(int4 s,const Address &loc) const { return vbank.findInput(s,loc); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:306:31: error: ‘int4’ has not been declared 306 | Varnode *findVarnodeWritten(int4 s,const Address &loc,const Address &pc,uintm uniq=~((uintm)0)) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:306:75: error: ‘uintm’ has not been declared 306 | Varnode *findVarnodeWritten(int4 s,const Address &loc,const Address &pc,uintm uniq=~((uintm)0)) const { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:328:42: error: ‘int4’ has not been declared 328 | VarnodeLocSet::const_iterator beginLoc(int4 s,const Address &addr) const { return vbank.beginLoc(s,addr); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:331:40: error: ‘int4’ has not been declared 331 | VarnodeLocSet::const_iterator endLoc(int4 s,const Address &addr) const { return vbank.endLoc(s,addr); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:334:42: error: ‘int4’ has not been declared 334 | VarnodeLocSet::const_iterator beginLoc(int4 s,const Address &addr,uint4 fl) const { return vbank.beginLoc(s,addr,fl); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:334:69: error: ‘uint4’ has not been declared 334 | VarnodeLocSet::const_iterator beginLoc(int4 s,const Address &addr,uint4 fl) const { return vbank.beginLoc(s,addr,fl); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:337:40: error: ‘int4’ has not been declared 337 | VarnodeLocSet::const_iterator endLoc(int4 s,const Address &addr,uint4 fl) const { return vbank.endLoc(s,addr,fl); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:337:67: error: ‘uint4’ has not been declared 337 | VarnodeLocSet::const_iterator endLoc(int4 s,const Address &addr,uint4 fl) const { return vbank.endLoc(s,addr,fl); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:340:42: error: ‘int4’ has not been declared 340 | VarnodeLocSet::const_iterator beginLoc(int4 s,const Address &addr,const Address &pc,uintm uniq=~((uintm)0)) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:340:87: error: ‘uintm’ has not been declared 340 | VarnodeLocSet::const_iterator beginLoc(int4 s,const Address &addr,const Address &pc,uintm uniq=~((uintm)0)) const { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:344:40: error: ‘int4’ has not been declared 344 | VarnodeLocSet::const_iterator endLoc(int4 s,const Address &addr,const Address &pc,uintm uniq=~((uintm)0)) const { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:344:85: error: ‘uintm’ has not been declared 344 | VarnodeLocSet::const_iterator endLoc(int4 s,const Address &addr,const Address &pc,uintm uniq=~((uintm)0)) const { | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:354:42: error: ‘uint4’ has not been declared 354 | VarnodeDefSet::const_iterator beginDef(uint4 fl) const { return vbank.beginDef(fl); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:357:40: error: ‘uint4’ has not been declared 357 | VarnodeDefSet::const_iterator endDef(uint4 fl) const { return vbank.endDef(fl); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:360:42: error: ‘uint4’ has not been declared 360 | VarnodeDefSet::const_iterator beginDef(uint4 fl,const Address &addr) const { return vbank.beginDef(fl,addr); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:363:40: error: ‘uint4’ has not been declared 363 | VarnodeDefSet::const_iterator endDef(uint4 fl,const Address &addr) const { return vbank.endDef(fl,addr); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:365:30: error: ‘int4’ has not been declared 365 | void checkForLanedRegister(int4 size,const Address &addr); ///< Check for a potential laned register | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:372:86: error: ‘uint4’ has not been declared 372 | bool checkCallDoubleUse(const PcodeOp *opmatch,const PcodeOp *op,const Varnode *vn,uint4 flags,const ParamTrial &trial) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:373:85: error: ‘uint4’ has not been declared 373 | bool onlyOpUse(const Varnode *invn,const PcodeOp *opmatch,const ParamTrial &trial,uint4 mainFlags) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:374:22: error: ‘int4’ has not been declared 374 | bool ancestorOpUse(int4 maxlevel,const Varnode *invn,const PcodeOp *op,ParamTrial &trial,uint4 mainFlags) const; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:374:92: error: ‘uint4’ has not been declared 374 | bool ancestorOpUse(int4 maxlevel,const Varnode *invn,const PcodeOp *op,ParamTrial &trial,uint4 mainFlags) const; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:376:61: error: ‘int4’ has not been declared 376 | void transferVarnodeProperties(Varnode *vn,Varnode *newVn,int4 lsbOffset); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:381:41: error: ‘uintb’ has not been declared 381 | void totalReplaceConstant(Varnode *vn,uintb val); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:399:76: error: ‘uint8’ has not been declared 399 | void remapDynamicVarnode(Varnode *vn,Symbol *sym,const Address &usepoint,uint8 hash); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:410:18: error: ‘int4’ has not been declared 410 | PcodeOp *newOp(int4 inputs,const Address &pc); /// Allocate a new PcodeOp with Address | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:411:18: error: ‘int4’ has not been declared 411 | PcodeOp *newOp(int4 inputs,const SeqNum &sq); /// Allocate a new PcodeOp with sequence number | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:415:65: error: ‘int4’ has not been declared 415 | PcodeOp *newIndirectOp(PcodeOp *indeffect,const Address &addr,int4 size,uint4 extraFlags); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:415:75: error: ‘uint4’ has not been declared 415 | PcodeOp *newIndirectOp(PcodeOp *indeffect,const Address &addr,int4 size,uint4 extraFlags); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:416:71: error: ‘int4’ has not been declared 416 | PcodeOp *newIndirectCreation(PcodeOp *indeffect,const Address &addr,int4 size,bool possibleout); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:429:31: error: ‘uint4’ has not been declared 429 | void opMarkHalt(PcodeOp *op,uint4 flag); ///< Mark given CPUI_RETURN op as a \e special halt | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:432:43: error: ‘int4’ has not been declared 432 | void opSetInput(PcodeOp *op,Varnode *vn,int4 slot); ///< Set a specific input operand for the given PcodeOp | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:433:32: error: ‘int4’ has not been declared 433 | void opSwapInput(PcodeOp *op,int4 slot1,int4 slot2); ///< Swap two input operands in the given PcodeOp | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:433:43: error: ‘int4’ has not been declared 433 | void opSwapInput(PcodeOp *op,int4 slot1,int4 slot2); ///< Swap two input operands in the given PcodeOp | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:434:33: error: ‘int4’ has not been declared 434 | void opUnsetInput(PcodeOp *op,int4 slot); ///< Clear an input operand slot for the given PcodeOp | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:442:34: error: ‘int4’ has not been declared 442 | void opRemoveInput(PcodeOp *op,int4 slot); ///< Remove a specific input slot for the given PcodeOp | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:443:46: error: ‘int4’ has not been declared 443 | void opInsertInput(PcodeOp *op,Varnode *vn,int4 slot); ///< Insert a new Varnode into the operand list for the given PcodeOp | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:455:42: error: ‘uintb’ has not been declared 455 | Varnode *createStackRef(AddrSpace *spc,uintb off,PcodeOp *op,Varnode *stackptr,bool insertafter); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:456:39: error: ‘uintb’ has not been declared 456 | Varnode *opStackLoad(AddrSpace *spc,uintb off,uint4 sz,PcodeOp *op,Varnode *stackptr,bool insertafter); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:456:49: error: ‘uint4’ has not been declared 456 | Varnode *opStackLoad(AddrSpace *spc,uintb off,uint4 sz,PcodeOp *op,Varnode *stackptr,bool insertafter); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:457:40: error: ‘uintb’ has not been declared 457 | PcodeOp *opStackStore(AddrSpace *spc,uintb off,PcodeOp *op,bool insertafter); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:496:58: error: ‘int4’ has not been declared 496 | JumpTable *recoverJumpTable(PcodeOp *op,FlowInfo *flow,int4 &failuremode); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:497:3: error: ‘int4’ does not name a type; did you mean ‘int’? 497 | int4 numJumpTables(void) const { return jumpvec.size(); } ///< Get the number of jump-tables for \b this function | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:498:27: error: ‘int4’ has not been declared 498 | JumpTable *getJumpTable(int4 i) { return jumpvec[i]; } ///< Get the i-th jump-table | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:515:34: error: ‘int4’ has not been declared 515 | void pushBranch(BlockBasic *bb,int4 slot,BlockBasic *bbnew); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:516:36: error: ‘int4’ has not been declared 516 | void removeBranch(BlockBasic *bb,int4 num); ///< Remove the indicated branch from a basic block | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:519:32: error: ‘int4’ has not been declared 519 | void nodeSplit(BlockBasic *b,int4 inedge); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:306:89: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 306 | Varnode *findVarnodeWritten(int4 s,const Address &loc,const Address &pc,uintm uniq=~((uintm)0)) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:306:95: error: expected ‘)’ before numeric constant 306 | Varnode *findVarnodeWritten(int4 s,const Address &loc,const Address &pc,uintm uniq=~((uintm)0)) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:306:87: note: to match this ‘(’ 306 | Varnode *findVarnodeWritten(int4 s,const Address &loc,const Address &pc,uintm uniq=~((uintm)0)) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:340:101: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 340 | VarnodeLocSet::const_iterator beginLoc(int4 s,const Address &addr,const Address &pc,uintm uniq=~((uintm)0)) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:340:107: error: expected ‘)’ before numeric constant 340 | VarnodeLocSet::const_iterator beginLoc(int4 s,const Address &addr,const Address &pc,uintm uniq=~((uintm)0)) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:340:99: note: to match this ‘(’ 340 | VarnodeLocSet::const_iterator beginLoc(int4 s,const Address &addr,const Address &pc,uintm uniq=~((uintm)0)) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:344:99: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 344 | VarnodeLocSet::const_iterator endLoc(int4 s,const Address &addr,const Address &pc,uintm uniq=~((uintm)0)) const { | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:344:105: error: expected ‘)’ before numeric constant 344 | VarnodeLocSet::const_iterator endLoc(int4 s,const Address &addr,const Address &pc,uintm uniq=~((uintm)0)) const { | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:344:97: note: to match this ‘(’ 344 | VarnodeLocSet::const_iterator endLoc(int4 s,const Address &addr,const Address &pc,uintm uniq=~((uintm)0)) const { | ^ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/graph.hh:17, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/ifacedecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh: In member function ‘bool Funcdata::isHighOn() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:138:40: error: ‘flags’ was not declared in this scope 138 | bool isHighOn(void) const { return ((flags&highlevel_on)!=0); } ///< Are high-level variables assigned to Varnodes | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh: In member function ‘bool Funcdata::isProcStarted() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:139:45: error: ‘flags’ was not declared in this scope 139 | bool isProcStarted(void) const { return ((flags&processing_started)!=0); } ///< Has processing of the function started | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh: In member function ‘bool Funcdata::isProcComplete() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:140:46: error: ‘flags’ was not declared in this scope 140 | bool isProcComplete(void) const { return ((flags&processing_complete)!=0); } ///< Is processing of the function complete | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:28, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/sleigh_arch.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangemap.hh: In instantiation of ‘class rangemap’: /usr/include/c++/11.2.0/bits/alloc_traits.h:746:15: required from ‘void std::_Destroy(_ForwardIterator, _ForwardIterator, std::allocator<_T2>&) [with _ForwardIterator = rangemap**; _Tp = rangemap*]’ /usr/include/c++/11.2.0/bits/stl_vector.h:680:15: required from ‘std::vector<_Tp, _Alloc>::~vector() [with _Tp = rangemap*; _Alloc = std::allocator*>]’ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:518:27: required from here /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangemap.hh:66:42: error: no type named ‘linetype’ in ‘class ParamEntryRange’ 66 | typedef typename _recordtype::linetype linetype; ///< Integer data-type defining the linear domain | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh: In member function ‘bool Funcdata::hasUnreachableBlocks() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:141:52: error: ‘flags’ was not declared in this scope 141 | bool hasUnreachableBlocks(void) const { return ((flags&blocks_unreachable)!=0); } ///< Did this function exhibit unreachable code | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/graph.hh:17, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/ifacedecomp.hh:23, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh: In member function ‘bool Funcdata::isTypeRecoveryOn() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:142:48: error: ‘flags’ was not declared in this scope 142 | bool isTypeRecoveryOn(void) const { return ((flags&typerecovery_on)!=0); } ///< Has data-type recovery processes started | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh: In member function ‘bool Funcdata::hasNoCode() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:143:41: error: ‘flags’ was not declared in this scope 143 | bool hasNoCode(void) const { return ((flags & no_code)!=0); } ///< Return \b true if \b this function has no code body | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh: In member function ‘void Funcdata::setNoCode(bool)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:144:39: error: ‘flags’ was not declared in this scope 144 | void setNoCode(bool val) { if (val) flags |= no_code; else flags &= ~no_code; } ///< Toggle whether \b this has a body | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:144:62: error: ‘flags’ was not declared in this scope 144 | void setNoCode(bool val) { if (val) flags |= no_code; else flags &= ~no_code; } ///< Toggle whether \b this has a body | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh: In member function ‘void Funcdata::setLanedRegGenerated()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:145:37: error: ‘minLanedSize’ was not declared in this scope 145 | void setLanedRegGenerated(void) { minLanedSize = 1000000; } ///< Mark that laned registers have been collected | ^~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh: In member function ‘void Funcdata::setJumptableRecovery(bool)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:150:50: error: ‘flags’ was not declared in this scope 150 | void setJumptableRecovery(bool val) { if (val) flags &= ~jumptablerecovery_dont; else flags |= jumptablerecovery_dont; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:150:89: error: ‘flags’ was not declared in this scope 150 | void setJumptableRecovery(bool val) { if (val) flags &= ~jumptablerecovery_dont; else flags |= jumptablerecovery_dont; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh: In member function ‘bool Funcdata::isJumptableRecoveryOn() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:152:53: error: ‘flags’ was not declared in this scope 152 | bool isJumptableRecoveryOn(void) const { return ((flags & jumptablerecovery_on)!=0); } ///< Is \b this used for jump-table recovery | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh: In member function ‘void Funcdata::setDoublePrecisRecovery(bool)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:157:53: error: ‘flags’ was not declared in this scope 157 | void setDoublePrecisRecovery(bool val) { if (val) flags |= double_precis_on; else flags &= ~double_precis_on; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:157:85: error: ‘flags’ was not declared in this scope 157 | void setDoublePrecisRecovery(bool val) { if (val) flags |= double_precis_on; else flags &= ~double_precis_on; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh: In member function ‘bool Funcdata::isDoublePrecisOn() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:159:48: error: ‘flags’ was not declared in this scope 159 | bool isDoublePrecisOn(void) const { return ((flags & double_precis_on)!=0); } ///< Is double precision analysis enabled | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh: In member function ‘bool Funcdata::hasNoStructBlocks() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:160:56: error: ‘const class BlockGraph’ has no member named ‘getSize’ 160 | bool hasNoStructBlocks(void) const { return (sblocks.getSize() == 0); } ///< Return \b true if no block structuring was performed | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh: In member function ‘void Funcdata::startCastPhase()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:167:31: error: ‘cast_phase_index’ was not declared in this scope 167 | void startCastPhase(void) { cast_phase_index = vbank.getCreateIndex(); } ///< Start the \b cast insertion phase | ^~~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:167:56: error: ‘class VarnodeBank’ has no member named ‘getCreateIndex’ 167 | void startCastPhase(void) { cast_phase_index = vbank.getCreateIndex(); } ///< Start the \b cast insertion phase | ^~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh: In member function ‘void Funcdata::startCleanUp()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:170:29: error: ‘clean_up_index’ was not declared in this scope 170 | void startCleanUp(void) { clean_up_index = vbank.getCreateIndex(); } ///< Start \e clean-up phase | ^~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:170:52: error: ‘class VarnodeBank’ has no member named ‘getCreateIndex’ 170 | void startCleanUp(void) { clean_up_index = vbank.getCreateIndex(); } ///< Start \e clean-up phase | ^~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh: In member function ‘void Funcdata::setRestartPending(bool)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:195:38: error: ‘flags’ was not declared in this scope 195 | void setRestartPending(bool val) { flags = val ? (flags|restart_pending) : (flags & ~((uint4)restart_pending)); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:195:90: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 195 | void setRestartPending(bool val) { flags = val ? (flags|restart_pending) : (flags & ~((uint4)restart_pending)); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:195:96: error: expected ‘)’ before ‘restart_pending’ 195 | void setRestartPending(bool val) { flags = val ? (flags|restart_pending) : (flags & ~((uint4)restart_pending)); } | ^~~~~~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:195:88: note: to match this ‘(’ 195 | void setRestartPending(bool val) { flags = val ? (flags|restart_pending) : (flags & ~((uint4)restart_pending)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:195:113: error: expected ‘)’ before ‘;’ token 195 | void setRestartPending(bool val) { flags = val ? (flags|restart_pending) : (flags & ~((uint4)restart_pending)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:195:78: note: to match this ‘(’ 195 | void setRestartPending(bool val) { flags = val ? (flags|restart_pending) : (flags & ~((uint4)restart_pending)); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh: In member function ‘bool Funcdata::hasRestartPending() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:200:49: error: ‘flags’ was not declared in this scope 200 | bool hasRestartPending(void) const { return ((flags&restart_pending)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh: In member function ‘bool Funcdata::hasUnimplemented() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:205:48: error: ‘flags’ was not declared in this scope 205 | bool hasUnimplemented(void) const { return ((flags&unimplemented_present)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh: In member function ‘bool Funcdata::hasBadData() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:207:42: error: ‘flags’ was not declared in this scope 207 | bool hasBadData(void) const { return ((flags&baddata_present)!=0); } ///< Does \b this function flow into bad data | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh: In member function ‘bool Funcdata::isHeritaged(Varnode*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:248:52: error: ‘class Heritage’ has no member named ‘heritagePass’; did you mean ‘heritage’? 248 | bool isHeritaged(Varnode *vn) { return (heritage.heritagePass(vn->getAddr())>=0); } | ^~~~~~~~~~~~ | heritage /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:571:90: error: ‘int4’ has not been declared 571 | virtual void dump(const Address &addr,OpCode opc,VarnodeData *outvar,VarnodeData *vars,int4 isize); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:593:5: error: ‘int4’ does not name a type; did you mean ‘int’? 593 | int4 slot; ///< vn = op->getIn(slot) | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:594:5: error: ‘uint4’ does not name a type; did you mean ‘uint’? 594 | uint4 flags; ///< Boolean properties of the node | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:600:22: error: ‘int4’ has not been declared 600 | State(PcodeOp *o,int4 s) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:606:5: error: ‘int4’ does not name a type; did you mean ‘int’? 606 | int4 getSolidSlot(void) const { return ((flags & seen_solid0)!=0) ? 0 : 1; } ///< Get slot associated with \e solid movement | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:607:20: error: ‘int4’ has not been declared 607 | void markSolid(int4 slot) { flags |= (slot==0) ? seen_solid0 : seen_solid1; } ///< Mark slot as having \e solid movement | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:623:3: error: ‘int4’ does not name a type; did you mean ‘int’? 623 | int4 multiDepth; ///< Number of MULTIEQUAL ops along current traversal path | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:634:3: error: ‘int4’ does not name a type; did you mean ‘int’? 634 | int4 enterNode(State &state); ///< Traverse into a new Varnode | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:635:3: error: ‘int4’ does not name a type; did you mean ‘int’? 635 | int4 uponPop(State &state,int4 command); ///< Pop a Varnode from the traversal stack | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:638:28: error: ‘int4’ has not been declared 638 | bool execute(PcodeOp *op,int4 slot,ParamTrial *t,bool allowFail); | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/database.hh:28, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/varmap.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/architecture.hh:22, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/inject_sleigh.cc:18: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangemap.hh: In instantiation of ‘class rangemap’: /usr/include/c++/11.2.0/bits/alloc_traits.h:746:15: required from ‘void std::_Destroy(_ForwardIterator, _ForwardIterator, std::allocator<_T2>&) [with _ForwardIterator = rangemap**; _Tp = rangemap*]’ /usr/include/c++/11.2.0/bits/stl_vector.h:680:15: required from ‘std::vector<_Tp, _Alloc>::~vector() [with _Tp = rangemap*; _Alloc = std::allocator*>]’ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:518:27: required from here /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangemap.hh:66:42: error: no type named ‘linetype’ in ‘class ParamEntryRange’ 66 | typedef typename _recordtype::linetype linetype; ///< Integer data-type defining the linear domain | ^~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh: In constructor ‘AncestorRealistic::State::State(PcodeOp*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:602:7: error: ‘slot’ was not declared in this scope 602 | slot = s; | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:604:7: error: ‘flags’ was not declared in this scope 604 | flags = 0; | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh: In member function ‘void AncestorRealistic::State::markSolid(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:607:33: error: ‘flags’ was not declared in this scope 607 | void markSolid(int4 slot) { flags |= (slot==0) ? seen_solid0 : seen_solid1; } ///< Mark slot as having \e solid movement | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh: In member function ‘void AncestorRealistic::State::markKill()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:608:27: error: ‘flags’ was not declared in this scope 608 | void markKill(void) { flags |= seen_kill; } ///< Mark \e killedbycall seen | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh: In member function ‘bool AncestorRealistic::State::seenSolid() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:609:43: error: ‘flags’ was not declared in this scope 609 | bool seenSolid(void) const { return ((flags & (seen_solid0|seen_solid1))!=0); } ///< Has \e solid movement been seen | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh: In member function ‘bool AncestorRealistic::State::seenKill() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:610:42: error: ‘flags’ was not declared in this scope 610 | bool seenKill(void) const { return ((flags & seen_kill)!=0); } ///< Has \e killedbycall been seen | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:641:8: error: ‘int4’ does not name a type; did you mean ‘int’? 641 | extern int4 opFlipInPlaceTest(PcodeOp *op,vector &fliplist); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:647:58: error: ‘uintm’ was not declared in this scope; did you mean ‘uint’? 647 | extern void cseEliminateList(Funcdata &data,vector< pair > &list, | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:647:73: error: template argument 1 is invalid 647 | extern void cseEliminateList(Funcdata &data,vector< pair > &list, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:647:75: error: template argument 1 is invalid 647 | extern void cseEliminateList(Funcdata &data,vector< pair > &list, | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/funcdata.hh:647:75: error: template argument 2 is invalid In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/ifacedecomp.hh:24, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:45:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 45 | uint4 type; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:47:5: error: ‘uintb’ does not name a type; did you mean ‘uint’? 47 | uintb integer; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:51:3: error: ‘int4’ does not name a type; did you mean ‘int’? 51 | int4 lineno; // Line number containing this token | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:52:3: error: ‘int4’ does not name a type; did you mean ‘int’? 52 | int4 colno; // Column where this token starts | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:53:3: error: ‘int4’ does not name a type; did you mean ‘int’? 53 | int4 filenum; // Which file were we in | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:54:12: error: ‘uint4’ has not been declared 54 | void set(uint4 tp); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:55:12: error: ‘uint4’ has not been declared 55 | void set(uint4 tp,char *ptr,int4 len); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:55:31: error: ‘int4’ has not been declared 55 | void set(uint4 tp,char *ptr,int4 len); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:56:20: error: ‘int4’ has not been declared 56 | void setPosition(int4 file,int4 line,int4 col) { filenum=file; lineno=line; colno=col; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:56:30: error: ‘int4’ has not been declared 56 | void setPosition(int4 file,int4 line,int4 col) { filenum=file; lineno=line; colno=col; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:56:40: error: ‘int4’ has not been declared 56 | void setPosition(int4 file,int4 line,int4 col) { filenum=file; lineno=line; colno=col; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:59:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 59 | uint4 getType(void) const { return type; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:60:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 60 | uintb getInteger(void) const { return value.integer; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:62:3: error: ‘int4’ does not name a type; did you mean ‘int’? 62 | int4 getLineNo(void) const { return lineno; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:63:3: error: ‘int4’ does not name a type; did you mean ‘int’? 63 | int4 getColNo(void) const { return colno; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:64:3: error: ‘int4’ does not name a type; did you mean ‘int’? 64 | int4 getFileNum(void) const { return filenum; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh: In member function ‘void GrammarToken::setPosition(int, int, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:56:52: error: ‘filenum’ was not declared in this scope; did you mean ‘fileno’? 56 | void setPosition(int4 file,int4 line,int4 col) { filenum=file; lineno=line; colno=col; } | ^~~~~~~ | fileno /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:56:66: error: ‘lineno’ was not declared in this scope; did you mean ‘fileno’? 56 | void setPosition(int4 file,int4 line,int4 col) { filenum=file; lineno=line; colno=col; } | ^~~~~~ | fileno /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:56:79: error: ‘colno’ was not declared in this scope 56 | void setPosition(int4 file,int4 line,int4 col) { filenum=file; lineno=line; colno=col; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:68:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 68 | map filenamemap; // All files ever seen | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:68:18: error: template argument 1 is invalid 68 | map filenamemap; // All files ever seen | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:68:18: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:68:18: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:69:7: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 69 | map streammap; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:69:21: error: template argument 1 is invalid 69 | map streammap; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:69:21: error: template argument 3 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:69:21: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:70:10: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 70 | vector filestack; // Stack of current files | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:70:14: error: template argument 1 is invalid 70 | vector filestack; // Stack of current files | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:70:14: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:71:3: error: ‘int4’ does not name a type; did you mean ‘int’? 71 | int4 buffersize; // maximum characters in buffer | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:73:3: error: ‘int4’ does not name a type; did you mean ‘int’? 73 | int4 bufstart; // Next character to process | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:74:3: error: ‘int4’ does not name a type; did you mean ‘int’? 74 | int4 bufend; // Next open position in buffer | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:75:3: error: ‘int4’ does not name a type; did you mean ‘int’? 75 | int4 curlineno; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:78:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 78 | uint4 state; // State of parser | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:98:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 98 | uint4 moveState(char lookahead); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:99:43: error: ‘uint4’ has not been declared 99 | void establishToken(GrammarToken &token,uint4 val); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:102:20: error: expected ‘)’ before ‘maxbuffer’ 102 | GrammarLexer(int4 maxbuffer); | ~ ^~~~~~~~~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:109:33: error: ‘int4’ has not been declared 109 | void writeLocation(ostream &s,int4 line,int4 filenum); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:109:43: error: ‘int4’ has not been declared 109 | void writeLocation(ostream &s,int4 line,int4 filenum); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:110:38: error: ‘int4’ has not been declared 110 | void writeTokenLocation(ostream &s,int4 line,int4 colno); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:110:48: error: ‘int4’ has not been declared 110 | void writeTokenLocation(ostream &s,int4 line,int4 colno); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:126:11: error: ‘uint4’ does not name a type; did you mean ‘uint’? 126 | virtual uint4 getType(void) const=0; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:132:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 132 | uint4 flags; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:134:24: error: expected ‘)’ before ‘fl’ 134 | PointerModifier(uint4 fl) { flags = fl; } | ~ ^~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:135:11: error: ‘uint4’ does not name a type; did you mean ‘uint’? 135 | virtual uint4 getType(void) const { return pointer_mod; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:141:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 141 | uint4 flags; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:142:3: error: ‘int4’ does not name a type; did you mean ‘int’? 142 | int4 arraysize; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:144:22: error: expected ‘)’ before ‘fl’ 144 | ArrayModifier(uint4 fl,int4 as) { flags=fl; arraysize = as; } | ~ ^~~ | ) /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:145:11: error: ‘uint4’ does not name a type; did you mean ‘uint’? 145 | virtual uint4 getType(void) const { return array_mod; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh: In member function ‘virtual bool ArrayModifier::isValid() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:146:46: error: ‘arraysize’ was not declared in this scope 146 | virtual bool isValid(void) const { return (arraysize>0); } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:158:11: error: ‘uint4’ does not name a type; did you mean ‘uint’? 158 | virtual uint4 getType(void) const { return function_mod; } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:169:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 169 | uint4 flags; // Specifiers qualifiers | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:175:3: error: ‘int4’ does not name a type; did you mean ‘int’? 175 | int4 numModifiers(void) const { return mods.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:179:20: error: ‘uint4’ has not been declared 179 | bool hasProperty(uint4 mask) { return ((flags&mask)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh: In constructor ‘TypeDeclarator::TypeDeclarator()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:171:50: error: ‘flags’ was not declared in this scope 171 | TypeDeclarator(void) { basetype=(Datatype *)0; flags=0; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh: In constructor ‘TypeDeclarator::TypeDeclarator(const string&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:172:72: error: ‘flags’ was not declared in this scope 172 | TypeDeclarator(const string &nm) { ident=nm; basetype=(Datatype *)0; flags=0; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh: In member function ‘bool TypeDeclarator::hasProperty(int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:179:43: error: ‘flags’ was not declared in this scope 179 | bool hasProperty(uint4 mask) { return ((flags&mask)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:187:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 187 | uint4 flags; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh: In constructor ‘TypeSpecifiers::TypeSpecifiers()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:188:58: error: ‘flags’ was not declared in this scope 188 | TypeSpecifiers(void) { type_specifier = (Datatype *)0; flags = 0; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:194:3: error: ‘uintb’ does not name a type; did you mean ‘uint’? 194 | uintb value; // The actual constant | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:196:31: error: ‘uintb’ has not been declared 196 | Enumerator(const string &nm,uintb val) { constantassigned = true; enumconstant=nm; value=val; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh: In constructor ‘Enumerator::Enumerator(const string&, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:196:86: error: ‘value’ was not declared in this scope; did you mean ‘val’? 196 | Enumerator(const string &nm,uintb val) { constantassigned = true; enumconstant=nm; value=val; } | ^~~~~ | val /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:221:14: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 221 | map keywords; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:221:19: error: template argument 2 is invalid 221 | map keywords; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:221:19: error: template argument 4 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:223:3: error: ‘int4’ does not name a type; did you mean ‘int’? 223 | int4 lineno,colno,filenum; // Location of last token | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:226:15: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 226 | list *> vecuint4_alloc; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:226:20: error: template argument 1 is invalid 226 | list *> vecuint4_alloc; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:226:20: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:226:23: error: template argument 1 is invalid 226 | list *> vecuint4_alloc; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:226:23: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:229:8: error: ‘uintb’ was not declared in this scope; did you mean ‘uint’? 229 | list num_alloc; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:229:15: error: template argument 1 is invalid 229 | list num_alloc; | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:229:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:234:3: error: ‘int4’ does not name a type; did you mean ‘int’? 234 | int4 firsttoken; // Message to parser indicating desired object | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:237:3: error: ‘int4’ does not name a type; did you mean ‘int’? 237 | int4 lookupIdentifier(const string &nm); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:238:17: error: ‘uint4’ has not been declared 238 | bool runParse(uint4 doctype); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:240:26: error: ‘int4’ has not been declared 240 | CParse(Architecture *g,int4 maxbuf); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:250:39: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 250 | TypeDeclarator *mergePointer(vector *ptr,TypeDeclarator *dec); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:250:44: error: template argument 1 is invalid 250 | TypeDeclarator *mergePointer(vector *ptr,TypeDeclarator *dec); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:250:44: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:255:10: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 255 | vector *newPointer(void); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:255:15: error: template argument 1 is invalid 255 | vector *newPointer(void); | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:255:15: error: template argument 2 is invalid /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:256:48: error: ‘uint4’ has not been declared 256 | TypeDeclarator *newArray(TypeDeclarator *dec,uint4 flags,uintb *num); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:256:60: error: ‘uintb’ has not been declared 256 | TypeDeclarator *newArray(TypeDeclarator *dec,uint4 flags,uintb *num); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:263:49: error: ‘uintb’ has not been declared 263 | Enumerator *newEnumerator(const string &ident,uintb val); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:267:3: error: ‘uint4’ does not name a type; did you mean ‘uint’? 267 | uint4 convertFlag(string *str); | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:270:3: error: ‘int4’ does not name a type; did you mean ‘int’? 270 | int4 lex(void); | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:272:41: error: ‘uint4’ has not been declared 272 | bool parseFile(const string &filename,uint4 doctype); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:273:31: error: ‘uint4’ has not been declared 273 | bool parseStream(istream &s,uint4 doctype); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:287:42: error: ‘int4’ has not been declared 287 | extern Address parse_machaddr(istream &s,int4 &defaultsize,const TypeFactory &typegrp,bool ignorecolon=false); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:288:41: error: ‘int4’ has not been declared 288 | extern Address parse_varnode(istream &s,int4 &size,Address &pc,uintm &uq,const TypeFactory &typegrp); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:288:64: error: ‘uintm’ has not been declared 288 | extern Address parse_varnode(istream &s,int4 &size,Address &pc,uintm &uq,const TypeFactory &typegrp); | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/grammar.hh:289:36: error: ‘uintm’ has not been declared 289 | extern Address parse_op(istream &s,uintm &uq,const TypeFactory &typegrp); | ^~~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/ifacedecomp.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/callgraph.hh:39:3: error: ‘int4’ does not name a type; did you mean ‘int’? 39 | int4 complement; // Index of complementary edge | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/callgraph.hh:40:11: error: ‘uint4’ does not name a type; did you mean ‘uint’? 40 | mutable uint4 flags; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/callgraph.hh: In constructor ‘CallGraphEdge::CallGraphEdge()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/callgraph.hh:42:25: error: ‘flags’ was not declared in this scope 42 | CallGraphEdge(void) { flags = 0; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/callgraph.hh: In member function ‘bool CallGraphEdge::isCycle() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/callgraph.hh:43:39: error: ‘flags’ was not declared in this scope 43 | bool isCycle(void) const { return ((flags&1)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/callgraph.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/callgraph.hh:64:3: error: ‘int4’ does not name a type; did you mean ‘int’? 64 | int4 parentedge; // Incoming edge for spanning tree | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/callgraph.hh:65:11: error: ‘uint4’ does not name a type; did you mean ‘uint’? 65 | mutable uint4 flags; | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/callgraph.hh:73:3: error: ‘int4’ does not name a type; did you mean ‘int’? 73 | int4 numInEdge(void) const { return inedge.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/callgraph.hh:74:34: error: ‘int4’ has not been declared 74 | const CallGraphEdge &getInEdge(int4 i) const { return inedge[i]; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/callgraph.hh:75:28: error: ‘int4’ has not been declared 75 | CallGraphNode *getInNode(int4 i) const { return inedge[i].from; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/callgraph.hh:76:3: error: ‘int4’ does not name a type; did you mean ‘int’? 76 | int4 numOutEdge(void) const { return outedge.size(); } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/callgraph.hh:77:35: error: ‘int4’ has not been declared 77 | const CallGraphEdge &getOutEdge(int4 i) const { return outedge[i]; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/callgraph.hh:78:29: error: ‘int4’ has not been declared 78 | CallGraphNode *getOutNode(int4 i) const { return outedge[i].to; } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/callgraph.hh: In constructor ‘CallGraphNode::CallGraphNode()’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/callgraph.hh:67:45: error: ‘flags’ was not declared in this scope 67 | CallGraphNode(void) { fd = (Funcdata *)0; flags = 0; parentedge = -1; } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/callgraph.hh:67:56: error: ‘parentedge’ was not declared in this scope 67 | CallGraphNode(void) { fd = (Funcdata *)0; flags = 0; parentedge = -1; } | ^~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/callgraph.hh: In member function ‘void CallGraphNode::clearMark() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/callgraph.hh:68:32: error: ‘flags’ was not declared in this scope 68 | void clearMark(void) const { flags &= ~((uint4)mark); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/callgraph.hh:68:44: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 68 | void clearMark(void) const { flags &= ~((uint4)mark); } | ^~~~~ | uint /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/callgraph.hh:68:50: error: expected ‘)’ before ‘mark’ 68 | void clearMark(void) const { flags &= ~((uint4)mark); } | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/callgraph.hh:68:42: note: to match this ‘(’ 68 | void clearMark(void) const { flags &= ~((uint4)mark); } | ^ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/callgraph.hh: In member function ‘bool CallGraphNode::isMark() const’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/callgraph.hh:69:38: error: ‘flags’ was not declared in this scope 69 | bool isMark(void) const { return ((flags&mark)!=0); } | ^~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/callgraph.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/callgraph.hh:86:3: error: ‘int4’ does not name a type; did you mean ‘int’? 86 | int4 outslot; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/callgraph.hh: In constructor ‘LeafIterator::LeafIterator(CallGraphNode*)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/callgraph.hh:87:44: error: ‘outslot’ was not declared in this scope 87 | LeafIterator(CallGraphNode *n) { node=n; outslot = 0; } | ^~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/callgraph.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/callgraph.hh:97:37: error: ‘int4’ has not been declared 97 | void snipEdge(CallGraphNode *node,int4 i); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/callgraph.hh:100:50: error: ‘int4’ has not been declared 100 | CallGraphNode *popPossible(CallGraphNode *node,int4 &outslot); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/callgraph.hh:101:51: error: ‘int4’ has not been declared 101 | CallGraphNode *pushPossible(CallGraphNode *node,int4 outslot); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/callgraph.hh:102:54: error: ‘int4’ has not been declared 102 | CallGraphEdge &insertBlankEdge(CallGraphNode *node,int4 slot); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/callgraph.hh:112:41: error: ‘int4’ has not been declared 112 | void deleteInEdge(CallGraphNode *node,int4 i); | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/ifacedecomp.hh:26, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/paramid.hh:43:5: error: ‘int4’ does not name a type; did you mean ‘int’? 43 | int4 depth; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/paramid.hh:51:3: error: ‘int4’ does not name a type; did you mean ‘int’? 51 | int4 numcalls; | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/paramid.hh:56:38: error: ‘int4’ has not been declared 56 | ParamMeasure( const Address &addr, int4 sz, Datatype *dt, ParamIDIO io_in) { | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/paramid.hh:61:3: error: ‘int4’ does not name a type; did you mean ‘int’? 61 | int4 getMeasure(void) const { return (int4) rank; } | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/paramid.hh: In constructor ‘ParamMeasure::ParamMeasure(const Address&, int, Datatype*, ParamMeasure::ParamIDIO)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/paramid.hh:57:42: error: ‘struct VarnodeData’ has no member named ‘offset’ 57 | vndata.space=addr.getSpace(); vndata.offset=addr.getOffset(); vndata.size = sz; vntype=dt; io = io_in; rank=WORSTRANK; } | ^~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/paramid.hh:57:54: error: ‘const class Address’ has no member named ‘getOffset’ 57 | vndata.space=addr.getSpace(); vndata.offset=addr.getOffset(); vndata.size = sz; vntype=dt; io = io_in; rank=WORSTRANK; } | ^~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/paramid.hh:57:74: error: ‘struct VarnodeData’ has no member named ‘size’ 57 | vndata.space=addr.getSpace(); vndata.offset=addr.getOffset(); vndata.size = sz; vntype=dt; io = io_in; rank=WORSTRANK; } | ^~~~ In file included from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.hh:25, from /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:16: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/ifacedecomp.hh: At global scope: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/ifacedecomp.hh:63:30: error: ‘int4’ has not been declared 63 | void followFlow(ostream &s,int4 size); | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/ifacedecomp.hh:72:3: error: ‘int4’ does not name a type; did you mean ‘int’? 72 | int4 mnemonicpad; ///< How much to pad the mnemonic | ^~~~ | int /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/ifacedecomp.hh:75:34: error: ‘int4’ has not been declared 75 | IfaceAssemblyEmit(ostream *val,int4 mp) { s = val; mnemonicpad=mp; } ///< Constructor | ^~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/ifacedecomp.hh: In constructor ‘IfaceAssemblyEmit::IfaceAssemblyEmit(std::ostream*, int)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/ifacedecomp.hh:75:54: error: ‘mnemonicpad’ was not declared in this scope 75 | IfaceAssemblyEmit(ostream *val,int4 mp) { s = val; mnemonicpad=mp; } ///< Constructor | ^~~~~~~~~~~ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/ifacedecomp.hh: In member function ‘virtual void IfaceAssemblyEmit::dump(const Address&, const string&, const string&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/ifacedecomp.hh:79:9: error: ‘int4’ was not declared in this scope; did you mean ‘int’? 79 | for(int4 i=mnem.size();i >&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:34:7: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 34 | for(uint4 i=0;i >&)’: /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/libdecomp.cc:47:7: error: ‘uint4’ was not declared in this scope; did you mean ‘uint’? 47 | for(uint4 i=0;i’: /usr/include/c++/11.2.0/bits/alloc_traits.h:746:15: required from ‘void std::_Destroy(_ForwardIterator, _ForwardIterator, std::allocator<_T2>&) [with _ForwardIterator = rangemap**; _Tp = rangemap*]’ /usr/include/c++/11.2.0/bits/stl_vector.h:680:15: required from ‘std::vector<_Tp, _Alloc>::~vector() [with _Tp = rangemap*; _Alloc = std::allocator*>]’ /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/fspec.hh:518:27: required from here /build/r2ghidra/src/r2ghidra/ghidra-native/src/decompiler/rangemap.hh:66:42: error: no type named ‘linetype’ in ‘class ParamEntryRange’ 66 | typedef typename _recordtype::linetype linetype; ///< Integer data-type defining the linear domain | ^~~~~~~~ make[2]: *** [ghidra/CMakeFiles/ghidra_libdecomp.dir/build.make:76: ghidra/CMakeFiles/ghidra_libdecomp.dir/__/ghidra-native/src/decompiler/libdecomp.cc.o] Error 1 make[2]: Leaving directory '/build/r2ghidra/src/r2ghidra/build' make[1]: *** [CMakeFiles/Makefile2:245: ghidra/CMakeFiles/ghidra_libdecomp.dir/all] Error 2 make[1]: Leaving directory '/build/r2ghidra/src/r2ghidra/build' make: *** [Makefile:136: all] Error 2 make: Leaving directory '/build/r2ghidra/src/r2ghidra/build' ==> ERROR: A failure occurred in build().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/felix4/build Shared connection to shinx closed. receiving incremental file list r2ghidra-5.4.1-2-riscv64-build.log r2ghidra-5.4.1-2-riscv64-pkgver.log r2ghidra-5.4.1-2-riscv64-prepare.log sent 81 bytes received 678,079 bytes 271,264.00 bytes/sec total size is 8,341,174 speedup is 12.30