Commit Graph

1559 Commits

Author SHA1 Message Date
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
Ziyaddin Sadigov
d4dd6fd5e6 Fix typo regarding byte size (#9067) 2017-12-27 18:33:58 +01:00
pancake
0b1e8eaecc Fix almost all warnings from the msvc build 2017-12-19 00:18:39 +01:00
pancake
e24562a724 Update dict from sdb again 2017-12-14 11:24:46 +01:00
pancake
bf9c5f96d9 Upgrade sdb (renames mht to dict) 2017-12-13 03:07:22 +01:00
pancake
ce77004507 Update SDB and initial use of MHT for xrefs (disabled by default) 2017-12-11 18:00:14 +01:00
Srimanta Barua
2d2c38bb2c add sp to mips profile (#8958) 2017-12-05 11:39:13 +01:00
pancake
7541f18a36 Fix crash in capstone-sparc 2017-11-30 00:30:06 +01:00
pancake
3978bd1ac5 Initial import of the /f webui 2017-11-29 04:09:23 +01:00
Srimanta Barua
a7af340174 Fixed double free in the gdbclient 2017-11-28 17:59:26 +01:00
pancake
869d629bee Fix type punned pointers in windbg 2017-11-24 14:09:56 +01:00
pancake
9f12bb05cc Fix last covs 2017-11-23 14:38:28 +01:00
Srimanta Barua
21abaf4b51 Changed to a more correct system for parsing xml (#8863) 2017-11-22 12:03:09 +01:00
pancake
d43d2f738d Fix asm.immstr 2017-11-14 03:59:24 +09:00
pancake
3af92b04c3 Remove squash references (it's in extras) and add RFSPlugin.license 2017-11-08 00:49:29 +01:00
pancake
561630745b Replace the zero-length array in iso9660 with a macro 2017-11-07 15:02:00 +01:00
pancake
69e1e99ff0 Do not use zero length arrays in iso9660 2017-11-07 14:40:19 +01:00
pancake
0c81ce3651 Fix uninitialized partition type issue in 'mp gpt' 2017-11-07 11:45:10 +01:00
Anton Kochkov
45dd7e13e9 Fix indentation for shlr/tcc 2017-11-07 16:16:01 +08:00
Anton Kochkov
53c8eeeb99 Add intN_t types 2017-11-07 16:16:01 +08:00
Anton Kochkov
a3c9088c79 TCC cleanup 2017-11-07 16:16:01 +08:00
pancake
20c0b83743 Avoid infinite loop in iso9660 2017-11-07 01:34:11 +01:00
pancake
7b96c1da23 Fix crash in iso9660 with rockridge extension 2017-11-07 00:52:19 +01:00
pancake
f873164060 Fix HFS plugin for r_fs 2017-11-06 22:28:01 +01:00
pancake
5f5b25ca8e Fix crash in HFS for GRUB 2017-11-06 18:49:54 +01:00
pancake
f1aa3aa4d2 r2ify lz4 a bit 2017-11-06 04:28:59 +01:00
pancake
702afebc66 Fix Windows build and a bunch of scary warnings 2017-11-06 03:23:21 +01:00
Ren Kimura
1c8094bc9b Add Initial support for the NSO Nintendo Switch static binaries
* Every sections in NSO binary are packed by LZ4. So I've added shlr/lz4 library too.
2017-11-05 11:40:16 +01:00
John Paul Adrian Glaubitz
04cd67f5ab jemalloc: Add missing definition of LG_QUANTUM for m68k (#8782) 2017-11-04 21:12:41 +01:00
Daniel Corak
9f08ccbcc4 Build radare2 for all iOS archs and the simulator (#8775)
* Fix system() not available for iOS Simulator

* Embedding Bitcode should be set in sys/ios-sdk.sh. Removed unused code

* Supports now all available iOS archs and the simulator
2017-11-03 19:53:11 +01:00
Jose Diaz
e74aadad28 Renaming char_to_w32 => utf8_to_utf16 2017-11-03 10:27:18 +08:00
Jose Diaz
527ff71d41 Convert char to windows unicode 2017-11-03 10:27:18 +08:00
pancake
ef2965d3f8 Fix #6032 - Honor --without-pull for capstone and www-m 2017-10-20 03:19:55 +02:00
pancake
b261753d98 Update capstone and adjust patches 2017-10-19 18:23:37 +02:00
pancake
1519a12af1 Update capstone from git 2017-10-12 02:04:55 +02:00
Anton Kochkov
866263da40 Fix MSVC build 2017-10-11 10:35:16 +08:00
pancake
30d7267bcc Fix sys/ios-cydia.sh build 2017-10-10 02:27:34 +02:00
pancake
42ce366601 Fix crash in m68k capstone disassembler 2017-10-09 15:58:08 +02:00
pancake
58e943d726 Update spp with all the fixes not backported 2017-10-09 12:19:17 +02:00
Anton Kochkov
d71823d4be Fix typo 2017-10-09 17:23:10 +08:00
pancake
c71c1402a7 Update spp again for windows this time 2017-10-09 10:53:52 +02:00
Anton Kochkov
37a609bf5d Fix AppVeyor - 2nd take 2017-10-09 12:06:13 +08:00
Anton Kochkov
e582c81f1e Fix AppVeyor build 2017-10-09 11:56:38 +08:00
pancake
5db2e67490 Fix #8653 - Fix spp build for iOS and enhance ios-sdk.sh 2017-10-09 01:56:44 +02:00
Srimanta Barua
7c6a992df6 fix appveyor 2017-10-05 11:01:44 +02:00