Commit graph

545 commits

Author SHA1 Message Date
tobtoht
8d4c625713
Merge pull request #10004
36bdfad rpc-fuzz: Add new fuzzers for RPC endpoints (Arthur Chan)
2025-09-09 17:39:15 +00:00
Arthur Chan
36bdfad073
rpc-fuzz: Add new fuzzers for RPC endpoints
Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>

Add macro definition for fuzzers

Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>

Fix FuzzedDataProvider header missing problem

Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>

Add README

Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>

Provide static FuzzedDataProvider.h

Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>

Update and enhance fuzzer

Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>

Activate UBSan

Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>

Fix fuzz target retrieval

Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>

Remove bias selector and fix protocol lifespan

Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>

Drop SIGALARM handling and fix bug on selectors

Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>

Fix rpc request changes

Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>

Add a new fuzzer profile that catch all expcetions

Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>

Fix typo

Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>

Add warning

Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>
2025-09-08 18:35:55 +00:00
tobtoht
abf0515432
Merge pull request #9984
2820757 common: remove tools::add_element (jeffro256)
2025-08-01 11:49:16 +00:00
jeffro256
2820757d9d
common: remove tools::add_element
Since C++17, `std::vector::emplace_back()` returns a reference, so this helper isn't needed anymore.
2025-07-11 11:31:46 -05:00
tobtoht
ff000b654d
Merge pull request #9927
6fd3a2e tools::variant: remove (jeffro256)
2025-07-10 12:32:20 +00:00
jeffro256
6fd3a2e06b
tools::variant: remove 2025-05-15 13:48:36 -05:00
tobtoht
c2e3835223
Merge pull request #9910
d106e21b7 src: fix clangd warnings (0xFFFC0000)
2025-05-07 03:32:02 +00:00
0xFFFC0000
d106e21b74 src: fix clangd warnings 2025-05-01 05:27:35 +00:00
jeffro256
98b79485df
msys2 build: include int headers 2025-04-29 00:57:37 -05:00
tobtoht
c3fc0ffc37
common: add missing iomanip include 2025-02-17 17:20:03 +01:00
tobtoht
cb25aba9ac
Merge pull request #9693
07d93f01a common: Remove resolved FIXME in pod-class.h (iamamyth)
2025-01-22 22:55:21 +00:00
tobtoht
94f7efd53f
Merge pull request #9683
133298d Fix linking error with libunwind when build for FreeBSD with GCC, by preferring easylogging++ when GCC is being used (WHR)
2025-01-18 11:11:47 +00:00
tobtoht
db70cc23dc
Merge pull request #9171
35477a6 build: remove glibc backcompat (tobtoht)
2025-01-17 19:03:33 +00:00
tobtoht
8c08863d60
Merge pull request #9663
978f1d7 Fix get_database_size on Windows (iamamyth)
2025-01-14 14:32:20 +00:00
tobtoht
06f0cd5606
Merge pull request #9656
c99c07b common/password: flush confirm prompt before user input (jeffro256)
2025-01-14 14:29:31 +00:00
tobtoht
b32c69aabd
Merge pull request #9628
4344f97 Fix build with boost ASIO 1.87. Support boost 1.66+ (Lee *!* Clagett)
2025-01-14 14:24:07 +00:00
tobtoht
59edd62d0b
Merge pull request #9600
797811d dns_util: add new DNSSEC trust anchor (selsta)
2025-01-14 14:05:23 +00:00
iamamyth
07d93f01ad common: Remove resolved FIXME in pod-class.h
In src/common/pod-class.h, the POD_CLASS definition contained quite
a lot of detritus, including a long-ago resolved FIXME. Delete all the
noise.
2025-01-09 17:55:31 -08:00
WHR
133298d876 Fix linking error with libunwind when build for FreeBSD with GCC, by preferring easylogging++ when GCC is being used 2025-01-07 15:04:33 +08:00
Lee *!* Clagett
4344f97255 Fix build with boost ASIO 1.87. Support boost 1.66+ 2025-01-06 18:05:25 -05:00
iamamyth
978f1d7d41 Fix get_database_size on Windows
Replace all calls to epee::file_io::get_file_size with
boost::filesystem::file_size in order to avoid lossy conversions from
paths to strings, which tend to break filename resolution. This commit
fixes a bug on Windows where the get_info RPC call reported a zero
database size because BlockchainLMBD::get_database_size returned zero.
2025-01-06 10:38:12 -08:00
jeffro256
c99c07bf4a
common/password: flush confirm prompt before user input
Co-authored-by: Mike <mpech@tuta.io>
2024-12-26 13:32:11 -06:00
tobtoht
35477a66c2
build: remove glibc backcompat 2024-12-24 00:28:48 +01:00
tobtoht
cb54a0a419
ci: common: remove duplicated definition 2024-12-23 18:31:52 +01:00
luigi1111
afbc9ef97a
Merge pull request #9475
ea8e29f set USE_UNWIND for FreeBSD (Alexander Perechnev)
2024-12-23 10:37:37 -05:00
luigi1111
44fef7903c
Merge pull request #9336
04fe6fa split variant into plain and optional, add variant serialization (koe)
2024-12-23 10:26:23 -05:00
luigi1111
1f7290f329
Merge pull request #9176
49ca1ad variant: split into variant and optional_variant (jeffro256)
2024-12-23 10:19:55 -05:00
luigi1111
575bc099a0
Merge pull request #9172
62fdacc variant: visit lambda and value-initialize by index (jeffro256)
2024-12-23 10:19:05 -05:00
selsta
797811d84b
dns_util: add new DNSSEC trust anchor 2024-12-01 16:01:41 +01:00
Alexander Perechnev
ea8e29fa96 set USE_UNWIND for FreeBSD 2024-09-08 12:34:13 +03:00
jeffro256
b2c59c498c
common: add va_args.h
This PR is upstreaming changes in the Seraphis lib here: https://github.com/UkoeHB/monero/pull/39. This header adds a macro `VA_ARGS_COMMAPREFIX`
which, when passed `__VA_ARGS__`, expands to `, __VA_ARGS__` unless the length of `__VA_ARGS__` is 0, in which case it expands to nothing. This
macro is useful for passing/declaring optional function arguments.
2024-08-13 12:02:45 -05:00
koe
04fe6fa63f split variant into plain and optional, add variant serialization 2024-08-02 13:18:57 -05:00
copyCat
341771ac3e copyright: bump to 2024 2024-05-21 16:29:33 +00:00
luigi1111
6c346eca03
Merge pull request #9305
de9c461 common: support boost filesystem copy_options. Co-authored-by: selsta <selsta@sent.at> (0xFFFC0000)
2024-05-20 23:38:20 -05:00
luigi1111
b208eed32a
Merge pull request #9270
267e31f Add drop_and_recreate in privatefile class. When creating a private file we need to delete the file if exist. (0xFFFC0000)
2024-05-20 23:35:48 -05:00
luigi1111
d95414aa22
Merge pull request #8920
236e5d4 update TimingsDatabase to support csv format and incremental updating (koe)
2024-05-20 22:47:33 -05:00
0xFFFC0000
de9c461a98
common: support boost filesystem copy_options.
Co-authored-by: selsta <selsta@sent.at>
2024-04-30 23:20:10 +00:00
0xFFFC0000
267e31f5b7
Add drop_and_recreate in privatefile class.
When creating a private file we need to delete the file if exist.
2024-04-22 14:32:12 +00:00
jeffro256
49ca1ad6ae
variant: split into variant and optional_variant
Upstreaming https://github.com/UkoeHB/monero/pull/28
2024-02-16 19:12:13 -06:00
jeffro256
62fdacca07
variant: visit lambda and value-initialize by index 2024-02-14 02:01:44 -06:00
0xFFFC0000
430b102aef Cleanup scoped_ptr in src/common/dns_utils.cpp and header include:
* No need for entire new class (Fix #8732).
	* Fix stdint.h header include in contrib/epee/include/net/http_base.h.
2023-12-19 16:54:37 +03:30
koe
236e5d4623 update TimingsDatabase to support csv format and incremental updating 2023-09-10 15:51:54 -05:00
luigi1111
00fd416a99
Merge pull request #8919
1c20198 Fixup error message. (ComputeryPony)
2023-07-06 21:41:12 -05:00
luigi1111
cfa4583695
Merge pull request #8894
c589e15 Speed up perf_timer init on x86 (SChernykh)
2023-07-06 21:32:11 -05:00
tobtoht
d9c7cd5a89
common: do not use DNS to determine if address is local
Co-authored-by: j-berman <justinberman@protonmail.com>
2023-07-03 13:34:39 +02:00
ComputeryPony
1c20198280
Fixup error message.
Looks like the extra MWARNING was supposed to be guarded by the if statement.
2023-06-27 12:56:35 -05:00
luigi1111
1153246b8a
Merge pull request #8848
6b8dfb8 daemon: remove os-version (tobtoht)
2023-06-27 11:39:33 -05:00
luigi1111
3d9f378ed4
Merge pull request #8804
ca6c42a Message about DNS_PUBLIC to help users with issue #8452 (OrvilleRed)
2023-06-27 11:33:45 -05:00
luigi1111
9480525dd2
Merge pull request #8661
f50b9e3 revisions (koe) e5aa058 vtnerd review comments (koe)
c60b11f add compare_func() method so user-defined comparison functions are easier to use (koe)
7329873 adjust is_sorted_and_unique() (koe)
3d60475 comment updates (koe) acfaaed add container helpers (koe)
2023-06-27 11:27:03 -05:00
luigi1111
e752b609fc
Merge pull request #8660
2a7435e variant: add mutable unwrap and visitation (koe)
bc3cec4 add variant class with cleaner interface than boost::variant<> (koe)
2023-06-27 11:25:52 -05:00