Commit Graph

2047 Commits

Author SHA1 Message Date
Ryan Kurtz
77f659c84d Removing impossible to reach code. 2019-12-16 08:30:17 -05:00
Alexey Skalozub
1cca3f5bd3
Fix writev syscall number 2019-12-15 22:54:21 +02:00
Ryan Kurtz
8e47410a17 Updating decompiler debug build flags. 2019-12-13 12:14:28 -05:00
Ryan Kurtz
59e88c6ca9 Merge remote-tracking branch
'origin/GT-3292_dragonmacher_PR-784_00rsiere_decompiler-multi-highlight'
(closes #784)

Conflicts:
	Ghidra/Features/Decompiler/src/main/java/ghidra/app/decompiler/DecompileOptions.java
2019-12-13 11:36:34 -05:00
Ryan Kurtz
b22960b9f1 Merge remote-tracking branch 'origin/GT-3366_ghidorahrex_6805_bset_bug'
(fixes #1307)
2019-12-13 10:38:43 -05:00
Ryan Kurtz
ca21388e65 GT-3398: Adding a new type of COFF section header (fixes #1336) 2019-12-13 10:16:00 -05:00
dragonmacher
1d135b7ab8 GT-3302 - Front-end UI freeze - review fixes 2019-12-12 17:25:25 -05:00
ghidra1
a821b44c76 Merge remote-tracking branch 'origin/patch' 2019-12-12 17:24:03 -05:00
dragonmacher
467c51ea0e GT-3302 - Front-end UI freeze - review fixes: removed unusual 'tracker'
concept
2019-12-12 17:22:06 -05:00
ghidra1
11c585ea16 Merge remote-tracking branch 'origin/GT-3386_ghidra1_ElfIssues' into patch 2019-12-12 17:21:16 -05:00
ghidra1
da49e5be05 GT-3386 updated default GOT/PLT processing to handle pointer markup of
dynamic GOT in absence of section headers.  Corrected vaddr to file
offset calculation for ELF program headers.
2019-12-12 17:19:30 -05:00
dragonmacher
171914f49e GT-3396 - File Chooser - Implement quick lookup by typing in the table
or list views
2019-12-12 16:09:57 -05:00
ghidorahrex
b8d6136505 GT-3366: code review fixes 2019-12-12 12:12:00 -05:00
Ryan Kurtz
ab29958ddc Merge remote-tracking branch 'origin/GT-3388-dragonmacher-dt-tree-dbl-clck-edit-bug' 2019-12-12 11:36:56 -05:00
dragonmacher
39ddb99e55 GT-3388 - fixed bug in DT tree that cause a double-click expansion to
also edit a different node
2019-12-12 11:21:47 -05:00
Ryan Kurtz
fc7b168c67 Merge remote-tracking branch 'origin/patch' 2019-12-12 08:11:23 -05:00
Ryan Kurtz
3eb130123b Merge remote-tracking branch 'origin/GT-3389_ghidorahrex_PR-932_mumbel_riscv' 2019-12-11 14:21:08 -05:00
Ryan Kurtz
40069dcaab Merge remote-tracking branch 'origin/GT-3390_ghidorahrex_PR-1201_aladur_M6809Support' 2019-12-11 14:16:15 -05:00
Ryan Kurtz
379907894c Merge remote-tracking branch 'origin/GT-3325_dev747368_dta_npe' 2019-12-11 14:13:59 -05:00
Ryan Kurtz
c34cfde5f7 Merge remote-tracking branch 'origin/GT-3385_ghidra1_PDB_UnalignedSize' 2019-12-11 13:45:06 -05:00
Ryan Kurtz
a3baea4180 Removing Map.of() usage from Utility, which needs to build with Java 1.8
compliance.
2019-12-11 12:51:29 -05:00
emteere
5f80a04321 GT-3373_emteere fix for constant propagation in overlay spaces 2019-12-11 12:47:45 -05:00
dev747368
9baf8d840c GT-3325 fix problem with data type archive node adding twice to tree
Tree node for a data type archive could be added twice, causing display
problems and NPE when closing because of double-closing.
2019-12-11 10:09:28 -05:00
dragonmacher
ea7dd49f07 GT-3292 - Decompiler - Secondary Highlights - Checkpoint 6 - Added help
and rearranged the context menu actions
2019-12-10 17:29:50 -05:00
dragonmacher
30654794d4 GT-3292 - Decompiler - Secondary Highlights - Checkpoint 5 - Functional
review feedback; still need help and context menu rearrangement
2019-12-10 16:44:30 -05:00
ghidorahrex
c7f6ea4fae GT-3390: Certifying 6809 processor specs 2019-12-10 16:10:48 -05:00
ghidorahrex
b628a7e46f GT-3389: Certifying RISCV processor module. 2019-12-10 15:22:25 -05:00
Ryan Kurtz
c75dcfd1f5 Merge remote-tracking branch 'origin/GT-3382_ghidorahrex_PR-745_mumbel_slgh' 2019-12-10 15:22:17 -05:00
mumbel
d7e51ee515 RISC-V processor
[riscv] Added context register for extensions

[riscv] missed a define in refactor

[riscv] got 100% on RV32IMC

[riscv] Add throw away script to generate SLEIGH

[riscv]

Fixes from SleighDevTools

- R4-type were using a bad bit pattern that broke the rs3 operand
- mul had a copy/paste typo that ignored the rs2 operand
- bad define guard for compressesed instruction
2019-12-10 14:04:05 -06:00
ghidorahrex
600cf4d8a2 GT-3382: Formatting fixes. 2019-12-10 13:53:24 -05:00
Ryan Kurtz
b8f07b8351 Merge remote-tracking branch 'origin/patch'
Conflicts:
	Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/pcode/PcodeDataTypeManager.java
2019-12-10 12:29:41 -05:00
Ryan Kurtz
8eae2bc5ad Merge remote-tracking branch 'origin/GT-3351_IncidentalCopy' into patch 2019-12-10 11:45:47 -05:00
caheckman
2d1bd78759 Added escape to enum XML marshalling 2019-12-10 10:14:54 -05:00
ghidorahrex
b6e3d784b1 GT-3382: certifying 2019-12-10 10:10:49 -05:00
Ryan Kurtz
21bd938845 Merge remote-tracking branch 'origin/GT-3379_ghidorahrex_PR-1286_mumbel_tricore_dvadj' 2019-12-10 09:03:51 -05:00
dragonmacher
0c305084a9 GT-3292 - Decompiler - Secondary Highlights - Checkpoint 4 - Tests
passing; all fixed bugs in color chooser; gave up on persistence for
now; still need help
2019-12-09 18:29:01 -05:00
ghidra1
531654a2d6 GT-3385 corrected PDB structure size which may be too short when
trailing bitfields are present and unable to align
2019-12-09 18:20:27 -05:00
Ryan Kurtz
e91d6a832c Merge remote-tracking branch 'origin/GT-3354_ryanmkurtz_guava' 2019-12-09 13:58:24 -05:00
Ryan Kurtz
8170874fe6 Merge remote-tracking branch 'origin/GT-3380_ghidorahrex_PR-1295_roblabla_ptest' 2019-12-09 13:38:21 -05:00
Ryan Kurtz
5d3b179f5a Merge remote-tracking branch 'origin/GT-3381_ryanmkurtz_PR-1312_xiaoyinl_ne_flag' 2019-12-09 13:30:51 -05:00
Ryan Kurtz
3deb778edb GT-3381: Fixing compilation error and formatting code 2019-12-09 13:27:25 -05:00
Ryan Kurtz
4d8838a791 Merge remote-tracking branch 'origin/GT-3375_ghidorahrex_PR-1049_agatti_6502brk' 2019-12-09 10:00:28 -05:00
Ryan Kurtz
9d275b59b5 Merge branch 'GT-3377_ryanmkurtz_PR-1325_xiaoyinl_NTheaderName' 2019-12-09 09:46:06 -05:00
Ryan Kurtz
e53e4c99fc GT-3354: Code review fixes 2019-12-09 09:06:33 -05:00
Ryan Kurtz
4dda550e8f Merge remote-tracking branch 'origin/GT-3359_dev747368_moving_datatypes' 2019-12-09 08:00:47 -05:00
Ryan Kurtz
047c783dc0 Merge remote-tracking branch 'origin/GT-2330_dev747368_crushed_png' 2019-12-09 08:00:06 -05:00
Xiaoyin Liu
7f8d1bce6c PE: Fix NTHeader name
The NT Header name of a PE file should be IMAGE_NT_HEADERS32 for 32-bit file
or IMAGE_NT_HEADERS64 for 64-bit file. This name shouldn't be hardcoded to
IMAGE_NT_HEADERS32.
2019-12-08 22:29:26 +08:00
Alessandro Gatti
1d82dccbd2
Call the IRQ vector this time. 2019-12-07 00:36:09 +01:00
dev747368
85bf0f7658 GT-2330 fix crushed png issue
Was missing a line of code from the original .c file that moved the
current "pointer".
2019-12-06 14:24:03 -05:00
dev747368
c7cdaaf07a GT-3330 DWARF address double relocation fixup
DWARF was applying a fixup value to address values in the DWARF data to
compensate for the Ghidra base-address being different than the
program's requested base address.

In binaries (mostly .o files) that contain Elf fixups that reach into
the DWARF debug sections and rewrite the address values, the Ghidra
importer would handle fixing the address values to point to the
non-standard Ghidra base-address, and then the global fixup would be
applied to the already correct value, causing it to be incorrect.

This change checks to see if any relocations are present in the DWARF
debug data and disables its address fixups if found.
2019-12-06 09:49:41 -05:00