Commit Graph

1703 Commits

Author SHA1 Message Date
dav1901
dfb9b0e5ae Fix minor leaks in ufs and mz 2018-11-14 01:57:23 +01:00
dav1901
8b83d03c99 Minor code cleanups free/R_FREE (#12145) 2018-11-13 23:41:28 +01:00
Anton Kochkov
8bc369ef3f Move CS_TIP to aquynh/capstone@f01c267f 2018-11-13 18:05:33 +08:00
dav1901
9b0fbf1ee4 Minor code cleanups - free/R_FREE/etc 2018-11-13 00:23:49 +01:00
David CARLIER
6c5d98b45c Fix grub minix plugin build. (#12131)
Using wrapper instead, and might be safe anyway
in case allocators impl change.
2018-11-12 16:57:16 +01:00
Young-X
99641414fd Fix multiple potential vulnerabilities (#12113)
* bin_xtr_fatmach0.c: fix memory leak in function extractall

Signed-off-by: Young_X <YangX92@hotmail.com>

* check return value of r_list_newf in function oneshotall

Signed-off-by: Young_X <YangX92@hotmail.com>

* ufs: prevent memory leak

Signed-off-by: Young_X <YangX92@hotmail.com>

* minix: prevent memory leak

Signed-off-by: Young_X <YangX92@hotmail.com>

* jfs: fix memory leak in grub_js_find_file

Signed-off-by: Young_X <YangX92@hotmail.com>

* r_anal_plugin_free: fix null pointer deference for para a

Signed-off-by: Young_X <YangX92@hotmail.com>

* fix null pointer deference in function fix_back_edge_dummy_nodes
since ptr from and to may be NULL

Signed-off-by: Young_X <YangX92@hotmail.com>
2018-11-12 12:08:24 +01:00
Lowly Worm
077b341a16 explicitly sign all bitfields 2018-11-11 16:10:15 -08:00
radare
71053f17e9
Move trie, mixed, slist into Sdb's Attic, and DES from util to crypto ##refactor 2018-11-07 17:18:14 +01:00
pancake
3738a97623 Fix several asserts and crashes when loading invalid reg profiles 2018-11-05 16:55:34 +01:00
lzutao
c42eb07241 Fix shellcheck warnings in capstone.sh 2018-11-05 14:00:33 +01:00
Stefan Ilic
4e8eed0158 RBinSection now lives in the heap ##refactor 2018-11-05 11:52:40 +01:00
Riccardo Schirone
936512916b Another RBin API cleanup ##bin
* remove R_API from functions not used outside of RBin module
* move not-exported functions to a separate private header
* move bin_private in i/private.h
* fix and use R_IPI
* fix mips_assemble
2018-11-05 11:25:31 +01:00
pancake
cc643a2ab8 Update SDB from git 2018-10-29 22:15:47 +01:00
Riccardo Schirone
c09ba158fe
sync sdb and adapt r2 codebase (#11953)
add improvements of SdbHt from sdb
2018-10-26 15:54:32 +02:00
radare
c50357fbe6
Fix the build of the iOS SDK ##build (#11884) 2018-10-21 14:56:56 +02:00
pancake
018de032ce Fix static build problem with ptrace-wrap 2018-09-09 05:59:24 +02:00
Florian Märkl
39d413de0f Sync ptrace wrap for musl (#11862) 2018-10-19 02:01:17 +02:00
radare
d3d6fc8494 Fix UBSAN unaligned struct issue in the tcc parser (#11846) 2018-10-18 11:51:29 +08:00
pancake
5a0ca70d7e Fix a null assert in java parser and bring back the libr.pc.acr 2018-10-15 22:14:54 +02:00
pancake
c4795fc766 Update SDB to fix last covs 2018-10-13 13:25:36 +02:00
Florian Märkl
0c0fee7b48 ptrace-wrap (#11723)
* Add ptrace-wrap
* Add r_io_ptrace* and r_debug_ptrace()
* Use wrappers instead of calling ptrace and fork directly
* Sleep while waiting in linux_debug
* Add ptrace-wrap Makefile
* Link io against ptrace-wrap with acr
* Define ptrace usages in r_userconf.h
* Conditional ptrace-wrap in acr
* Fix HAVE_PTRACE
* Some fixes for Solaris
* Fixes for FreeBSD
* More fixes for Solaris
* Style Fix
2018-10-12 12:20:18 +02:00
Riccardo Schirone
d6aab51c2b WIP: gcc8 warnings (#11795)
* arch/ebc: fix style and remove gcc8 warnings
* parse/parse_ppc_pseudo: fix gcc8 warnings
* parse/parse_mips_pseudo: fix gcc8 warnings
* anal/esil: fix strncat usage
* shlr/tcc: fix snprintf usage
* parse/parse_dalvik_pseudo: fix sprintf -> snprintf
* lang/vala: fix gcc8 warnings
* core/vmenus: fix snprintf usage
2018-10-12 12:17:29 +02:00
Riccardo Schirone
8b020619c8 sync sdb
sdb sync: add sdb_foreach_list_filter API
2018-10-11 09:53:22 +02:00
MK
b1b3b5e150 Fix #11777 C header file loaded using 'to' cmd causes Segfault (#11778) 2018-10-09 19:55:29 +08:00
pancake
305be74a8c Implement tej to print enums in json 2018-10-07 02:11:13 +02:00
pancake
be0b202c06 Fix #11750 - Do not git reset when capstone from release 2018-10-07 01:36:51 +02:00
pancake
a604c5bfff Git clone in quiet mode to shrink travis logs 2018-10-06 04:12:38 +02:00
Riccardo Schirone
e2278cc50f
sync sdb: some refactoring on how to access base SdbKv fields (#11741) 2018-10-05 15:21:46 +02:00
David CARLIER
036db696d1 Fix couple of leaks. (#11716) 2018-10-02 15:24:27 +02:00
pancake
92f5af1e79 Upgrade to the latest Sdb 2018-10-02 05:18:39 +02:00
David CARLIER
da3d1bb4cc Fixing few leaks. (#11707) 2018-10-02 00:21:29 +02:00
pancake
41ec949204 Fix #11112 - Rename {srwx,flags,perms} to perm. (-21 LOC)
Unify R_IO, R_BIN, R_BP, .. into R_PERM_* using 1 letter syntax
2018-09-22 11:31:45 +02:00
radare
51cb301641
Fix clusterfuzz-testcase-minimized-ia_fuzz-5672100065443840.dms (#11602) 2018-09-21 08:51:36 +02:00
radare
945e9566fb
Fix #11455 - Implement internal less pager with scr.pager=.. (#11548)
* Use full screen in r_cons_less (last line was not used before)
2018-09-17 12:15:12 +02:00
Khairul Azhar Kasmiran
7d60e051a2 Move CS_TIP to aquynh/capstone@e2c1cd46c0 2018-09-16 22:40:04 +02:00
David CARLIER
497148b0cd disasm leak fix & warning silencing. (#11475) 2018-09-10 15:47:47 +02:00
David CARLIER
1eae637f4b Fix #11424 attempt. (#11451)
Deduplicate java function entries.
2018-09-08 18:28:54 +02:00
Fangrui Song
6d115eac58 Optimize sdb_array_add_num (#11157) 2018-08-22 02:57:02 +02:00
Paul I
620affc89e Fix some warnings (#11152) 2018-08-20 14:52:02 +08:00
Fangrui Song
dcf7dc74af Optimize sdb_const_anext and sdb_array_contains (#11139)
time (repeat 10 ~/Dev/Bin/radare2/release/binr/radare2/radare2 -p t1 -c
'' -Q a.out) => 1.35s -> 1.28s
2018-08-19 15:51:27 +02:00
David CARLIER
c6f0342a41 Java plugin: add human readable version. (#11118)
When possible adding this to the lang value
of the javac compiler used with.
2018-08-17 12:25:42 +02:00
David CARLIER
ada6a28ed9 Fix #11102 Attempt. (#11108)
When attributes are not read from Java class, there
is a risk of pointer dereference when freeing
afterwards.
2018-08-16 11:04:01 +02:00
Rafael Rivera
3f0d377123 Ensure we use correct platform path sep (fixes #11063) (#11064) 2018-08-13 11:45:40 +02:00
Andry
dfc4734103 sdb update 2018-08-11 23:24:56 +02:00
Riccardo Schirone
4b2e1359ab
shlr/meson: use source path to store capstone directory (#10993)
* shlr/meson: use an option to chose whether to use builddir or not
2018-08-10 10:31:17 +02:00
Fangrui Song
66e1e1e415 meson: disable unused grub fs/*.c files (#10983)
The old versions of affs.c btrfs.c have warnings.
2018-08-08 09:04:23 +02:00
AsFaBw
84852de244 Fix 10811 - Improvements in gdbclient breakpoints (#10940) 2018-08-07 12:15:11 +02:00
Riccardo Schirone
201c360b10 meson: copy most of the stuff out of sdb dir (#10961)
we need to handle sdb meson.build file with subprojects. For now I'm
extracting most of its current content here, so that it will be easier
to update sdb later.
2018-08-07 12:12:19 +02:00
Fangrui Song
594a438741 meson: don't compile inclusion-only .c files (#10928) 2018-08-05 17:32:05 +02:00
Andry
6601ccb583 Fix #10895 - tcc infinite loop 2018-08-04 13:17:29 +02:00
Khairul Azhar Kasmiran
672b2a3850
Add hvaddr to iee(j) output; haddr -> hpaddr (#10899)
* iee(j): add hvaddr

* haddr -> hpaddr

* Minor realignment
2018-08-04 08:17:37 +08:00
pancake
0d6647e4f0 Add sys/meson.py --nosudo (use sudo by default) 2018-08-01 03:12:33 +02:00
pancake
7b66d5f9dd Java undefined opcodes must be lowercase 2018-08-01 00:57:36 +01:00
d4em0n
3524f8b8ca Fix #10813 breakpoint kind when send to gdbserver and fix continue/stepping in gdbclient (arm) (#10818) 2018-07-31 09:37:20 +01:00
pancake
8e2803c182 Fix #10855 - Update sdb 2018-07-30 11:07:12 +01:00
Riccardo Schirone
d98c5b9080
shlr/meson.build: use master branch for capstone on meson build too (#10832) 2018-07-30 08:51:47 +02:00
Riccardo Schirone
d37e35a7ad
fix switch from capstone next branch to master (#10815)
* fix switch from capstone next branch to master
* shlr/capstone.sh: re-clone only if different branch
2018-07-25 17:58:53 +02:00
Alyssa Milburn
2c8901752f Add gdb support for v850 (#10809) 2018-07-24 14:59:07 +02:00
Riccardo Schirone
961ae4323c shlr/capstone: update it to fix sparc issue 2018-07-24 15:28:42 +08:00
Riccardo Schirone
0ad5497c72 fix sstream-null capstone patch 2018-07-24 15:28:42 +08:00
Riccardo Schirone
97b20da54f capstone: use master branch since v4 has been merged there now 2018-07-24 15:28:42 +08:00
Paul I
b50080b363 Meson: remove build_always for custom_targets (#10798) 2018-07-23 19:39:58 +02:00
Riccardo Schirone
4c23d64380
shlr/meson.build: fix used capstone and download it in build directory (#10782)
* shlr/meson.build: fix used capstone and download it in build directory
* shlr/meson.build: check return value of run_command and use git-apply
2018-07-23 14:39:10 +02:00
pancake
7a8d2a4f75 Update sdb from git 2018-07-19 16:36:27 +02:00
Riccardo Schirone
c932d1abff
meson fixes (#10743)
* r2pm/meson.build: install r2pm
* meson.build: use system libraries when available
* travis: add fedora-sys to the list of things to test
* bin_nso.c: still include lz4.c when not on meson
* Dockerfile.travis: add required system dependencies to dockerfile
* meson.build: split zip_dep in libzip and zlib dependencies
* shlr/meson.build: zip needs zlib
2018-07-17 23:01:40 +02:00
pancake
5553f2ec34 Fix warning in type cast 2018-07-17 17:43:20 +02:00
pancake
9c83d304cc Fix several bugs in java class parser and recent changes in the disasm loop 2018-07-16 13:06:24 +02:00
pancake
29801802d1 Upgrade capstone 2018-07-16 09:43:33 +02:00
pancake
4eec87cdf6 More warnings fixed 2018-07-14 10:58:19 +02:00
pancake
2c85194e7a Fix some warnings 2018-07-14 10:45:55 +02:00
Riccardo Schirone
02f9ddefd1
plugins on meson build (#10716)
* asm: use path macros whenever possible
* meson.build: sync asm and bin plugins with Makefile
* shlr/meson.build: apply capstone patches
2018-07-13 18:19:56 +02:00
Riccardo Schirone
7572f315ea
meson improvements (#10617)
* meson.build: fix meson build when not on git
* meson.build: make capstone a dependency
* meson.build: make r_magic library optional
* meson.build: capstone include is already in the dependency
* meson.build: use dependencies instead of manual linking + includes
* meson.build: add travis
* flag/meson.build: include sdb dependency
* travis-script: print messages based on install system
* io/meson.build: add sdb as dependency
* syscall/meson.build: missing sdb dependency
* {parse,config}/meson.build: add sdb dependency
* travis.yml: pass INSTALL_SYSTEM var to docker
* {bin/shlr}/meson.build: add sdb_dep to r2java and bin
* install meson and ninja-build in r2-travis docker
* travis.yml: allow meson build to fail for now
* anal/meson.build: add sdb and java dependencies
* egg/meson.build: add sdb dependency
* travis.yml: meson build env should be also in the includes list
* core/meson.build: add java dep
* meson.build: use dependencies also to create main r2 dependency
* rasm2/meson.build: replace link_with with dependencies
* rasm2/meson.build: add sdb as dependency
* meson.builds: convert link_with to dependencies and fix tabs
* travis-script: change meson install prefix and set PKG_CONFIG_PATH
* travis-script: add lib64 to LD_LIBRARY_PATH
2018-07-09 16:58:38 +02:00
radare
dbd046be1e
Upgrade capstone (#10660) 2018-07-09 09:23:09 +02:00
pancake
cdbdcaf47b Fix #10602 - oobread crash in java parser 2018-07-04 17:14:04 +02:00
pancake
a55eda166d Fix #10595 - Fix another oobread in the java parser 2018-07-04 17:09:39 +02:00
pancake
ddc9d0a1ef Fix #10596 - oobread in java parser 2018-07-04 17:04:57 +02:00
pancake
aa04965546 Fix #10586 - Fix oobread in r_bin_java_enclosing_methods_attr_new 2018-07-04 16:59:50 +02:00
pancake
ad5699f63f Fix #10604 - another oobread crash in the java parser 2018-07-04 16:52:05 +02:00
pancake
862a089e43 Revert "Fix #10559 - Overflow in java class parser"
This reverts commit 9cc6dd8fb0.
2018-07-04 15:48:47 +02:00
pancake
afeac9bdca Fix #10603 - oobread crash in java class parser 2018-07-04 15:42:58 +02:00
pancake
812b96a66c Fix #10605 - Remove spaguetti and finish the null deref fix in the java class parser 2018-07-04 11:58:22 +02:00
pancake
d521ba905d Fix #10560 - oobread crash in java class parser 2018-07-02 13:11:19 +02:00
pancake
9cc6dd8fb0 Fix #10559 - Overflow in java class parser 2018-07-02 13:06:20 +02:00
pancake
18c9541216 Fix #10563 - Fix null deref in java 2018-07-02 13:02:59 +02:00
pancake
9d85d55b8d Fix #10561 - null deref in java 2018-07-02 12:56:07 +02:00
radare
e9ce0d64fa
Fix #10498 - Fix crash in fuzzed java files (#10511) 2018-06-27 13:56:59 +02:00
Brenton Morris
e25b62fb03 Fix a few memory leaks for windbg (#10504) 2018-06-27 00:57:56 +02:00
scrapbird
518f980f66 Storing thread entrypoint 2018-06-26 15:31:02 +02:00
scrapbird
c3ec296214 Implementing dpt for windbg plugin 2018-06-26 15:31:02 +02:00
Riccardo Schirone
2df06bd870 Fix ELF issue with null SHT entries (#10449)
* format/elf: extract function to avoid duplicated code
* format/elf: use ut64 to avoid errors in ELF32

Otherwise, while analyzing ELF32, -1 will be interpreted as the unsigned
value 0xffffffff, which is very different from -1 (0xffffffffffffffff).

* format/elf: fix symbols with shndx == SHT_NULL

Symbols with shndx == SHT_NULL should not be listed as symbols but they
should be available when other ELF structures (imports, relocs, etc.)
reference them.

This patch adds those symbols in the symbols_by_ord table but not to the
list of available symbols. Imports/relocs/etc. work by indexing symbols
by symbol index, so they are going to use the symbols_by_ord table and
make everything work.

Moreover, it refactors a bit the relocs function to avoid duplicated
code.

* bin: setimportd/setsymbold should clone the import/symbol
* bin/bin.c: free fields only when sym is not NULL
* format/elf: do not filter out symbols with size == 0 and consider sht_null symbols in shdr too.
* bin/bin.c: create R_STR_DUP macro and use it in _clone functions
* format/elf: when parsing symbols from phdr, stop at first UNK type/bind
* create some R_BIN defines to handle strings related to TYPE and BIND
  in RBinSymbols
* format/elf: add a doc
2018-06-26 13:48:53 +02:00
pancake
c979417eda Fix crash in hbo_class.c-6638_1.class 2018-06-25 09:28:20 +02:00
pancake
a1d79aab1a Fix crash in fuzzed java hbo_class-6223_2.class 2018-06-25 09:28:20 +02:00
pancake
367a541ea8 Fix null deref in fuzzed java classname for npe_r_class.c-1576_1.class 2018-06-25 09:28:20 +02:00
pancake
69371fa6f9 Fix crash in hbo_class-6223_1.class 2018-06-25 09:28:20 +02:00
radare
e766c7dfeb
Upgrade capstone from git (#10471) 2018-06-24 21:53:57 +02:00
pancake
5ba902b95c No imports with spaces on Java, even on error 2018-06-20 16:26:58 +02:00
pancake
19f6cea471 Fix #10409 - heap oobread in java class 2018-06-20 16:14:01 +02:00
pancake
2153021aea Upgrade capstone dependency 2018-06-19 14:48:42 +02:00
Francisco Lopes
21634c7f83 Add Windows 10 (April 2018 Update) WinDbg profile (#10333) 2018-06-16 18:20:03 +02:00
pancake
bceeb37213 Update capstone patch 2018-06-11 02:57:22 +02:00
pancake
afe3792d0f Force embed-bitcode on iOS builds
- Fix typo and improve ios-sdk build
- Don't let capstone set the -arch flags
2018-06-10 03:38:28 +02:00
David CARLIER
19160ff217 Fix macros redefinitions warning (#10284) 2018-06-07 09:41:55 +02:00
David CARLIER
a20078d171 Adding backtrace support to FreeBSD from 10.x release. (#10256) 2018-06-04 16:05:13 +02:00
pancake
d608edffeb Upgrade capstone 2018-06-03 18:17:32 +02:00
radare
f6a04b34c8
Optimize ls_empty() and r_list_empty() (#10244) 2018-06-03 02:20:28 +02:00
pancake
cbeff990a1 Fix last covs 2018-05-30 12:41:57 +02:00
pancake
9473ef7b75 Upgrade capstone 2018-05-30 11:06:56 +02:00
pancake
f933b7fe87 Upgrade sdb to fix a crash 2018-05-28 18:18:47 +02:00
David CARLIER
91d857386b Silent pointer arithmetic warning for capstone (#10206) 2018-05-28 11:03:19 +02:00
pancake
4a3057f9fc s/\r\n/\n/g 2018-05-21 22:13:07 +02:00
sivaramaaa
97de3ff035 Manage types enum more properly (#10139) 2018-05-21 01:54:50 +02:00
Giovanni
855eb16d93 Refactor evars asm.lines.* (#10085)
* asm.linesout > asm.lines.out
* asm.var.submin fix
2018-05-18 10:29:00 +02:00
Paul I
7e9f982849 Meson: some cleanup (#10076) 2018-05-16 10:24:35 +02:00
Jörg Thalheim
9656ba12aa meson: make git executable optional (#10092)
This is useful for reproducible offline builds
2018-05-16 08:32:26 +02:00
s1kr10s
b3e726d734 radare2_fix_xss (#10077)
This is reflected when the web service is used.

I have added an input filter for the invalid characters in the names of the files to analyze, using the encodeHtmlEntity() function, applied in the variable x[0].uri
2018-05-12 14:01:42 +02:00
pancake
e90fd02b97 Upgrade capstone to fix m68k bugs
Revert "Fix #9855 - Enlarge tmpbuf to 128 bytes because capstone code is crap"
- 11f99872f5.
Revert "Fix #9852 - Workaround to avoid capstone-m68k crash"
- 0607b97b01.
2018-05-11 12:51:36 +02:00
radare
9e08da0fa6
Improve build of libr.a and libr.dylib, fix and improve sys/ios-sdk.sh (#10046)
- Update spp and force hidden visibility
- Use R_API wisely
- RSys.prefix returns const things
- Use -install_name on Apple
- Fix merged lib visibility linking on Linux
- Use OSTYPE instead of BUILD_OS
- Honor crosscompiler-objcopy and support android like linux
- Add extra missing archives
- Fix for android
- Upgrade spp and sdb
- Skip libr. from symstall
- Add --enable-merged configure option
- Use --enable-merged on ios-sdk
- Upgrade sdb again for js0n
- Kill sys/ios-shell.sh
- Msvc dynamic build fix
2018-05-09 23:31:52 +02:00
Riccardo Schirone
46fcf21f97 shlr: update sdb (#9912) 2018-04-17 15:57:17 +02:00
Khairul Kasmiran
7ff5a48d78 asm.emu.* ⮕ emu.* 2018-04-14 10:49:08 +02:00
pancake
5cde546971 Fix aae on x86-64, improve Vx, add sys/rebuild.sh tcc, .. 2018-04-11 02:32:27 +02:00
pancake
1adac87918 Update sdb-1.1.0, update calls to sdb_fmt() 2018-04-10 23:52:47 +02:00
pancake
562bd8f65a Upgrade capstone from git 2018-04-10 10:25:26 +02:00
Paul I
6172ec25b1 Meson: fix missing libsdb files (#9803) 2018-04-04 21:58:42 +02:00
Paul I
8675e324ac Meson: add libr_shlr.a building/installation rule (#9789)
* Meson: add libr_shlr.a building/installation rule

* Meson: distribute *.lib/*.a files for Windows by default
2018-04-02 22:33:05 +02:00
Paul I
4f7687287f Meson: Some little fixes (#9783)
* fix shlr libraries names
* fix missing headers for Windows dist
* fix missing format files for Windows dist
* add <static_runtime> option
* add argument with list of additional meson options for sys/meson.py
2018-03-30 23:35:12 +02:00
FXTi
c3f1a5d853 Fix tt command, now support synthetic built-in type (#9777) 2018-03-29 13:22:20 +02:00
FXTi
45f1372568 Add tt command (#4400) (#9765) 2018-03-26 00:59:52 +02:00
Riccardo Schirone
170f80d1d7 Remove R_BIN_SCN_MAP flag (#9744) 2018-03-22 22:10:07 +01:00
Dirk Eibach
2740065eb3 jemalloc: Fix whitespace errors (#9732)
Pull request #9429 introduced some whitespace errors into
shlr/heap/include/r_jemalloc/internal/tsd.h

This breaks building sys/mingw32.sh for me.

Signed-off-by: Dirk Eibach <dirk.eibach@gdsys.cc>
2018-03-20 17:05:50 +01:00
Anton Kochkov
a7cd7272e4 Fix Meson build 2018-03-15 11:34:47 +08:00
pancake
3e8f8a2863 Move the asm and anal plugins for x86.udis to extras
Available via r2pm -ci udis86
2018-03-14 22:38:41 +01:00
Oscar Salvador
58369b86f5 Some fixups for #9682 (#9688) 2018-03-14 13:08:01 +01:00
Paul I
69e655fd49 Meson: enable Propeller and Java (#9639) 2018-03-09 20:05:47 +08:00
Paul I
9c0d682e60 Meson: Invoke python via <python3> module + some little fixes (#9594)
* Meson: Invoke python via <python3> module

* Meson: Added version check

* Meson: Disable git output for capstone cloning command
2018-03-06 08:28:40 +01:00
Paul I
13f7013696 Meson: Added sdb building/installation rules (#9575) 2018-03-05 00:10:28 +01:00
Lowly Worm
188cc99d42 fix crash in unmatched braces in tccgen
fixes #9577
2018-03-04 09:27:10 -08:00
pancake
c0e8395c79 Update capstone 2018-03-02 17:51:36 +01:00
Debily
da51abb7cb Removed some of the asserts in jemallocs internals (#9429)
* Removed some of the asserts in jemallocs internals, tagged the unmodified (grep for them with my name)

* removed the `#ifdef JEMALLOC_DEBUG`s

* Removed the comments
2018-02-27 22:30:40 +01:00
xarkes
5e097dbae1 Killed cons->truecolor in favor of cons->color 2018-02-24 11:47:38 +01:00
pancake
72a8057d55 Fix #9481 - Fix make install 2018-02-24 00:53:51 +01:00
Farid AYOUJIL
1e29f31576 Refactoring asm.cmt* and scr.* 2018-02-22 17:59:08 +01:00
Giovanni
397d6b1211 Fixed shlr java warnings and thread regression warning (#9447) 2018-02-21 05:03:03 +01:00
Paul I
bb4f61580e Cleanup meson files (#9424) 2018-02-20 09:33:19 +01:00
pancake
f1be2a2af3 Fix more crashes related to reopen gdb:// 2018-02-18 03:18:30 +01:00
pancake
eef94066a0 Fix some crashes for 9410 2018-02-18 03:08:17 +01:00
pancake
d5ec745276 Fix static linking by creating libr_shlr.a and stripping sdb and tcc from them
This exposes some implicit static linking of libs, and also shows that librz.a
can be removed or generalized into using the partial-ld appraoch.

Still issues with pkg-config because libr_shlr is only available as a static
library and can be used in libr_util.pc, creating an empty libr_shlr.${EXT_SO}
may simplify the problem but still a workaround.

It is dangerous to link against it results in much bigger builds
(also faster), which requires LTO to get adjusted sizes.
2018-02-18 01:47:07 +01:00
SkUaTeR
f8cf84e065 Fix some bugs (#9403)
* fixed some bugs
* format bug fix
* added MSVC version _time_stamp_to_str
* struct format
* adjusting output same as linux
2018-02-17 15:14:34 +08:00
Craig Ingram
cd7d7315d6 Change all asm.emu* to asm.emu.* (#9272) 2018-01-30 16:21:31 +01:00
whitequark
c816dc7e66 Don't try to build shared libraries if configured as --without-pic.
Specifically, avoid building all plugins as non-static objects,
as well as some supplementary libraries. In fact, a large amount
of plugins was already gated to build as shared objects only with
WITHPIC=1, but this was not done consistently.
This gating has been moved to */p/Makefile.

Building these shared objects is a waste of time and breaks
the --without-pic build unless CFLAGS is forced in the make
invocation.
2018-01-11 23:09:22 +01:00
pancake
5f55965f77 Update capstone and adjust invalid patch 2018-01-09 18:37:50 +01:00