Commit Graph

4112 Commits

Author SHA1 Message Date
Fedor Sakharov
3ea8820b76 dwarf: Store DW_AT_comp_dir var in sdb_addrinfo.
This variable points to the default directory to be
searched for source files of the binary. This is used
by linenumber information but is stored in debug_info section.
debug_info by default is DWARF4(which is currently not supported)
and debug_lines is by default DWARF2 so for now if using DWARF4
in your binaries you would have to set this var by hand.
2014-04-24 11:49:19 +02:00
Fedor Sakharov
8c95190256 dbginfo: Don't print path to source file in linnum info 2014-04-24 11:49:14 +02:00
Anton Kochkov
e1822b6b15 Revert "Fix CID #1134974" - fix segfault
This reverts commit 75f4d83afe.
That was causing segfault on exit
2014-04-24 02:49:20 +04:00
Anton Kochkov
75f4d83afe Fix CID #1134974 2014-04-24 01:45:32 +04:00
Anton Kochkov
932d143ddd Fix CID #1134975 2014-04-24 01:39:51 +04:00
Anton Kochkov
a6aecca2c7 Fix CID #1134976 2014-04-24 01:38:17 +04:00
Anton Kochkov
68282b219e Fix CID #1134983 2014-04-24 01:35:26 +04:00
Anton Kochkov
1e3adc38f8 Fix CID #1134961 2014-04-24 01:29:06 +04:00
deeso
c6a7faad77 fixed the bug with the insane fuzz command 2014-04-22 23:06:00 -05:00
pancake
08ecf4fd99 Enhace disasm reflines in comments 2014-04-23 04:27:21 +02:00
pancake
b05e504f2f Add CC+ and CCa+ to append comments 2014-04-23 04:19:21 +02:00
pancake
61bc0c8268 Fix t/io/zerofile segfault 2014-04-23 04:04:50 +02:00
pancake
836803d786 Sdbize RBin.list_archs(). Expose addrinfo in 'k bin/fd.#/addrinfo/*' 2014-04-23 03:57:13 +02:00
pancake
6d30dbc4ca 'r' command now returns file size instead of help 2014-04-23 03:31:40 +02:00
pancake
fee19ad875 Bump SDB fixing some ns issues 2014-04-23 03:27:50 +02:00
deeso
bee3f3f3fc some minor fixes 2014-04-22 19:40:32 -05:00
deeso
dd07844436 Fixing some Null Dereference Bugs courtesy of coverity 2014-04-22 18:39:17 -05:00
deeso
f1f68f6142 removing offending free 2014-04-22 17:30:10 -05:00
deeso
7e60145d14 Fixing search static buffer and const-ifying non-const pointer 2014-04-22 17:21:27 -05:00
Anton Kochkov
698fe42cfd Fix CID #1134744 2014-04-23 02:18:53 +04:00
Anton Kochkov
d05bbb4be2 Fix CID #1134729 2014-04-23 02:18:53 +04:00
Anton Kochkov
1375204e2f Fix CID #1152204 2014-04-23 02:18:52 +04:00
Anton Kochkov
855fde1994 Fix CID #1134814 2014-04-23 00:56:21 +04:00
pancake
b1d8caf355 Fix #801 - Fix an unitialised variable 2014-04-22 10:45:39 +02:00
dso
6fa43d8b51 Merge pull request #800 from jvoisin/patch-2
Fix a memleak
2014-04-21 17:59:46 -05:00
dso
0085cb1587 Merge pull request #802 from jvoisin/patch-4
Fix a missing return
2014-04-21 17:59:14 -05:00
Anton Kochkov
46f3fa4767 Refix segfault/infinite loop 2014-04-22 02:55:17 +04:00
Anton Kochkov
404a2c89ef Fix segfaulting on analysis 2014-04-22 02:39:33 +04:00
Anton Kochkov
c83106cbe7 Fix CID #1195080 2014-04-22 02:00:05 +04:00
Anton Kochkov
64cf9e0542 Fix CID #1196407, #1196406 2014-04-22 01:53:12 +04:00
Anton Kochkov
a14e02a7cf Fix CID #1196412 2014-04-22 01:46:53 +04:00
Anton Kochkov
42ac2e5ea9 Fix CID #1198558 2014-04-22 01:44:53 +04:00
jvoisin
35880299c2 Fix a missing return
Makes coverity happy
2014-04-21 20:17:22 +00:00
jvoisin
c09b9f0007 Fix a memleak 2014-04-21 19:43:53 +00:00
pancake
eec8512e8b Fix linkage 2014-04-21 19:31:30 +02:00
Fedor Sakharov
4dfadcb968 change bin.dwarf default to true 2014-04-21 19:28:46 +04:00
Fedor Sakharov
d75043c6eb disasm: read asm.dwarf var from config, fix segfault and remove asm.dwarf disabling in case of error 2014-04-21 19:22:37 +04:00
Fedor Sakharov
179147bf77 util: Read strings from file correctly 2014-04-21 19:22:37 +04:00
Fedor Sakharov
219a8497d0 Move size() out of ifdef for elf so it works for elf64 2014-04-21 19:22:37 +04:00
Fedor Sakharov
6c5505b39d Use sdb to store dwarf lineaddr info 2014-04-21 19:22:37 +04:00
pancake
b3b5ad0da7 Add 'arf' command to find string refs (hacky util) 2014-04-21 13:50:38 +02:00
pancake
fd6196e1f1 Fix mach0 arch listing (!= fatmach0) 2014-04-21 13:16:22 +02:00
pancake
db42789d62 Make the http server work on w32 (^C not handled yet) 2014-04-21 12:55:34 +02:00
Adam Pridgen
ea94ae5c2c Fix CID: 1204243, 1204247, 1204246, 1204245, 1204244 2014-04-20 23:55:50 -05:00
Anton Kochkov
57eb5c5ee2 Fix CID #1134721 2014-04-21 02:58:05 +04:00
deeso
e1378efd69 in shlr/java/code.c changing BYTES_CONSUMED 'volatile' to 'static volatile' 2014-04-20 17:28:02 -05:00
deeso
a1e81a4cbd refactored some of cmd_hash 2014-04-20 17:22:51 -05:00
deeso
d1186ac7c2 Added a temporary fix for the bin->printf issue 2014-04-20 15:01:51 -05:00
deeso
98e5d1af93 Fixing a bug, where the BYTES_CONSUMED in the java analysis was not updated 2014-04-19 22:45:03 -05:00
Anton Kochkov
1956dc669d Fix CID #1135135 2014-04-20 03:38:01 +04:00