Commit Graph

187 Commits

Author SHA1 Message Date
Riccardo Schirone
fb1b7fbc56 Make ASAN green again (#13098)
* Fix ASAN crash in abtj
* Fix ASAN crash in asj
* Strdup the input because it is a const char * and shouldn't be modified
* Fix some r_assert warnings (related to len==0)
* Check if there are enough words only when necessary
* Other len == 0 edge cases that do not belong to r_return_* checks
* Do not print classes if there are none
2019-02-14 18:07:08 +01:00
Riccardo Schirone
f702202c22 Update list of sdb files to build and install ##meson (#13065) 2019-02-12 16:12:50 +01:00
blenk92
fca950d95f Fix x86_64 socket syscall (#13050)
Currently syscall nr 41 is named socketcall. However on x86_64
syscall nr 41 is named socket and expects 3 arguments.
2019-02-11 16:52:05 +01:00
blenk92
4c2e883575 Update list of syscalls for Linux on x86-(32|64) ##anal 2019-01-26 11:54:43 +08:00
lzutao
1365948cee Do not use reversed keyword of meson ##build
`files` is a reversed keyword in meson. Try to avoid using it.
2019-01-10 14:15:50 +01:00
lzutao
9cc6d2d291 meson: Do not use glob with meson ##build
* meson: Explicit is better than implicit
* meson: Fix deprecated warnings in Meson 0.49.0
* meson: Do not need separate array for installed files

libr/socket/meson.build:30: DEPRECATION: Library r_socket was passed to
the "libraries" keyword argument of a previous call to generate() method
instead of first positional argument. Adding r_socket to "Requires" field,
but this is a deprecated behaviour that will change in a future version
of Meson. Please report the issue if this warning cannot be avoided in
your case.
2018-12-27 14:17:54 +01:00
dav1901
cc26fd73ba Minor fixes/cleanups (#12349) 2018-11-29 11:22:32 +01:00
Riccardo Schirone
4061f2fbb3 syscall: do not reload sdb database if nothing changes (#11801) 2018-10-14 12:56:15 +02:00
Riccardo Schirone
eee1385466
Meson private (#11331)
* meson: refactor library cflags
* meson: use visibility=hidden by default
* remove unused var
* magic/meson: replace tabs with spaces
2018-09-03 10:07:28 +02:00
Jacob Rosenthal
eecaf1493f Finish converting arm s110 syscalls (#11280) 2018-08-28 10:35:30 +02:00
pancake
ff08c059da Kill the isThumb checks (s110-arm-16 half converted) 2018-08-26 23:08:44 +02:00
Jacob Rosenthal
f82b289822 arm syscalls: nordic s110 softdevice support 2018-08-23 16:41:34 +02:00
Jacob Rosenthal
f5ca226523 macosx syscalls: use 0x80 as interrupt on fix mach calls 2018-08-17 17:43:25 +02:00
Jacob Rosenthal
e569149450 Fix syscalls in macOS (#10956) 2018-08-07 12:15:53 +02:00
Paul I
b50080b363 Meson: remove build_always for custom_targets (#10798) 2018-07-23 19:39:58 +02:00
Paul I
14e3706c93 Meson: fix syscall sdbs generation (#10736) 2018-07-17 21:12:17 +02:00
Riccardo Schirone
54f171e8f9
libr/syscall: fix syscall sdb generation (#10694)
sync meson.build with Makefile
2018-07-11 09:57:41 +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
Paul I
3e68187c36 Fix pathes for meson (#10536) 2018-06-30 10:08:22 +02:00
pancake
b9de8503a6 Fix uaf 2018-06-05 16:01:23 +02:00
pancake
97e08a0d36 Fix for syscall database and dir.prefix 2018-06-05 16:01:23 +02:00
Paul I
cad927a591 Meson: add rule for tags.r2 (#10215) 2018-05-28 23:25:48 +02:00
Paul I
7e9f982849 Meson: some cleanup (#10076) 2018-05-16 10:24:35 +02:00
Paul I
cc90ec6be5 [WIP] Move hardcoded paths to r_userconf.h (#9959)
* Move hardcoded paths to r_userconf.h

* Add R2_HOME_* macros

* Some cleanup
2018-04-28 10:02:55 +02:00
pancake
1adac87918 Update sdb-1.1.0, update calls to sdb_fmt() 2018-04-10 23:52:47 +02:00
Paul I
40b4a5b557 Meson: disable libversion info for Windows (#9858) 2018-04-10 22:44:54 +02:00
Paul I
ca3652da4b Meson: Add version info for shared libs (#9763) 2018-03-24 18:18:32 +01:00
Paul I
4e73ad7d19 Meson: some cleanup (#9753) 2018-03-23 07:47:46 +01:00
pancake
fe7ae5d0af Fix last 20 coverity issues 2018-03-19 11:51:04 +01:00
pancake
aa3f438236 Fix crash in asl and fix its behaviour 2018-03-15 00:44:41 +01:00
pancake
0feefceab3 Fix another memleak in RSyscall 2018-03-14 14:49:05 +01:00
pancake
3c9879656e Use r_syscall_ref to avoid dblfree-or-leak issue 2018-03-14 12:58:16 +01:00
pancake
9c4dc3b3c7 Fix leaks in RSyscall.srdb 2018-03-14 12:41:39 +01: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
Florian Märkl
5e1f811ec0 Fix meson indentation (#9567) 2018-03-03 22:08:37 +01:00
Florian Märkl
95a1b75784 Install Headers and .pc Files with Meson (#9548)
Use meson pkgconfig for .pc files

meson 0.44

Install same headers as acr
2018-03-03 20:00:18 +08:00
Giovanni
0c776c0e71 warnings from lib (#9445) 2018-02-20 23:19:35 +01:00
Paul I
bb4f61580e Cleanup meson files (#9424) 2018-02-20 09:33:19 +01:00
pancake
893b896ca0 Reload SDB instead of create a new one to fix the k path issue 2018-01-26 12:54:05 +01:00
pancake
224419913a Fix syscall sdb open regression 2018-01-26 12:03:07 +01:00
Anton Kochkov
66e66b81dc Fix AppVeyor build 2018-01-25 17:55:49 +08:00
pancake
21ffab96ab Fix null deref in swift demangler 2018-01-25 05:58:34 +01:00
pancake
5642883db9 Initial rework of sysregs 2018-01-24 15:12:33 +01:00
Anton Kochkov
18c633cb36 Initial work on CPU specific registers 2018-01-24 11:31:55 +01:00
pancake
7fdf1e9048 No colors in flags when scr.color=0 and osx->macos in noreturn types 2017-11-26 22:42:56 +01:00
sivaramaaa
d1b1fcf701 Quick fix for macOS syscalls 2017-11-26 20:11:53 +01:00
xarkes
a68ecf5c3b Fixed syscall sdb symbolic links 2017-09-13 09:25:35 +02:00
xarkes
861648ad49 Renamed sdb models to .sdb.txt (#8463) 2017-09-13 09:20:34 +02:00
pancake
372d9919cc Fix syscall resolution when doing gdb remote on darwin-arm64 2017-08-30 01:57:06 +02:00