From c65dfaa168d2150875dc885e5c60204367d987c1 Mon Sep 17 00:00:00 2001 From: Dan Carpenter Date: Sun, 7 Jun 2015 14:15:57 +0300 Subject: [PATCH] fixup_kernel: update types I re-ordered how param filter and limit worked and that meant changing the types in the database. But I forgot to update fixup_kernel.sh. Signed-off-by: Dan Carpenter --- smatch_data/db/fixup_kernel.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/smatch_data/db/fixup_kernel.sh b/smatch_data/db/fixup_kernel.sh index da39952c..f9314c2c 100755 --- a/smatch_data/db/fixup_kernel.sh +++ b/smatch_data/db/fixup_kernel.sh @@ -42,8 +42,8 @@ delete from caller_info where function = '(struct timer_list)->function' and par */ delete from return_states where function = 'rw_verify_area'; insert into return_states values ('faked', 'rw_verify_area', 0, 1, '0-1000000000[<=\$3]', 0, 0, -1, '', ''); -insert into return_states values ('faked', 'rw_verify_area', 0, 1, '0-1000000000[<=\$3]', 0, 102, 2, '*\$', '0-1000000000'); -insert into return_states values ('faked', 'rw_verify_area', 0, 1, '0-1000000000[<=\$3]', 0, 1011, 3, '\$', '0-1000000000'); +insert into return_states values ('faked', 'rw_verify_area', 0, 1, '0-1000000000[<=\$3]', 0, 104, 2, '*\$', '0-1000000000'); +insert into return_states values ('faked', 'rw_verify_area', 0, 1, '0-1000000000[<=\$3]', 0, 103, 3, '\$', '0-1000000000'); insert into return_states values ('faked', 'rw_verify_area', 0, 2, '(-4095)-(-1)', 0, 0, -1, '', ''); /* @@ -55,20 +55,20 @@ insert into return_states values ('faked', 'rw_verify_area', 0, 2, '(-4095)-(-1) */ delete from return_states where function = '__kmalloc'; insert into return_states values ('faked', '__kmalloc', 0, 1, '16', 0, 0, -1, '', ''); -insert into return_states values ('faked', '__kmalloc', 0, 1, '16', 0, 1011, 0, '\$', '0'); +insert into return_states values ('faked', '__kmalloc', 0, 1, '16', 0, 103, 0, '\$', '0'); insert into return_states values ('faked', '__kmalloc', 0, 2, '0,500000000-577777777', 0, 0, -1, '', ''); -insert into return_states values ('faked', '__kmalloc', 0, 2, '0,500000000-577777777', 0, 1011, 0, '\$', '1-4000000'); +insert into return_states values ('faked', '__kmalloc', 0, 2, '0,500000000-577777777', 0, 103, 0, '\$', '1-4000000'); insert into return_states values ('faked', '__kmalloc', 0, 3, '0', 0, 0, -1, '', ''); -insert into return_states values ('faked', '__kmalloc', 0, 3, '0', 0, 1011, 0, '\$', '4000000-long_max'); +insert into return_states values ('faked', '__kmalloc', 0, 3, '0', 0, 103, 0, '\$', '4000000-long_max'); delete from return_states where function = 'vmalloc'; insert into return_states values ('faked', 'vmalloc', 0, 1, '0,600000000-677777777', 0, 0, -1, '', ''); -insert into return_states values ('faked', 'vmalloc', 0, 1, '0,600000000-677777777', 0, 1011, 0, '\$', '1-128000000'); +insert into return_states values ('faked', 'vmalloc', 0, 1, '0,600000000-677777777', 0, 103, 0, '\$', '1-128000000'); insert into return_states values ('faked', 'vmalloc', 0, 2, '0', 0, 0, -1, '', ''); delete from return_states where function = 'ksize'; insert into return_states values ('faked', 'ksize', 0, 1, '0', 0, 0, -1, '', ''); -insert into return_states values ('faked', 'ksize', 0, 1, '0', 0, 1011, 0, '\$', '16'); +insert into return_states values ('faked', 'ksize', 0, 1, '0', 0, 103, 0, '\$', '16'); insert into return_states values ('faked', 'ksize', 0, 2, '1-4000000', 0, 0, -1, '', ''); /* store a bunch of capped functions */ -- 2.11.4.GIT