nemerle
3af6f8f5c3
Merge branch 'qt5' into experimental_command_streams
2016-05-20 10:16:59 +02:00
nemerle
b60903306f
Fix memset-of-non-POD bug.
...
PROG contains vector, but was memset.
2016-05-19 16:17:08 +02:00
nemerle
5f68987001
Merge branch 'qt5' into experimental_command_streams
2016-05-19 15:57:52 +02:00
nemerle
1df7cb3be4
Fix msvc detection + prevent range library from pulling in boost::regex
2016-05-19 14:45:03 +02:00
nemerle
58532f4402
Removing LLVM dependency contd.
2016-05-19 12:40:59 +02:00
nemerle
7d986ef661
Removing LLVM dependencies WIP
2016-05-19 11:14:46 +02:00
nemerle
e71c8051c3
Rename icodeType entries
...
Following 2f80f16e6f76e3794ddc35ac9a6c1a86cb11cd28
2016-05-19 10:27:15 +02:00
nemerle
14ceb301c1
WIP - do not use.
2016-05-19 10:18:17 +02:00
nemerle
bc654cbf76
Fix: bad loader instancfe created for COM files
2016-05-10 14:48:46 +02:00
nemerle
9c6dfd676e
Move JMP processing from Function class
...
Add MarkAsSwitchCase command
2016-05-10 14:02:26 +02:00
nemerle
ae27258e3c
Move XCHG and DIV rewriters from Function class
...
Preliminary work for #19
2016-05-10 13:07:05 +02:00
nemerle
41e9faec0e
Start moving parser functionality from Function class.
...
Add state switching operation to Function interface
2016-05-10 12:36:31 +02:00
nemerle
6f7bfbddf8
Fix: initialize initial state for start proc if no main was found
2016-05-10 10:46:23 +02:00
nemerle
db39014e1b
A few more skeleton things for planner
2016-05-09 16:05:15 +02:00
nemerle
3376818a17
fix previous commit
...
Support simple character deletion operations in StructuredTextTarget.h
to support opcode suffix modification.
2016-05-09 11:53:03 +02:00
nemerle
72ca6bbb70
disassembler: more instructions output into structuredtext
2016-05-09 11:35:30 +02:00
nemerle
888de8d35e
More tabs replaced with spaces
2016-05-06 15:57:15 +02:00
nemerle
59c199837c
Replace some tabs with spaces
2016-05-06 15:04:45 +02:00
nemerle
152625d67d
Extend responsibilities of FunctionViewWidget
...
Reduced IDcc interface functionality.
Fix a few bugs/warnings discovered by coverity.
Emit functionUpdate signal from project when function object internal
fields change.
2016-05-06 14:40:33 +02:00
nemerle
292e4041e1
Initialize some class attributes.
2016-05-06 00:26:52 +02:00
nemerle
36d95946b3
Show JMP targets
2016-05-05 23:55:39 +02:00
nemerle
4cc3b41e64
Use QTextDocument instead of html to build text display
...
Continued work on rendering disassembly level text.
2016-05-05 16:06:06 +02:00
nemerle
6ade935e37
Function's command queue implemented, flow control scanning starts to
...
work.
2016-05-05 14:28:25 +02:00
nemerle
c8fd3a01df
Add AutomatedPlanner skeleton class
2016-05-04 14:22:28 +02:00
nemerle
29353111ac
A few missing returns
2016-05-04 09:54:38 +02:00
nemerle
4dc321650f
Add skeletal functions for ICODE -> StructuredText
2016-05-04 00:57:59 +02:00
nemerle
0521206de5
WIP: More GUI work, use shared_ptr to store Function references.
2016-05-03 13:59:14 +02:00
nemerle
60a4fefe95
Fix command queue stepping.
...
Also add instanceDescription to Command class to allow for more verbose command information reporting
2016-05-01 18:45:22 +02:00
nemerle
d22624a99b
Missing include
2016-05-01 14:55:06 +02:00
nemerle
95acbaa7fa
GUI work.
2016-04-29 15:51:02 +02:00
nemerle
2452984864
Convert more of Frontend processing to command lists.
2016-04-29 12:23:12 +02:00
nemerle
4682bda8d8
if CFG is missing Project::createFunction should create one
2016-04-29 12:22:42 +02:00
nemerle
3d5a907b30
Move Function closer to LLVM interface ( FunctionType etc. )
...
A few more places are using Commands.
2016-04-28 16:25:58 +02:00
nemerle
62d8633113
Implementation
2016-04-26 16:18:23 +02:00
nemerle
b2be1cf2da
Simplify: SetupLibCheck does not depend on PROG or Project classes.
...
It also does not exit the program when ".sig" loader fails.
Use QString to build signature filename.
2016-04-26 13:42:41 +02:00
nemerle
94e3016a5b
Fix SetCurFunc_by_Name implementation
2016-04-26 13:36:57 +02:00
nemerle
145a50369e
Fix: Jump labels were printed incorrectly.
2016-04-26 13:35:20 +02:00
nemerle
a944ea5da8
Implement some of the methods in DccImpl
2016-04-26 09:23:34 +02:00
nemerle
d1738ea630
New feature: option to decompile only a specific function.
...
Similar to boomerang's -E option:
```
dcc -E 0x1222 ./TARGET.EXE
```
Will only decompile function at given address.
This might help in isolating dcc crashes.
2016-04-26 00:46:56 +02:00
nemerle
5f39236ba2
Fix LOCAL_ID::newLongIdx
2016-04-26 00:27:49 +02:00
nemerle
ede09ddae3
Record native function address as part of the name.
...
Might help while debugging dcc's handling of large programs.
2016-04-25 16:08:51 +02:00
nemerle
34b1f4f4fe
Fix: long processing regression introduced in
...
bb007ddefc0465d36d394fbc4dbe811a633fc72e
Invalidated instructions should still be processed in findBBExps
2016-04-25 16:02:58 +02:00
nemerle
d6249916e1
More logic operator replacements.
...
Use Qt string classes.
2016-04-25 15:51:58 +02:00
nemerle
9cd3226536
Normalize logic operation keywords and add use msvc fix
...
Logical or should be only 'or','and','not', and not error prone
'||','&&','!'
2016-04-25 11:39:07 +02:00
nemerle
5963f5fd4d
Thanks to @lab313ru : fix bad iterator usage
...
Trying to increment past the end in graph.cpp
Also removed a goto by extracting a common function.
2016-04-24 12:22:15 +02:00
nemerle
12ee08f87e
Implement two new switch idioms closes #14
2016-04-23 20:05:11 +02:00
nemerle
5c85c92d1a
Replace tabs with spaces
2016-04-22 11:45:23 +02:00
nemerle
b509d0fcf0
Extend disassembly failure reporting a bit.
2016-04-22 10:47:14 +02:00
nemerle
bb007ddefc
Stop processing invalidated instructions in dataflow
2016-04-22 10:36:29 +02:00
nemerle
9129d48429
Comment out a debugging printf
2016-04-22 10:35:41 +02:00